aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog14
-rw-r--r--doc/emacs/custom.texi6
-rw-r--r--doc/emacs/dired.texi7
-rw-r--r--doc/emacs/mark.texi8
-rw-r--r--doc/lispref/ChangeLog16
-rw-r--r--doc/lispref/help.texi11
-rw-r--r--doc/lispref/keymaps.texi11
-rw-r--r--doc/lispref/modes.texi15
-rw-r--r--doc/lispref/objects.texi4
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/cl.texi9
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 @@
12011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * custom.texi (Hooks): Mention buffer-local hooks (bug#6218).
4
52011-07-13 Glenn Morris <rgm@gnu.org>
6
7 * dired.texi (Dired Enter): Mention --dired. (Bug#9039)
8
92011-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
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 152011-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
820can clear out individual functions by calling @code{remove-hook}, or 820can clear out individual functions by calling @code{remove-hook}, or
821do @code{(setq @var{hook-variable} nil)} to remove everything. 821do @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
825be used instead of the global variable. However, if the buffer-local
826variable contains the element @code{t}, the global hook variable will
827be 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,
81single characters) requiring no arguments, and long options (starting 81single characters) requiring no arguments, and long options (starting
82with @samp{--}) whose arguments are specified with @samp{=}. 82with @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
86your @code{ls} program supports it, unless you explicitly set
87the variable @code{dired-use-ls-dired} to @code{nil}. Without this
88option, Dired will have trouble parsing some @samp{unusual} file-names.
89See 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};
85see @ref{ls in Lisp}, for options and peculiarities of that emulation. 92see @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
255remembering spots that you may want to go back to. Each buffer 255remembering spots that you may want to go back to. Each buffer
256remembers 16 previous locations of the mark, in the @dfn{mark ring}. 256remembers @code{mark-ring-max} previous locations of the mark, in the
257@dfn{mark ring}. This defaults to 16 locations.
258
257Commands that set the mark also push the old mark onto this ring. 259Commands 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,
319Emacs has a single @dfn{global mark ring}. Each time you set a mark, 322Emacs has a single @dfn{global mark ring}. Each time you set a mark,
320in any buffer, this is recorded in the global mark ring in addition to 323in any buffer, this is recorded in the global mark ring in addition to
321the current buffer's own mark ring. 324the current buffer's own mark ring. The length of this ring can be
325controlled 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 @@
12011-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
62011-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
12011-07-12 Chong Yidong <cyd@stupidchicken.com> 172011-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
80The documentation for a function is usually stored in the function 80The documentation for a function is usually stored in the function
81definition itself (@pxref{Lambda Expressions}). The function 81definition itself (@pxref{Lambda Expressions} and @pxref{Function
82@code{documentation} knows how to extract it. You can also put 82Documentation}). The function @code{documentation} knows how to
83function documentation in the @code{function-documentation} property 83extract it. You can also put function documentation in the
84of the function name. That is useful with definitions such as 84@code{function-documentation} property of the function name. That is
85keyboard macros that can't hold a documentation string. 85useful with definitions such as keyboard macros that can't hold a
86documentation 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
2262the following word. Thus, @code{"--:singleLine"}, is equivalent to 2262the 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}
2266and @code{:visible} for a menu separator:
2267
2268@code{(menu-item @var{separator-type} nil . @var{item-property-list})}
2269
2270For 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
2266separator types. If you use a type that isn't supported, the menu 2277separator types. If you use a type that isn't supported, the menu
2267displays a similar kind of separator that is supported. 2278displays 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.
101The hook variable's value can also be a single function---either a 101The hook variable's value can also be a single function---either a
102lambda expression or a symbol with a function definition---which 102lambda 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
105If the hook variable is buffer-local, the buffer-local variable will
106be used instead of the global variable. However, if the buffer-local
107variable contains the element @code{t}, the global hook variable will
108be 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.
169value is a single function; it sets or changes the value to a list of 174value is a single function; it sets or changes the value to a list of
170functions. 175functions.
171 176
172If @var{local} is non-@code{nil}, that says to add @var{function} to 177If @var{local} is non-@code{nil}, that says to add @var{function} to the
173the buffer-local hook list instead of to the global hook list. If 178buffer-local hook list instead of to the global hook list. This makes
174needed, this makes the hook buffer-local and adds @code{t} to the 179the hook buffer-local and adds @code{t} to the buffer-local value. The
175buffer-local value. The latter acts as a flag to run the hook 180latter acts as a flag to run the hook functions in the default value as
176functions in the default value as well as in the local value. 181well 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.
392and the hexadecimal character code. You can use any number of hex 392and the hexadecimal character code. You can use any number of hex
393digits, so you can represent any character code in this way. 393digits, so you can represent any character code in this way.
394Thus, @samp{?\x41} for the character @kbd{A}, @samp{?\x1} for the 394Thus, @samp{?\x41} for the character @kbd{A}, @samp{?\x1} for the
395character @kbd{C-a}, and @code{?\x8e0} for the Latin-1 character 395character @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
1037greater than 256.) Any character which is not a valid hex digit 1037greater than 256.) Any character which is not a valid hex digit
1038terminates this construct. If the next character in the string could be 1038terminates this construct. If the next character in the string could be
1039interpreted as a hex digit, write @w{@samp{\ }} (backslash and space) to 1039interpreted as a hex digit, write @w{@samp{\ }} (backslash and space) to
1040terminate the hex escape---for example, @w{@samp{\x8e0\ }} represents 1040terminate the hex escape---for example, @w{@samp{\xe0\ }} represents
1041one character, @samp{a} with grave accent. @w{@samp{\ }} in a string 1041one character, @samp{a} with grave accent. @w{@samp{\ }} in a string
1042constant is just like backslash-newline; it does not contribute any 1042constant is just like backslash-newline; it does not contribute any
1043character to the string, but it does terminate the preceding hex escape. 1043character 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 @@
12010-07-10 Kevin Ryde <user42@zip.com.au>
2
3 * cl.texi (For Clauses): Add destructuring example processing an
4 alist (bug#6596).
5
12011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org> 62011-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
2586than values the trailing variables get the value @code{nil}. 2586than values the trailing variables get the value @code{nil}.
2587If @code{nil} is used as a variable name, the corresponding 2587If @code{nil} is used as a variable name, the corresponding
2588values are ignored. Destructuring may be nested, and dotted 2588values are ignored. Destructuring may be nested, and dotted
2589lists of variables like @code{(x . y)} are allowed. 2589lists of variables like @code{(x . y)} are allowed, so for example
2590to 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