diff options
| author | Chong Yidong | 2012-10-24 22:38:49 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-10-24 22:38:49 +0800 |
| commit | cd99601878e97578ecd8e2209feeda275a3a13f5 (patch) | |
| tree | ecf3e3425320d787279640bb764d993753e53082 | |
| parent | e7b987069126f8a59db97eb6639066ae2f645207 (diff) | |
| download | emacs-cd99601878e97578ecd8e2209feeda275a3a13f5.tar.gz emacs-cd99601878e97578ecd8e2209feeda275a3a13f5.zip | |
Document some Emacs 24.3 changes.
* doc/emacs/dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3
changes to the mark and unmark commands.
(Comparison in Dired): Document chages to dired-diff. Remove M-=,
which is no longer bound to dired-backup-diff.
* doc/emacs/mule.texi (Text Coding): set-buffer-file-coding-system can now
be invoked from the mode line.
* lisp/dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
Doc fix.
| -rw-r--r-- | doc/emacs/ChangeLog | 10 | ||||
| -rw-r--r-- | doc/emacs/dired.texi | 86 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 16 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 21 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 8 | ||||
| -rw-r--r-- | etc/NEWS | 58 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/dired.el | 16 |
9 files changed, 134 insertions, 90 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9a71ed5b272..b911153f080 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-10-24 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * mule.texi (Text Coding): set-buffer-file-coding-system can now | ||
| 4 | be invoked from the mode line. | ||
| 5 | |||
| 6 | * dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3 | ||
| 7 | changes to the mark and unmark commands. | ||
| 8 | (Comparison in Dired): Document chages to dired-diff. Remove M-=, | ||
| 9 | which is no longer bound to dired-backup-diff. | ||
| 10 | |||
| 1 | 2012-10-23 Bastien Guerry <bzg@gnu.org> | 11 | 2012-10-23 Bastien Guerry <bzg@gnu.org> |
| 2 | 12 | ||
| 3 | * text.texi (Org Authoring): Use a comma after @ref to avoid the | 13 | * text.texi (Org Authoring): Use a comma after @ref to avoid the |
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 0dcded78364..8babbcb89ea 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -167,13 +167,14 @@ deletion, then delete the files that were flagged. | |||
| 167 | 167 | ||
| 168 | @table @kbd | 168 | @table @kbd |
| 169 | @item d | 169 | @item d |
| 170 | Flag this file for deletion. | 170 | Flag this file for deletion (@code{dired-flag-file-deletion}). |
| 171 | @item u | 171 | @item u |
| 172 | Remove deletion flag on this line. | 172 | Remove the deletion flag (@code{dired-unmark}). |
| 173 | @item @key{DEL} | 173 | @item @key{DEL} |
| 174 | Move point to previous line and remove the deletion flag on that line. | 174 | Move point to previous line and remove the deletion flag on that line |
| 175 | (@code{dired-unmark-backward}). | ||
| 175 | @item x | 176 | @item x |
| 176 | Delete the files that are flagged for deletion. | 177 | Delete files flagged for deletion (@code{dired-do-flagged-delete}). |
| 177 | @end table | 178 | @end table |
| 178 | 179 | ||
| 179 | @kindex d @r{(Dired)} | 180 | @kindex d @r{(Dired)} |
| @@ -182,8 +183,12 @@ Delete the files that are flagged for deletion. | |||
| 182 | the file and typing @kbd{d} (@code{dired-flag-file-deletion}). The | 183 | the file and typing @kbd{d} (@code{dired-flag-file-deletion}). The |
| 183 | deletion flag is visible as a @samp{D} at the beginning of the line. | 184 | deletion flag is visible as a @samp{D} at the beginning of the line. |
| 184 | This command moves point to the next line, so that repeated @kbd{d} | 185 | This command moves point to the next line, so that repeated @kbd{d} |
| 185 | commands flag successive files. A numeric argument serves as a repeat | 186 | commands flag successive files. A numeric prefix argument serves as a |
| 186 | count. | 187 | repeat count; a negative count means to flag preceding files. |
| 188 | |||
| 189 | If the region is active, the @kbd{d} command flags all files in the | ||
| 190 | region for deletion; in this case, the command does not move point, | ||
| 191 | and ignores any prefix argument. | ||
| 187 | 192 | ||
| 188 | @kindex u @r{(Dired deletion)} | 193 | @kindex u @r{(Dired deletion)} |
| 189 | @kindex DEL @r{(Dired)} | 194 | @kindex DEL @r{(Dired)} |
| @@ -194,14 +199,17 @@ can remove deletion flags using the commands @kbd{u} and @key{DEL}. | |||
| 194 | @kbd{u} (@code{dired-unmark}) works just like @kbd{d}, but removes | 199 | @kbd{u} (@code{dired-unmark}) works just like @kbd{d}, but removes |
| 195 | flags rather than making flags. @key{DEL} | 200 | flags rather than making flags. @key{DEL} |
| 196 | (@code{dired-unmark-backward}) moves upward, removing flags; it is | 201 | (@code{dired-unmark-backward}) moves upward, removing flags; it is |
| 197 | like @kbd{u} with argument @minus{}1. | 202 | like @kbd{u} with argument @minus{}1. A numeric prefix argument to |
| 203 | either command serves as a repeat count, with a negative count meaning | ||
| 204 | to unflag in the opposite direction. If the region is active, these | ||
| 205 | commands instead unflag all files in the region, without moving point. | ||
| 198 | 206 | ||
| 199 | @kindex x @r{(Dired)} | 207 | @kindex x @r{(Dired)} |
| 200 | @findex dired-do-flagged-delete | 208 | @findex dired-do-flagged-delete |
| 201 | To delete the flagged files, type @kbd{x} | 209 | To delete flagged files, type @kbd{x} |
| 202 | (@code{dired-do-flagged-delete}). This command first displays a list | 210 | (@code{dired-do-flagged-delete}). This command displays a list of all |
| 203 | of all the file names flagged for deletion, and requests confirmation | 211 | the file names flagged for deletion, and requests confirmation with |
| 204 | with @kbd{yes}. If you confirm, Dired deletes the flagged files, then | 212 | @kbd{yes}. If you confirm, Dired deletes the flagged files, then |
| 205 | deletes their lines from the text of the Dired buffer. The Dired | 213 | deletes their lines from the text of the Dired buffer. The Dired |
| 206 | buffer, with somewhat fewer lines, remains selected. | 214 | buffer, with somewhat fewer lines, remains selected. |
| 207 | 215 | ||
| @@ -387,10 +395,11 @@ and unflag files.) | |||
| 387 | @kindex m @r{(Dired)} | 395 | @kindex m @r{(Dired)} |
| 388 | @kindex * m @r{(Dired)} | 396 | @kindex * m @r{(Dired)} |
| 389 | @findex dired-mark | 397 | @findex dired-mark |
| 390 | Mark the current file with @samp{*} (@code{dired-mark}). With a numeric | 398 | Mark the current file with @samp{*} (@code{dired-mark}). If the |
| 391 | argument @var{n}, mark the next @var{n} files starting with the current | 399 | region is active, mark all files in the region instead; otherwise, if |
| 392 | file. (If @var{n} is negative, mark the previous @minus{}@var{n} | 400 | a numeric argument @var{n} is supplied, mark the next @var{n} files |
| 393 | files.) | 401 | instead, starting with the current file (if @var{n} is negative, mark |
| 402 | the previous @minus{}@var{n} files). | ||
| 394 | 403 | ||
| 395 | @item * * | 404 | @item * * |
| 396 | @kindex * * @r{(Dired)} | 405 | @kindex * * @r{(Dired)} |
| @@ -426,7 +435,11 @@ and @file{..} (@code{dired-mark-subdir-files}). | |||
| 426 | @kindex u @r{(Dired)} | 435 | @kindex u @r{(Dired)} |
| 427 | @kindex * u @r{(Dired)} | 436 | @kindex * u @r{(Dired)} |
| 428 | @findex dired-unmark | 437 | @findex dired-unmark |
| 429 | Remove any mark on this line (@code{dired-unmark}). | 438 | Remove any mark on this line (@code{dired-unmark}). If the region is |
| 439 | active, unmark all files in the region instead; otherwise, if a | ||
| 440 | numeric argument @var{n} is supplied, unmark the next @var{n} files | ||
| 441 | instead, starting with the current file (if @var{n} is negative, | ||
| 442 | unmark the previous @minus{}@var{n} files). | ||
| 430 | 443 | ||
| 431 | @item @key{DEL} | 444 | @item @key{DEL} |
| 432 | @itemx * @key{DEL} | 445 | @itemx * @key{DEL} |
| @@ -434,7 +447,11 @@ Remove any mark on this line (@code{dired-unmark}). | |||
| 434 | @findex dired-unmark-backward | 447 | @findex dired-unmark-backward |
| 435 | @cindex unmarking files (in Dired) | 448 | @cindex unmarking files (in Dired) |
| 436 | Move point to previous line and remove any mark on that line | 449 | Move point to previous line and remove any mark on that line |
| 437 | (@code{dired-unmark-backward}). | 450 | (@code{dired-unmark-backward}). If the region is active, unmark all |
| 451 | files in the region instead; otherwise, if a numeric argument @var{n} | ||
| 452 | is supplied, unmark the @var{n} preceding files instead, starting with | ||
| 453 | the current file (if @var{n} is negative, unmark the next | ||
| 454 | @minus{}@var{n} files). | ||
| 438 | 455 | ||
| 439 | @item * ! | 456 | @item * ! |
| 440 | @itemx U | 457 | @itemx U |
| @@ -936,32 +953,19 @@ default. | |||
| 936 | @cindex file comparison (in Dired) | 953 | @cindex file comparison (in Dired) |
| 937 | @cindex compare files (in Dired) | 954 | @cindex compare files (in Dired) |
| 938 | 955 | ||
| 939 | Here are two Dired commands that compare specified files using | ||
| 940 | @code{diff}. They show the output in a buffer using Diff mode | ||
| 941 | (@pxref{Comparing Files}). | ||
| 942 | |||
| 943 | @table @kbd | ||
| 944 | @item = | ||
| 945 | @findex dired-diff | 956 | @findex dired-diff |
| 946 | @kindex = @r{(Dired)} | 957 | @kindex = @r{(Dired)} |
| 947 | Compare the current file (the file at point) with another file (the | 958 | The @kbd{=} (@code{dired-diff}) command compares the current file |
| 948 | file at the mark) using the @code{diff} program (@code{dired-diff}). | 959 | (the file at point) with another file (read using the minibuffer) |
| 949 | The file at the mark is the first argument of @code{diff}, and the | 960 | using the @command{diff} program. The file specified with the |
| 950 | file at point is the second argument. This refers to the ordinary | 961 | minibuffer is the first argument of @command{diff}, and file at point |
| 951 | Emacs mark, not Dired marks; use @kbd{C-@key{SPC}} | 962 | is the second argument. The output of the @command{diff} program is |
| 952 | (@code{set-mark-command}) to set the mark at the first file's line | 963 | shown in a buffer using Diff mode (@pxref{Comparing Files}). |
| 953 | (@pxref{Setting Mark}). | 964 | |
| 954 | 965 | If the region is active, the default for the file read using the | |
| 955 | @findex dired-backup-diff | 966 | minibuffer is the file at the mark (i.e.@: the ordinary Emacs mark, |
| 956 | @kindex M-= @r{(Dired)} | 967 | not a Dired mark; @pxref{Setting Mark}). Otherwise, if the file at |
| 957 | @item M-= | 968 | point has a backup file (@pxref{Backup}), that is the default. |
| 958 | Compare the current file with its latest backup file | ||
| 959 | (@code{dired-backup-diff}). If the current file is itself a backup, | ||
| 960 | compare it with the file it is a backup of; this way, you can compare | ||
| 961 | a file with any one of its backups. | ||
| 962 | |||
| 963 | The backup file is the first file given to @code{diff}. | ||
| 964 | @end table | ||
| 965 | 969 | ||
| 966 | @node Subdirectories in Dired | 970 | @node Subdirectories in Dired |
| 967 | @section Subdirectories in Dired | 971 | @section Subdirectories in Dired |
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 1dfae79c788..d7ed6cc488f 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -1040,12 +1040,16 @@ decoding it using coding system @var{right} instead. | |||
| 1040 | @findex set-buffer-file-coding-system | 1040 | @findex set-buffer-file-coding-system |
| 1041 | The command @kbd{C-x @key{RET} f} | 1041 | The command @kbd{C-x @key{RET} f} |
| 1042 | (@code{set-buffer-file-coding-system}) sets the file coding system for | 1042 | (@code{set-buffer-file-coding-system}) sets the file coding system for |
| 1043 | the current buffer---in other words, it says which coding system to | 1043 | the current buffer (i.e.@: the coding system to use when saving or |
| 1044 | use when saving or reverting the visited file. You specify which | 1044 | reverting the file). You specify which coding system using the |
| 1045 | coding system using the minibuffer. If you specify a coding system | 1045 | minibuffer. You can also invoke this command by clicking with |
| 1046 | that cannot handle all of the characters in the buffer, Emacs warns | 1046 | @kbd{Mouse-3} on the coding system indicator in the mode line |
| 1047 | you about the troublesome characters when you actually save the | 1047 | (@pxref{Mode Line}). |
| 1048 | buffer. | 1048 | |
| 1049 | If you specify a coding system that cannot handle all the characters | ||
| 1050 | in the buffer, Emacs will warn you about the troublesome characters, | ||
| 1051 | and ask you to choose another coding system, when you try to save the | ||
| 1052 | buffer (@pxref{Output Coding}). | ||
| 1049 | 1053 | ||
| 1050 | @cindex specify end-of-line conversion | 1054 | @cindex specify end-of-line conversion |
| 1051 | You can also use this command to specify the end-of-line conversion | 1055 | You can also use this command to specify the end-of-line conversion |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bed74bb688a..25dee5212e5 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -11,6 +11,12 @@ | |||
| 11 | 11 | ||
| 12 | 2012-10-24 Chong Yidong <cyd@gnu.org> | 12 | 2012-10-24 Chong Yidong <cyd@gnu.org> |
| 13 | 13 | ||
| 14 | * minibuf.texi (Text from Minibuffer): Document read-regexp | ||
| 15 | changes. | ||
| 16 | |||
| 17 | * nonascii.texi (Selecting a Representation): Document | ||
| 18 | set-buffer-multibyte changes. | ||
| 19 | |||
| 14 | * keymaps.texi (Toolkit Differences): Node deleted. | 20 | * keymaps.texi (Toolkit Differences): Node deleted. |
| 15 | (Easy Menu): New node. | 21 | (Easy Menu): New node. |
| 16 | 22 | ||
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 39b4fca3b25..79c83144f77 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -211,22 +211,25 @@ This function works by calling the | |||
| 211 | @end smallexample | 211 | @end smallexample |
| 212 | @end defun | 212 | @end defun |
| 213 | 213 | ||
| 214 | @defun read-regexp prompt &optional default | 214 | @defun read-regexp prompt &optional default history |
| 215 | This function reads a regular expression as a string from the | 215 | This function reads a regular expression as a string from the |
| 216 | minibuffer and returns it. The argument @var{prompt} is used as in | 216 | minibuffer and returns it. The argument @var{prompt} is used as in |
| 217 | @code{read-from-minibuffer}. The keymap used is | 217 | @code{read-from-minibuffer}. |
| 218 | @code{minibuffer-local-map}, and @code{regexp-history} is used as the | ||
| 219 | history list (@pxref{Minibuffer History, regexp-history}). | ||
| 220 | 218 | ||
| 221 | The optional argument @var{default} specifies a default value to | 219 | The optional argument @var{default} specifies a default value to |
| 222 | return if the user enters null input; it should be a string, or | 220 | return if the user enters null input; it should be a string, or |
| 223 | @code{nil}, which is equivalent to an empty string. | 221 | @code{nil}, which is equivalent to an empty string. |
| 224 | 222 | ||
| 225 | In addition, @code{read-regexp} collects a few useful candidates for | 223 | The optional argument @var{history}, if non-@code{nil}, is a symbol |
| 226 | input and passes them to @code{read-from-minibuffer}, to make them | 224 | specifying a minibuffer history list to use (@pxref{Minibuffer |
| 227 | available to the user as the ``future minibuffer history list'' | 225 | History}). If it is omitted or @code{nil}, the history list defaults |
| 228 | (@pxref{Minibuffer History, future list,, emacs, The GNU Emacs | 226 | to @code{regexp-history}. |
| 229 | Manual}). These candidates are: | 227 | |
| 228 | @code{read-regexp} also collects a few useful candidates for input and | ||
| 229 | passes them to @code{read-from-minibuffer}, to make them available to | ||
| 230 | the user as the ``future minibuffer history list'' (@pxref{Minibuffer | ||
| 231 | History, future list,, emacs, The GNU Emacs Manual}). These | ||
| 232 | candidates are: | ||
| 230 | 233 | ||
| 231 | @itemize @minus | 234 | @itemize @minus |
| 232 | @item | 235 | @item |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 2f6f516c587..e384d40176e 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -241,8 +241,12 @@ representation is in use. It also adjusts various data in the buffer | |||
| 241 | (including overlays, text properties and markers) so that they cover the | 241 | (including overlays, text properties and markers) so that they cover the |
| 242 | same text as they did before. | 242 | same text as they did before. |
| 243 | 243 | ||
| 244 | You cannot use @code{set-buffer-multibyte} on an indirect buffer, | 244 | This function signals an error if the buffer is narrowed, since the |
| 245 | because indirect buffers always inherit the representation of the | 245 | narrowing might have occurred in the middle of multibyte character |
| 246 | sequences. | ||
| 247 | |||
| 248 | This function also signals an error if the buffer is an indirect | ||
| 249 | buffer. An indirect buffer always inherits the representation of its | ||
| 246 | base buffer. | 250 | base buffer. |
| 247 | @end defun | 251 | @end defun |
| 248 | 252 | ||
| @@ -104,26 +104,19 @@ been adding them there, put them somewhere else, eg site-lisp. | |||
| 104 | 104 | ||
| 105 | * Changes in Emacs 24.3 | 105 | * Changes in Emacs 24.3 |
| 106 | 106 | ||
| 107 | ** minibuffer-electric-default-mode can rewrite (default ...) to [...]. | ||
| 108 | Just set minibuffer-eldef-shorten-default to t before enabling the mode. | ||
| 109 | |||
| 110 | +++ | 107 | +++ |
| 111 | ** Most y-or-n prompts now allow you to scroll the selected window. | 108 | ** Most y-or-n prompts now allow you to scroll the selected window. |
| 112 | Typing C-v or M-v at a y-or-n prompt scrolls forward or backward | 109 | Typing C-v or M-v at a y-or-n prompt scrolls forward or backward |
| 113 | respectively, without exiting from the prompt. | 110 | respectively, without exiting from the prompt. |
| 114 | 111 | ||
| 115 | --- | ||
| 116 | ** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the | ||
| 117 | next and previous path separator, respectively. | ||
| 118 | |||
| 119 | ** Mode line changes | 112 | ** Mode line changes |
| 120 | --- | 113 | --- |
| 121 | *** New option `mode-line-default-help-echo' specifies the help text | 114 | *** New option `mode-line-default-help-echo' specifies the help text |
| 122 | (shown in a tooltip or in the echo area) for any part of the mode line | 115 | (shown in a tooltip or in the echo area) for any part of the mode line |
| 123 | that does not have its own specialized help text. | 116 | that does not have its own specialized help text. |
| 124 | 117 | +++ | |
| 125 | *** You can now click mouse-3 in the coding system indicator to | 118 | *** You can now click mouse-3 in the coding system indicator to invoke |
| 126 | invokes `set-buffer-file-coding-system'. | 119 | `set-buffer-file-coding-system'. |
| 127 | 120 | ||
| 128 | ** Help changes | 121 | ** Help changes |
| 129 | 122 | ||
| @@ -139,6 +132,14 @@ correctly. To disable this, set `help-enable-auto-load' to nil. | |||
| 139 | even after their associated libraries have been loaded (and the | 132 | even after their associated libraries have been loaded (and the |
| 140 | autoloads have been redefined as functions). | 133 | autoloads have been redefined as functions). |
| 141 | 134 | ||
| 135 | ** Minibuffer changes | ||
| 136 | --- | ||
| 137 | *** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the | ||
| 138 | next and previous path separator, respectively. | ||
| 139 | |||
| 140 | *** minibuffer-electric-default-mode can rewrite (default ...) to [...]. | ||
| 141 | Just set minibuffer-eldef-shorten-default to t before enabling the mode. | ||
| 142 | |||
| 142 | ** ImageMagick support, if available, is automatically enabled. | 143 | ** ImageMagick support, if available, is automatically enabled. |
| 143 | It is no longer necessary to call `imagemagick-register-types' | 144 | It is no longer necessary to call `imagemagick-register-types' |
| 144 | explicitly to install ImageMagick image types; that function is called | 145 | explicitly to install ImageMagick image types; that function is called |
| @@ -340,15 +341,15 @@ rather than making them unbound. | |||
| 340 | *** New option `compilation-always-kill'. | 341 | *** New option `compilation-always-kill'. |
| 341 | 342 | ||
| 342 | ** Customize | 343 | ** Customize |
| 343 | 344 | --- | |
| 344 | *** `custom-reset-button-menu' now defaults to t. | 345 | *** `custom-reset-button-menu' now defaults to t. |
| 345 | 346 | --- | |
| 346 | *** Non-option variables are never matched in `customize-apropos' and | 347 | *** Non-option variables are never matched in `customize-apropos' and |
| 347 | `customize-apropos-options' (i.e. the prefix argument does nothing for | 348 | `customize-apropos-options' (i.e. the prefix argument does nothing for |
| 348 | these commands now). | 349 | these commands now). |
| 349 | 350 | ||
| 350 | ** Desktop | 351 | ** Desktop |
| 351 | 352 | --- | |
| 352 | *** `desktop-path' no longer includes the "." directory. Desktop | 353 | *** `desktop-path' no longer includes the "." directory. Desktop |
| 353 | files are now located in ~/.emacs.d by default. | 354 | files are now located in ~/.emacs.d by default. |
| 354 | 355 | ||
| @@ -402,22 +403,23 @@ whitespace problems introduced by the diff. | |||
| 402 | *** `dired-do-async-shell-command' executes each file sequentially | 403 | *** `dired-do-async-shell-command' executes each file sequentially |
| 403 | if the command ends in `;' (when operating on multiple files). | 404 | if the command ends in `;' (when operating on multiple files). |
| 404 | Otherwise, it executes the command on each file in parallel. | 405 | Otherwise, it executes the command on each file in parallel. |
| 405 | 406 | --- | |
| 406 | *** Typing M-n in the minibuffer of `dired-do-chmod', `dired-do-chgrp', | 407 | *** Typing M-n in the minibuffer of `dired-do-chmod', `dired-do-chgrp', |
| 407 | `dired-do-chown', `dired-do-touch' pulls the file attributes of the | 408 | `dired-do-chown', `dired-do-touch' pulls the file attributes of the |
| 408 | file at point. | 409 | file at point. |
| 409 | 410 | +++ | |
| 410 | *** When the region is active, `m' (`dired-mark'), `u' (`dired-unmark'), | 411 | *** When the region is active, `m' (`dired-mark'), `u' (`dired-unmark'), |
| 411 | `DEL' (`dired-unmark-backward'), `d' (`dired-flag-file-deletion') | 412 | `DEL' (`dired-unmark-backward'), `d' (`dired-flag-file-deletion') |
| 412 | mark/unmark/flag all files in the active region. | 413 | mark/unmark/flag all files in the active region. |
| 413 | 414 | +++ | |
| 414 | *** The minibuffer default for `=' (`dired-diff) has changed. | 415 | *** The minibuffer default for `=' (`dired-diff) has changed. |
| 415 | It is now the backup file for the file at point, if one exists. | 416 | It is now the backup file for the file at point, if one exists. |
| 416 | In Transient Mark mode the default is the file at the active mark. | 417 | In Transient Mark mode the default is the file at the active mark. |
| 417 | 418 | +++ | |
| 418 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. | 419 | *** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. |
| 419 | The global binding for `M-=', `count-words-region' is in effect. | 420 | The global binding for `M-=', `count-words-region' is in effect. |
| 420 | 421 | ||
| 422 | --- | ||
| 421 | ** Ediff now uses the same color scheme as Diff mode. | 423 | ** Ediff now uses the same color scheme as Diff mode. |
| 422 | 424 | ||
| 423 | ** erc will look up server/channel names via auth-source and use the | 425 | ** erc will look up server/channel names via auth-source and use the |
| @@ -428,9 +430,9 @@ See `flymake-fringe-indicator-position', `flymake-error-bitmap' and | |||
| 428 | `flymake-warning-bitmap'. | 430 | `flymake-warning-bitmap'. |
| 429 | 431 | ||
| 430 | ** Follow mode | 432 | ** Follow mode |
| 431 | 433 | --- | |
| 432 | *** The obsolete variable `follow-mode-off-hook' has been removed. | 434 | *** The obsolete variable `follow-mode-off-hook' has been removed. |
| 433 | 435 | --- | |
| 434 | *** Follow mode no longer works by using advice. | 436 | *** Follow mode no longer works by using advice. |
| 435 | The option `follow-intercept-processes' has been removed. | 437 | The option `follow-intercept-processes' has been removed. |
| 436 | 438 | ||
| @@ -673,6 +675,7 @@ gnus-notifications.el, mm-archive.el | |||
| 673 | 675 | ||
| 674 | * Incompatible Lisp Changes in Emacs 24.3 | 676 | * Incompatible Lisp Changes in Emacs 24.3 |
| 675 | 677 | ||
| 678 | +++ | ||
| 676 | ** set-buffer-multibyte now signals an error in narrowed buffers. | 679 | ** set-buffer-multibyte now signals an error in narrowed buffers. |
| 677 | 680 | ||
| 678 | +++ | 681 | +++ |
| @@ -772,9 +775,18 @@ systems), or based on memory allocations. | |||
| 772 | ** CL-style generalized variables are now in core Elisp. | 775 | ** CL-style generalized variables are now in core Elisp. |
| 773 | `setf' is autoloaded; `push' and `pop' accept generalized variables. | 776 | `setf' is autoloaded; `push' and `pop' accept generalized variables. |
| 774 | 777 | ||
| 778 | +++ | ||
| 775 | ** `defun' also accepts a (declare DECLS) form, like `defmacro'. | 779 | ** `defun' also accepts a (declare DECLS) form, like `defmacro'. |
| 776 | The interpretation of the DECLS is determined by `defun-declarations-alist'. | 780 | The interpretation of the DECLS is determined by `defun-declarations-alist'. |
| 777 | 781 | ||
| 782 | ** Minibuffer | ||
| 783 | +++ | ||
| 784 | *** `read-regexp' has a new argument HISTORY; the first argument PROMPT | ||
| 785 | of `read-regexp' accepts a string ending with a colon and space, and its | ||
| 786 | second argument DEFAULTS can be a list of strings accessible via M-n | ||
| 787 | in the minibuffer ahead of other hard-coded useful regexp-related values. | ||
| 788 | More commands use `read-regexp' now to read their regexp arguments. | ||
| 789 | |||
| 778 | ** Completion | 790 | ** Completion |
| 779 | 791 | ||
| 780 | *** New function `completion-table-with-quoting' to handle completion | 792 | *** New function `completion-table-with-quoting' to handle completion |
| @@ -797,14 +809,6 @@ to work out which code is doing something. | |||
| 797 | *** New var `inhibit-debugger', automatically set to prevent accidental | 809 | *** New var `inhibit-debugger', automatically set to prevent accidental |
| 798 | recursive invocations. | 810 | recursive invocations. |
| 799 | 811 | ||
| 800 | ** Minibuffer | ||
| 801 | |||
| 802 | *** `read-regexp' has a new argument HISTORY; the first argument PROMPT | ||
| 803 | of `read-regexp' accepts a string ending with a colon and space, and its | ||
| 804 | second argument DEFAULTS can be a list of strings accessible via M-n | ||
| 805 | in the minibuffer ahead of other hard-coded useful regexp-related values. | ||
| 806 | More commands use `read-regexp' now to read their regexp arguments. | ||
| 807 | |||
| 808 | ** Window changes | 812 | ** Window changes |
| 809 | 813 | ||
| 810 | *** The functions get-lru-window, get-mru-window and get-largest-window | 814 | *** The functions get-lru-window, get-mru-window and get-largest-window |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5b709c76c74..9b40dbf6458 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-10-24 Chong Yidong <cyd@gnu.org> | 1 | 2012-10-24 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion): | ||
| 4 | Doc fix. | ||
| 5 | |||
| 3 | * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628). | 6 | * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628). |
| 4 | 7 | ||
| 5 | 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/lisp/dired.el b/lisp/dired.el index a4bc16caebf..9094ce08f0a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -3107,10 +3107,11 @@ argument or confirmation)." | |||
| 3107 | (forward-line 1)))) | 3107 | (forward-line 1)))) |
| 3108 | 3108 | ||
| 3109 | (defun dired-mark (arg) | 3109 | (defun dired-mark (arg) |
| 3110 | "Mark the current (or next ARG) files. | 3110 | "Mark the file at point in the Dired buffer. |
| 3111 | If the region is active, mark all files in the region. | ||
| 3112 | Otherwise, with a prefix arg, mark files on the next ARG lines. | ||
| 3113 | |||
| 3111 | If on a subdir headerline, mark all its files except `.' and `..'. | 3114 | If on a subdir headerline, mark all its files except `.' and `..'. |
| 3112 | If the region is active in Transient Mark mode, mark all files | ||
| 3113 | in the active region. | ||
| 3114 | 3115 | ||
| 3115 | Use \\[dired-unmark-all-files] to remove all marks | 3116 | Use \\[dired-unmark-all-files] to remove all marks |
| 3116 | and \\[dired-unmark] on a subdir to remove the marks in | 3117 | and \\[dired-unmark] on a subdir to remove the marks in |
| @@ -3136,7 +3137,10 @@ this subdir." | |||
| 3136 | (function (lambda () (delete-char 1) (insert dired-marker-char)))))))) | 3137 | (function (lambda () (delete-char 1) (insert dired-marker-char)))))))) |
| 3137 | 3138 | ||
| 3138 | (defun dired-unmark (arg) | 3139 | (defun dired-unmark (arg) |
| 3139 | "Unmark the current (or next ARG) files. | 3140 | "Unmark the file at point in the Dired buffer. |
| 3141 | If the region is active, unmark all files in the region. | ||
| 3142 | Otherwise, with a prefix arg, unmark files on the next ARG lines. | ||
| 3143 | |||
| 3140 | If looking at a subdir, unmark all its files except `.' and `..'. | 3144 | If looking at a subdir, unmark all its files except `.' and `..'. |
| 3141 | If the region is active in Transient Mark mode, unmark all files | 3145 | If the region is active in Transient Mark mode, unmark all files |
| 3142 | in the active region." | 3146 | in the active region." |
| @@ -3146,7 +3150,9 @@ in the active region." | |||
| 3146 | 3150 | ||
| 3147 | (defun dired-flag-file-deletion (arg) | 3151 | (defun dired-flag-file-deletion (arg) |
| 3148 | "In Dired, flag the current line's file for deletion. | 3152 | "In Dired, flag the current line's file for deletion. |
| 3149 | With prefix arg, repeat over several lines. | 3153 | If the region is active, flag all files in the region. |
| 3154 | Otherwise, with a prefix arg, flag files on the next ARG lines. | ||
| 3155 | |||
| 3150 | If on a subdir headerline, flag all its files except `.' and `..'. | 3156 | If on a subdir headerline, flag all its files except `.' and `..'. |
| 3151 | If the region is active in Transient Mark mode, flag all files | 3157 | If the region is active in Transient Mark mode, flag all files |
| 3152 | in the active region." | 3158 | in the active region." |