diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 14 | ||||
| -rw-r--r-- | doc/emacs/custom.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/dired.texi | 7 | ||||
| -rw-r--r-- | doc/emacs/mark.texi | 8 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 16 | ||||
| -rw-r--r-- | doc/lispref/help.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 11 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 15 | ||||
| -rw-r--r-- | doc/lispref/objects.texi | 4 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 9 |
11 files changed, 91 insertions, 15 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index bd5cfdce66b..e21a02f700f 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * custom.texi (Hooks): Mention buffer-local hooks (bug#6218). | ||
| 4 | |||
| 5 | 2011-07-13 Glenn Morris <rgm@gnu.org> | ||
| 6 | |||
| 7 | * dired.texi (Dired Enter): Mention --dired. (Bug#9039) | ||
| 8 | |||
| 9 | 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 10 | |||
| 11 | * mark.texi (Mark Ring): Clarify how many locations are saved | ||
| 12 | (bug#5770). | ||
| 13 | (Global Mark Ring): Ditto. | ||
| 14 | |||
| 1 | 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> | 15 | 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 16 | ||
| 3 | * text.texi (Table Recognition): Use "at point" instead of "under | 17 | * text.texi (Table Recognition): Use "at point" instead of "under |
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index 8465dd93519..6a6d465438d 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -820,6 +820,12 @@ the versions you added will remain in the hook variable together. You | |||
| 820 | can clear out individual functions by calling @code{remove-hook}, or | 820 | can clear out individual functions by calling @code{remove-hook}, or |
| 821 | do @code{(setq @var{hook-variable} nil)} to remove everything. | 821 | do @code{(setq @var{hook-variable} nil)} to remove everything. |
| 822 | 822 | ||
| 823 | @cindex buffer-local hooks | ||
| 824 | If the hook variable is buffer-local, the buffer-local variable will | ||
| 825 | be used instead of the global variable. However, if the buffer-local | ||
| 826 | variable contains the element @code{t}, the global hook variable will | ||
| 827 | be run as well. | ||
| 828 | |||
| 823 | @node Locals | 829 | @node Locals |
| 824 | @subsection Local Variables | 830 | @subsection Local Variables |
| 825 | 831 | ||
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index fb3521e4316..501c4152e6a 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -81,6 +81,13 @@ specified, the @code{ls} switches can include short options (that is, | |||
| 81 | single characters) requiring no arguments, and long options (starting | 81 | single characters) requiring no arguments, and long options (starting |
| 82 | with @samp{--}) whose arguments are specified with @samp{=}. | 82 | with @samp{--}) whose arguments are specified with @samp{=}. |
| 83 | 83 | ||
| 84 | @vindex dired-use-ls-dired | ||
| 85 | Note that Dired automatically adds the option @samp{--dired}, if | ||
| 86 | your @code{ls} program supports it, unless you explicitly set | ||
| 87 | the variable @code{dired-use-ls-dired} to @code{nil}. Without this | ||
| 88 | option, Dired will have trouble parsing some @samp{unusual} file-names. | ||
| 89 | See the documentation of @code{dired-use-ls-dired} for more details. | ||
| 90 | |||
| 84 | On MS-Windows and MS-DOS systems, Emacs @emph{emulates} @code{ls}; | 91 | On MS-Windows and MS-DOS systems, Emacs @emph{emulates} @code{ls}; |
| 85 | see @ref{ls in Lisp}, for options and peculiarities of that emulation. | 92 | see @ref{ls in Lisp}, for options and peculiarities of that emulation. |
| 86 | 93 | ||
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 20cc127d272..1a93f5b79c8 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -253,7 +253,9 @@ Another effect of this mode is that some keys, such as @key{DEL} and | |||
| 253 | @cindex mark ring | 253 | @cindex mark ring |
| 254 | Aside from delimiting the region, the mark is also useful for | 254 | Aside from delimiting the region, the mark is also useful for |
| 255 | remembering spots that you may want to go back to. Each buffer | 255 | remembering spots that you may want to go back to. Each buffer |
| 256 | remembers 16 previous locations of the mark, in the @dfn{mark ring}. | 256 | remembers @code{mark-ring-max} previous locations of the mark, in the |
| 257 | @dfn{mark ring}. This defaults to 16 locations. | ||
| 258 | |||
| 257 | Commands that set the mark also push the old mark onto this ring. | 259 | Commands that set the mark also push the old mark onto this ring. |
| 258 | 260 | ||
| 259 | @table @kbd | 261 | @table @kbd |
| @@ -315,10 +317,12 @@ Positions in Registers}). | |||
| 315 | @section The Global Mark Ring | 317 | @section The Global Mark Ring |
| 316 | @cindex global mark ring | 318 | @cindex global mark ring |
| 317 | 319 | ||
| 320 | @vindex global-mark-ring-max | ||
| 318 | In addition to the ordinary mark ring that belongs to each buffer, | 321 | In addition to the ordinary mark ring that belongs to each buffer, |
| 319 | Emacs has a single @dfn{global mark ring}. Each time you set a mark, | 322 | Emacs has a single @dfn{global mark ring}. Each time you set a mark, |
| 320 | in any buffer, this is recorded in the global mark ring in addition to | 323 | in any buffer, this is recorded in the global mark ring in addition to |
| 321 | the current buffer's own mark ring. | 324 | the current buffer's own mark ring. The length of this ring can be |
| 325 | controlled by @code{global-mark-ring-max}, and is 16 by default. | ||
| 322 | 326 | ||
| 323 | @kindex C-x C-@key{SPC} | 327 | @kindex C-x C-@key{SPC} |
| 324 | @findex pop-global-mark | 328 | @findex pop-global-mark |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1d1730e078d..19da0a3c442 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * help.texi (Documentation Basics): Add a link to the Function | ||
| 4 | Documentation node (bug#6580). | ||
| 5 | |||
| 6 | 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 7 | |||
| 8 | * keymaps.texi (Menu Bar): Mention :visible and :enable | ||
| 9 | (bug#6344). Text by Drew Adams. | ||
| 10 | |||
| 11 | * modes.texi (Running Hooks): Mention buffer-local hook variables | ||
| 12 | (bug#6218). | ||
| 13 | |||
| 14 | * objects.texi (General Escape Syntax): "a with grave accent" is | ||
| 15 | ?xe0, not ?x8e0 (bug#5259). | ||
| 16 | |||
| 1 | 2011-07-12 Chong Yidong <cyd@stupidchicken.com> | 17 | 2011-07-12 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 18 | ||
| 3 | * display.texi (Face Attributes, Font Selection): Add references | 19 | * display.texi (Face Attributes, Font Selection): Add references |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index 63fc06c929b..0ce05d55a07 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -78,11 +78,12 @@ function or variable that it describes: | |||
| 78 | @item | 78 | @item |
| 79 | @kindex function-documentation | 79 | @kindex function-documentation |
| 80 | The documentation for a function is usually stored in the function | 80 | The documentation for a function is usually stored in the function |
| 81 | definition itself (@pxref{Lambda Expressions}). The function | 81 | definition itself (@pxref{Lambda Expressions} and @pxref{Function |
| 82 | @code{documentation} knows how to extract it. You can also put | 82 | Documentation}). The function @code{documentation} knows how to |
| 83 | function documentation in the @code{function-documentation} property | 83 | extract it. You can also put function documentation in the |
| 84 | of the function name. That is useful with definitions such as | 84 | @code{function-documentation} property of the function name. That is |
| 85 | keyboard macros that can't hold a documentation string. | 85 | useful with definitions such as keyboard macros that can't hold a |
| 86 | documentation string. | ||
| 86 | 87 | ||
| 87 | @item | 88 | @item |
| 88 | @kindex variable-documentation | 89 | @kindex variable-documentation |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index cf1db5b7fce..15b2f2079ba 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -2262,6 +2262,17 @@ the double-dash and replacing each single dash with capitalization of | |||
| 2262 | the following word. Thus, @code{"--:singleLine"}, is equivalent to | 2262 | the following word. Thus, @code{"--:singleLine"}, is equivalent to |
| 2263 | @code{"--single-line"}. | 2263 | @code{"--single-line"}. |
| 2264 | 2264 | ||
| 2265 | You can use a longer form to specify keywords such as @code{:enable} | ||
| 2266 | and @code{:visible} for a menu separator: | ||
| 2267 | |||
| 2268 | @code{(menu-item @var{separator-type} nil . @var{item-property-list})} | ||
| 2269 | |||
| 2270 | For example: | ||
| 2271 | |||
| 2272 | @example | ||
| 2273 | (menu-item "--" nil :visible (boundp 'foo)) | ||
| 2274 | @end example | ||
| 2275 | |||
| 2265 | Some systems and display toolkits don't really handle all of these | 2276 | Some systems and display toolkits don't really handle all of these |
| 2266 | separator types. If you use a type that isn't supported, the menu | 2277 | separator types. If you use a type that isn't supported, the menu |
| 2267 | displays a similar kind of separator that is supported. | 2278 | displays a similar kind of separator that is supported. |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index a8a10f750cc..dd3b2e3038f 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -101,6 +101,11 @@ one, with no arguments. | |||
| 101 | The hook variable's value can also be a single function---either a | 101 | The hook variable's value can also be a single function---either a |
| 102 | lambda expression or a symbol with a function definition---which | 102 | lambda expression or a symbol with a function definition---which |
| 103 | @code{run-hooks} calls. But this usage is obsolete. | 103 | @code{run-hooks} calls. But this usage is obsolete. |
| 104 | |||
| 105 | If the hook variable is buffer-local, the buffer-local variable will | ||
| 106 | be used instead of the global variable. However, if the buffer-local | ||
| 107 | variable contains the element @code{t}, the global hook variable will | ||
| 108 | be run as well. | ||
| 104 | @end defun | 109 | @end defun |
| 105 | 110 | ||
| 106 | @defun run-hook-with-args hook &rest args | 111 | @defun run-hook-with-args hook &rest args |
| @@ -169,11 +174,11 @@ function goes at the end of the hook list and will be executed last. | |||
| 169 | value is a single function; it sets or changes the value to a list of | 174 | value is a single function; it sets or changes the value to a list of |
| 170 | functions. | 175 | functions. |
| 171 | 176 | ||
| 172 | If @var{local} is non-@code{nil}, that says to add @var{function} to | 177 | If @var{local} is non-@code{nil}, that says to add @var{function} to the |
| 173 | the buffer-local hook list instead of to the global hook list. If | 178 | buffer-local hook list instead of to the global hook list. This makes |
| 174 | needed, this makes the hook buffer-local and adds @code{t} to the | 179 | the hook buffer-local and adds @code{t} to the buffer-local value. The |
| 175 | buffer-local value. The latter acts as a flag to run the hook | 180 | latter acts as a flag to run the hook functions in the default value as |
| 176 | functions in the default value as well as in the local value. | 181 | well as in the local value. |
| 177 | @end defun | 182 | @end defun |
| 178 | 183 | ||
| 179 | @defun remove-hook hook function &optional local | 184 | @defun remove-hook hook function &optional local |
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 27d9ba10aef..6d63bb7b750 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -392,7 +392,7 @@ value is more important than the @acronym{ASCII} representation. | |||
| 392 | and the hexadecimal character code. You can use any number of hex | 392 | and the hexadecimal character code. You can use any number of hex |
| 393 | digits, so you can represent any character code in this way. | 393 | digits, so you can represent any character code in this way. |
| 394 | Thus, @samp{?\x41} for the character @kbd{A}, @samp{?\x1} for the | 394 | Thus, @samp{?\x41} for the character @kbd{A}, @samp{?\x1} for the |
| 395 | character @kbd{C-a}, and @code{?\x8e0} for the Latin-1 character | 395 | character @kbd{C-a}, and @code{?\xe0} for the Latin-1 character |
| 396 | @iftex | 396 | @iftex |
| 397 | @samp{@`a}. | 397 | @samp{@`a}. |
| 398 | @end iftex | 398 | @end iftex |
| @@ -1037,7 +1037,7 @@ digits as necessary. (Multibyte non-@acronym{ASCII} character codes are all | |||
| 1037 | greater than 256.) Any character which is not a valid hex digit | 1037 | greater than 256.) Any character which is not a valid hex digit |
| 1038 | terminates this construct. If the next character in the string could be | 1038 | terminates this construct. If the next character in the string could be |
| 1039 | interpreted as a hex digit, write @w{@samp{\ }} (backslash and space) to | 1039 | interpreted as a hex digit, write @w{@samp{\ }} (backslash and space) to |
| 1040 | terminate the hex escape---for example, @w{@samp{\x8e0\ }} represents | 1040 | terminate the hex escape---for example, @w{@samp{\xe0\ }} represents |
| 1041 | one character, @samp{a} with grave accent. @w{@samp{\ }} in a string | 1041 | one character, @samp{a} with grave accent. @w{@samp{\ }} in a string |
| 1042 | constant is just like backslash-newline; it does not contribute any | 1042 | constant is just like backslash-newline; it does not contribute any |
| 1043 | character to the string, but it does terminate the preceding hex escape. | 1043 | character to the string, but it does terminate the preceding hex escape. |
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 3738301ceea..9687f474286 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-07-10 Kevin Ryde <user42@zip.com.au> | ||
| 2 | |||
| 3 | * cl.texi (For Clauses): Add destructuring example processing an | ||
| 4 | alist (bug#6596). | ||
| 5 | |||
| 1 | 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * org.texi (Special agenda views): Fix double quoting (bug#3509). | 8 | * org.texi (Special agenda views): Fix double quoting (bug#3509). |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index ab54b99138a..3f3d616e343 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -2586,7 +2586,14 @@ the trailing values are ignored, and if there are more variables | |||
| 2586 | than values the trailing variables get the value @code{nil}. | 2586 | than values the trailing variables get the value @code{nil}. |
| 2587 | If @code{nil} is used as a variable name, the corresponding | 2587 | If @code{nil} is used as a variable name, the corresponding |
| 2588 | values are ignored. Destructuring may be nested, and dotted | 2588 | values are ignored. Destructuring may be nested, and dotted |
| 2589 | lists of variables like @code{(x . y)} are allowed. | 2589 | lists of variables like @code{(x . y)} are allowed, so for example |
| 2590 | to process an alist | ||
| 2591 | |||
| 2592 | @example | ||
| 2593 | (loop for (key . value) in '((a . 1) (b . 2)) | ||
| 2594 | collect value) | ||
| 2595 | @result{} (1 2) | ||
| 2596 | @end example | ||
| 2590 | 2597 | ||
| 2591 | @node Iteration Clauses, Accumulation Clauses, For Clauses, Loop Facility | 2598 | @node Iteration Clauses, Accumulation Clauses, For Clauses, Loop Facility |
| 2592 | @subsection Iteration Clauses | 2599 | @subsection Iteration Clauses |