aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2014-02-17 13:04:17 -0500
committerStefan Monnier2014-02-17 13:04:17 -0500
commit6faf982a0e21895e1a3aa682a5cecd74b609a30d (patch)
treec8032c1193080cbb84a55045bb2004c1098242d2 /doc
parent2a77e3e22282c105f53a17dcd73771bbe222a822 (diff)
downloademacs-6faf982a0e21895e1a3aa682a5cecd74b609a30d.tar.gz
emacs-6faf982a0e21895e1a3aa682a5cecd74b609a30d.zip
* doc/emacs/killing.texi (CUA Bindings): Document the new relationship between
cua-mode and delete-selection mode. (CUA Bindings): Mention that rectangle mode can be used on its own. * doc/emacs/programs.texi (Matching): Fix typo. * doc/lispref/minibuf.texi (Completion Commands): Don't document obsolete `common-substring' arg of display-completion-list.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog8
-rw-r--r--doc/emacs/killing.texi8
-rw-r--r--doc/emacs/programs.texi2
-rw-r--r--doc/lispref/minibuf.texi12
4 files changed, 17 insertions, 13 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 0e919e97b9b..e2947083ba1 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,11 @@
12014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * programs.texi (Matching): Fix typo.
4
5 * killing.texi (CUA Bindings): Document the new relationship between
6 cua-mode and delete-selection mode.
7 (CUA Bindings): Mention that rectangle mode can be used on its own.
8
12014-02-14 Glenn Morris <rgm@gnu.org> 92014-02-14 Glenn Morris <rgm@gnu.org>
2 10
3 * regs.texi (Configuration Registers): Update C-x r f binding. 11 * regs.texi (Configuration Registers): Update C-x r f binding.
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index 77dfad04bef..1826c668aa5 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -866,8 +866,9 @@ the prefix key twice, e.g., @kbd{C-x C-x C-f}.
866while retaining the other features of CUA mode described below, set 866while retaining the other features of CUA mode described below, set
867the variable @code{cua-enable-cua-keys} to @code{nil}. 867the variable @code{cua-enable-cua-keys} to @code{nil}.
868 868
869 In CUA mode, typed text replaces the active region as in 869 CUA mode by default activates Delete-Selection mode (@pxref{Mouse Commands})
870Delete-Selection mode (@pxref{Mouse Commands}). 870so that typed text replaces the active region. To use CUA without this
871behavior, set the variable @code{cua-delete-selection} to @code{nil}.
871 872
872@cindex rectangle highlighting 873@cindex rectangle highlighting
873 CUA mode provides enhanced rectangle support with visible 874 CUA mode provides enhanced rectangle support with visible
@@ -878,6 +879,9 @@ extend it using the movement commands, and cut or copy it using
878any direction. Normal text you type is inserted to the left or right 879any direction. Normal text you type is inserted to the left or right
879of each line in the rectangle (on the same side as the cursor). 880of each line in the rectangle (on the same side as the cursor).
880 881
882 You can use this rectangle support without activating CUA by calling the
883@code{cua-rectangle-mark-mode} command.
884
881 With CUA you can easily copy text and rectangles into and out of 885 With CUA you can easily copy text and rectangles into and out of
882registers by providing a one-digit numeric prefix to the kill, copy, 886registers by providing a one-digit numeric prefix to the kill, copy,
883and yank commands, e.g., @kbd{C-1 C-c} copies the region into register 887and yank commands, e.g., @kbd{C-1 C-c} copies the region into register
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 23d1f9fa20e..26e9539d750 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -867,7 +867,7 @@ makes inserting inserting a newline between two adjacent pairs also
867automatically open and extra newline after point. 867automatically open and extra newline after point.
868 868
869@item 869@item
870@code{electric-skip-whitespace}, when non-@code{nil}, causes the minor 870@code{electric-pair-skip-whitespace}, when non-@code{nil}, causes the minor
871mode to skip whitespace forward before deciding whether to skip over 871mode to skip whitespace forward before deciding whether to skip over
872the closing delimiter. 872the closing delimiter.
873@end itemize 873@end itemize
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 63e9e2bbc23..d618912de8a 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -1142,7 +1142,7 @@ The list of completions is displayed as text in a buffer named
1142@file{*Completions*}. 1142@file{*Completions*}.
1143@end deffn 1143@end deffn
1144 1144
1145@defun display-completion-list completions &optional common-substring 1145@defun display-completion-list completions
1146This function displays @var{completions} to the stream in 1146This function displays @var{completions} to the stream in
1147@code{standard-output}, usually a buffer. (@xref{Read and Print}, for more 1147@code{standard-output}, usually a buffer. (@xref{Read and Print}, for more
1148information about streams.) The argument @var{completions} is normally 1148information about streams.) The argument @var{completions} is normally
@@ -1153,13 +1153,6 @@ which is printed as if the strings were concatenated. The first of
1153the two strings is the actual completion, the second string serves as 1153the two strings is the actual completion, the second string serves as
1154annotation. 1154annotation.
1155 1155
1156The argument @var{common-substring} is the prefix that is common to
1157all the completions. With normal Emacs completion, it is usually the
1158same as the string that was completed. @code{display-completion-list}
1159uses this to highlight text in the completion list for better visual
1160feedback. This is not needed in the minibuffer; for minibuffer
1161completion, you can pass @code{nil}.
1162
1163This function is called by @code{minibuffer-completion-help}. A 1156This function is called by @code{minibuffer-completion-help}. A
1164common way to use it is together with 1157common way to use it is together with
1165@code{with-output-to-temp-buffer}, like this: 1158@code{with-output-to-temp-buffer}, like this:
@@ -1167,8 +1160,7 @@ common way to use it is together with
1167@example 1160@example
1168(with-output-to-temp-buffer "*Completions*" 1161(with-output-to-temp-buffer "*Completions*"
1169 (display-completion-list 1162 (display-completion-list
1170 (all-completions (buffer-string) my-alist) 1163 (all-completions (buffer-string) my-alist)))
1171 (buffer-string)))
1172@end example 1164@end example
1173@end defun 1165@end defun
1174 1166