1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

514 Commits

Author SHA1 Message Date
Richard M. Stallman
107736a270 (Custom-set, Custom-save): Ask for confirmation.
(Custom-reset-current, Custom-reset-saved): Likewise.
(Custom-reset-standard): Likewise.
(custom-mode): Doc fix, describing those commands.
2006-01-02 03:38:43 +00:00
Chong Yidong
85a5eb0eb0 * cus-edit.el (custom-button-mouse): New variable.
(custom-button-mouse): New face.
	(custom-raised-buttons, custom-mode): Use it.

	* cus-theme.el (custom-new-theme-mode): Use custom-button-mouse.
2005-12-31 16:26:01 +00:00
Richard M. Stallman
a8d6ee3c53 (custom-save-loaded-themes): Function deleted.
(custom-save-all): Don't call custom-save-loaded-themes.
2005-12-30 22:57:07 +00:00
Richard M. Stallman
16ecd4c5b1 (custom-save-loaded-themes): Call custom-save-delete.
(custom-save-all): Call custom-save-loaded-themes.
(custom-save-variables): Don't delete or add custom-load-themes call.
2005-12-30 22:44:36 +00:00
Chong Yidong
c5d290fb3b * custom.el (custom-push-theme): Fix docstring.
* cus-edit.el (custom-variable-set, custom-variable-save,
	custom-variable-save): Custom-quote widget values.
	(customize-save-variable): Fix custom-push-theme call.
2005-12-24 15:21:45 +00:00
Chong Yidong
34321842d2 Really fix typo. 2005-12-24 06:52:56 +00:00
Chong Yidong
25c6d44741 * cus-edit.el (custom-variable-set, custom-variable-set)
(custom-variable-reset-saved, custom-variable-reset-backup)
	(custom-face-set, custom-face-reset-saved): Update `user' theme.
	(custom-variable-save): Fix typos.
	(custom-variable-state-set, custom-face-state-set): Check
	theme-value.
	(custom-variable-reset-standard, custom-face-reset-standard):
	Perform custom theme recalc unconditionally.
2005-12-24 06:45:16 +00:00
Chong Yidong
9ff7a71aae (custom-variable-reset-standard, custom-face-reset-standard):
Recalculate new values.
2005-12-24 04:05:13 +00:00
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
Richard M. Stallman
03e31a1a3e (customize): Delete :link. 2005-01-09 02:45:24 +00:00
Richard M. Stallman
e2ed433103 (customize): Make :link point to user doc. 2005-01-04 23:41:51 +00:00
Luc Teirlinck
5aa971e356 (custom-file): Doc fix for defcustom.
(custom-file): The function no longer sets the variable
`custom-file' to its return value.
2005-01-03 23:52:47 +00:00
Richard M. Stallman
b9afd6dd84 (custom-display): Handle `default' specs. 2004-12-13 19:40:25 +00:00
Richard M. Stallman
2dfa4c5767 (custom-face-selected): Handle `default' specs.
(custom-face-edit): Increase extra-offset.
2004-12-13 19:39:01 +00:00
Richard M. Stallman
09b73f492d (custom-file): Doc fix. 2004-12-06 14:01:19 +00:00
Richard M. Stallman
33b3f667ed Fix previous change. 2004-12-05 23:28:40 +00:00
Richard M. Stallman
8be1f66c38 Fix previous change. 2004-12-05 21:54:27 +00:00
Luc Teirlinck
44240c376d (custom-file): Escape double-quotes in docstring. 2004-12-05 15:50:34 +00:00
Richard M. Stallman
8ddabc8769 (custom-file): Doc fix. 2004-12-05 14:20:44 +00:00
Richard M. Stallman
5f97a49d46 (customize-group-other-window):
Select the window that displays the custom buffer.
(custom-buffer-create-other-window): Likewise.
2004-11-02 14:17:44 +00:00
Luc Teirlinck
a075569a29 (custom-variable-documentation): New function.
(custom-variable): Use it.
2004-06-19 16:02:06 +00:00
Juri Linkov
c4d9734c51 (custom-display): Add `min-colors'. 2004-06-06 02:45:28 +00:00
Juanma Barranquero
3127aa131a (customize-face, customize-face-other-window, custom-face-edit-delete):
Make arguments match their use in docstring.
(custom-unloaded-symbol-p, custom-unloaded-widget-p): Fix typo in
docstring.
2004-05-28 18:59:01 +00:00
Juri Linkov
3adff3ce7d (custom-mode-map): Add key binding C-x C-s' to Custom-save'. 2004-05-01 03:30:24 +00:00
Per Abrahamsen
8e4d1662d2 2004-04-05 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-add-parent-links): Changed unbound variable
	`symbol' to `name'.
2004-04-05 17:21:09 +00:00
Stefan Monnier
5895f7fd1a (fill) <defgroup>: Move to fill.el. 2004-03-08 01:10:23 +00:00
Per Abrahamsen
cfa921fd39 2003-12-12 Jesper Harder <harder@ifa.au.dk>
* cus-edit.el (custom-add-parent-links): Define "many".

