From 7d3a654e2adb0224ea73e244f76279a709d9ea88 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 9 Nov 2021 22:40:15 +0200 Subject: [PATCH] * doc/emacs/maintaining.texi (Basic VC Editing): Mention Dired buffer. * doc/emacs/text.texi (Outline Mode): Replace S-TAB with with S-. * etc/NEWS: Add some missing +++/--- and move some related items closer. --- doc/emacs/maintaining.texi | 2 +- doc/emacs/text.texi | 4 ++-- etc/NEWS | 22 +++++++++++++++------- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 5b66031b8a6..05e5a5d5ec3 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -493,7 +493,7 @@ action on the current VC fileset: either registering it with a version control system, or committing it, or unlocking it, or merging changes into it. The precise actions are described in detail in the following subsections. You can use @kbd{C-x v v} either in a file-visiting -buffer or in a VC Directory buffer. +buffer, in a Dired buffer, or in a VC Directory buffer. Note that VC filesets are distinct from the named filesets used for viewing and visiting files in functional groups diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index dc8ca903b72..d711636ecfc 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -998,9 +998,9 @@ major mode's special commands. (The variable @vindex outline-minor-mode-cycle If the @code{outline-minor-mode-cycle} user option is -non-@code{nil}, the @kbd{TAB} and @kbd{S-TAB} keys are enabled on the +non-@code{nil}, the @kbd{TAB} and @kbd{S-@key{TAB}} keys are enabled on the outline heading lines. @kbd{TAB} cycles hiding, showing the -sub-heading, and showing all for the current section. @kbd{S-TAB} +sub-heading, and showing all for the current section. @kbd{S-@key{TAB}} does the same for the entire buffer. @menu diff --git a/etc/NEWS b/etc/NEWS index 2c6c739a0ec..e5f114d1945 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1368,6 +1368,7 @@ Non-nil reverts the destination Dired buffer after performing one of these operations: 'dired-do-copy', 'dired-do-rename', 'dired-do-symlink', 'dired-do-hardlink'. +--- *** New user option 'dired-mark-region'. This option affects all Dired commands that mark files. When non-nil and the region is active in Transient Mark mode, then Dired commands @@ -1375,6 +1376,7 @@ operate only on files in the active region. The values 'file' and 'line' of this user option define the details of marking the file at the end of the region. ++++ *** State changing VC operations are supported in Dired. These operations are supported on files and directories via the new command 'dired-vc-next-action'. @@ -1525,6 +1527,7 @@ used instead. ** Bookmarks +--- *** Bookmarks can now be targets for new tabs. When the bookmark.el library is loaded, a customize choice is added to 'tab-bar-new-tab-choice' for new tabs to show the bookmark list. @@ -1898,13 +1901,12 @@ To revert to the previous behavior, If this user option is 'kill', then the diff buffer will be killed after the 'vc-revert' action instead of buried. +--- *** More VC commands can be used from non-file buffers. The relevant commands are those that don't change the VC state. The non-file buffers which can use VC commands are those that have their 'default-directory' under VC. -*** New command 'vc-dir-root' uses the root directory without asking. - --- *** New face 'log-view-commit-body'. This is used when expanding commit messages from 'vc-print-root-log' @@ -1925,9 +1927,14 @@ specific (unregistered) file. Previously, the first matching backend was chosen, but now the one with the most specific path is chosen (in case there's a directory handled by one backend inside another). +--- +*** New command 'vc-dir-root' uses the root directory without asking. + +--- *** New commands 'vc-dir-mark-registered-files' (bound to '* r') and 'vc-dir-mark-unregistered-files'. +--- *** Support for bookmark.el. Bookmark locations can refer to VC directory buffers. @@ -1949,6 +1956,7 @@ tags to be considered as well. *** New user option 'vc-git-log-switches'. String or list of strings specifying switches for Git log under VC. +--- *** Command 'vc-switch-backend' is now obsolete. If you are still using it with any regularity, please file a bug report with some details. @@ -2635,11 +2643,6 @@ via 'M-n'. ** Xref ---- -*** Prefix arg of 'xref-goto-xref' quits the "*xref*" buffer. -So typing 'C-u RET' in the "*xref*" buffer quits its window -before navigating to the selected location. - +++ *** New user options to automatically show the first Xref match. The new user option 'xref-auto-jump-to-first-definition' controls the @@ -2689,6 +2692,11 @@ TRT. If chosen, file names in "*xref*" buffers will be displayed relative to the 'project-root' of the current project, when available. +--- +*** Prefix arg of 'xref-goto-xref' quits the "*xref*" buffer. +So typing 'C-u RET' in the "*xref*" buffer quits its window +before navigating to the selected location. + +++ *** The 'TAB' key binding in "*xref*" buffers is obsolete. Use 'C-u RET' instead. The 'TAB' binding in "*xref*" buffers is still -- 2.39.2