1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

131 Commits

Author SHA1 Message Date
Chong Yidong
d19e23ae10 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
align size column (Bug#4839).
2009-11-06 19:15:25 +00:00
Juri Linkov
c9753fb4b5 (Buffer-menu-mode-map): Add hyphen between "Buffer"
and "Menu" to make top-level menu item visually one unit (like
it's done for "Lisp-Interaction", "Emacs-Lisp" and other
multi-word menu items).  Fix :help string for quit-window.
2009-11-03 07:28:59 +00:00
Dan Nicolaescu
a7610c523c * textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote):
* progmodes/ruby-mode.el (auto-mode-alist)
(interpreter-mode-alist): Purecopy strings.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.

* emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
string for the hook, keymap and abbrev table.

* emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.

* x-dnd.el (x-dnd-xdnd-to-action):
* startup.el (fancy-startup-text, fancy-about-text): Change to
defconst from defvar.

* ps-print.el (ps-page-dimensions-database): Purecopy initial value.

* mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
Purecopy initialization strings.

* mail/sendmail.el (mail-header-separator)
(mail-personal-alias-file):
* mail/rmail.el (rmail-default-dont-reply-to-names)
(rmail-ignored-headers, rmail-retry-ignored-headers)
(rmail-highlighted-headers, rmail-secondary-file-directory)
(rmail-secondary-file-regexp):
* files.el (null-device, file-name-invalid-regexp)
(locate-dominating-stop-dir-regexp)
(inhibit-first-line-modes-regexps): Purecopy initialization
strings.
(interpreter-mode-alist): Use mapcar instead of mapc.

* buff-menu.el (Buffer-menu-mode-map): Purecopy name.

* bindings.el (mode-line-major-mode-keymap): Purecopy name.
(completion-ignored-extensions):
(debug-ignored-errors): Purecopy strings.
2009-10-26 06:43:36 +00:00
Dan Nicolaescu
905a9ed392 * keymap.c (Fmake_sparse_keymap): Purecopy the name.
* eval.c (Fautoload): Purecopy the filename.  Simplify.

* category.c (Fdefine_category): Purecopy docstring.