2003-12-08  Per Abrahamsen  <abraham@dina.kvl.dk>

	* wid-edit.el (widget-child-value-get, widget-child-value-inline)
	(widget-child-validate, widget-type-value-create)
	(widget-type-default-get, widget-type-match): New functions.
	(lazy): New widget.
	(menu-choice, checklist, radio-button-choice, editable-list)
	(group, documentation-string): Removed redundant (per 2003-10-25
	change) calls to `widget-children-value-delete'.
	(widget-choice-value-get, widget-choice-value-inline): Removed
	functions.
	(menu-choice): Updated widget.
2003-12-27 16:41:13 +00:00
Per Abrahamsen
ac00d71ca6 2003-11-30 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-add-parent-links): Add documentation links
	for parent, if the item has none of its own.
2003-12-02 15:01:52 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
6ea2832e61 Add some :links.
(bib): Remove.
2003-08-20 18:31:54 +00:00
Stefan Monnier
f5a9b1805c (custom-get-fresh-buffer): Kill overlays before erasing the buffer. 2003-06-14 19:04:20 +00:00
Lute Kamstra
fd1c38f415 (custom-get-fresh-buffer): Test for nonexistence buffer. 2003-06-03 11:24:42 +00:00
Stefan Monnier
a153acb7d6 (custom-get-fresh-buffer): Be extra paranoid,
just in case some used a file of the wrong name.
2003-06-01 18:40:10 +00:00
Stefan Monnier
40627755be (custom-get-fresh-buffer): New fun.
(custom-buffer-create, custom-buffer-create-other-window)
(customize-browse): Use it instead of killing buffers.
(custom-bury-buffer): Obey the argument.
(custom-variable-reset-saved, custom-variable-reset-standard):
Remove unused var `comment-widget'.
(custom-face-edit-deactivate): Remove unused var `to'.
(custom-save-variables): Remove unused var `sep'.
2003-05-31 15:23:00 +00:00
Richard M. Stallman
a4992f73f8 (custom-face-state-set): non-nil `face-modified'
means face was set outside of Custom.
2003-05-28 11:12:24 +00:00
John Paul Wallington
9b7826f4ab 2003-03-24 Luc Teirlinck <teirllm@mail.auburn.edu>
* cus-edit.el (custom-mode): Make `custom-local-buffer' local.
2003-03-24 01:46:29 +00:00
Per Abrahamsen
963c2e09c0 2003-03-10 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (customize-rogue): New command.
2003-03-10 14:06:57 +00:00
Stefan Monnier
d9f6713411 (custom-unlispify-menu-entry): Use with-current-buffer.
(custom-save-variables): Use dolist, simplify.
Output a message if a `requests' entry looks suspicious.
(custom-save-faces): Use dolist, simplify.
2003-02-01 00:39:58 +00:00
John Paul Wallington
ee1f522d4e 2003-01-29 Didier Verna <didier@xemacs.org>
* cus-edit.el (custom-save-variables): also save non theme'd ones.
	* cus-edit.el (custom-save-faces): ditto.
2003-01-29 21:44:18 +00:00
Markus Rost
2ee398c4c2 (customize-changed-options): Undo last doc change. 2003-01-18 03:19:28 +00:00
Markus Rost
cba752d04a (customize-changed-options): Doc addition. Load the
version deps earlier.  Use other tests for groups and variables.
Handle faces.
2003-01-13 23:43:30 +00:00
Markus Rost
2de2cb02c9 (customize-group, customize-group-other-window):
Remove unnecessary calls to custom-load-symbol.
(custom-group-value-create):
Load widget deps if state is not hidden.  If widget deps are
loaded, load them in advance.
(custom-menu-create): If widget deps are loaded, load them earlier.
2003-01-09 22:32:48 +00:00
Markus Rost
3a495e159a (custom-variable-prompt): Doc change. Use custom-variable-p.
(customize-option): Remove search in loaddefs.el.
(customize-apropos):  Use custom-variable-p.
(custom-save-variables): Use custom-variable-p to detect non-rogue variables.
2003-01-07 19:29:25 +00:00
Markus Rost
b59b77f136 (customize-group, customize-group-other-window):
Call custom-load-symbol unconditionally.
(customize-face, customize-face-other-window): Fix format arg.
2003-01-02 18:02:09 +00:00
Markus Rost
f134b461ec (customize-browse): Call `widget-setup'. 2002-12-29 19:15:58 +00:00
Markus Rost
ffec8c5a3d (customize-group-other-window): Use pop-to-buffer in
the same way as `custom-buffer-create-other-window'.
(customize-variable-other-window, customize-option-other-window):
Definitions moved up.
2002-12-26 22:15:38 +00:00
Markus Rost
08b4ae6ca4 (custom-save-faces): Fix typo. 2002-12-25 21:12:01 +00:00
Richard M. Stallman
c942535f88 (customize-save-variable): Take themes into account.
(custom-variable-save): Take themes into account.
(custom-variable-reset-saved): Add comment-widget.
(custom-variable-reset-standard): Add comment-widget.
(custom-variable-reset-standard): Take themes into account.
(custom-face-save): Take themes into account.
(custom-face-reset-standard): Take themes into account.
(custom-save-variables): Take themes into account.
(custom-save-faces): Take themes into account.
(custom-save-faces): Take themes into account.
(custom-save-resets): New function.
(custom-save-loaded-themes): New function.
(customize-save-customized): Take themes into account.
2002-12-23 18:40:24 +00:00
Andreas Schwab
0bbe869a4e (custom-face-edit-fix-value): Change :reverse-video to :inverse-video. 2002-12-07 20:48:50 +00:00
Andreas Schwab
a0b1a02278 (custom-display): Add checkbox for type mac. 2002-12-03 00:32:50 +00:00
Juanma Barranquero
2302ee3426 (custom-save-delete): Force emacs-lisp-mode. 2002-11-11 10:51:58 +00:00
Stefan Monnier
87434e7a58 (customize-mode): New command. 2002-10-10 13:10:53 +00:00
Markus Rost
1d58631a61 (Custom-reset-current): Don't test for default-boundp.
(Custom-reset-saved):  Don't test for saved-value.
2002-10-09 15:18:44 +00:00
Richard M. Stallman
bde4f35405 (custom-variable-backup-value): New function.
(custom-variable-reset-backup): New function.
(custom-variable-menu): Add item for custom-variable-reset-backup.
(custom-variable-set, custom-variable-reset-saved)
(custom-variable-reset-standard): Call custom-variable-backup-value.
2002-09-16 15:20:20 +00:00
Richard M. Stallman
99b398e0a4 (custom-save-variables, custom-save-faces):
Clarify the comments written into .emacs.
2002-09-09 00:26:14 +00:00
Stefan Monnier
3b2f3d306e (custom-unlispify-menu-entry): Don't remove
the -p prefix from variables since they shouldn't have it anyway.
(custom-group-menu-create, customize-menu-create):
Only cdr if applicable, since custom-menu-create might return
a vector (i.e. a single menu entry).
2002-08-30 21:52:10 +00:00
Richard M. Stallman
7f66329512 (custom-variable-value-create):
Say "Show Value", not just "Show".  Also "Hide Value".
Output a newline before the doc string.
(custom-face-value-create): Say "Show Face" and "Hide Face".
2002-07-20 22:14:36 +00:00
Richard M. Stallman
4f9850435d New operation :custom-standard-value.
(Custom-reset-standard): Use it.
(custom-variable, custom-face): Define it.
(custom-variable-standard-value, custom-face-standard-value): New fns.
(custom-face-save): Don't save a face whose value is standard.
(custom-save-faces): Use SYMBOL, not 'default, to set NOW and COMMENT.

(custom-face-edit-fix-value): If VALUE is not a list, pass it thru.
2002-07-16 13:37:21 +00:00
Miles Bader
4abe16b531 (custom-display): Use correct syntax for `supports' attributes. 2002-06-10 02:51:39 +00:00
Miles Bader
2b32d1a7ca (custom-display): Add support for `supports' predicate. 2002-06-10 02:47:18 +00:00
Pavel Janík
7ec8d2c666 (customize-set-value): Rename var' to variable' and val' to value'.
(customize-save-variable): Rename `var' to `'variable.
2002-05-12 15:19:59 +00:00
Kim F. Storm
c42c5c7c1b (custom-buffer-verbose-help): New variable.
(custom-buffer-create-internal): Remove verbose introduction
in customization buffer when it is nil.
2002-05-03 22:50:08 +00:00
Richard M. Stallman
8ba148c706 (custom-load-symbol): Moved to custom.el.
(custom-load-recursion): Likewise.
2002-04-28 03:29:39 +00:00
Richard M. Stallman
701f49d2a7 Fix previous change. 2002-04-27 03:14:21 +00:00
Richard M. Stallman
501d8923ae (customize-face-other-window): Make it work similarly. 2002-04-26 22:33:33 +00:00
Richard M. Stallman
cdd50deacf (customize-face): Use read-face-name and handle multiple faces. 2002-04-26 22:31:57 +00:00
Miles Bader
0344bc5a31 Don't use symbol-name when we don't have to. 2002-04-25 15:44:24 +00:00
Miles Bader
e16a803772 (customize-face, customize-face-other-window):
Use default instead of initial-input for suggested face.
2002-04-25 15:39:32 +00:00
Gerd Moellmann
d29a536ab9 (customize-face-other-window, customize-face):
Interactively, when point is on text with a face, suggest to
customize that face.
2002-04-25 14:21:47 +00:00
Miles Bader
60acd41c19 (customize-mark-to-save, customize-mark-as-set)
(custom-quote): Moved to `custom.el'.
2002-04-19 07:42:10 +00:00
Per Abrahamsen
42b4edc550 2002-02-24 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-unlispify-remove-prefixes): Add to
	`custom-buffer' customize group.
