From: Juri Linkov Date: Mon, 13 Dec 2004 03:26:21 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ttn-vms-21-2-B4~3304 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6a2067b24767992264b0dbb4584b7c190e7e3b42;p=emacs.git *** empty log message *** --- diff --git a/etc/NEWS b/etc/NEWS index 4ceb6d7430b..8849ec78cba 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1064,7 +1064,7 @@ All regular expression replacement commands now allow `\?' in the 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 @@ you hit M-C-SPC (mark-sexp), M-@ (mark-word), M-h (mark-paragraph), or 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 @@ C-g. 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 --git a/lisp/ChangeLog b/lisp/ChangeLog index d75943f408d..3e1962ab25e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/man/ChangeLog b/man/ChangeLog index 9672a0c2437..55cf9803b79 100644 --- a/man/ChangeLog +++ b/man/ChangeLog @@ -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.