diff options
| -rw-r--r-- | doc/emacs/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 12 | ||||
| -rw-r--r-- | etc/NEWS | 12 |
5 files changed, 28 insertions, 14 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 @@ | |||
| 1 | 2014-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 | |||
| 1 | 2014-02-14 Glenn Morris <rgm@gnu.org> | 9 | 2014-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}. | |||
| 866 | while retaining the other features of CUA mode described below, set | 866 | while retaining the other features of CUA mode described below, set |
| 867 | the variable @code{cua-enable-cua-keys} to @code{nil}. | 867 | the 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}) |
| 870 | Delete-Selection mode (@pxref{Mouse Commands}). | 870 | so that typed text replaces the active region. To use CUA without this |
| 871 | behavior, 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 | |||
| 878 | any direction. Normal text you type is inserted to the left or right | 879 | any direction. Normal text you type is inserted to the left or right |
| 879 | of each line in the rectangle (on the same side as the cursor). | 880 | of 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 |
| 882 | registers by providing a one-digit numeric prefix to the kill, copy, | 886 | registers by providing a one-digit numeric prefix to the kill, copy, |
| 883 | and yank commands, e.g., @kbd{C-1 C-c} copies the region into register | 887 | and 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 | |||
| 867 | automatically open and extra newline after point. | 867 | automatically 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 |
| 871 | mode to skip whitespace forward before deciding whether to skip over | 871 | mode to skip whitespace forward before deciding whether to skip over |
| 872 | the closing delimiter. | 872 | the 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 |
| 1146 | This function displays @var{completions} to the stream in | 1146 | This 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 |
| 1148 | information about streams.) The argument @var{completions} is normally | 1148 | information about streams.) The argument @var{completions} is normally |
| @@ -1153,13 +1153,6 @@ which is printed as if the strings were concatenated. The first of | |||
| 1153 | the two strings is the actual completion, the second string serves as | 1153 | the two strings is the actual completion, the second string serves as |
| 1154 | annotation. | 1154 | annotation. |
| 1155 | 1155 | ||
| 1156 | The argument @var{common-substring} is the prefix that is common to | ||
| 1157 | all the completions. With normal Emacs completion, it is usually the | ||
| 1158 | same as the string that was completed. @code{display-completion-list} | ||
| 1159 | uses this to highlight text in the completion list for better visual | ||
| 1160 | feedback. This is not needed in the minibuffer; for minibuffer | ||
| 1161 | completion, you can pass @code{nil}. | ||
| 1162 | |||
| 1163 | This function is called by @code{minibuffer-completion-help}. A | 1156 | This function is called by @code{minibuffer-completion-help}. A |
| 1164 | common way to use it is together with | 1157 | common 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 | ||
| @@ -159,6 +159,7 @@ non-nil, they output the same results. | |||
| 159 | +++ | 159 | +++ |
| 160 | *** The key `?' now describes prefix bindings, like `C-h'. | 160 | *** The key `?' now describes prefix bindings, like `C-h'. |
| 161 | 161 | ||
| 162 | --- | ||
| 162 | *** The command `describe-function' has been extended for EIEIO. | 163 | *** The command `describe-function' has been extended for EIEIO. |
| 163 | Running it on constructors will show a full description of the | 164 | Running it on constructors will show a full description of the |
| 164 | generated class. For generic functions, it will show all | 165 | generated class. For generic functions, it will show all |
| @@ -244,6 +245,7 @@ There is no reason to set this to nil except for debugging purposes. | |||
| 244 | This unfinished feature was introduced by accident in Emacs 23.1; | 245 | This unfinished feature was introduced by accident in Emacs 23.1; |
| 245 | simply disabling Transient Mark mode does the same thing. | 246 | simply disabling Transient Mark mode does the same thing. |
| 246 | 247 | ||
| 248 | --- | ||
| 247 | ** The default value of `comment-use-global-state' is now t, | 249 | ** The default value of `comment-use-global-state' is now t, |
| 248 | and this variable has been marked obsolete. | 250 | and this variable has been marked obsolete. |
| 249 | 251 | ||
| @@ -438,6 +440,7 @@ This executes statements while allowing for control transfer to labels. | |||
| 438 | 440 | ||
| 439 | ** CUA mode | 441 | ** CUA mode |
| 440 | 442 | ||
| 443 | +++ | ||
| 441 | *** CUA mode now uses `delete-selection-mode' and `shift-select-mode'. | 444 | *** CUA mode now uses `delete-selection-mode' and `shift-select-mode'. |
| 442 | Hence, you can now enable it independently from those modes, and from | 445 | Hence, you can now enable it independently from those modes, and from |
| 443 | `transient-mark-mode'. | 446 | `transient-mark-mode'. |
| @@ -446,7 +449,9 @@ Hence, you can now enable it independently from those modes, and from | |||
| 446 | *** `cua-highlight-region-shift-only' is now obsolete. | 449 | *** `cua-highlight-region-shift-only' is now obsolete. |
| 447 | You can disable `transient-mark-mode' to get the same result. | 450 | You can disable `transient-mark-mode' to get the same result. |
| 448 | 451 | ||
| 449 | *** CUA's rectangles can now be used via `cua-rectangle-mark-mode'. | 452 | +++ |
| 453 | *** CUA's rectangles can now be used without CUA by calling the command | ||
| 454 | `cua-rectangle-mark-mode'. | ||
| 450 | 455 | ||
| 451 | ** CFEngine mode | 456 | ** CFEngine mode |
| 452 | 457 | ||
| @@ -482,6 +487,7 @@ The results display in the mode line. | |||
| 482 | 487 | ||
| 483 | ** Electric Pair mode | 488 | ** Electric Pair mode |
| 484 | 489 | ||
| 490 | +++ | ||
| 485 | *** New option `electric-pair-preserve-balance', enabled by default. | 491 | *** New option `electric-pair-preserve-balance', enabled by default. |
| 486 | If non-nil, pairing/skipping only kicks in when that help the balance | 492 | If non-nil, pairing/skipping only kicks in when that help the balance |
| 487 | of parentheses and quotes, i.e. the buffer should end up at least as | 493 | of parentheses and quotes, i.e. the buffer should end up at least as |
| @@ -490,21 +496,25 @@ balanced as before. | |||
| 490 | You can further control this behavior by adjusting the predicates | 496 | You can further control this behavior by adjusting the predicates |
| 491 | stored in `electric-pair-inhibit-predicate' and `electric-pair-skip-self'. | 497 | stored in `electric-pair-inhibit-predicate' and `electric-pair-skip-self'. |
| 492 | 498 | ||
| 499 | +++ | ||
| 493 | *** New option `electric-pair-delete-adjacent-pairs', enabled by default. | 500 | *** New option `electric-pair-delete-adjacent-pairs', enabled by default. |
| 494 | In `electric-pair-mode', the commands `backward-delete-char' and | 501 | In `electric-pair-mode', the commands `backward-delete-char' and |
| 495 | `backward-delete-char-untabify' are now bound to electric variants | 502 | `backward-delete-char-untabify' are now bound to electric variants |
| 496 | that delete the closer when invoked between adjacent pairs. | 503 | that delete the closer when invoked between adjacent pairs. |
| 497 | 504 | ||
| 505 | +++ | ||
| 498 | *** New option `electric-pair-open-newline-between-pairs', enabled by default. | 506 | *** New option `electric-pair-open-newline-between-pairs', enabled by default. |
| 499 | In `electric-pair-mode', inserting a newline between adjacent pairs | 507 | In `electric-pair-mode', inserting a newline between adjacent pairs |
| 500 | opens an extra newline after point, which is indented if | 508 | opens an extra newline after point, which is indented if |
| 501 | `electric-indent-mode' is also set. | 509 | `electric-indent-mode' is also set. |
| 502 | 510 | ||
| 511 | +++ | ||
| 503 | *** New option `electric-pair-skip-whitespace', enabled by default. | 512 | *** New option `electric-pair-skip-whitespace', enabled by default. |
| 504 | This controls if skipping over closing delimiters should jump over any | 513 | This controls if skipping over closing delimiters should jump over any |
| 505 | whitespace slack. Setting it to `chomp' makes it delete this | 514 | whitespace slack. Setting it to `chomp' makes it delete this |
| 506 | whitespace. See also the variable `electric-pair-skip-whitespace-chars'. | 515 | whitespace. See also the variable `electric-pair-skip-whitespace-chars'. |
| 507 | 516 | ||
| 517 | --- | ||
| 508 | *** New variables control the pairing in strings and comments. | 518 | *** New variables control the pairing in strings and comments. |
| 509 | You can customize `electric-pair-text-pairs' and | 519 | You can customize `electric-pair-text-pairs' and |
| 510 | `electric-pair-text-syntax-table' to tweak pairing behavior inside | 520 | `electric-pair-text-syntax-table' to tweak pairing behavior inside |