aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2011-03-01 17:52:03 -0800
committerPaul Eggert2011-03-01 17:52:03 -0800
commitba46f4d85a6938273f52a8cdf7e09d9afee61d7f (patch)
tree606ec46b703532d463ccddf287f0053430eb1f4a /doc
parentd9d0d182da35312ed0d7a9859b9c6a03994d86d8 (diff)
parent0dc3e4109e0c41bbf5fdcae0ff1156162719693e (diff)
downloademacs-ba46f4d85a6938273f52a8cdf7e09d9afee61d7f.tar.gz
emacs-ba46f4d85a6938273f52a8cdf7e09d9afee61d7f.zip
Merge from mainline.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog17
-rw-r--r--doc/emacs/custom.texi9
-rw-r--r--doc/emacs/maintaining.texi19
-rw-r--r--doc/emacs/search.texi6
-rw-r--r--doc/lispref/ChangeLog15
-rw-r--r--doc/lispref/minibuf.texi23
-rw-r--r--doc/lispref/variables.texi24
-rw-r--r--doc/misc/ChangeLog9
-rw-r--r--doc/misc/dbus.texi4
-rw-r--r--doc/misc/semantic.texi2
-rw-r--r--doc/misc/tramp.texi4
11 files changed, 97 insertions, 35 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index f113a7987c1..8438fa4952c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,20 @@
12011-03-01 Christoph Scholtes <cschol2112@googlemail.com>
2
3 * maintaining.texi (Format of ChangeLog): Add reference to
4 add-log-full-name.
5 (Change Log Commands): Add documentation for combining multiple
6 symbols in one change.
7
82011-03-01 Glenn Morris <rgm@gnu.org>
9
10 * custom.texi (Directory Variables):
11 Give an example of excluding subdirectories.
12
132011-02-28 Eli Zaretskii <eliz@gnu.org>
14
15 * search.texi (Regexp Search): Move index entries about regexps to the
16 "Regexps" node. Add index entries for regexp search. (Bug#8096)
17
12011-02-19 Glenn Morris <rgm@gnu.org> 182011-02-19 Glenn Morris <rgm@gnu.org>
2 19
3 * dired.texi (Dired): Dired-X version number was dropped. 20 * dired.texi (Dired): Dired-X version number was dropped.
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index dfd55b13f18..9304e8bef08 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -1331,7 +1331,8 @@ corresponding alist applies to all the files in that subdirectory.
1331 (tab-width . 4) 1331 (tab-width . 4)
1332 (fill-column . 80))) 1332 (fill-column . 80)))
1333 (c-mode . ((c-file-style . "BSD"))) 1333 (c-mode . ((c-file-style . "BSD")))
1334 (java-mode . ((c-file-style . "BSD"))) 1334 (java-mode . ((c-file-style . "BSD")
1335 (subdirs . nil)))
1335 ("src/imported" 1336 ("src/imported"
1336 . ((nil . ((change-log-default-name . "ChangeLog.local")))))) 1337 . ((nil . ((change-log-default-name . "ChangeLog.local"))))))
1337@end example 1338@end example
@@ -1340,8 +1341,10 @@ corresponding alist applies to all the files in that subdirectory.
1340This example shows some settings for a hypothetical project. It sets 1341This example shows some settings for a hypothetical project. It sets
1341@samp{indent-tabs-mode}, @code{tab-width}, and @code{fill-column} for 1342@samp{indent-tabs-mode}, @code{tab-width}, and @code{fill-column} for
1342any file in the project's directory tree, and it sets the indentation 1343any file in the project's directory tree, and it sets the indentation
1343style for any C or Java source file. Finally, it specifies a different 1344style for any C or Java source file. The special @code{subdirs} element
1344@file{ChangeLog} file name for any file in the @file{src/imported} 1345indicates that the Java mode settings are only to be applied in the
1346current directory, not in any subdirectories. Finally, it specifies a
1347different @file{ChangeLog} file name for any file in the @file{src/imported}
1345subdirectory of the directory where you put the @file{.dir-locals.el} 1348subdirectory of the directory where you put the @file{.dir-locals.el}
1346file. 1349file.
1347 1350
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index 60c569596ea..d311104ddd7 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1486,6 +1486,10 @@ changed.
1486non-@code{nil}, @kbd{C-x 4 a} adds to any existing item for the file 1486non-@code{nil}, @kbd{C-x 4 a} adds to any existing item for the file
1487rather than starting a new item. 1487rather than starting a new item.
1488 1488
1489You can combine multiple changes of the same nature. If you don't
1490enter any text after the initial @kbd{C-x 4 a}, any subsequent
1491@kbd{C-x 4 a} adds another symbol to the change.
1492
1489@vindex add-log-always-start-new-record 1493@vindex add-log-always-start-new-record
1490 If @code{add-log-always-start-new-record} is non-@code{nil}, 1494 If @code{add-log-always-start-new-record} is non-@code{nil},
1491@kbd{C-x 4 a} always makes a new entry, even if the last entry 1495@kbd{C-x 4 a} always makes a new entry, even if the last entry
@@ -1535,13 +1539,14 @@ insert a VC log entry into a Change Log buffer by typing @kbd{C-x v a}
1535@node Format of ChangeLog 1539@node Format of ChangeLog
1536@subsection Format of ChangeLog 1540@subsection Format of ChangeLog
1537 1541
1538 A change log entry starts with a header line that contains the current 1542 A change log entry starts with a header line that contains the
1539date, your name, and your email address (taken from the variable 1543current date, your name (taken from the variable
1540@code{add-log-mailing-address}). Aside from these header lines, every 1544@code{add-log-full-name}), and your email address (taken from the
1541line in the change log starts with a space or a tab. The bulk of the 1545variable @code{add-log-mailing-address}). Aside from these header
1542entry consists of @dfn{items}, each of which starts with a line starting 1546lines, every line in the change log starts with a space or a tab. The
1543with whitespace and a star. Here are two entries, both dated in May 1547bulk of the entry consists of @dfn{items}, each of which starts with a
15441993, with two items and one item respectively. 1548line starting with whitespace and a star. Here are two entries, both
1549dated in May 1993, with two items and one item respectively.
1545 1550
1546@iftex 1551@iftex
1547@medbreak 1552@medbreak
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index df0579ab9ea..e3c0445e189 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -468,8 +468,8 @@ apply to the lazy highlight, which always matches whole words.
468 468
469@node Regexp Search 469@node Regexp Search
470@section Regular Expression Search 470@section Regular Expression Search
471@cindex regular expression 471@cindex regexp search
472@cindex regexp 472@cindex search for a regular expression
473 473
474 A @dfn{regular expression} (or @dfn{regexp} for short) is a pattern 474 A @dfn{regular expression} (or @dfn{regexp} for short) is a pattern
475that denotes a class of alternative strings to match. GNU Emacs 475that denotes a class of alternative strings to match. GNU Emacs
@@ -543,6 +543,8 @@ Search}.
543@node Regexps 543@node Regexps
544@section Syntax of Regular Expressions 544@section Syntax of Regular Expressions
545@cindex syntax of regexps 545@cindex syntax of regexps
546@cindex regular expression
547@cindex regexp
546 548
547 This manual describes regular expression features that users 549 This manual describes regular expression features that users
548typically use. @xref{Regular Expressions,,, elisp, The Emacs Lisp 550typically use. @xref{Regular Expressions,,, elisp, The Emacs Lisp
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 90eed004d39..1a980f14f3d 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,18 @@
12011-03-01 Glenn Morris <rgm@gnu.org>
2
3 * variables.texi (Directory Local Variables):
4 Mention `(subdirs . nil)' alist element.
5
62011-02-28 Glenn Morris <rgm@gnu.org>
7
8 * variables.texi (Directory Local Variables): Mention the optional
9 mtime argument of dir-locals-set-directory-class. (Bug#3577)
10
112011-02-27 Chong Yidong <cyd@stupidchicken.com>
12
13 * minibuf.texi (Minibuffer History): Clarify discussion of
14 minibuffer history lists (Bug#8085).
15
12011-02-19 Eli Zaretskii <eliz@gnu.org> 162011-02-19 Eli Zaretskii <eliz@gnu.org>
2 17
3 * elisp.texi: Sync @dircategory with ../../info/dir. 18 * elisp.texi: Sync @dircategory with ../../info/dir.
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 50324a91f5f..07975e64b35 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -433,18 +433,17 @@ expression, thus moving point forward one word.
433@cindex minibuffer history 433@cindex minibuffer history
434@cindex history list 434@cindex history list
435 435
436 A @dfn{minibuffer history list} records previous minibuffer inputs so 436 A @dfn{minibuffer history list} records previous minibuffer inputs
437the user can reuse them conveniently. A history list is actually a 437so the user can reuse them conveniently. It is a variable whose value
438symbol, not a list; it is a variable whose value is a list of strings 438is a list of strings (previous inputs), most recent first.
439(previous inputs), most recent first. 439
440 440 There are many separate minibuffer history lists, used for different
441 There are many separate history lists, used for different kinds of 441kinds of inputs. It's the Lisp programmer's job to specify the right
442inputs. It's the Lisp programmer's job to specify the right history 442history list for each use of the minibuffer.
443list for each use of the minibuffer. 443
444 444 You specify a minibuffer history list with the optional @var{hist}
445 You specify the history list with the optional @var{hist} argument 445argument to @code{read-from-minibuffer} or @code{completing-read}.
446to either @code{read-from-minibuffer} or @code{completing-read}. Here 446Here are the possible values for it:
447are the possible values for it:
448 447
449@table @asis 448@table @asis
450@item @var{variable} 449@item @var{variable}
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index 0cdcaa84d58..a68b2b6dd4e 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -1718,7 +1718,8 @@ directory-local variables. The name of the file is
1718The MS-DOS version of Emacs uses @file{_dir-locals.el} instead, due to 1718The MS-DOS version of Emacs uses @file{_dir-locals.el} instead, due to
1719limitations of the DOS filesystems. 1719limitations of the DOS filesystems.
1720}. A file by that name in a directory causes Emacs to apply its 1720}. A file by that name in a directory causes Emacs to apply its
1721settings to any file in that directory or any of its subdirectories. 1721settings to any file in that directory or any of its subdirectories
1722(optionally, you can exclude subdirectories; see below).
1722If some of the subdirectories have their own @file{.dir-locals.el} 1723If some of the subdirectories have their own @file{.dir-locals.el}
1723files, Emacs uses the settings from the deepest file it finds starting 1724files, Emacs uses the settings from the deepest file it finds starting
1724from the file's directory and moving up the directory tree. The file 1725from the file's directory and moving up the directory tree. The file
@@ -1749,7 +1750,10 @@ file's buffer turns on a mode that is derived from @var{major-mode},
1749then the all the variables in the associated @var{alist} are applied; 1750then the all the variables in the associated @var{alist} are applied;
1750@var{alist} should be of the form @code{(@var{name} . @var{value})}. 1751@var{alist} should be of the form @code{(@var{name} . @var{value})}.
1751A special value @code{nil} for @var{major-mode} means the settings are 1752A special value @code{nil} for @var{major-mode} means the settings are
1752applicable to any mode. 1753applicable to any mode. In @var{alist}, you can use a special
1754@var{name}: @code{subdirs}. If the associated value is
1755@code{nil}, the alist is only applied to files in the relevant
1756directory, not to those in any subdirectories.
1753 1757
1754With the second form of @var{variables}, if @var{directory} is the 1758With the second form of @var{variables}, if @var{directory} is the
1755initial substring of the file's directory, then @var{list} is applied 1759initial substring of the file's directory, then @var{list} is applied
@@ -1757,12 +1761,19 @@ recursively by following the above rules; @var{list} should be of one
1757of the two forms accepted by this function in @var{variables}. 1761of the two forms accepted by this function in @var{variables}.
1758@end defun 1762@end defun
1759 1763
1760@defun dir-locals-set-directory-class directory class 1764@defun dir-locals-set-directory-class directory class &optional mtime
1761This function assigns @var{class} to all the files in @code{directory} 1765This function assigns @var{class} to all the files in @code{directory}
1762and its subdirectories. Thereafter, all the variable settings 1766and its subdirectories. Thereafter, all the variable settings
1763specified for @var{class} will be applied to any visited file in 1767specified for @var{class} will be applied to any visited file in
1764@var{directory} and its children. @var{class} must have been already 1768@var{directory} and its children. @var{class} must have been already
1765defined by @code{dir-locals-set-class-variables} 1769defined by @code{dir-locals-set-class-variables}.
1770
1771Emacs uses this function internally when it loads directory variables
1772from a @code{.dir-locals.el} file. In that case, the optional
1773argument @var{mtime} holds the file modification time (as returned by
1774@code{file-attributes}). Emacs uses this time to check stored
1775local variables are still valid. If you are assigning a class
1776directly, not via a file, this argument should be @code{nil}.
1766@end defun 1777@end defun
1767 1778
1768@defvar dir-locals-class-alist 1779@defvar dir-locals-class-alist
@@ -1772,8 +1783,9 @@ settings. It is updated by @code{dir-locals-set-class-variables}.
1772 1783
1773@defvar dir-locals-directory-cache 1784@defvar dir-locals-directory-cache
1774This alist holds directory names, their assigned class names, and 1785This alist holds directory names, their assigned class names, and
1775modification times of the associated directory local variables file. 1786modification times of the associated directory local variables file
1776It is updated by @code{dir-locals-set-directory-class}. 1787(if there is one). The function @code{dir-locals-set-directory-class}
1788updates this list.
1777@end defvar 1789@end defvar
1778 1790
1779@node Frame-Local Variables 1791@node Frame-Local Variables
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 6f4f86978da..2ce67bad6cb 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,12 @@
12011-02-28 Michael Albinus <michael.albinus@gmx.de>
2
3 * tramp.texi (Frequently Asked Questions): Add Emacs 24 to
4 supported systems.
5
62011-02-28 Glenn Morris <rgm@gnu.org>
7
8 * dbus.texi (Type Conversion): Grammar fix.
9
12011-02-23 Michael Albinus <michael.albinus@gmx.de> 102011-02-23 Michael Albinus <michael.albinus@gmx.de>
2 11
3 * tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and 12 * tramp.texi: Use consistently "Emacs" (instead of "GNU Emacs") and
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index ad202f963aa..e6fb00d3482 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -893,10 +893,10 @@ applied, when the corresponding D-Bus message is created:
893@end example 893@end example
894 894
895Other Lisp objects, like symbols or hash tables, are not accepted as 895Other Lisp objects, like symbols or hash tables, are not accepted as
896input parameter. 896input parameters.
897 897
898If it is necessary to use another D-Bus type, a corresponding type 898If it is necessary to use another D-Bus type, a corresponding type
899symbol can be preceeded to the corresponding Lisp object. Basic D-Bus 899symbol can be prepended to the corresponding Lisp object. Basic D-Bus
900types are represented by the type symbols @code{:byte}, 900types are represented by the type symbols @code{:byte},
901@code{:boolean}, @code{:int16}, @code{:uint16}, @code{:int32}, 901@code{:boolean}, @code{:int16}, @code{:uint16}, @code{:int32},
902@code{:uint32}, @code{:int64}, @code{:uint64}, @code{:double}, 902@code{:uint32}, @code{:int64}, @code{:uint64}, @code{:double},
diff --git a/doc/misc/semantic.texi b/doc/misc/semantic.texi
index 52434f4a6e4..f3f11d29f17 100644
--- a/doc/misc/semantic.texi
+++ b/doc/misc/semantic.texi
@@ -64,7 +64,7 @@ developing GNU and promoting software freedom.''
64@macro obsolete{old,new} 64@macro obsolete{old,new}
65@sp 1 65@sp 1
66@strong{Compatibility}: 66@strong{Compatibility}:
67@code{\new\} introduced in @semantic{} version 2.0 supercedes 67@code{\new\} introduced in @semantic{} version 2.0 supersedes
68@code{\old\} which is now obsolete. 68@code{\old\} which is now obsolete.
69@end macro 69@end macro
70 70
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 8bcce244f9d..bdbba437af7 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2740,8 +2740,8 @@ There is also a Savannah project page.
2740@item 2740@item
2741Which systems does it work on? 2741Which systems does it work on?
2742 2742
2743The package has been used successfully on Emacs 22, Emacs 23, XEmacs 2743The package has been used successfully on Emacs 22, Emacs 23, Emacs
274421 (starting with 21.4), and SXEmacs 22. 274424, XEmacs 21 (starting with 21.4), and SXEmacs 22.
2745 2745
2746The package was intended to work on Unix, and it really expects a 2746The package was intended to work on Unix, and it really expects a
2747Unix-like system on the remote end (except the @option{smb} method), 2747Unix-like system on the remote end (except the @option{smb} method),