Commit graph

356 commits

Author SHA1 Message Date
Chong Yidong
70128967da (custom-face-state-set): Check theme-value. 2005-12-24 01:35:53 +00:00
Chong Yidong
d820f1fbfe 2005-12-23 Chong Yidong <cyd@stupidchicken.com>
* custom.el (custom-push-theme): Clarify docstring.  VALUE nil for
	reset means to remove setting from theme entirely.  Don't keep
	expanding theme-settings list; delete old entries if necessary.

	* cus-edit.el (custom-buffer-create-internal): Move "Erase
	customization" button one line up.
	(custom-themed): New face.
	(custom-magic-alist): New value, THEMED, for theme settings.
	(custom-variable-state-set): Check theme-value.
	(custom-variable-reset-standard, custom-face-reset-standard):
	Remove theme setting entirely.
2005-12-24 01:26:54 +00:00
Richard M. Stallman
50137744b8 (custom-reset-menu, custom-magic-alist, Custom-mode-menu):
Say "standard values".
(Custom-reset-standard): Doc fix.
(custom-face-reset-standard): Doc fix.
2005-12-23 01:39:01 +00:00
Richard M. Stallman
bba50f8a9e (customize-changed-options-previous-release): Prev release is 21.1.
(customize-changed-options): Doc fix.
(customize-changed): New alias.
2005-12-23 01:34:27 +00:00
Richard M. Stallman
b758ae9ad9 (customize-browse): Reword the top-of-buffer help intro.
(custom-buffer-create-internal): Fix previous change.
2005-12-23 01:21:16 +00:00
Richard M. Stallman
0a57ffed62 (custom-variable-prompt): Say "variable" in prompt.
(custom-buffer-create-internal): Reword the top-of-buffer help intro.
Don't include buttons that write a file when there's no file.
(custom-variable-menu, custom-face-menu, custom-group-menu):
Don't include commands that write a file when there's no file.
2005-12-23 01:18:08 +00:00
Luc Teirlinck
06cdb5dbbe (customize-apropos, customize-apropos-options): Docstring changes. 2005-12-19 23:17:19 +00:00
YAMAMOTO Mitsuharu
aed903f75f (mac): New group. 2005-12-19 08:28:38 +00:00
Luc Teirlinck
f63d5a0ec1 Introductory comment change.
(custom-magic-alist): Change message string for the `rogue' state.
2005-12-16 03:43:51 +00:00
Luc Teirlinck
0322b9c3a1 (customize-apropos, customize-apropos-options)
(customize-apropos-faces, customize-apropos-groups): Doc fixes.
2005-12-13 03:46:02 +00:00
Luc Teirlinck
27b8781063 (customize-apropos): Avoid listing an option more than once under
different aliases.  No longer list user options that are not defined
with defcustom (unless a prefix arg is given).  Doc fix.
(customize-apropos-options): Doc fix.
2005-12-11 18:16:20 +00:00
Luc Teirlinck
0eeaa02872 (custom-buffer-create-internal): Relabel the whole buffer "Reset"
button to "Reset to Current" for consistency with the State buttons.
2005-12-09 00:47:57 +00:00
Juri Linkov
3f30c2726a (custom-add-parent-links): Filter out custom-group-link,
because such links don't lead to parent documentation.
2005-12-08 07:51:32 +00:00
Juri Linkov
544d874f7f (customize-group, customize-group-other-window):
Filter out autoloaded options from the group completion list by
using heuristics that autoloaded groups don't have `custom-autoload'
property on their symbols (they have only `custom-loads').
2005-12-04 02:39:24 +00:00
Luc Teirlinck
eac1f7d830 (Custom-reset-standard): Make it handle Custom group
buffers correctly.  (It used to throw an error in such buffers.)
Make it ask for confirmation in group buffers and other Custom
buffers containing more than one customization item.
2005-11-22 23:28:28 +00:00
Juri Linkov
3e721a1465 (lisp, c, tex): Add :link (custom-group-link font-lock-faces) to defgroup.
(custom-variable-prompt): Clarify the code.
2005-11-17 07:18:07 +00:00
Richard M. Stallman
49698bb717 (Custom-reset-standard): Verify that
:custom-standard-value prop exists before calling it.

(face): Enclose %t in %{...%}.
2005-11-16 22:15:07 +00:00
Luc Teirlinck
08adfdbb4b (custom-add-parent-links): Fix bug whereby, for instance,
`(fringe custom-face)' shadowed `(fringe custom-group)'
in the custom-group property of the symbol frames and the
fringe group got no link to its parent group frames.
Doc fix.
2005-11-16 02:02:03 +00:00
Juri Linkov
e46e522524 (custom-variable-prompt): Set the default value arg of completing-read. 2005-11-14 18:28:12 +00:00
Chong Yidong
87911bdbb8 * cus-edit.el (custom-button, custom-button-pressed): New vars.
(custom-raised-buttons): Add :set spec.
	(custom-button-unraised, custom-button-pressed-unraised): New
	faces, so that custom-raised-buttons actually does something.
	(custom-mode): Use custom-button and custom-button-pressed.

	* wid-edit.el (widget-specify-button): Don't ignore
	widget-mouse-face on graphic terminals.
	(widget-move-and-invoke): Cleanup.
2005-10-23 17:40:38 +00:00
Chong Yidong
e6038ca330 * cus-edit.el (Custom-move-and-invoke): Deleted.
(custom-mode-map): Bind mouse-1 to widget-move-and-invoke.

	* wid-edit.el (widget-move-and-invoke): New function, from
	Custom-move-and-invoke.
2005-10-18 00:28:57 +00:00
Chong Yidong
a008c8f4fc Revert last change. 2005-10-17 23:46:28 +00:00
Chong Yidong
185d1922fb * cus-edit.el (Custom-move-and-invoke): Delete function.
(custom-mode-map): Remove Custom-move-and-invoke binding.

	* wid-edit.el (widget-move-and-invoke): New function.
	(widget-keymap): Bind mouse-1 to it.
2005-10-17 23:39:24 +00:00
Juri Linkov
477ca0e891 (custom-buffer-sort-alphabetically): Default to nil. 2005-09-29 23:03:32 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
Richard M. Stallman
f8d869d15a (custom-buffer-sort-alphabetically): Default to t.
(custom-save-all): Visit the file if necessary;
kill the buffer if we created it.
(custom-save-delete): Don't visit file or kill buffer here.
2005-08-30 10:35:09 +00:00
Eli Zaretskii
5cabd50e11 (custom-save-all, custom-save-delete): Bind recentf-exclude to exclude
custom-file.
2005-08-12 11:18:43 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juri Linkov
91f4880379 (custom-mode-map): Bind C-c C-c' to Custom-set'.
(Custom-mode-menu): Use `info' instead of `Info-goto-node'.
2005-07-19 11:21:30 +00:00
Luc Teirlinck
dcb380c00a (customize-option, customize-option-other-window): Make them handle aliases. 2005-07-07 23:19:43 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Glenn Morris
c40f319394 (customize-face, customize-face-other-window): Handle face aliases. 2005-06-22 14:22:02 +00:00
Juanma Barranquero
29a82d4c3e (minibuffer): Fix spellings in docstrings. 2005-06-10 14:01:47 +00:00
Miles Bader
d478e69d60 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-365
Remove "-face" suffix from custom faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/cus-edit.el (custom-invalid, custom-rogue, custom-modified)
   (custom-set, custom-changed, custom-saved, custom-button)
   (custom-button-pressed, custom-documentation, custom-state)
   (custom-comment, custom-comment-tag, custom-variable-tag)
   (custom-variable-button, custom-face-tag, custom-group-tag-1)
   (custom-group-tag): Remove "-face" suffix from face names.
   (custom-magic-alist, custom-magic-value-create)
   (custom-group-sample-face-get, custom-mode): Use renamed custom faces.
   (custom-invalid-face, custom-rogue-face, custom-modified-face)
   (custom-set-face, custom-changed-face, custom-saved-face)
   (custom-button-face, custom-button-pressed-face)
   (custom-documentation-face, custom-state-face)
   (custom-comment-face, custom-comment-tag-face)
   (custom-variable-tag-face, custom-variable-button-face)
   (custom-face-tag-face, custom-group-tag-face-1)
   (custom-group-tag-face):
   New backward-compatibility aliases for renamed faces.
2005-06-10 07:16:58 +00:00
Lute Kamstra
9598ae533d (custom-mode): Use run-mode-hooks. 2005-05-26 12:40:44 +00:00
Richard M. Stallman
541044b0e1 (custom-file): Call file-chase-links. 2005-05-10 09:09:58 +00:00
Jan Djärv
153bd017da * cus-edit.el (dnd): New group. 2005-04-11 19:24:59 +00:00
Dan Nicolaescu
099dcdcf27 * cus-edit.el (custom-modified-face):
* comint.el (comint-highlight-input): Fix previous changes.
* term.el (term-handle-ansi-escape): Add a comment.
2005-04-08 20:55:09 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
David Ponce
0e73959747 (face): Derive from symbol widget. Display sample
of the current face on the fly.
(widget-face-sample-face-get, widget-face-notify): New functions.
(widget-face-value-create): Remove.
2005-04-05 06:40:12 +00:00
Luc Teirlinck
f32a1cb57e Comment change. 2005-02-27 21:37:03 +00:00
Luc Teirlinck
167eefc539 (custom-buffer-create-internal): Slightly reword text at top of Custom
buffers.  Mention there that saving an option edits the init file.
Add link to Emacs manual node on `custom-file'.
(custom-magic-alist): Rewrite individual State messages to use
capitalized keywords.  Doc fix.
2005-02-27 21:32:57 +00:00
Richard M. Stallman
1833b7b36f (custom-buffer-create-internal): Improve progress msgs.
(custom-magic-alist): Change the status descriptions again.
(face widget-type): Total rewrite based on `restricted-sexp'
to eliminate the confusing double hiding levels.
2005-02-27 10:34:05 +00:00
Luc Teirlinck
62bf2fd1a5 Comment change. 2005-02-22 23:12:15 +00:00
Richard M. Stallman
470cefd341 (custom-buffer-create-internal): Update help message.
(custom-magic-alist): Update help messages.
2005-02-14 09:50:38 +00:00
Richard M. Stallman
9f5d3236b9 (custom-buffer-create-internal): Improve help-echo. 2005-02-10 06:44:41 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
97733c3d00 (custom-bury-buffer): Function deleted.
(custom-buffer-done-function): Option deleted.
(custom-buffer-done-kill): New (replacement option.
(Custom-buffer-done): Call quit-window.
(custom-buffer-create-internal): Update for above changes.
2005-01-30 11:07:54 +00:00
Stefan Monnier
e4105348b2 (custom-mode-map): Make it dense. 2005-01-28 18:55:14 +00:00
Stefan Monnier
f7105ede2e (customize-group-other-window, custom-buffer-create-other-window):
Don't override special-display-*.
2005-01-28 18:42:30 +00:00