diff options
| author | Paul Eggert | 2011-03-01 17:52:03 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-01 17:52:03 -0800 |
| commit | ba46f4d85a6938273f52a8cdf7e09d9afee61d7f (patch) | |
| tree | 606ec46b703532d463ccddf287f0053430eb1f4a /doc | |
| parent | d9d0d182da35312ed0d7a9859b9c6a03994d86d8 (diff) | |
| parent | 0dc3e4109e0c41bbf5fdcae0ff1156162719693e (diff) | |
| download | emacs-ba46f4d85a6938273f52a8cdf7e09d9afee61d7f.tar.gz emacs-ba46f4d85a6938273f52a8cdf7e09d9afee61d7f.zip | |
Merge from mainline.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 17 | ||||
| -rw-r--r-- | doc/emacs/custom.texi | 9 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 19 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 15 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 23 | ||||
| -rw-r--r-- | doc/lispref/variables.texi | 24 | ||||
| -rw-r--r-- | doc/misc/ChangeLog | 9 | ||||
| -rw-r--r-- | doc/misc/dbus.texi | 4 | ||||
| -rw-r--r-- | doc/misc/semantic.texi | 2 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 4 |
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 @@ | |||
| 1 | 2011-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 | |||
| 8 | 2011-03-01 Glenn Morris <rgm@gnu.org> | ||
| 9 | |||
| 10 | * custom.texi (Directory Variables): | ||
| 11 | Give an example of excluding subdirectories. | ||
| 12 | |||
| 13 | 2011-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 | |||
| 1 | 2011-02-19 Glenn Morris <rgm@gnu.org> | 18 | 2011-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. | |||
| 1340 | This example shows some settings for a hypothetical project. It sets | 1341 | This 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 |
| 1342 | any file in the project's directory tree, and it sets the indentation | 1343 | any file in the project's directory tree, and it sets the indentation |
| 1343 | style for any C or Java source file. Finally, it specifies a different | 1344 | style 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} | 1345 | indicates that the Java mode settings are only to be applied in the |
| 1346 | current directory, not in any subdirectories. Finally, it specifies a | ||
| 1347 | different @file{ChangeLog} file name for any file in the @file{src/imported} | ||
| 1345 | subdirectory of the directory where you put the @file{.dir-locals.el} | 1348 | subdirectory of the directory where you put the @file{.dir-locals.el} |
| 1346 | file. | 1349 | file. |
| 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. | |||
| 1486 | non-@code{nil}, @kbd{C-x 4 a} adds to any existing item for the file | 1486 | non-@code{nil}, @kbd{C-x 4 a} adds to any existing item for the file |
| 1487 | rather than starting a new item. | 1487 | rather than starting a new item. |
| 1488 | 1488 | ||
| 1489 | You can combine multiple changes of the same nature. If you don't | ||
| 1490 | enter 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 |
| 1539 | date, your name, and your email address (taken from the variable | 1543 | current 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 |
| 1541 | line in the change log starts with a space or a tab. The bulk of the | 1545 | variable @code{add-log-mailing-address}). Aside from these header |
| 1542 | entry consists of @dfn{items}, each of which starts with a line starting | 1546 | lines, every line in the change log starts with a space or a tab. The |
| 1543 | with whitespace and a star. Here are two entries, both dated in May | 1547 | bulk of the entry consists of @dfn{items}, each of which starts with a |
| 1544 | 1993, with two items and one item respectively. | 1548 | line starting with whitespace and a star. Here are two entries, both |
| 1549 | dated 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 |
| 475 | that denotes a class of alternative strings to match. GNU Emacs | 475 | that 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 |
| 548 | typically use. @xref{Regular Expressions,,, elisp, The Emacs Lisp | 550 | typically 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 @@ | |||
| 1 | 2011-03-01 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * variables.texi (Directory Local Variables): | ||
| 4 | Mention `(subdirs . nil)' alist element. | ||
| 5 | |||
| 6 | 2011-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 | |||
| 11 | 2011-02-27 Chong Yidong <cyd@stupidchicken.com> | ||
| 12 | |||
| 13 | * minibuf.texi (Minibuffer History): Clarify discussion of | ||
| 14 | minibuffer history lists (Bug#8085). | ||
| 15 | |||
| 1 | 2011-02-19 Eli Zaretskii <eliz@gnu.org> | 16 | 2011-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 |
| 437 | the user can reuse them conveniently. A history list is actually a | 437 | so the user can reuse them conveniently. It is a variable whose value |
| 438 | symbol, not a list; it is a variable whose value is a list of strings | 438 | is 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 | 441 | kinds of inputs. It's the Lisp programmer's job to specify the right |
| 442 | inputs. It's the Lisp programmer's job to specify the right history | 442 | history list for each use of the minibuffer. |
| 443 | list 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 | 445 | argument to @code{read-from-minibuffer} or @code{completing-read}. |
| 446 | to either @code{read-from-minibuffer} or @code{completing-read}. Here | 446 | Here are the possible values for it: |
| 447 | are 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 | |||
| 1718 | The MS-DOS version of Emacs uses @file{_dir-locals.el} instead, due to | 1718 | The MS-DOS version of Emacs uses @file{_dir-locals.el} instead, due to |
| 1719 | limitations of the DOS filesystems. | 1719 | limitations 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 |
| 1721 | settings to any file in that directory or any of its subdirectories. | 1721 | settings to any file in that directory or any of its subdirectories |
| 1722 | (optionally, you can exclude subdirectories; see below). | ||
| 1722 | If some of the subdirectories have their own @file{.dir-locals.el} | 1723 | If some of the subdirectories have their own @file{.dir-locals.el} |
| 1723 | files, Emacs uses the settings from the deepest file it finds starting | 1724 | files, Emacs uses the settings from the deepest file it finds starting |
| 1724 | from the file's directory and moving up the directory tree. The file | 1725 | from 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}, | |||
| 1749 | then the all the variables in the associated @var{alist} are applied; | 1750 | then 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})}. |
| 1751 | A special value @code{nil} for @var{major-mode} means the settings are | 1752 | A special value @code{nil} for @var{major-mode} means the settings are |
| 1752 | applicable to any mode. | 1753 | applicable 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 | ||
| 1756 | directory, not to those in any subdirectories. | ||
| 1753 | 1757 | ||
| 1754 | With the second form of @var{variables}, if @var{directory} is the | 1758 | With the second form of @var{variables}, if @var{directory} is the |
| 1755 | initial substring of the file's directory, then @var{list} is applied | 1759 | initial 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 | |||
| 1757 | of the two forms accepted by this function in @var{variables}. | 1761 | of 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 |
| 1761 | This function assigns @var{class} to all the files in @code{directory} | 1765 | This function assigns @var{class} to all the files in @code{directory} |
| 1762 | and its subdirectories. Thereafter, all the variable settings | 1766 | and its subdirectories. Thereafter, all the variable settings |
| 1763 | specified for @var{class} will be applied to any visited file in | 1767 | specified 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 |
| 1765 | defined by @code{dir-locals-set-class-variables} | 1769 | defined by @code{dir-locals-set-class-variables}. |
| 1770 | |||
| 1771 | Emacs uses this function internally when it loads directory variables | ||
| 1772 | from a @code{.dir-locals.el} file. In that case, the optional | ||
| 1773 | argument @var{mtime} holds the file modification time (as returned by | ||
| 1774 | @code{file-attributes}). Emacs uses this time to check stored | ||
| 1775 | local variables are still valid. If you are assigning a class | ||
| 1776 | directly, 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 |
| 1774 | This alist holds directory names, their assigned class names, and | 1785 | This alist holds directory names, their assigned class names, and |
| 1775 | modification times of the associated directory local variables file. | 1786 | modification times of the associated directory local variables file |
| 1776 | It is updated by @code{dir-locals-set-directory-class}. | 1787 | (if there is one). The function @code{dir-locals-set-directory-class} |
| 1788 | updates 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 @@ | |||
| 1 | 2011-02-28 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * tramp.texi (Frequently Asked Questions): Add Emacs 24 to | ||
| 4 | supported systems. | ||
| 5 | |||
| 6 | 2011-02-28 Glenn Morris <rgm@gnu.org> | ||
| 7 | |||
| 8 | * dbus.texi (Type Conversion): Grammar fix. | ||
| 9 | |||
| 1 | 2011-02-23 Michael Albinus <michael.albinus@gmx.de> | 10 | 2011-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 | ||
| 895 | Other Lisp objects, like symbols or hash tables, are not accepted as | 895 | Other Lisp objects, like symbols or hash tables, are not accepted as |
| 896 | input parameter. | 896 | input parameters. |
| 897 | 897 | ||
| 898 | If it is necessary to use another D-Bus type, a corresponding type | 898 | If it is necessary to use another D-Bus type, a corresponding type |
| 899 | symbol can be preceeded to the corresponding Lisp object. Basic D-Bus | 899 | symbol can be prepended to the corresponding Lisp object. Basic D-Bus |
| 900 | types are represented by the type symbols @code{:byte}, | 900 | types 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 |
| 2741 | Which systems does it work on? | 2741 | Which systems does it work on? |
| 2742 | 2742 | ||
| 2743 | The package has been used successfully on Emacs 22, Emacs 23, XEmacs | 2743 | The package has been used successfully on Emacs 22, Emacs 23, Emacs |
| 2744 | 21 (starting with 21.4), and SXEmacs 22. | 2744 | 24, XEmacs 21 (starting with 21.4), and SXEmacs 22. |
| 2745 | 2745 | ||
| 2746 | The package was intended to work on Unix, and it really expects a | 2746 | The package was intended to work on Unix, and it really expects a |
| 2747 | Unix-like system on the remote end (except the @option{smb} method), | 2747 | Unix-like system on the remote end (except the @option{smb} method), |