2002-02-24 09:14:41 +00:00
Per Abrahamsen
4f9b906041 2002-02-11 Per Abrahamsen <abraham@dina.kvl.dk>
* toolbar/tool-bar.el (tool-bar-mode): Removed standard value.
	* menu-bar.el (menu-bar-mode): Ditto.
	* cus-edit.el (customize-mark-to-save): Always save variables
	without a standard value.

	* menu-bar.el (menu-bar-make-toggle): Made it aware of customize.
	(menu-bar-options-save): Ditto.
	(menu-bar-showhide-menu): Ditto.
	(menu-bar-options-menu): Ditto.
	(menu-bar-scroll-bar-right, menu-bar-scroll-bar-left,
	menu-bar-scroll-bar-none): Removed.
	(menu-bar-showhide-scroll-bar-menu): Use customize aware lambda
	expressions instead.

	* cus-edit.el (customize-set-value): Return value.
	(customize-set-variable): Ditto.
	(customize-save-variable): Ditto.
	(customize-set-variable): Load dependencies before setting value.
        (custom-load-symbol): Autoload it.
	(customize-mark-as-set): New function.
2002-02-11 16:47:55 +00:00
Per Abrahamsen
414fd7021a 2002-02-05 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (customize-mark-to-save): New function.
	* menu-bar.el (menu-bar-options-save): Rewrote.
2002-02-07 17:32:18 +00:00
Pavel Janík
901cd78b4a Fix typo in prompt. 2002-02-02 15:52:36 +00:00
Richard M. Stallman
82d3d6946e (custom-save-all): Bind file-precious-flag to t for saving .emacs. 2002-01-24 18:56:45 +00:00
Richard M. Stallman
b5555381f2 (custom-face-edit-fix-value): Delete `assert' call.
(various face definitions): Use :weight and :slant.
2001-12-31 20:22:27 +00:00
Richard M. Stallman
d75fa08f60 (custom-face-edit-fix-value): New function.
(custom-face-edit): Use it, to convert :italic and :bold to new forms.
2001-12-31 20:13:54 +00:00
Richard M. Stallman
c6aedc9284 (custom-load-symbol): Don't always load locate-library. 2001-11-27 05:26:27 +00:00
Per Abrahamsen
61763509f2 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-face-value-create): Don't ignore the
	`customized-face' attribute when finding the current face spec.
