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
Luc Teirlinck
7b0a86abd0
(Buffer-menu-revert-function): Make it suitable for
...
Auto Revert mode.
(Buffer-menu-files-only): New variable.
(Buffer-menu-toggle-files-only): New function.
(Buffer-menu-mode-map): Bind it to `T'.
(Buffer-menu-mode): Mention `T' in docstring.
Set buffer-stale-function.
(list-buffers-noselect): Mark buffer non-modified and set
Buffer-menu-files-only.
2004-03-27 02:09:45 +00:00
Stefan Monnier
d5aacb4655
(Buffer-menu-sort, Buffer-menu-make-sort-button): New funs.
...
(list-buffers-noselect): Use them. Adjust :align-to to new style.
2004-03-26 15:22:03 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
638df3f700
(list-buffers-noselect): Use window-inside-edges
...
to compute the number of offset spaces.
(list-buffers-noselect): Use Buffer-menu-buffer+size to
indent the dashes properly. Put some in fixed-pitch.
2003-06-04 09:00:22 +00:00
Stefan Monnier
748a336b92
(list-buffers-noselect): Use the display property
...
to properly align header-line text with the buffer's contents.
2003-03-17 18:12:42 +00:00
John Paul Wallington
463a7342da
(Buffer-menu-mode-map): Add docstring.
...
(Buffer-menu-buffer): Fix indentation.
(list-buffers-noselect): Calculate header-line spacing to take
into account width of left fringe and left scrollbar.
2003-03-06 03:53:12 +00:00
Andreas Schwab
a9fb4690e7
(Buffer-menu-select): Fix for effect of header line.
2003-01-11 23:15:10 +00:00
Dave Love
4f1ab860fe
(Buffer-menu-execute): Fix for effect of header
...
line.
2003-01-05 23:15:36 +00:00
Andreas Schwab
ee5861c836
(Buffer-menu-buffer+size): Don't clobber buffer name.
2003-01-05 17:46:42 +00:00
Robert J. Chassell
4f0992b35b
Change default width of Buffer-menu-buffer+size-width to 24
...
and of Buffer-menu-mode-width to 16.
2002-12-18 20:24:51 +00:00
Juanma Barranquero
bc7bb432d6
(Buffer-menu, Buffer-menu-use-header-line, Buffer-menu-buffer-face,
...
Buffer-menu-buffer+size-width, Buffer-menu-mode-width): New customization.
(Buffer-menu-sort-column): New var.
(Buffer-menu-no-header): New function for not changing header line and
recognizing swapped M&R columns, used by modifying commands in Buffer Menu.
(Buffer-menu-buffer+size): New function for variable width buffer name.
(list-buffers-noselect): Rewritten for nicer menu.
2002-12-16 08:13:19 +00:00
Richard M. Stallman
6a0d92d35d
(buffer-menu): Doc fix.
...
(buffer-menu-other-window): Doc fix.
(list-buffers, list-buffers-noselect): Doc fix.
2001-11-01 19:32:39 +00:00
Eli Zaretskii
ae83015970
(list-buffers-noselect): If the buffer's name
...
starts with a blank, but it visits a file, do show it (for files
whose names start with a blank).
2001-10-30 10:44:17 +00:00
Gerd Moellmann
6d6c3f8427
Add Keywords header.
...
Doc fix (C-x C-b is bound to list-buffers).
2001-08-29 14:53:53 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Eli Zaretskii
092924fd73
(list-buffers-noselect): Add help-echo to mouse-highlighted text.
2001-06-17 11:33:10 +00:00
Dave Love
5deca1becd
copyright up-date
2000-09-12 12:35:33 +00:00
Sam Steingold
10e1dad961
* buff-menu.el (list-buffers-noselect): Use `dolist' instead of
...
`while'; use `with-current-buffer' instead of `save-excursion'.
Removed unnecessary kludges now that "*Buffer List*" is excluded.
2000-08-16 14:33:21 +00:00
Gerd Moellmann
601ed8a0b1
(list-buffers-noselect): Set `buffer' as well as
...
'buffer-menu' property.
(Buffer-menu-buffer): Use `buffer' property if `buffer-name'
fails.
(Buffer-menu-execute): When deleting, test `(and buf (buffer-name
buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
wasn't killed.
2000-08-15 21:28:08 +00:00
Gerd Moellmann
7b9a51fd22
(list-buffers-noselect): Don't display the
...
*Buffer List* buffer.
2000-08-15 19:26:09 +00:00
Gerd Moellmann
1a4280fb47
(list-buffers-noselect): Use abbreviate-file-name
...
to display file names.
1999-11-12 12:43:32 +00:00
Richard M. Stallman
42a19c2a18
(Buffer-menu-mode-map): Add V for Buffer-menu-View.
...
(Buffer-menu-mode): Doc fix.
(Buffer-menu-view): New command.
(Buffer-menu-view-other-window): New command.
1999-08-03 17:38:59 +00:00
Richard M. Stallman
68e6f0948b
(Buffer-menu-quit): Function deleted.
...
(Buffer-menu-mode-map): Use quit-window for q.
1998-03-08 00:19:56 +00:00
Richard M. Stallman
251680cf7d
(Buffer-menu-mode-map): Bind e like f.
1998-01-17 19:43:15 +00:00
Richard M. Stallman
a59faabe2b
(Buffer-menu-mode): Doc fix.
...
(Buffer-menu-bury): Move the line to the end.
1997-06-17 19:32:04 +00:00
Richard M. Stallman
36570c928f
(Buffer-menu-bury): New command.
...
(Buffer-menu-mode-map): Put Buffer-menu-bury on `b'.
1997-06-17 04:28:01 +00:00
Richard M. Stallman
0f88624ee3
(Buffer-menu-revert): New function.
...
(Buffer-menu-mode-map): Use Buffer-menu-revert for g.
(Buffer-menu-mode): Doc fix.
1996-10-07 17:52:50 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
bd7602f2ae
(list-buffers-noselect): Don't let space after buf name
...
inherit the text props from it.
1995-06-15 20:07:56 +00:00
Karl Heuer
078c09a28d
(Buffer-menu-buffer): Give more informative error
...
message if user attempts a selection at end of buffer.
1995-05-17 20:52:45 +00:00