emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 d30c30b: Document new features of Rectangle mode


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 d30c30b: Document new features of Rectangle mode
Date: Sat, 19 Dec 2015 12:41:06 +0000

branch: emacs-25
commit d30c30b04052aad10f817a3792e8c3719ee06423
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Document new features of Rectangle mode
    
    * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
    rectangle-mark-mode.
---
 doc/emacs/killing.texi |   13 +++++++++++++
 etc/NEWS               |    4 ++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index f05b8cc..9761ac7 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -853,6 +853,19 @@ so in a rectangular fashion, and killing and yanking 
operate on the
 rectangle.  @xref{Killing}.  The mode persists only as long as the
 region is active.
 
+Unlike the standard region, the region-rectangle can have its corners
+extended past the end of buffer, or inside stretches of white space
+that point normally cannot enter, like the TAB.
+
address@hidden rectangle-exchange-point-and-mark
address@hidden address@hidden, in rectangle-mark-mode}
address@hidden C-x address@hidden, in rectangle-mark-mode}
+When the region is in rectangle-mark-mode, @kbd{C-x C-x} runs the
+command @code{rectangle-exchange-point-and-mark}, which cycles between
+the four corners of the region-rectangle.  This comes in handy if you
+want to modify the dimensions of the region-rectangle before invoking
+an operation on the marked text.
+
 @node CUA Bindings
 @section CUA Bindings
 @findex cua-mode
diff --git a/etc/NEWS b/etc/NEWS
index 85002c8..3a21985 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -634,7 +634,11 @@ respectively, `show-paren-when-point-inside-paren' or
 *** Strings after `:documentation' are highlighted as docstrings.
 
 ** Rectangle editing
+
++++
 *** Rectangle Mark mode can have corners past EOL or in the middle of a TAB.
+
++++
 *** C-x C-x in rectangle-mark-mode now cycles through the four corners.
 *** `string-rectangle' provides on-the-fly preview of the result.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]