Commit graph

115 commits

Author SHA1 Message Date
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
Richard M. Stallman
7e829de9c2 (Buffer-menu-buffer-face): In group Buffer-menu. 2005-05-19 15:42:40 +00:00
Kim F. Storm
95f5b5ad6e (Buffer-menu-mode-map): Map follow-link to
mouse-face.
2005-04-08 11:04:22 +00:00
Luc Teirlinck
fda73b4587 (Buffer-menu-revert-function): Clear out undo info before reverting
and disable undo recording while reverting.
2004-12-27 05:17:09 +00:00
Juri Linkov
a0e4e2757a (Buffer-menu-switch-other-window): Bind pop-up-windows to t.
(Buffer-menu-switch-other-window, Buffer-menu-2-window):
Bind same-window-buffer-names and same-window-regexps to nil.
2004-12-14 02:35:01 +00:00
Juri Linkov
a6a2fd5e30 (list-buffers-noselect): Collect internal info
for every buffer in BUFFER-LIST arg too.
2004-12-14 02:24:33 +00:00
Richard M. Stallman
5f11b513c8 Comment change. 2004-11-23 16:41:27 +00:00
Stefan Monnier
5e684428e0 (list-buffers-noselect): Use fixed-pitch only in the header-line.
Re-add the leading space in the header-line when needed.
Build the underline automatically.  Use emdash if available.
2004-11-22 15:12:09 +00:00
Richard M. Stallman
6d3bce2bd6 (list-buffers-noselect): Eliminate space at the start of HEADER.
Compensate for this change in the code to add display properties.
Don't make the first line intangible.
2004-11-20 18:52:50 +00:00
Stefan Monnier
f4872033df (list-buffers-noselect): Massage to fit in 80 columns.
Replace mapcar->dolist, format->string.
2004-11-17 17:12:57 +00:00
Richard M. Stallman
6161791395 (list-buffers-noselect): New arg BUFFER-LIST. 2004-11-16 17:12:53 +00:00
Daniel Pfeiffer
589f233e08 (Buffer-menu-make-sort-button): Preserve point even when clicking from another window. 2004-11-03 21:55:28 +00:00
Daniel Pfeiffer
c8d8f3225e (Buffer-menu-make-sort-button) Make sorting by mouse-2 work from a different window. 2004-10-18 20:45:52 +00:00
Daniel Pfeiffer
bfb2dda4b6 (Buffer-menu-revert-function): Emulate save-excursion.
(Buffer-menu-beginning): New helper function.
(Buffer-menu-execute): Use it.
(Buffer-menu-select): Use it.
(Buffer-menu-sort): Use it and also keep markers.
2004-10-17 08:35:10 +00:00
Richard M. Stallman
e8e8c0c7b7 (list-buffers-noselect): Call format-mode-line with the buffer as argument. 2004-09-09 01:34:59 +00:00
Eli Zaretskii
b6fdd1efe6 (list-buffers-noselect): Append the buffer's process status to its mode name. 2004-07-16 13:15:09 +00:00
Luc Teirlinck
012ad4a3f8 (Buffer-menu-mode): Make the buffer-stale-function return `fast'. 2004-04-01 01:23:36 +00:00