2001-11-08 09:57:20 +00:00
Per Abrahamsen
a84ff57ae1 Backed out last change. 2001-11-07 08:03:55 +00:00
Per Abrahamsen
5519ece6d2 2001-11-07 Per Abrahamsen <abraham@dina.kvl.dk>
* cus-edit.el (custom-face-menu): Clarify menu entry.
2001-11-07 07:56:02 +00:00
Miles Bader
3ea051cb61 (custom-face-edit-convert-widget)
(custom-face-edit-deactivate, custom-face-edit-activate)
(custom-face-edit-delete, custom-face-edit-attribute-tag):
New functions.
(custom-face-edit): Specify a custom :convert-widget.
(custom-pre-filter-face-spec, custom-post-filter-face-spec):
Don't pass in default filters that map between `nil' and `off' and
`unspecified' and `nil'.
2001-10-05 13:03:57 +00:00
Eli Zaretskii
a9bcbf3f60 (custom-buffer-create-internal): Remove "100%" from
the message "Creating customization items...done".
2001-09-06 08:25:31 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Eli Zaretskii
558771ba0d (custom-file): Fix last change. 2001-05-28 07:13:32 +00:00
Eli Zaretskii
71261a01d3 (custom-file): Don't assume we were invoked with -q unless ~/.emacs exists. 2001-05-27 10:38:51 +00:00
Gerd Moellmann
f1f65349f4 (custom-comment-show): Remove debug code. 2001-05-22 09:46:32 +00:00
Gerd Moellmann
6a239292f7 (custom-file): Signal an error if user-init-file is
nil (running -q).
2001-05-07 14:02:56 +00:00
Gerd Moellmann
189638d565 (custom-save-delete): Move in front of local
variables, otherwise long Custom entries would make them
ineffective.
2001-03-07 15:21:35 +00:00
Miles Bader
e475612a27 (custom-face-save): Do post-processing on the face's new value like
`custom-face-set' does.
2001-01-20 01:24:15 +00:00
Dave Love
1751c874dc (customize-menu-create): Fix the :filter. 2001-01-12 12:59:53 +00:00
Gerd Moellmann
fda514f7b6 (custom-save-variables, custom-save-faces):
Comment fix.
2000-12-11 10:42:44 +00:00
Gerd Moellmann
c069a9d325 (custom-face-value-create): Always emphasize tag. 2000-11-30 13:01:40 +00:00
Dave Love
9c6a4107e4 (face): Fix :format. 2000-11-29 11:17:47 +00:00
Miles Bader
f5b50baad3 (custom-filter-face-spec, custom-pre-filter-face-spec)
(custom-post-filter-face-spec): New functions.
(custom-face-set, custom-face-value-create): Filter the face spec
before and after customization.
(custom-face-set): If VALUE specifies a null face, pass a
non-null-but-otherwise-ignored face-spec instead to `face-spec-set'.
2000-11-24 09:09:55 +00:00
Dave Love
6b29231253 (custom-buffer-create-internal): Save some consing.
(custom-variable-set): Improve validation error mesage.
2000-11-22 17:52:24 +00:00
Stefan Monnier
b92aaee07c (custom-mode-map): Switch back to a sparse keymap. 2000-10-31 21:06:51 +00:00
Miles Bader
a62ebc520c (custom-face-value-create): If face name doesn't end with "face", add
such here (similar to custom group widgets).
2000-10-29 14:49:01 +00:00
Stefan Monnier
e8d4d4dadb (custom-mode-map): Use a sparse map.
(custom-mode): Don't bother with make-local-hook.
2000-10-27 00:55:09 +00:00
Dave Love
7f352f861c (custom-mode): Add `special' mode-class property. 2000-10-26 09:32:19 +00:00
Jason Rumney
3060662ffb (custom-button-face, custom-button-pressed-face): Merge x w32 and mac
definitions.
2000-10-25 18:45:11 +00:00
Andrew Choi
1a578e9be2 Initial check-in: changes for building Emacs under Mac OS.
2000-10-23  Andrew Choi  <akochoi@i-cable.com>

	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.

	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: initialization for window system.

	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.

	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.

	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.

	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.

	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.

	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.

	* term.c [macintosh]: Include macterm.h.

	* window.c [macintosh]: Include macterm.h.

	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).

	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
	to Qt.

	* cus-edit.el (custom-button-face): Use 3D look for mac.
	(custom-button-pressed-face): Likewise.

	* faces.el (set-face-attributes-from-resources): Handle mac frames
	in the same way as x and w32 frames.
	(face-valid-attribute-values): Likewise.
	(read-face-attribute): Likewise.
	(defined-colors): Likewise.
	(color-defined-p): Likewise.
	(color-values): Likewise.
	(display-grayscale-p): Likewise.
	(face-set-after-frame-default): Likewise.
	(mode-line): Same default face as for x and w32.
	(tool-bar): Likewise.

	* frame.el: Remove call to frame-notice-user-settings at end of
	the file.

	* info.el (Info-fontify-node): make underlines invisible for mac
	as for x, pc, and w32 frame types.

	* term/mac-win.el: New file.
2000-10-22 16:50:16 +00:00
Miles Bader
61fb10d04e (custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face, custom-variable-tag-face):
  Use relative :height and inherit from `variable-pitch' face instead of
  hardwiring :family.
