# HG changeset patch # User Juri Linkov # Date 1102908381 0 # Node ID 50186ddf2fff9f06192924a8a8052b79a8ccd8c4 # Parent 83b92481d9569fe6816febc5a1dd0a8c6a683681 *** empty log message *** diff -r 83b92481d956 -r 50186ddf2fff etc/NEWS --- a/etc/NEWS Mon Dec 13 03:25:37 2004 +0000 +++ b/etc/NEWS Mon Dec 13 03:26:21 2004 +0000 @@ -1064,7 +1064,7 @@ replacement string to specify a position where the replacement string can be edited for each replacement. -* query-replace uses isearch highlighting with lazy highlighting +** query-replace uses isearch highlighting with lazy highlighting when the user option `query-replace-highlight' is set to `isearch'. If it is t, it uses old query-replace highlighting method. @@ -1372,7 +1372,10 @@ C-M-h (mark-defun) repeatedly, the marked region extends each time, so you can mark the next two sexps with M-C-SPC M-C-SPC, for example. This feature also works for mark-end-of-sentence, if you bind that to -a key. +a key. It also extends the region when the mark is active in Transient +Mark mode, regardless of the last command. To start a new region with +one of marking commands in Transient Mark mode, you can deactivate the +active region with C-g, or set the new mark with C-SPC. +++ ** Some commands do something special in Transient Mark mode when the @@ -1397,6 +1400,11 @@ previous mark, i.e. C-u C-SPC C-SPC C-SPC ... cycles through the mark ring. Use C-u C-u C-SPC to set the mark immediately after a jump. +** Movement commands `beginning-of-buffer', `end-of-buffer', +`beginning-of-defun', `end-of-defun' do not set the mark if the new +option `inhibit-mark-movement' is non-nil, or if the mark is already +active in Transient Mark mode. + +++ ** In the *Occur* buffer, `o' switches to it in another window, and C-o displays the current line's occurrence in another window without diff -r 83b92481d956 -r 50186ddf2fff lisp/ChangeLog --- a/lisp/ChangeLog Mon Dec 13 03:25:37 2004 +0000 +++ b/lisp/ChangeLog Mon Dec 13 03:26:21 2004 +0000 @@ -1,3 +1,23 @@ +2004-12-12 Juri Linkov + + * simple.el (beginning-of-buffer, end-of-buffer): + * emacs-lisp/lisp.el (beginning-of-defun, end-of-defun): + Do not push mark when mark is active in transient-mark-mode. + + * simple.el (mark-word): + * emacs-lisp/lisp.el (mark-sexp, mark-defun): + * textmodes/paragraphs.el (mark-paragraph): + Extend the region when mark is active in transient-mark-mode, + regardless of the last command. Doc fix. + + * simple.el (mark-word): Preserve direction when repeating. + Make arg optional. Interactive "p" -> "P". + (transient-mark-mode, inhibit-mark-movement): Doc fix. + + * emacs-lisp/lisp.el (mark-sexp): Reverse the condition for + preserving direction, to mark forward instead of backward when mark + is equal to point (e.g. when C-SPC C-M-SPC is typed in t-m-m). + 2004-12-12 Juri Linkov * isearch.el (isearch-edit-string): Set 7th arg of diff -r 83b92481d956 -r 50186ddf2fff man/ChangeLog --- a/man/ChangeLog Mon Dec 13 03:25:37 2004 +0000 +++ b/man/ChangeLog Mon Dec 13 03:26:21 2004 +0000 @@ -1,3 +1,8 @@ +2004-12-12 Juri Linkov + + * mark.texi (Marking Objects): Marking commands also extend the + region when mark is active in Transient Mark mode. + 2004-12-09 Luc Teirlinck * reftex.texi (Imprint): Remove erroneous @value's.