1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

350 Commits

Author SHA1 Message Date
Martin Rudalics
5ae87ed414 (custom-reset-standard-variables-list)
(custom-reset-standard-faces-list): New variables.
(custom-reset-standard-save-and-update): New function.
(Custom-save): Apply custom-mark-to-save before and
custom-state-set-and-redraw after saving options.
(Custom-reset-standard): Apply custom-mark-to-reset-standard to
options and call custom-reset-standard-save-and-update.
(custom-variable, custom-face, custom-group): Provide new
entries for custom-mark-to-save, custom-mark-to-reset-standard,
and custom-state-set-and-redraw.
(custom-variable-mark-to-save)
(custom-variable-state-set-and-redraw)
(custom-variable-mark-to-reset-standard)
(custom-face-mark-to-save, custom-face-state-set-and-redraw)
(custom-face-mark-to-reset-standard)
(custom-group-mark-to-save, custom-group-state-set-and-redraw)
(custom-group-mark-to-reset-standard): New functions.
(custom-variable-save): Move save, state-set, and redraw
functionality to custom-variable-mark-to-save.
(custom-face-save): Move save, state-set, and redraw
functionality to custom-face-mark-to-save.
(custom-group-save): Move save, state-set, and redraw
functionality to custom-group-mark-to-save.
(custom-variable-reset-standard, custom-face-reset-standard)
(custom-group-reset-standard): Move save, state-set, and redraw
functionality to custom-reset-standard-save-and-update.

