From: Stefan Kangas Date: Wed, 16 Nov 2022 07:41:29 +0000 (+0100) Subject: Merge from origin/emacs-28 X-Git-Tag: emacs-29.0.90~1616^2~148 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60f2bb862f834fcb580d839ac79b30a8b4cd4167;p=emacs.git Merge from origin/emacs-28 56026242e4 Explain how to bind keys to non-ASCII sequences 7d592db0ab Document that 'transient-mark-mode' is off in batch mode # Conflicts: # doc/emacs/custom.texi # doc/emacs/mark.texi --- 60f2bb862f834fcb580d839ac79b30a8b4cd4167 diff --cc doc/emacs/mark.texi index db96093a171,01ebfb2c858..5472a288d1e --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi @@@ -38,22 -35,10 +38,22 @@@ the mark; this turns off the highlighti deactivate the mark at any time, by typing @kbd{C-g} (@pxref{Quitting}). + Many commands limit the text on which they operate to the active +region. For instance, the @kbd{M-%} command (which replaces matching +text) normally works on the entire accessible portion of the buffer, +but if you have an active region, it'll work only on that region +instead. + + The mark is useful even if it is not active. For example, you can +move to previous mark locations using the mark ring. @xref{Mark +Ring}. Additionally, some commands will have an effect even on an +inactive region (for example @dfn{upcase-region}). You can also +reactivate the region with commands like @kbd{C-x C-x}. + - The above default behavior is known as Transient Mark mode. - Disabling Transient Mark mode switches Emacs to an alternative - behavior, in which the region is usually not highlighted. - @xref{Disabled Transient Mark}. + The above behavior, which is the default in interactive sessions, is + known as Transient Mark mode. Disabling Transient Mark mode switches + Emacs to an alternative behavior, in which the region is usually not + highlighted. @xref{Disabled Transient Mark}. @vindex highlight-nonselected-windows Setting the mark in one buffer has no effect on the marks in other