aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-03-25 14:53:23 +0200
committerEli Zaretskii2024-03-25 14:53:23 +0200
commita79b424f7fdecf577e46c5fea6ee3d921e606596 (patch)
treeb918787943ab7b4f8c1f1ed6694d17496e3a887b
parentf54b1d9f7b7a977ee4856c778a309c900ce9e8fa (diff)
downloademacs-a79b424f7fdecf577e46c5fea6ee3d921e606596.tar.gz
emacs-a79b424f7fdecf577e46c5fea6ee3d921e606596.zip
Document the 'I' command in buffer-menu
* doc/emacs/buffers.texi (Several Buffers): Document 'I'. Fix indexing. (List Buffers): Mention 'I'. (Bug#69987) * etc/NEWS: Mark 'I' as documented.
-rw-r--r--doc/emacs/buffers.texi62
-rw-r--r--etc/NEWS2
2 files changed, 36 insertions, 28 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi
index 00160afd844..2786ff6ad65 100644
--- a/doc/emacs/buffers.texi
+++ b/doc/emacs/buffers.texi
@@ -223,8 +223,10 @@ the directory @file{~/cvs/emacs/src/}. You can list only buffers that
223are visiting files by giving the command a prefix argument, as in 223are visiting files by giving the command a prefix argument, as in
224@kbd{C-u C-x C-b}. 224@kbd{C-u C-x C-b}.
225 225
226 @code{list-buffers} omits buffers whose names begin with a space, 226 By default, @code{list-buffers} omits buffers whose names begin with a
227unless they visit files: such buffers are used internally by Emacs. 227space, unless they visit files: such buffers are used internally by
228Emacs (but the @kbd{I} command countermands that, @pxref{Several
229Buffers}).
228 230
229@node Misc Buffer 231@node Misc Buffer
230@section Miscellaneous Buffer Operations 232@section Miscellaneous Buffer Operations
@@ -401,57 +403,57 @@ cursor motion commands can be used in this buffer. The following
401commands apply to the buffer described on the current line: 403commands apply to the buffer described on the current line:
402 404
403@table @kbd 405@table @kbd
404@item d
405@findex Buffer-menu-delete 406@findex Buffer-menu-delete
406@kindex d @r{(Buffer Menu)} 407@kindex d @r{(Buffer Menu)}
408@item d
407Flag the buffer for deletion (killing), then move point to the next 409Flag the buffer for deletion (killing), then move point to the next
408line (@code{Buffer-menu-delete}). The deletion flag is indicated by 410line (@code{Buffer-menu-delete}). The deletion flag is indicated by
409the character @samp{D} on the line, before the buffer name. The 411the character @samp{D} on the line, before the buffer name. The
410deletion occurs only when you type the @kbd{x} command (see below). 412deletion occurs only when you type the @kbd{x} command (see below).
411 413
412@item C-d
413@findex Buffer-menu-delete-backwards 414@findex Buffer-menu-delete-backwards
414@kindex C-d @r{(Buffer Menu)} 415@kindex C-d @r{(Buffer Menu)}
416@item C-d
415Like @kbd{d}, but move point up instead of down 417Like @kbd{d}, but move point up instead of down
416(@code{Buffer-menu-delete-backwards}). 418(@code{Buffer-menu-delete-backwards}).
417 419
418@item s
419@findex Buffer-menu-save 420@findex Buffer-menu-save
420@kindex s @r{(Buffer Menu)} 421@kindex s @r{(Buffer Menu)}
422@item s
421Flag the buffer for saving (@code{Buffer-menu-save}). The save flag 423Flag the buffer for saving (@code{Buffer-menu-save}). The save flag
422is indicated by the character @samp{S} on the line, before the buffer 424is indicated by the character @samp{S} on the line, before the buffer
423name. The saving occurs only when you type @kbd{x}. You may request 425name. The saving occurs only when you type @kbd{x}. You may request
424both saving and deletion for the same buffer. 426both saving and deletion for the same buffer.
425 427
426@item x
427@findex Buffer-menu-execute 428@findex Buffer-menu-execute
428@kindex x @r{(Buffer Menu)} 429@kindex x @r{(Buffer Menu)}
430@item x
429Perform all flagged deletions and saves (@code{Buffer-menu-execute}). 431Perform all flagged deletions and saves (@code{Buffer-menu-execute}).
430 432
431@item u
432@findex Buffer-menu-unmark 433@findex Buffer-menu-unmark
433@kindex u @r{(Buffer Menu)} 434@kindex u @r{(Buffer Menu)}
435@item u
434Remove all flags from the current line, and move down 436Remove all flags from the current line, and move down
435(@code{Buffer-menu-unmark}). With a prefix argument, moves up after 437(@code{Buffer-menu-unmark}). With a prefix argument, moves up after
436removing the flags. 438removing the flags.
437 439
438@item @key{DEL}
439@findex Buffer-menu-backup-unmark 440@findex Buffer-menu-backup-unmark
440@kindex DEL @r{(Buffer Menu)} 441@kindex DEL @r{(Buffer Menu)}
442@item @key{DEL}
441Move to the previous line and remove all flags on that line 443Move to the previous line and remove all flags on that line
442(@code{Buffer-menu-backup-unmark}). 444(@code{Buffer-menu-backup-unmark}).
443 445
444@item M-@key{DEL}
445@findex Buffer-menu-unmark-all-buffers 446@findex Buffer-menu-unmark-all-buffers
446@kindex M-DEL @r{(Buffer Menu)} 447@kindex M-DEL @r{(Buffer Menu)}
448@item M-@key{DEL}
447Remove a particular flag from all lines 449Remove a particular flag from all lines
448(@code{Buffer-menu-unmark-all-buffers}). This asks for a single 450(@code{Buffer-menu-unmark-all-buffers}). This asks for a single
449character, and unmarks buffers marked with that character; typing 451character, and unmarks buffers marked with that character; typing
450@key{RET} removes all marks. 452@key{RET} removes all marks.
451 453
452@item U
453@findex Buffer-menu-unmark-all 454@findex Buffer-menu-unmark-all
454@kindex U @r{(Buffer Menu)} 455@kindex U @r{(Buffer Menu)}
456@item U
455Remove all flags from all the lines 457Remove all flags from all the lines
456(@code{Buffer-menu-unmark-all}). 458(@code{Buffer-menu-unmark-all}).
457@end table 459@end table
@@ -465,21 +467,21 @@ the current line. They also accept a numeric argument as a repeat
465count. 467count.
466 468
467@table @kbd 469@table @kbd
468@item ~
469@findex Buffer-menu-not-modified 470@findex Buffer-menu-not-modified
470@kindex ~ @r{(Buffer Menu)} 471@kindex ~ @r{(Buffer Menu)}
472@item ~
471Mark the buffer as unmodified (@code{Buffer-menu-not-modified}). 473Mark the buffer as unmodified (@code{Buffer-menu-not-modified}).
472@xref{Save Commands}. 474@xref{Save Commands}.
473 475
474@item %
475@findex Buffer-menu-toggle-read-only 476@findex Buffer-menu-toggle-read-only
476@kindex % @r{(Buffer Menu)} 477@kindex % @r{(Buffer Menu)}
478@item %
477Toggle the buffer's read-only status 479Toggle the buffer's read-only status
478(@code{Buffer-menu-toggle-read-only}). @xref{Misc Buffer}. 480(@code{Buffer-menu-toggle-read-only}). @xref{Misc Buffer}.
479 481
480@item t
481@findex Buffer-menu-visit-tags-table 482@findex Buffer-menu-visit-tags-table
482@kindex t @r{(Buffer Menu)} 483@kindex t @r{(Buffer Menu)}
484@item t
483Visit the buffer as a tags table 485Visit the buffer as a tags table
484(@code{Buffer-menu-visit-tags-table}). @xref{Select Tags Table}. 486(@code{Buffer-menu-visit-tags-table}). @xref{Select Tags Table}.
485@end table 487@end table
@@ -487,63 +489,63 @@ Visit the buffer as a tags table
487 The following commands are used to select another buffer or buffers: 489 The following commands are used to select another buffer or buffers:
488 490
489@table @kbd 491@table @kbd
490@item q
491@findex quit-window 492@findex quit-window
492@kindex q @r{(Buffer Menu)} 493@kindex q @r{(Buffer Menu)}
494@item q
493Quit the Buffer Menu (@code{quit-window}). The most recent formerly 495Quit the Buffer Menu (@code{quit-window}). The most recent formerly
494visible buffer is displayed in its place. 496visible buffer is displayed in its place.
495 497
496@item @key{RET}
497@itemx f
498@findex Buffer-menu-this-window 498@findex Buffer-menu-this-window
499@kindex f @r{(Buffer Menu)} 499@kindex f @r{(Buffer Menu)}
500@kindex RET @r{(Buffer Menu)} 500@kindex RET @r{(Buffer Menu)}
501@item @key{RET}
502@itemx f
501Select this line's buffer, replacing the @file{*Buffer List*} buffer 503Select this line's buffer, replacing the @file{*Buffer List*} buffer
502in its window (@code{Buffer-menu-this-window}). 504in its window (@code{Buffer-menu-this-window}).
503 505
504@item o
505@findex Buffer-menu-other-window 506@findex Buffer-menu-other-window
506@kindex o @r{(Buffer Menu)} 507@kindex o @r{(Buffer Menu)}
508@item o
507Select this line's buffer in another window, as if by @kbd{C-x 4 b}, 509Select this line's buffer in another window, as if by @kbd{C-x 4 b},
508leaving @file{*Buffer List*} visible 510leaving @file{*Buffer List*} visible
509(@code{Buffer-menu-other-window}). 511(@code{Buffer-menu-other-window}).
510 512
511@item C-o
512@findex Buffer-menu-switch-other-window 513@findex Buffer-menu-switch-other-window
513@kindex C-o @r{(Buffer Menu)} 514@kindex C-o @r{(Buffer Menu)}
515@item C-o
514Display this line's buffer in another window, without selecting it 516Display this line's buffer in another window, without selecting it
515(@code{Buffer-menu-switch-other-window}). 517(@code{Buffer-menu-switch-other-window}).
516 518
517@item 1
518@findex Buffer-menu-1-window 519@findex Buffer-menu-1-window
519@kindex 1 @r{(Buffer Menu)} 520@kindex 1 @r{(Buffer Menu)}
521@item 1
520Select this line's buffer in a full-frame window 522Select this line's buffer in a full-frame window
521(@code{Buffer-menu-1-window}). 523(@code{Buffer-menu-1-window}).
522 524
523@item 2
524@findex Buffer-menu-2-window 525@findex Buffer-menu-2-window
525@kindex 2 @r{(Buffer Menu)} 526@kindex 2 @r{(Buffer Menu)}
527@item 2
526Set up two windows on the current frame, with this line's buffer 528Set up two windows on the current frame, with this line's buffer
527selected in one, and a previously current buffer (aside from 529selected in one, and a previously current buffer (aside from
528@file{*Buffer List*}) in the other (@code{Buffer-menu-2-window}). 530@file{*Buffer List*}) in the other (@code{Buffer-menu-2-window}).
529 531
530@item b
531@findex Buffer-menu-bury 532@findex Buffer-menu-bury
532@kindex b @r{(Buffer Menu)} 533@kindex b @r{(Buffer Menu)}
534@item b
533Bury this line's buffer (@code{Buffer-menu-bury}) (i.e., move it to 535Bury this line's buffer (@code{Buffer-menu-bury}) (i.e., move it to
534the end of the buffer list). 536the end of the buffer list).
535 537
536@item m
537@findex Buffer-menu-mark 538@findex Buffer-menu-mark
538@kindex m @r{(Buffer Menu)} 539@kindex m @r{(Buffer Menu)}
540@item m
539Mark this line's buffer to be displayed in another window if you exit 541Mark this line's buffer to be displayed in another window if you exit
540with the @kbd{v} command (@code{Buffer-menu-mark}). The display flag 542with the @kbd{v} command (@code{Buffer-menu-mark}). The display flag
541is indicated by the character @samp{>} at the beginning of the line. 543is indicated by the character @samp{>} at the beginning of the line.
542(A single buffer may not have both deletion and display flags.) 544(A single buffer may not have both deletion and display flags.)
543 545
544@item v
545@findex Buffer-menu-select 546@findex Buffer-menu-select
546@kindex v @r{(Buffer Menu)} 547@kindex v @r{(Buffer Menu)}
548@item v
547Select this line's buffer, and also display in other windows any 549Select this line's buffer, and also display in other windows any
548buffers flagged with the @kbd{m} command (@code{Buffer-menu-select}). 550buffers flagged with the @kbd{m} command (@code{Buffer-menu-select}).
549If you have not flagged any buffers, this command is equivalent to 551If you have not flagged any buffers, this command is equivalent to
@@ -553,31 +555,37 @@ If you have not flagged any buffers, this command is equivalent to
553 The following commands affect the entire buffer list: 555 The following commands affect the entire buffer list:
554 556
555@table @kbd 557@table @kbd
556@item S
557@findex tabulated-list-sort 558@findex tabulated-list-sort
558@kindex S @r{(Buffer Menu)} 559@kindex S @r{(Buffer Menu)}
560@item S
559Sort the Buffer Menu entries according to their values in the column 561Sort the Buffer Menu entries according to their values in the column
560at point. With a numeric prefix argument @var{n}, sort according to 562at point. With a numeric prefix argument @var{n}, sort according to
561the @var{n}-th column (@code{tabulated-list-sort}). 563the @var{n}-th column (@code{tabulated-list-sort}).
562 564
563@item @}
564@kindex @} @r{(Buffer Menu)} 565@kindex @} @r{(Buffer Menu)}
565@findex tabulated-list-widen-current-column 566@findex tabulated-list-widen-current-column
567@item @}
566Widen the current column width by @var{n} (the prefix numeric 568Widen the current column width by @var{n} (the prefix numeric
567argument) characters. 569argument) characters.
568 570
569@item @{
570@kindex @{ @r{(Buffer Menu)} 571@kindex @{ @r{(Buffer Menu)}
571@findex tabulated-list-narrow-current-column 572@findex tabulated-list-narrow-current-column
573@item @{
572Narrow the current column width by @var{n} (the prefix numeric 574Narrow the current column width by @var{n} (the prefix numeric
573argument) characters. 575argument) characters.
574 576
575@item T
576@findex Buffer-menu-toggle-files-only 577@findex Buffer-menu-toggle-files-only
577@kindex T @r{(Buffer Menu)} 578@kindex T @r{(Buffer Menu)}
579@item T
578Delete, or reinsert, lines for non-file buffers 580Delete, or reinsert, lines for non-file buffers
579(@code{Buffer-menu-toggle-files-only}). This command toggles the 581(@code{Buffer-menu-toggle-files-only}). This command toggles the
580inclusion of such buffers in the buffer list. 582inclusion of such buffers in the buffer list.
583
584@findex Buffer-menu-toggle-internal
585@kindex I @r{(Buffer Menu)}
586@item I
587Toggle display of internal buffers, those whose names begin with a
588space.
581@end table 589@end table
582 590
583 Normally, the buffer @file{*Buffer List*} is not updated 591 Normally, the buffer @file{*Buffer List*} is not updated
diff --git a/etc/NEWS b/etc/NEWS
index 19588fe8eeb..73af6ab773e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1453,7 +1453,7 @@ chat buffers use by default.
1453It controls how buffers are divided into groups that are displayed with 1453It controls how buffers are divided into groups that are displayed with
1454headings using Outline minor mode. 1454headings using Outline minor mode.
1455 1455
1456--- 1456+++
1457*** New command 'Buffer-menu-toggle-internal'. 1457*** New command 'Buffer-menu-toggle-internal'.
1458This command toggles the display of internal buffers in Buffer Menu mode; 1458This command toggles the display of internal buffers in Buffer Menu mode;
1459that is, buffers not visiting a file and whose names start with a space. 1459that is, buffers not visiting a file and whose names start with a space.