2000-09-20 02:06:45 +00:00
Dave Love
ba8cb52d56 (custom-variable-reset-saved, custom-variable-reset-standard): Remove
unused bindings.
2000-07-18 12:52:25 +00:00
Dave Love
91a38db1dd (custom-buffer-create-internal): Use a help-echo function to be more
specific.
2000-07-16 15:31:10 +00:00
Dave Love
d04a3972bf (custom-group-menu-create, customize-menu-create): Use :filter, per old
XEmacs code.
2000-07-13 17:06:15 +00:00
Gerd Moellmann
83e7159c66 (custom-button-face, custom-button-pressed-face):
Specify foreground color.
2000-06-23 05:56:08 +00:00
Dave Love
26c67de87d (customize-changed-options): Check arg.
(customize-version-lessp): Don't require decimal point.
2000-06-20 09:48:09 +00:00
Dave Love
01651f075f Don't require cl or easymenu.
(custom-variable-prompt): Test standard-value property, not
user-variable-p.
2000-05-16 15:03:49 +00:00
Stefan Monnier
23c0fb21e7 (custom-face): Fix parenthesis. 2000-04-26 17:12:34 +00:00
Dave Love
fadbdfeafe (Custom-set, Custom-save, Custom-reset-current)
(Custom-reset-saved, Custom-reset-standard)
(custom-group-value-create, custom-group-set, custom-group-save)
(custom-group-reset-current, custom-group-reset-saved)
(custom-group-reset-standard): Use mapc.
(custom-buffer-create-internal): Disable undo when creating items.
Use mapc.
(custom-face): Avoid superfluous lambda.
2000-04-24 20:11:27 +00:00
Stefan Monnier
8cfd634fbe (custom-face, face): Unquote the lambda. 2000-04-17 10:35:10 +00:00
Dave Love
359476e0f0 (custom-sort-items): Avoid symbol-name with new
string-lessp.
2000-04-13 19:05:10 +00:00
Stefan Monnier
d488166820 (hook): Use dolist' instead of CL's mapc'. 2000-03-26 00:12:35 +00:00
Jason Rumney
731d16f169 (custom-button-face) [w32]: Use same face as x.
(custom-button-pressed-face) [w32]: Likewise.
2000-03-21 21:58:32 +00:00
Gerd Moellmann
16b20ed921 (custom-variable-tag-face): Handle case that
default face's height is not a number.
(custom-face-tag-face, custom-group-tag-face-1)
(custom-group-tag-face): Ditto.
(custom-group-tag-face-1): Add :group.
2000-03-16 22:15:26 +00:00
Dave Love
2365594bb1 Doc fixes.
(customize-set-variable, customize-save-variable): Rename args for
doc.
(custom-variable-tag-face, custom-face-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Modify from
style which user identify as hyperlink.
(hook): Don't add undefined functions to the hook.
(debug-ignored-errors): Transfer message from bindings.el.
2000-03-12 18:50:49 +00:00
Gerd Moellmann
3c708e9898 (custom-hook-convert-widget): Fix comment. 2000-01-09 17:05:34 +00:00
Richard M. Stallman
a34511a1eb (custom-save-delete): Delete all occurrences,
leave point where the first occurrence was.
(custom-save-faces): Insert a newline at the end of the comment.
Avoid a double newline there.
If final closeparen is at bol, put a space before it.
(custom-save-variables): Likewise.
(custom-file): Doc fix.
1999-12-10 19:59:42 +00:00
Dave Love
aec2bb6375 (custom-save-variables, custom-save-faces): Write a
comment warning about editing.
1999-11-29 23:03:09 +00:00
Richard M. Stallman
19d63704de (Custom-reset-standard): Doc fix.
(custom-variable-reset-standard): Doc fix.
(custom-face-reset-standard): Doc fix.
(custom-face-menu): "Reset to Standard" => "Erase Customization".
(custom-variable-menu): Likewise.
(custom-reset-menu): Likewise.
(custom-buffer-create-internal): Likewise.
1999-11-26 19:47:26 +00:00
Dave Love
8d8ca350e7 (customize-face, customize-face-other-window): Require match from
completing-read.
(custom-buffer-done-function): Default to custom-bury-buffer, not
bury-buffer.
1999-11-15 12:36:02 +00:00
Dave Love
6171a94539 (custom-comment-create): Fill :from and :to slots 1999-10-01 22:04:30 +00:00
Dave Love
62633a5f53 (custom-bury-buffer): New function.
(custom-buffer-done-function): Use it.
1999-09-30 16:53:27 +00:00
Dave Love
164cfaeb57 (custom-comment): Change widget definition.
(custom-comment-create, custom-comment-show)
(custom-comment-invisible-p): Don't use :comment-overlay.
(custom-comment-hide): New function.
(custom-variable-set, custom-variable-save)
(custom-variable-reset-standard, custom-face-set)
(custom-face-save): Use it.
1999-09-28 22:09:42 +00:00
Dave Love
d3d4df42e4 Don't define-widget-keywords.
(multimedia): New group.
(custom-last): Function removed.
(custom-quote): Add vectorp case, comment out characterp case.
(custom-buffer-done-function, custom-raised-buttons): New option.
(Custom-buffer-done): New function.
(custom-buffer-create-internal): Obey custom-raised-buttons,
Custom-buffer-done.
(custom-button-face): Make it `released-button'.
(custom-button-pressed-face): Make it `pressed-button'
(custom-mode-map): Bind "q" to Custom-buffer-done.
(custom-mode): Deal with raised/pressed buttons.

Changes from Didier Verna:
(custom-prompt-variable): Optional third arg makes prompt for a comment
string.
(customize-set-value, customize-set-variable, customize-save-variable):
Optional prefix makes function handle variable comments.
(customize-customized, customize-saved, custom-variable-state-set)
(custom-variable-set, custom-variable-save, custom-face-state-set)
(custom-variable-reset-saved, custom-variable-reset-standard)
(custom-face-set, custom-face-save, custom-face-reset-saved)
(custom-face-reset-standard, customize-save-customized): Handle custom
comments.
(custom-comment-face, custom-comment-tag-face): New face.
(custom-comment): New widget.
(custom-comment-create, custom-comment-delete)
(custom-comment-value-set, custom-comment-show)
()custom-comment-invisible-p): New functions.
(custom-variable-value-create, custom-face-value-create): Create a
comment field widget.
(custom-variable-menu, custom-face-menu): New entry for custom comment.
(custom-face-value-create): Remove compatibility code.
(custom-save-variables, custom-save-faces): Possibly save custom comments.
1999-09-13 13:44:41 +00:00
Markus Rost
d151422c72 (custom-save-variables, custom-save-faces): Sort
the entries to make custom-file more readable.
1999-07-25 14:29:22 +00:00
Karl Heuer
cbe8bb8e18 (custom-save-delete): Avoid error for empty .emacs. 1999-07-25 05:50:42 +00:00
Karl Heuer
fa08de9625 (custom-variable-prompt): Allow customization of
autoloaded symbols.
1999-03-23 00:58:50 +00:00
Markus Rost
9a3f3bf439 (custom-save-delete): First scan the custom-file. Thus exit with an
error in case the custom-file contains a non-closed open parenthesis.
1999-01-10 06:17:49 +00:00
Richard M. Stallman
d089be69dc (custom-save-delete): Don't delete whitespace
and comments before the sexp that is replaced.
1999-01-06 08:40:50 +00:00
Karl Heuer
3e36b84953 (custom-save-delete): Save point before
reading a sexp, rather than backing up.
1998-12-02 18:15:26 +00:00
Karl Heuer
2a1c4b9034 (Custom-mode-menu): Fix info node name.
(customize group): Fix info node name.
1998-09-30 19:20:04 +00:00
Karl Heuer
dbd7a811cc (Custom-save, Custom-reset-current, Custom-reset-saved)
(Custom-reset-standard): Fix menu inconsistency.
1998-09-10 15:43:50 +00:00
Karl Heuer
41b3e67c3f (customize-option): Refuse to customize
a variable that has no defcustom.  But if variable is autoloaded,
first try to load the library that defines it.
1998-09-04 20:48:11 +00:00
Karl Heuer
e418be2696 (customize-version-lessp): Handle a number as VERSION2.
(customize-changed-options-previous-release): New variable.
(customize-changed-options): Use that variable as default arg.
1998-08-26 20:08:30 +00:00
Richard M. Stallman
65f64d008a (customize-changed-options): Clean up previous change. 1998-07-02 22:29:15 +00:00
Andreas Schwab
c992338c72 (custom-magic-show): Use `other' widget type. 1998-06-24 09:36:08 +00:00
Dan Nicolaescu
1e484d64bd *** empty log message *** 1998-06-22 02:10:41 +00:00
Karl Heuer
09da65202e (customize-group-other-window): Fix previous change. 1998-06-04 06:07:39 +00:00
Karl Heuer
b4854a2383 (customize-group, customize-group-other-window)
(custom-buffer-create, custom-buffer-create-other-window)
(customize-browse): Use pop-to-buffer.
(same-window-regexps): Add autoload to add regexp to match custom bfrs.
1998-06-02 06:56:44 +00:00
Richard M. Stallman
4599e8cd59 (convenience): New group. 1998-05-15 05:02:29 +00:00
Richard M. Stallman
fd88fe732d (customize-group-other-window): Handle groups not
yet loaded.  If buffer exists, use it unchanged.  Rename parameter
and update doc string.
1998-05-09 04:59:22 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Dan Nicolaescu
a55d9b3b13 *** empty log message *** 1998-04-18 18:20:15 +00:00
Karl Heuer
176eb8cb50 (custom-file): New function.
(custom-save-delete): Use it.
(custom-save-all): Use it.
1998-02-25 22:46:28 +00:00
Andreas Schwab
1edec9cfea (custom-browse-visibility): Doc fix. 1998-01-07 10:45:56 +00:00
Richard M. Stallman
39a10fc6e8 (customize-changed-options): Doc fix. 1998-01-02 21:17:27 +00:00
Karl Heuer
f50dc5d269 (customize-changed-options): New function.
(customize-version-lessp): New function.
1997-12-09 21:41:33 +00:00
Karl Heuer
d64478da0b (custom-unlispify-remove-prefixes): Reference to
related variables added.
(custom-variable-default-form): New variable controlling default
display form for customization of variables.
(custom-variable): widget `:form' is nil before initialization.
(custom-variable-value-create): Initialize `:form' to
`custom-variable-default-form'.
(custom-face-default-form): New variable controlling default
display form for customization of faces.
(custom-face): widget `:form' is nil before initialization.
(custom-face-value-create): Initialize `:form' to
`custom-face-default-form'.
1997-12-04 05:49:21 +00:00
Karl Heuer
fc4d62fe1b (custom-save-delete, custom-save-all):
Bind default-major-mode around visiting custom-file.
1997-12-04 04:30:59 +00:00
Karl Heuer
db9d97e1f5 (custom-variable-prompt): Ensure valid variable name
is selected.
1997-12-04 04:29:45 +00:00
Karl Heuer
6321bdddfb (custom-face-save): Save the face. 1997-11-15 20:56:41 +00:00
Karl Heuer
4743fc911e (hook): Use `widget-group-match' instead of
`widget-editable-list-match'.
1997-10-24 19:33:49 +00:00
Karl Heuer
98d5aafec1 (custom-group-value-create): Use
`custom-group-visibility' instead of `group-visibility'.
1997-10-21 03:04:39 +00:00
Richard M. Stallman
5aa3f181e5 (customize-group): Handle groups not yet loaded.
(hook) [:value-to-internal]: Use a nil value unchanged.
1997-09-12 19:43:45 +00:00
Richard M. Stallman
896a6a5d6e (custom-face-menu): Use custom-face-save-command. not custom-face-save.
(custom-face-save-command): New function.
(custom-variable-save): Fix error message.
1997-09-12 07:04:41 +00:00
Richard M. Stallman
0db1ff2312 (custom-variable-save): Fixed doc string.
(custom-variable-menu): Make it clear that `Lisp
mode' edit the initial lisp expression.
1997-09-09 00:21:07 +00:00
Per Abrahamsen
1e4ed6df18 *** empty log message *** 1997-09-08 19:17:57 +00:00
Geoff Voelker
b97aca2766 (custom-display): Use w32 instead of win32. 1997-09-02 19:40:12 +00:00
Eli Zaretskii
5f83e1daac Run ".emacs" through convert-standard-filename before using it. 1997-08-12 11:59:41 +00:00
Richard M. Stallman
fa0b3d466d (custom-face-value-create): Take account
of changes in the frame made outside of customize.
1997-08-03 04:10:08 +00:00
Per Abrahamsen
f985c5f748 Synched with 1.9954. 1997-07-30 12:04:50 +00:00
Per Abrahamsen
4ee1cf9f78 Synched with 1.9951. 1997-07-28 15:46:57 +00:00
Richard M. Stallman
df816618ed (custom-group-value-create) <tree>: Don't distinguish
unloaded groups; use [+] for them.
(customize-browse): Fix top-of-buffer doc text.
1997-07-18 18:59:20 +00:00
Richard M. Stallman
cda987f448 (custom-unlispify-remove-prefixes): New variable.
(custom-unlispify-menu-entry): Obey custom-unlispify-remove-prefixes.

(customize-browse): Don't take an argument.

(customize-browse): Improve start-of-buffer message.

(custom-help-menu): Variable deleted.
(custom-menu-reset): Function deleted.
(Custom-menu-update): Likewise.
1997-07-15 19:21:04 +00:00
Richard M. Stallman
d3d21843f0 (custom-load-symbol): Don't reload a preloaded file. 1997-07-07 19:06:16 +00:00
Richard M. Stallman
766e15c6b5 (custom-mode-map): Bind n and p. 1997-07-04 19:43:04 +00:00
Richard M. Stallman
f03ae42a20 Comment change. 1997-07-04 18:44:38 +00:00
Per Abrahamsen
62f4466253 Synched with 1.9944. 1997-07-04 09:44:36 +00:00
Richard M. Stallman
3aec85bf55 (custom-buffer-create-internal): New arg DESCRIPTION
is inserted in the buffer to describe it.
(custom-buffer-create-other-window, custom-buffer-create):
New arg DESCRIBE; pass it along.
(customize-group): Pass DESCRIBE argument.
(custom-face-menu): Improve Set and Save item strings.
(custom-group-menu): Likewise.

(custom): Don't set :button-face.
(custom-mode): Use custom-button-face here
as buffer-local value of widget-button-face.
1997-07-03 07:09:29 +00:00
Per Abrahamsen
c953515ea3 Synched with 1.9942. 1997-07-02 15:35:18 +00:00
Richard M. Stallman
1e85093646 (custom-magic-alist): Update messages for modified' and set' states. 1997-06-27 06:09:07 +00:00
Richard M. Stallman
0f3335c058 (Custom-move-and-invoke): New command.
(custom-mode-map): Bind Custom-move-and-invoke to mouse-1.
(custom-buffer-create-internal): Update buffer help text.

(custom-variable-menu): Clarify menu item names.
(custom-buffer-create-internal): Clarify button names.
1997-06-27 06:03:11 +00:00
Per Abrahamsen
da5ec61785 Synched with 1.9936. 1997-06-25 15:30:27 +00:00
Richard M. Stallman
b62c92bb79 (custom-documentation-face): New face.
(custom-mode): Use custom-documentation-face for doc strings.
(custom-group-link): Fix the help string.
(custom-magic-show): Doc fix.

(custom-group-value-create): In links style,
use Go to Group instead of Show.
(Custom-goto-parent): New command.
(custom-mode-map): Bind u to Custom-goto-parent.
Bind SPC and DEL.
(custom-buffer-create-internal): Improve help for buttons.
(custom-button-face): New defface.
(custom widget-type): Use custom-button-face for buttons.
(custom-group-tag-faces): Initial value is nil.
(custom-variable-tag-face): Renamed from custom-variable-sample-face.
Initialize it like custom-group-tag-face.
(custom-group-tag-faces): Initialize to nil.
(custom-state-face): New defface.
(custom-magic-value-create):
Use custom-state-face for long State descriptions.

(custom-state-buffer-message): Display the message
only if the item is modified.  Take widget as arg.
(custom-mode): Use widget-edit-functions.
1997-06-24 22:42:54 +00:00
Richard M. Stallman
f9dd586e0f (customize-save-customized): Renamed from custom-save-customized. 1997-06-24 20:09:49 +00:00
Richard M. Stallman
ab678382e3 (Custom-set): Renamed from custom-set.
(Custom-save): Renamed from custom-save.
(custom-browse-sort-predicate): Defalias deleted.
(custom-group-value-create): Don't sort, in tree mode.
(Custom-mode-menu): Renamed from custom-mode-menu.
(Custom-reset-current): Renamed from custom-reset-current.
(Custom-reset-saved): Renamed from custom-reset-saved.
(Custom-reset-standard): Renamed from custom-reset-standard.
(Custom-menu-update): Renamed from custom-menu-update.
(customize-set-value): Renamed from custom-set-value.
(customize-set-variable): Renamed from custom-set-variable.
1997-06-24 20:07:51 +00:00
Richard M. Stallman
8691cfa76d (custom-group-visibility): Widget type
moved from wid-edit.el and renamed from group-visibility.
(custom-group-visibility-create): Function renamed
and moved from wid-edit.el.
(custom-state-buffer-message): New function.
(custom-mode): Add custom-state-buffer-message to widget-edit-hook.
1997-06-24 03:17:58 +00:00
Richard M. Stallman
0eef62d545 (custom-buffer-create-internal):
Insert an explanation of the [Set] [Save]... line.
Rename Done to Bury Buffer.
1997-06-21 23:36:32 +00:00
Richard M. Stallman
cd6c094087 (custom-add-parent-links): New arg INITIAL-STRING.
(custom-group-value-create): Pass that arg.
(custom-buffer-create-internal): Clarify initial documentation.

(custom-tree-group-tag): Capitalize the tag.
(custom-tree-variable-tag, custom-tree-face-tag): Likewise.
(customize-browse): Corresponding changes.
1997-06-21 20:07:48 +00:00
Richard M. Stallman
d377bee988 (custom-group-value-create): Use group-visibility widget.
(custom-add-parent-links): Don't insert anything if no parents.
Return non-nil iff do have parents.
1997-06-21 18:51:28 +00:00
Richard M. Stallman
043ee6f671 (custom-group-value-create): Use group-visibility widget. 1997-06-21 18:23:40 +00:00
Richard M. Stallman
26c7b3ef79 (custom-magic-value-create):
In `links' style, don't indent the member groups.
(custom-group-value-create): Likewise.
1997-06-21 18:20:23 +00:00
Per Abrahamsen
944c91b6b3 Synched with 1.9930. 1997-06-21 12:48:00 +00:00
Richard M. Stallman
cbc7d89241 (custom-magic-alist) <hidden>: Don't refer to "dots". 1997-06-21 05:19:46 +00:00
Richard M. Stallman
451de77a8a (customize-menu-create): Return nil if Emacs.
(custom-mode): Handle custom-mode-customize-menu being nil.
(custom-mode-customize-menu): Don't initialize if customize-menu-create
returns nil.
1997-06-21 05:02:47 +00:00
Richard M. Stallman
241d3080a1 (custom-nest-groups): New variable.
(custom-group): Don't insert a space before the group name here.
(customize-group): If buffer exists, use it unchanged.
(custom-format-handler) <L>: Maybe make a group-link widget
instead of a group-visibility widget.
custom-nest-groups controls this.
<l, i, e>: Indent differently if custom-nest-groups.
1997-06-21 04:54:54 +00:00
Richard M. Stallman
07e694f88d (customize-group): Ignore case in completion.
(custom-buffer-create-internal): Put parent groups near the top.

