diff options
| author | Eli Zaretskii | 2024-03-25 14:53:23 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-03-25 14:53:23 +0200 |
| commit | a79b424f7fdecf577e46c5fea6ee3d921e606596 (patch) | |
| tree | b918787943ab7b4f8c1f1ed6694d17496e3a887b | |
| parent | f54b1d9f7b7a977ee4856c778a309c900ce9e8fa (diff) | |
| download | emacs-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.texi | 62 | ||||
| -rw-r--r-- | etc/NEWS | 2 |
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 | |||
| 223 | are visiting files by giving the command a prefix argument, as in | 223 | are 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 |
| 227 | unless they visit files: such buffers are used internally by Emacs. | 227 | space, unless they visit files: such buffers are used internally by |
| 228 | Emacs (but the @kbd{I} command countermands that, @pxref{Several | ||
| 229 | Buffers}). | ||
| 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 | |||
| 401 | commands apply to the buffer described on the current line: | 403 | commands 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 | ||
| 407 | Flag the buffer for deletion (killing), then move point to the next | 409 | Flag the buffer for deletion (killing), then move point to the next |
| 408 | line (@code{Buffer-menu-delete}). The deletion flag is indicated by | 410 | line (@code{Buffer-menu-delete}). The deletion flag is indicated by |
| 409 | the character @samp{D} on the line, before the buffer name. The | 411 | the character @samp{D} on the line, before the buffer name. The |
| 410 | deletion occurs only when you type the @kbd{x} command (see below). | 412 | deletion 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 | ||
| 415 | Like @kbd{d}, but move point up instead of down | 417 | Like @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 | ||
| 421 | Flag the buffer for saving (@code{Buffer-menu-save}). The save flag | 423 | Flag the buffer for saving (@code{Buffer-menu-save}). The save flag |
| 422 | is indicated by the character @samp{S} on the line, before the buffer | 424 | is indicated by the character @samp{S} on the line, before the buffer |
| 423 | name. The saving occurs only when you type @kbd{x}. You may request | 425 | name. The saving occurs only when you type @kbd{x}. You may request |
| 424 | both saving and deletion for the same buffer. | 426 | both 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 | ||
| 429 | Perform all flagged deletions and saves (@code{Buffer-menu-execute}). | 431 | Perform 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 | ||
| 434 | Remove all flags from the current line, and move down | 436 | Remove 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 |
| 436 | removing the flags. | 438 | removing 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} | ||
| 441 | Move to the previous line and remove all flags on that line | 443 | Move 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} | ||
| 447 | Remove a particular flag from all lines | 449 | Remove 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 |
| 449 | character, and unmarks buffers marked with that character; typing | 451 | character, 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 | ||
| 455 | Remove all flags from all the lines | 457 | Remove 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 | |||
| 465 | count. | 467 | count. |
| 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 ~ | ||
| 471 | Mark the buffer as unmodified (@code{Buffer-menu-not-modified}). | 473 | Mark 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 % | ||
| 477 | Toggle the buffer's read-only status | 479 | Toggle 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 | ||
| 483 | Visit the buffer as a tags table | 485 | Visit 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 | ||
| 493 | Quit the Buffer Menu (@code{quit-window}). The most recent formerly | 495 | Quit the Buffer Menu (@code{quit-window}). The most recent formerly |
| 494 | visible buffer is displayed in its place. | 496 | visible 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 | ||
| 501 | Select this line's buffer, replacing the @file{*Buffer List*} buffer | 503 | Select this line's buffer, replacing the @file{*Buffer List*} buffer |
| 502 | in its window (@code{Buffer-menu-this-window}). | 504 | in 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 | ||
| 507 | Select this line's buffer in another window, as if by @kbd{C-x 4 b}, | 509 | Select this line's buffer in another window, as if by @kbd{C-x 4 b}, |
| 508 | leaving @file{*Buffer List*} visible | 510 | leaving @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 | ||
| 514 | Display this line's buffer in another window, without selecting it | 516 | Display 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 | ||
| 520 | Select this line's buffer in a full-frame window | 522 | Select 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 | ||
| 526 | Set up two windows on the current frame, with this line's buffer | 528 | Set up two windows on the current frame, with this line's buffer |
| 527 | selected in one, and a previously current buffer (aside from | 529 | selected 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 | ||
| 533 | Bury this line's buffer (@code{Buffer-menu-bury}) (i.e., move it to | 535 | Bury this line's buffer (@code{Buffer-menu-bury}) (i.e., move it to |
| 534 | the end of the buffer list). | 536 | the 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 | ||
| 539 | Mark this line's buffer to be displayed in another window if you exit | 541 | Mark this line's buffer to be displayed in another window if you exit |
| 540 | with the @kbd{v} command (@code{Buffer-menu-mark}). The display flag | 542 | with the @kbd{v} command (@code{Buffer-menu-mark}). The display flag |
| 541 | is indicated by the character @samp{>} at the beginning of the line. | 543 | is 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 | ||
| 547 | Select this line's buffer, and also display in other windows any | 549 | Select this line's buffer, and also display in other windows any |
| 548 | buffers flagged with the @kbd{m} command (@code{Buffer-menu-select}). | 550 | buffers flagged with the @kbd{m} command (@code{Buffer-menu-select}). |
| 549 | If you have not flagged any buffers, this command is equivalent to | 551 | If 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 | ||
| 559 | Sort the Buffer Menu entries according to their values in the column | 561 | Sort the Buffer Menu entries according to their values in the column |
| 560 | at point. With a numeric prefix argument @var{n}, sort according to | 562 | at point. With a numeric prefix argument @var{n}, sort according to |
| 561 | the @var{n}-th column (@code{tabulated-list-sort}). | 563 | the @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 @} | ||
| 566 | Widen the current column width by @var{n} (the prefix numeric | 568 | Widen the current column width by @var{n} (the prefix numeric |
| 567 | argument) characters. | 569 | argument) 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 @{ | ||
| 572 | Narrow the current column width by @var{n} (the prefix numeric | 574 | Narrow the current column width by @var{n} (the prefix numeric |
| 573 | argument) characters. | 575 | argument) 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 | ||
| 578 | Delete, or reinsert, lines for non-file buffers | 580 | Delete, 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 |
| 580 | inclusion of such buffers in the buffer list. | 582 | inclusion of such buffers in the buffer list. |
| 583 | |||
| 584 | @findex Buffer-menu-toggle-internal | ||
| 585 | @kindex I @r{(Buffer Menu)} | ||
| 586 | @item I | ||
| 587 | Toggle display of internal buffers, those whose names begin with a | ||
| 588 | space. | ||
| 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 |
| @@ -1453,7 +1453,7 @@ chat buffers use by default. | |||
| 1453 | It controls how buffers are divided into groups that are displayed with | 1453 | It controls how buffers are divided into groups that are displayed with |
| 1454 | headings using Outline minor mode. | 1454 | headings using Outline minor mode. |
| 1455 | 1455 | ||
| 1456 | --- | 1456 | +++ |
| 1457 | *** New command 'Buffer-menu-toggle-internal'. | 1457 | *** New command 'Buffer-menu-toggle-internal'. |
| 1458 | This command toggles the display of internal buffers in Buffer Menu mode; | 1458 | This command toggles the display of internal buffers in Buffer Menu mode; |
| 1459 | that is, buffers not visiting a file and whose names start with a space. | 1459 | that is, buffers not visiting a file and whose names start with a space. |