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
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
Richard M. Stallman
d953b88c35
(Buffer-menu-mouse-select): Handle dedicated window.
1994-05-23 08:23:03 +00:00
Karl Heuer
d733c5ec03
Update copyright.
1994-05-03 22:46:37 +00:00
Karl Heuer
e5ea316b8a
(Buffer-menu-mode): Highlight only the buffer name, not the whole line.
...
(Buffer-menu-buffer-name-position): New function.
1994-04-02 05:31:31 +00:00
Karl Heuer
823316aaf2
(Buffer-menu-mode): Add mouse-face properties.
1994-04-02 04:13:09 +00:00
Richard M. Stallman
2cf5fc7e0f
(Buffer-menu-mouse-select): New command.
...
(Buffer-menu-mode-map): Bind mouse-2.
(Buffer-menu-mode): Doc fix.
1994-03-31 16:46:57 +00:00
Karl Heuer
f450965c2e
(Buffer-menu-toggle-read-only): Change toggle-read-only to
...
vc-toggle-read-only.
1994-02-25 01:42:03 +00:00
Jim Blandy
eb8c3be94e
Apply typo patches from Paul Eggert.
1993-06-09 11:59:12 +00:00
Richard M. Stallman
3ed788ec2c
(buffer-menu): Don't save a window config.
...
(Buffer-menu-select): Don't call Buffer-menu-execute.
Don't restore a window config.
1993-05-10 16:31:21 +00:00
Richard M. Stallman
4fbc6fa655
Put back removed years in copyright notice.
1993-03-29 19:49:43 +00:00
Eric S. Raymond
125def1c78
Removed author and Adapted-By lines. They're wrong, and they're not
...
in the supposedly up-to-date version on my system. What was going on
here?
1993-03-29 15:48:02 +00:00
Eric S. Raymond
d91e2b1a2d
(Buffer-menu-toggle-read-only) Added, per Rob Austein's suggestion
...
in the LCD package bm-toggle.el.
1993-03-27 01:58:22 +00:00
Eric S. Raymond
86dbbfc211
Incorporated changes from Bob Weiner's enhanced buff-menu from the LCD
...
archive.
1993-03-23 07:26:34 +00:00
Eric S. Raymond
e41b2db1da
Added or corrected Commentary sections
1993-03-22 03:27:18 +00:00
Eric S. Raymond
9750e079dd
entered into RCS
1992-07-22 04:22:30 +00:00
Eric S. Raymond
5de9bdab59
*** empty log message ***
1992-07-16 20:47:09 +00:00
Jim Blandy
dc6d96816d
*** empty log message ***
1992-07-15 00:32:19 +00:00
Jim Blandy
06b1a5ef11
*** empty log message ***
1992-07-10 02:33:41 +00:00
Roland McGrath
35aaf00cff
*** empty log message ***
1992-07-02 02:36:29 +00:00
Eric S. Raymond
c0274f385f
*** empty log message ***
1992-05-30 23:54:21 +00:00
Jim Blandy
2dd96f2330
Initial revision
1991-02-23 18:14:25 +00:00