(custom-format-handler) <L>: Use group-visibility.
<L, i, - cases>: Triple the indentation, use just 2 dashes.
1997-06-21 03:10:56 +00:00
Per Abrahamsen
a1a4fa22ce Synched with 1.9924. 1997-06-19 11:30:04 +00:00
Richard M. Stallman
482e54f354 (files): New group `files'.
(auto-save): Make `files' its parent.
1997-06-19 01:11:43 +00:00
Per Abrahamsen
8697863ab3 Synched with 1.9920. 1997-06-15 15:31:32 +00:00
Per Abrahamsen
6aaedd1230 Synched with 1.9914. 1997-06-14 10:21:01 +00:00
Per Abrahamsen
c32de15e6d Synched with 1.9908. 1997-06-04 11:43:32 +00:00
Richard M. Stallman
64dde95b47 (custom-variable-prompt): Change prompt. 1997-06-03 03:39:31 +00:00
Per Abrahamsen
0a3a0b562f Synched with 1.9905 1997-06-01 18:03:25 +00:00
Per Abrahamsen
9097aeb790 Synched with 1.9904 1997-06-01 11:58:17 +00:00
Per Abrahamsen
d5c42d02a5 Synched with 1.9903 1997-06-01 08:04:57 +00:00
Richard M. Stallman
38d5807862 (customize-option): Renamed from custom-variable.
(customize-variable): Add it as an alias.
(customize-option-other-window):
Renamed from customize-variable-other-window.
(custom-load-symbol): Search for both short and absolute
names of the library, when avoiding duplicate loading.
1997-06-01 06:41:08 +00:00
Richard M. Stallman
5b5cdd97a3 (custom-variable-prompt): Handle variable-at-point returning 0. 1997-06-01 05:58:36 +00:00
Per Abrahamsen
3acab5ef06 Synched with version 1.9901. 1997-05-31 06:34:12 +00:00
Richard M. Stallman
85b78d5b5a (custom-load-symbol): Simplify previous change. 1997-05-31 02:47:47 +00:00
Richard M. Stallman
70bc91bcec (cus-start): Require cus-start.
(mule): Make i18n the parent group.
1997-05-31 00:54:45 +00:00
Per Abrahamsen
25ac13b5bd Synched with version 1.9900. 1997-05-30 00:39:40 +00:00
Richard M. Stallman
eedc233610 (custom-face-display-set): Define if not defined.
(custom-buffer-create-internal): Refer to the Emacs manual.
1997-05-29 23:27:40 +00:00
Per Abrahamsen
0f39575982 Restored code lost in merge. 1997-05-14 17:38:51 +00:00
Per Abrahamsen
86bd10bcd8 Synched with version 1.97. 1997-05-14 17:22:46 +00:00
Richard M. Stallman
dc2e979fc7 Fix previous change. 1997-05-08 16:04:55 +00:00
Richard M. Stallman
27f73a8b79 (customize): Call customize-group. 1997-05-08 16:03:40 +00:00
Richard M. Stallman
5dd0cad075 Say "standard settings" instead of "factory settings".
(custom-group-magic-alist): New variable.
(custom-group-state-update): Use custom-group-magic-alist.
(customize-group): Renamed from `customize',
and rename argument to GROUP.
(customize): New function.
1997-05-04 03:47:13 +00:00
Per Abrahamsen
6d528fc505 Synched with custom 1.90. 1997-04-24 16:53:55 +00:00
Richard M. Stallman
46fa5a8374 (custom-variable-type): Use copy-sequence, not copy-list. 1997-04-22 16:55:19 +00:00
Richard M. Stallman
f2b98a568e (custom-face-set): Don't copy an empty face,
just call custom-face-display-set.
(custom-face-reset-saved, custom-face-save, custom-face-reset-factory):
Likewise.
(custom-face-display-set): Define this here.
(custom-display-match-frame): Define here.
1997-04-21 03:55:17 +00:00
Per Abrahamsen
bd042c030f Sync with 1.84. 1997-04-12 17:51:31 +00:00
Per Abrahamsen
d543e20b61 Initial revision 1997-04-07 13:42:59 +00:00