(custom-buffer-create-internal): Fix text in verbose help.
(custom-face-value-create): Indent doc-strings of faces like
those of variables.
2008-01-16 16:22:29 +00:00
Martin Rudalics
2614ccc373 (custom-tool-bar-map): Move initialization of this
keymap from here ...
(custom-mode): ... to here.
2008-01-06 09:49:16 +00:00
Miles Bader
b201b9880e Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
2008-01-02 02:20:42 +00:00
Richard M. Stallman
76564e7ce3 Whitespace change. 2007-12-31 03:43:15 +00:00
Richard M. Stallman
f1201e3aed (custom-add-parent-links): New arg DOC-INITIAL-STRING.
Defaults for INITIAL-STRING and DOC-INITIAL-STRING do not include `parent'.
(custom-group-value-create): Pass two args to custom-add-parent-links.
2007-12-31 03:42:51 +00:00
Richard M. Stallman
d50e9d5b17 (custom-face-set): Call `face-spec-set' with FOR-DEFFACE.
(custom-face-save): Likewise.
(custom-face-reset-saved, custom-face-reset-standard): Likewise.
2007-12-30 03:36:05 +00:00
Richard M. Stallman
8ed10e7379 (custom-add-parent-links): Fill the "Parent documentation" text. 2007-12-29 19:26:14 +00:00
Juanma Barranquero
d1a3873fe8 (custom-mode): Define with `define-derived-mode'.
Set `show-trailing-whitespace' to nil.
2007-11-22 16:50:11 +00:00
Martin Rudalics
34cf517c8d (custom-field-keymap): Move to other Custom mode
keymaps such that it's before the definition of Custom-mode-menu.
(Custom-mode-menu): Show it for custom-field-keymap too.
2007-11-19 07:52:07 +00:00
Glenn Morris
b581d2ea49 (recentf-expand-file-name): Declare as function. 2007-11-19 00:08:23 +00:00
Dan Nicolaescu
a7f58f4be2 * cus-edit.el (custom-browse-insert-prefix):
* emulation/edt.el (edt-x-emacs19-p): Use featurep 'xemacs.
2007-10-28 17:39:49 +00:00
Stefan Monnier
e047f44883 Rewrite abbrev.c in Elisp.
* image.c (Qcount): Don't declare as extern.
(syms_of_image): Initialize and staticpro `Qcount'.
* puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
* emacs.c (main): Don't call syms_of_abbrev.
* Makefile.in (obj): Remove abbrev.o.
(abbrev.o): Remove.
* abbrev.c: Remove.

Rewrite abbrev.c in Elisp.
* abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
(abbrev-table-get, abbrev-table-put, abbrev-get)
(abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
(define-abbrev, abbrev--check-chars, define-global-abbrev)
(define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
(abbrev-expansion, abbrev--before-point, expand-abbrev)
(unexpand-abbrev, abbrev--write, abbrev--describe)
(insert-abbrev-table-description, define-abbrev-table):
New funs, largely transcribed from abbrev.c.
(abbrev-with-wrapper-hook): New macro.
(abbrev-table-name-list, global-abbrev-table)
(abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
(abbrevs-changed, abbrev-all-caps, abbrev-start-location)
(abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
(last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
New vars, largely transcribed from abbrev.c.
* cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
* cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
* loadup.el: Load "abbrev.el" before "lisp-mode.el".
2007-10-28 02:41:00 +00:00
Miles Bader
fdc9061358 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Richard M. Stallman
8c89fb87b4 (customize-changed-options): Make arg optional. 2007-10-24 08:09:30 +00:00
Glenn Morris
e27e48b582 (custom-variable-menu, custom-face-menu)
(custom-group-menu): Check init-file-user rather than
user-init-file, in case cus-edit is loaded by site-run-file.
2007-10-12 02:56:39 +00:00
Glenn Morris
9b5007e731 (custom-variable-menu, custom-face-menu)
(custom-group-menu): Check init-file-user rather than
user-init-file, in case cus-edit is loaded by site-run-file.
2007-10-12 02:56:23 +00:00
Glenn Morris
47fdaab85a Drew Adams <drew.adams at oracle.com>
(custom-face-edit-activate): Doc fix.
2007-09-16 03:06:30 +00:00
Glenn Morris
7739e58392 Drew Adams <drew.adams at oracle.com>
(custom-face-edit-activate): Doc fix.
2007-09-16 03:06:12 +00:00
Glenn Morris
d0da8f91f1 (custom-buffer-create-internal): Check tool-bar-mode is bound. 2007-09-05 03:49:26 +00:00
Miles Bader
0896d93184 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 84-87)

   - Update from CVS
   - Change capitalization of VC backend names for new backends

2007-08-02  Richard M. Stallman  <rms@gnu.org>

   * lisp/mail/rmailsum.el (rmail-make-summary-line): Find end of msg number
   to update deleted flag.

   * lisp/cus-edit.el (customize-apropos, customize-apropos-options)
   (customize-apropos-faces, customize-apropos-groups): Improve prompt.

   * lisp/menu-bar.el (menu-bar-help-menu): Add "About GNU" menu item.

   * lisp/startup.el (fancy-splash-head, startup-echo-area-message):
   Change message text.

   * lisp/emulation/tpu-edt.el (next-line-internal): Setting deleted.
   All callers use line-move.

   * lisp/progmodes/compile.el (compilation-find-buffer): Return current
   buffer immediately if suitable.
   (compile, compilation-buffer-name, compilation-start): Doc fixes.

2007-07-31  Daiki Ueno  <ueno@unixuser.org>

   * lisp/faces.el (face-normalize-spec): New function.
   (frame-set-background-mode): Normalize face-spec before calling
   face-spec-match-p.

2007-07-31  Stefan Monnier  <monnier@iro.umontreal.ca>

   * lisp/server.el (server-window): Add switch-to-buffer-other-frame option.

2007-08-03  Richard M. Stallman  <rms@gnu.org>

   * src/fileio.c (Fvisited_file_modtime): Use make_time.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-844
2007-08-03 05:49:59 +00:00
Glenn Morris
da435d1cf2 (customize-apropos): Make the error message indicate what kind of
thing the user was trying to customize.
2007-08-03 03:21:49 +00:00
Richard M. Stallman
bd18cd1928 (customize-apropos, customize-apropos-options)
(customize-apropos-faces, customize-apropos-groups): Improve prompt.
2007-08-02 17:53:19 +00:00
Vinicius Jose Latorre
aa96d4d57d Fix parent groups link 2007-08-01 01:18:37 +00:00
Vinicius Jose Latorre
d84fcc304f Fix parent groups link 2007-08-01 01:17:51 +00:00
Miles Bader
ed8c9cf163 Fix void function definition error in cus-edit.el
2007-07-30  Michael Olson  <mwolson@gnu.org>

	* cus-edit.el (custom-group-save): Fix void function definition
	error.  Thanks to Zhang Wei for the report.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-834
Creator:  Michael Olson <mwolson@gnu.org>
2007-07-30 05:33:55 +00:00
Stefan Monnier
a0247dcf39 (customize-read-group): New fun.
(customize-group-other-window, customize-face-other-window):
Prompt before delegating to customize-(group|face).
Bind pop-up-windows rather than use the other-window argument.
(customize-group, customize-face): Prompt from the interactive spec.
Remove args `prompt-for-group' and `other-window'.
2007-07-28 20:03:40 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Chong Yidong
9db1942d9a (custom-commands): New variable.
(custom-tool-bar-map): New variable.  Initialize using
`custom-commands'.
(custom-mode): Use `custom-tool-bar-map'.
(custom-buffer-create-internal): Insert action buttons only if
tool bar is not used.  Use `custom-commands'.
(Custom-help, custom-command-apply): New function.
(custom-command-apply, Custom-set, Custom-save)
(Custom-reset-current, Custom-reset-saved, Custom-reset-standard):
Use `custom-command-apply' instead of duplicating code.
(customize-group-other-window): Call `customize-group' instead of
duplicating code.
(customize-face-other-window): Call `customize-face' instead of
duplicating code.
(customize-group, customize-face): Add optional args for opening
in another window.
(custom-variable-tag): Don't inherit `variable-pitch' face.
(custom-group-tag): Inherit `variable-pitch' face.
(custom-variable-value-create): Set documentation indentation.
(custom-group-value-create): Make group name a link, instead of
using an extra "go to group" button.
(custom-prompt-variable, custom-group-set, custom-group-save)
(custom-group-reset-current, custom-group-reset-saved)
(custom-group-reset-standard): Minor cleanup.
2007-07-05 18:37:29 +00:00
Chong Yidong
12bafdaa03 (custom-split-regexp-maybe): Simplify.
(custom-buffer-create-internal): Simplify message.
(custom-variable-tag): Reduce height to normal.
(custom-variable-value-create, custom-face-value-create)
(custom-visibility): New widget.
(custom-visibility): New face.
(custom-group-value-create): Call
widget-add-documentation-string-button, using `custom-visibility'.
2007-06-14 23:08:20 +00:00
Richard M. Stallman
f0fc85830b (custom-variable-type): Doc fix. 2007-06-11 05:12:38 +00:00
Juanma Barranquero
040ee34f61 (minibuffer, auto-save): Fix typos in docstrings. 2007-04-13 09:05:43 +00:00
Chong Yidong
fe4acc60c6 (customize-save-variable): Clear customized-value property (saved
values are now put in theme-value property).
(customize-set-variable): Doc fix.
2007-03-05 15:16:08 +00:00
Eli Zaretskii
c34a8a8740 (custom-save-all): Canonicalize custom-file before storing it in
recentf-exclude.
2007-02-23 19:13:40 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
0b97da8f38 (customize-unsaved): Renamed from customize-customized.
Change messages accordingly.
(customize-customized): Now alias.
2007-01-02 20:55:54 +00:00
Richard M. Stallman
ba5b643ea3 (custom-browse-sort-alphabetically, custom-buffer-sort-alphabetically)
(custom-menu-sort-alphabetically): Doc fixes.  Add autoloads.
2006-12-26 21:48:17 +00:00
Richard M. Stallman
9e2f5050bc (custom-save-all): Use find-file-visit-truename for visiting the custom file. 2006-11-12 19:55:10 +00:00
Juanma Barranquero
c8c9333c69 (hook): Fix typos in docstring. 2006-11-06 22:37:30 +00:00
Chong Yidong
f3093f777f (custom-mode-map): Move defvar above code using it.
(custom-mode-link-map): New variable.
(custom-group-link, custom-manual): Use follow-link.
2006-11-06 22:05:23 +00:00
Juanma Barranquero
1839a807ff (hook): Fix typo in docstring. 2006-11-06 02:49:18 +00:00
Richard M. Stallman
e29e9065b1 (custom-save-all): Error if saving in .emacs and it had an error when loaded. 2006-11-05 15:17:49 +00:00
Juanma Barranquero
10cb6e7b96 (custom-unlispify-menu-entries, custom-unlispify-tag-names,
custom-prompt-variable): Use "non-nil" in docstrings.
2006-11-03 15:06:26 +00:00
Chong Yidong
b0c4ae71dc * wid-edit.el (widget-button-click-moves-point): New variable.
(widget-button-click): If widget-button-click-moves-point is
	non-nil, set point after performing the button action

	* cus-edit.el (custom-mode): Set widget-button-click-moves-point.
2006-09-30 15:45:35 +00:00
Chong Yidong
31b7fa51d6 * cus-edit.el (custom-save-all): Switch to emacs-lisp mode before
saving anything to be sure that `forward-sexp' behaves correctly.
2006-09-29 18:31:33 +00:00
Richard M. Stallman
83ff1415e5 (custom-buffer-create-internal): In `emacs -q',
explain why Save is not available.
2006-09-22 21:47:00 +00:00
Richard M. Stallman
0518917aaa (mode-line): Renamed from modeline. All uses changed. 2006-09-14 23:53:55 +00:00
Richard M. Stallman
809f0c3561 (custom-menu-create): Bind deactivate-mark here
(custom-group-menu-create): Not here.
2006-09-08 11:57:05 +00:00
Chong Yidong
b1674d6103 * cus-edit.el (custom-group-menu-create): Avoid deactivating the
mark after running the menu filter.
2006-09-03 14:13:37 +00:00
Richard M. Stallman
adcc7a37ed (custom-save-variables): Slight cleanup.
(Custom-no-edit): Renamed from custom-no-edit.
(Custom-newline): Renamed from custom-newline.
(custom-mode-map): Use new names.
2006-08-31 23:16:03 +00:00