1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
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
Karl Heuer
732be46569 Update copyright. 1995-04-07 01:20:53 +00:00
Richard M. Stallman
1b40dbedc9 (list-buffers-noselect): Put buffer name in a text
property on the buffer's name.  Put in mouse-face prop here too.
Set Buffer-menu-buffer-column here.
(Buffer-menu-mode): Don't do those things here.
(Buffer-menu-buffer): Use text properties.
(Buffer-menu-buffer-name-position): Function deleted.
1995-04-06 08:00:00 +00:00
Richard M. Stallman
8cd1ad32be (Buffer-menu-save): Fix the test for header line. 1995-02-16 05:58:37 +00:00
Richard M. Stallman
e1fd0a89b0 (list-buffers-noselect): Handle read-only properly.
Select each buffer just once to get all necessary info about it.
1995-01-30 02:15:37 +00:00
Richard M. Stallman
08c82d4d49 (list-buffers-noselect): New subroutine.
(list-buffers): Use that.
(buffer-menu): Switch to the buffer in the same window.
(buffer-menu-other-window): New command.
(Buffer-menu-select): Just change the current window.
1995-01-30 01:11:10 +00:00
Richard M. Stallman
e24af5f529 (list-buffers): Fix previous change. 1995-01-13 08:25:52 +00:00
Richard M. Stallman
84b2b0a7f2 Fix previous change. 1995-01-13 08:24:35 +00:00
Richard M. Stallman
0b03ce3a17 (list-buffers): New function.
(ctl-x-map): Define C-x C-b to list-buffers.
1995-01-13 08:14:25 +00:00
Richard M. Stallman
8768da772f (Buffer-menu-mode-map): Bind C-m to Buffer-menu-this-window. 1994-12-27 03:48:03 +00:00
Richard M. Stallman
f90f28a039 (Buffer-menu-buffer): Clear text properties in STRING. 1994-12-20 23:05:23 +00:00
Richard M. Stallman
77a43e011b (Buffer-menu-delete): Handle prefix arg.
(Buffer-menu-delete-backwards): Handle prefix; use Buffer-menu-delete.
1994-09-24 04:32:08 +00:00
Richard M. Stallman
70e808bd5e (buffer-menu): Undo previous change.
Instead, save the point value that list-buffers set up
and go back there after switching windows.
1994-07-28 06:23:17 +00:00
Richard M. Stallman
95b9ce23a1 (buffer-menu): Call pop-to-buffer before
list-buffers.  Don't move point afterwards.
1994-07-12 07:31:35 +00:00
Richard M. Stallman
a8ce00dce2 (Buffer-menu-not-modified): Make `Buffer-menu-not-modified' handle an
argument like `not-modified'.
1994-07-11 04:46:24 +00:00
Richard M. Stallman
710e5da869 (Buffer-menu-revert-function): New function.
(Buffer-menu-mode): Use it, for revert-buffer-function.
(Buffer-menu-mode-map): Bind revert-buffer.
1994-07-06 23:05:34 +00:00