* international/mule-cmds.el (set-language-info-alist): Purecopy lang-env.
(leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
(charset): Purecopy the name.
(define-char-code-property): Purecopy string arguments.

* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Purecopy string arguments.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* ediff-hook.el (menu-bar-ediff-menu):
* buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
* bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2009-10-24 06:32:03 +00:00
Stefan Monnier
349b6bfe4e (list-buffers, ctl-x-map): Mark the entry points with ;;;###autoload cookies. 2009-10-14 14:49:13 +00:00
Dan Nicolaescu
6a6baf114e (Buffer-menu-mode-map): Add a menu. 2009-01-15 16:46:07 +00:00
Dan Nicolaescu
52a0198dfa (Buffer-menu-sort): Use revert-buffer, not Buffer-menu-revert. 2009-01-15 15:41:32 +00:00
Dan Nicolaescu
fa9d0f3824 (Buffer-menu-mode): Derive from special-mode.
Refer to revert-buffer, not Buffer-menu-revert.
(Buffer-menu-revert): Remove function, unused.
(Buffer-menu-mode-map): Don't bind keys already
bound by special-mode.
2009-01-15 15:12:32 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Stefan Monnier
e1ff8dd08b (Buffer-menu-short-ellipsis): Partly undo last change. 2008-11-21 05:19:40 +00:00
Stefan Monnier
31e02fabc0 (Buffer-menu-short-ellipsis): New constant.
(Buffer-menu-buffer+size): Use it, fix last change, and simplify.
(list-buffers-noselect): Don't need to pad.
2008-11-20 15:35:30 +00:00
Stefan Monnier
a3e5a6032a (Buffer-menu-buffer+size, list-buffers-noselect):
Pay attention to char widths when computing string sizes.
2008-11-20 15:22:16 +00:00
Glenn Morris
bf48d4efbb (buffer-menu-mode-hook): Add obsolete alias. 2008-09-03 04:05:23 +00:00
Juri Linkov
1fbb8c2e7d (Buffer-menu-mode): Document new commands in docstring. 2008-07-23 23:56:47 +00:00
Juri Linkov
9cda680dfa (Buffer-menu-marked-buffers)
(Buffer-menu-isearch-buffers)
(Buffer-menu-isearch-buffers-regexp): New functions.
(Buffer-menu-mode-map): Bind "M-s a C-s" to
`Buffer-menu-isearch-buffers', and "M-s a M-C-s" to
`Buffer-menu-isearch-buffers-regexp'.
(list-buffers-noselect): Add one space after Info file name
according to the Info address convention.
2008-07-23 23:52:33 +00:00
Stefan Monnier
70ef885744 * buff-menu.el: Use with-current-buffer and inhibit-read-only.
(Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only.
* bs.el: Use with-current-buffer.  Simplify.
(bs-toggle-readonly): Avoid vc-toggle-read-only.
2008-06-25 15:13:03 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Nick Roberts
392640c437 (list-buffers-noselect): Display buffer name in
tooltip instead of mouse binding when it doesn't fit in the list.
2008-03-14 21:32:47 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Juanma Barranquero
392225eeb6 (Buffer-menu-sort-column): Doc fix.
(Buffer-menu-mode-map): Initialize in the declaration.
(Buffer-menu-mode): Define with `define-derived-mode'.
2007-10-24 12:27:53 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Richard M. Stallman
84bbd894e3 (Buffer-menu-sort-column): Doc fix. 2007-05-16 19:48:35 +00:00
Juanma Barranquero
d637ffdcbe (Buffer-menu-sort-column): Doc fix. 2007-05-16 10:46:15 +00:00
Stefan Monnier
c822571ac0 (list-buffers-noselect): Use explicit unicode code rather than the
corresponding unicode char, to make the code more readable.
2007-02-19 15:46:25 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Eli Zaretskii
b653cee476 (list-buffers-noselect): For Info buffers, use "(file)node" instead of the
file name.
2006-08-05 13:30:17 +00:00
Juri Linkov
26f544d393 (list-buffers-noselect): Compare Info file
with the string "dir" to detect Info directory.
2006-06-28 14:15:41 +00:00
Eli Zaretskii
fb5614e82d (list-buffers-noselect): For Info buffers, use Info-current-file as the
file name.
2006-05-26 19:11:45 +00:00
Juanma Barranquero
fff861a2e0 (list-buffers-noselect): Turn also "\n" into a strech spec so it doesn't display
as "^J" on the header line when `Buffer-menu-use-header-line' is t.
2006-02-20 00:56:31 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Juri Linkov
6bca59a3cc (list-buffers-noselect): Use buffer-menu-buffer' instead of Buffer-menu-buffer'. 2006-01-17 21:45:19 +00:00
Juri Linkov
d247d0fe89 (buffer-menu-buffer) <defface>: Renamed from
Buffer-menu-buffer.  Doc fix.
(Buffer-menu-buffer): Face alias to buffer-menu-buffer.
2006-01-17 02:11:40 +00:00
Richard M. Stallman
e39588f395 (Buffer-menu-sort-column): Not a user variable. 2005-12-11 05:01:21 +00:00
Luc Teirlinck
3ce5f932d9 (Buffer-menu-use-frame-buffer-list): New user option.
(list-buffers-noselect): Use it.
2005-12-06 00:33:22 +00:00
Károly Lőrentey
e99c9adab0 (list-buffers-noselect): Display the selected frame's buffer list, not
the global one.
2005-11-28 14:36:07 +00:00
Luc Teirlinck
63de21602d (Buffer-menu-revert-function): Make the selected window's buffer the
current buffer around the call to `list-buffers-noselect'.  This is
necessary to mark that buffer with a `.' in the Buffer Menu when
called from Lisp, for instance by Auto Revert Mode.
2005-11-27 23:55:30 +00:00
Juri Linkov
2a8f2d4c09 (Buffer-menu-buffer): Remove group `font-lock-highlighting-faces'. 2005-09-29 22:56:45 +00:00
Chong Yidong
104fc809f9 *** empty log message *** 2005-09-07 18:48:34 +00:00
Stefan Monnier
3076c7266f (Buffer-menu-make-sort-button): Add docstrings, use non-anonymous functions. 2005-09-06 20:44:41 +00:00
Chong Yidong
efe4e5af8a *** empty log message *** 2005-09-06 19:10:06 +00:00
Dan Nicolaescu
e95e5f8193 * mh-customize.el: Do not use face-alias compatibility for
faces that did not appear in the previous Emacs release.

* buff-menu.el:
* compare-w.el:
* emacs-lisp/testcover.el:
* play/gomoku.el:
* play/mpuz.el:
* progmodes/flymake.el:
* progmodes/gdb-ui.el:
* progmodes/idlw-help.el:
* progmodes/idlw-shell.el:
* progmodes/ld-script.el:
* progmodes/which-func.el:
* ruler-mode.el:
* strokes.el:
* textmodes/sgml-mode.el:
* textmodes/table.el: Do not use face-alias for backward
compatibility for faces that did not appear in the previous Emacs
release.
2005-08-15 21:29:32 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juanma Barranquero
bfa13d1914 (Buffer-menu-unmark): Doc fix.
(Buffer-menu-not-modified, Buffer-menu-execute, Buffer-menu-toggle-read-only,
Buffer-menu-buffer+size, list-buffers-noselect, Buffer-menu-select):
"?\ " -> "?\s".
2005-07-20 11:32:17 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Miles Bader
b6116bd256 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-408
Remove "-face" suffix from Buffer-menu-buffer face

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

   * lisp/buff-menu.el (Buffer-menu-buffer): Remove "-face" suffix from
   face name.
   (Buffer-menu-buffer-face): New backward-compatibility alias for
   renamed face.
   (list-buffers-noselect): Use renamed Buffer-menu-buffer face.
2005-06-14 22:49:09 +00:00
Luc Teirlinck
c0e9b2d0ec Update copyright years. 2005-05-25 22:46:48 +00:00
Luc Teirlinck
3f9c9ff71d (Buffer-menu-revert-function): Improve handling of point after reverting.
(Buffer-menu-make-sort-button): Handle the case where
Buffer-menu-use-header-line is nil.
2005-05-25 15:50:44 +00:00
Luc Teirlinck
5f90d77ec8 (Buffer-menu-mode): Use `run-mode-hooks'. 2005-05-22 22:01:22 +00:00