diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/emacs/ChangeLog | 35 | ||||
-rw-r--r-- | doc/emacs/emacs.texi | 16 | ||||
-rw-r--r-- | doc/emacs/maintaining.texi | 13 | ||||
-rw-r--r-- | doc/emacs/search.texi | 40 | ||||
-rw-r--r-- | doc/emacs/vc1-xtra.texi | 49 | ||||
-rw-r--r-- | doc/lispref/ChangeLog | 19 | ||||
-rw-r--r-- | doc/lispref/compile.texi | 12 | ||||
-rw-r--r-- | doc/lispref/files.texi | 53 | ||||
-rw-r--r-- | doc/misc/ChangeLog | 15 | ||||
-rw-r--r-- | doc/misc/epa.texi | 5 | ||||
-rw-r--r-- | doc/misc/eshell.texi | 27 | ||||
-rw-r--r-- | doc/misc/gnus.texi | 15 |
12 files changed, 197 insertions, 102 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index be906fd96fb..f56f2f51e07 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,8 +1,22 @@ -2013-06-02 Michael Albinus <michael.albinus@gmx.de> +2013-06-11 Glenn Morris <rgm@gnu.org> - * cmdargs.texi (General Variables): Use "unix:path=/dev/null" as - dummy value for $DBUS_SESSION_BUS_ADDRESS. It also suppresses - autolaunching of the D-Bus session bus. + * maintaining.texi (VC Directory Commands): Copyedit. + (Branches): Put back milder version of pre 2013-06-07 text. + +2013-06-09 Xue Fuqiao <xfq.free@gmail.com> + + * vc1-xtra.texi (Revision Tags): Add a cross reference. + (CVS Options): Fix the default value of `vc-cvs-stay-local'. + +2013-06-07 Xue Fuqiao <xfq.free@gmail.com> + + * maintaining.texi (Branches): Remove text copied from other sources. + +2013-06-05 Alan Mackenzie <acm@muc.de> + + * search.texi (Isearch Scroll): Rename to "Not Exiting Isearch". + (Not Exiting Isearch): Document new user option + `isearch-allow-prefix'. (Bug#9706) 2013-06-03 Juri Linkov <juri@jurta.org> @@ -10,6 +24,19 @@ with the key prefix `M-s h'. Document old command `highlight-phrase'. Document new command `highlight-symbol-at-point'. +2013-06-02 Xue Fuqiao <xfq.free@gmail.com> + + * maintaining.texi (Branches): Add motivations for branching. + (VC Mode Line): Fix typo. + (VC Directory Commands): Mention `vc-dir-hide-up-to-date' with + prefix argument. + +2013-06-02 Michael Albinus <michael.albinus@gmx.de> + + * cmdargs.texi (General Variables): Use "unix:path=/dev/null" as + dummy value for $DBUS_SESSION_BUS_ADDRESS. It also suppresses + autolaunching of the D-Bus session bus. + 2013-06-01 Glenn Morris <rgm@gnu.org> * programs.texi (Semantic): Fix typo. diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index d2ec2154024..e2d0b0eebf6 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi @@ -396,14 +396,14 @@ Searching and Replacement Incremental Search -* Basic Isearch:: Basic incremental search commands. -* Repeat Isearch:: Searching for the same string again. -* Error in Isearch:: When your string is not found. -* Special Isearch:: Special input in incremental search. -* Isearch Yank:: Commands that grab text into the search string - or else edit the search string. -* Isearch Scroll:: Scrolling during an incremental search. -* Isearch Minibuffer:: Incremental search of the minibuffer history. +* Basic Isearch:: Basic incremental search commands. +* Repeat Isearch:: Searching for the same string again. +* Error in Isearch:: When your string is not found. +* Special Isearch:: Special input in incremental search. +* Isearch Yank:: Commands that grab text into the search string + or else edit the search string. +* Not Exiting Isearch:: Prefix argument and scrolling commands. +* Isearch Minibuffer:: Incremental search of the minibuffer history. Replacement Commands diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index 33e398ebf75..1b6374a4133 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -379,7 +379,7 @@ merge-based version control system, a @samp{-} character indicates that the work file is unmodified, and @samp{:} indicates that it has been modified. @samp{!} indicates that the file contains conflicts as result of a recent merge operation (@pxref{Merging}), or that the file -was removed from the version control. Finally, @samp{?} means that +was removed from the version control. Finally, @samp{?} means that the file is under version control, but is missing from the working tree. @@ -1203,7 +1203,8 @@ files and directories. @item x Hide files with @samp{up-to-date} status -(@code{vc-dir-hide-up-to-date}). +(@code{vc-dir-hide-up-to-date}). With a prefix argument, hide items +whose state is that of the item at point. @end table @findex vc-dir-mark @@ -1266,10 +1267,10 @@ bring them back at a later time). @cindex branch (version control) One use of version control is to support multiple independent lines -of development, which are called @dfn{branches}. Branches are used -for maintaining separate ``stable'' and ``development'' versions of a -program, and for developing unrelated features in isolation from one -another. +of development, which are called @dfn{branches}. Amongst other +things, branches can be used for maintaining separate ``stable'' and +``development'' versions of a program, and for developing unrelated +features in isolation from one another. VC's support for branch operations is currently fairly limited. For decentralized version control systems, it provides commands for diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index e146177255e..ead7c3cbf16 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi @@ -52,14 +52,14 @@ Incremental search backward (@code{isearch-backward}). @end table @menu -* Basic Isearch:: Basic incremental search commands. -* Repeat Isearch:: Searching for the same string again. -* Error in Isearch:: When your string is not found. -* Special Isearch:: Special input in incremental search. -* Isearch Yank:: Commands that grab text into the search string - or else edit the search string. -* Isearch Scroll:: Scrolling during an incremental search. -* Isearch Minibuffer:: Incremental search of the minibuffer history. +* Basic Isearch:: Basic incremental search commands. +* Repeat Isearch:: Searching for the same string again. +* Error in Isearch:: When your string is not found. +* Special Isearch:: Special input in incremental search. +* Isearch Yank:: Commands that grab text into the search string + or else edit the search string. +* Not Exiting Isearch:: Prefix argument and scrolling commands. +* Isearch Minibuffer:: Incremental search of the minibuffer history. @end menu @node Basic Isearch @@ -332,9 +332,28 @@ alternative method to add the character after point is to enter the minibuffer with @kbd{M-e} (@pxref{Repeat Isearch}) and type @kbd{C-f} at the end of the search string in the minibuffer. -@node Isearch Scroll -@subsection Scrolling During Incremental Search +@node Not Exiting Isearch +@subsection Not Exiting Incremental Search +This subsection describes two categories of commands which you can +type without exiting the current incremental search, even though they +are not themselves part of incremental search. + +@table @asis +@item Prefix Arguments +@vindex isearch-allow-prefix + In incremental search, when you enter a prefix argument +(@pxref{Arguments}), by default it will apply either to the next +action in the search or to the command that exits the search. + + In previous versions of Emacs, entering a prefix argument always +terminated the search. You can revert to this behavior by setting the +variable @code{isearch-allow-prefix} to @code{nil}. + + When @code{isearch-allow-scroll} is non-@code{nil} (see below), +prefix arguments always have the default behavior described above. + +@item Scrolling Commands @vindex isearch-allow-scroll Normally, scrolling commands exit incremental search. If you change the variable @code{isearch-allow-scroll} to a non-@code{nil} value, @@ -366,6 +385,7 @@ This feature can be applied to any command that doesn't permanently change point, the buffer contents, the match data, the current buffer, or the selected window and frame. The command must not itself attempt an incremental search. +@end table @node Isearch Minibuffer @subsection Searching the Minibuffer diff --git a/doc/emacs/vc1-xtra.texi b/doc/emacs/vc1-xtra.texi index 4e701a580a8..96e171855a5 100644 --- a/doc/emacs/vc1-xtra.texi +++ b/doc/emacs/vc1-xtra.texi @@ -199,21 +199,28 @@ through VC@. Most later systems (including CVS, Subversion, bzr, git, and hg) have a native tag facility, and VC uses it where available; those tags will be visible even when you bypass VC. - In a file-oriented VCS, when you rename a registered file you need -to rename its master along with it; the command @code{vc-rename-file} -will do this automatically. If you are using SCCS, you must also -update the records of the tag, to mention the file by its new name -(@code{vc-rename-file} does this, too). An old tag that refers to a -master file that no longer exists under the recorded name is invalid; -VC can no longer retrieve it. It would be beyond the scope of this -manual to explain enough about RCS and SCCS to explain how to update -the tags by hand. Using @code{vc-rename-file} makes the tag remain -valid for retrieval, but it does not solve all problems. For example, -some of the files in your program probably refer to others by name. -At the very least, the makefile probably mentions the file that you -renamed. If you retrieve an old tag, the renamed file is retrieved -under its new name, which is not the name that the makefile expects. -So the program won't really work as retrieved. + In file-based version control systems, when you rename a registered +file you need to rename its master along with it; the command +@code{vc-rename-file} will do this automatically +@iftex +(@pxref{VC Delete/Rename,,,emacs, the Emacs Manual}). +@end iftex +@ifnottex +(@pxref{VC Delete/Rename}). +@end ifnottex +If you are using SCCS, you must also update the records of the tag, to +mention the file by its new name (@code{vc-rename-file} does this, +too). An old tag that refers to a master file that no longer exists +under the recorded name is invalid; VC can no longer retrieve it. It +would be beyond the scope of this manual to explain enough about RCS +and SCCS to explain how to update the tags by hand. Using +@code{vc-rename-file} makes the tag remain valid for retrieval, but it +does not solve all problems. For example, some of the files in your +program probably refer to others by name. At the very least, the +makefile probably mentions the file that you renamed. If you retrieve +an old tag, the renamed file is retrieved under its new name, which is +not the name that the makefile expects. So the program won't really +work as retrieved. @node Version Headers @subsubsection Inserting Version Control Headers @@ -377,12 +384,12 @@ ends that support it, including CVS@. In the following, we will talk only about @code{vc-cvs-stay-local}, but everything applies to @code{vc-stay-local} as well. - If @code{vc-cvs-stay-local} is @code{t} (the default), VC determines -the version control status of each file using only the entry in the -local CVS subdirectory and the information returned by previous CVS -commands. As a consequence, if you have modified a file and somebody -else has checked in other changes, you will not be notified of the -conflict until you try to commit. + If @code{vc-cvs-stay-local} is @code{only-file} (the default), VC +determines the version control status of each file using only the +entry in the local CVS subdirectory and the information returned by +previous CVS commands. As a consequence, if you have modified a file +and somebody else has checked in other changes, you will not be +notified of the conflict until you try to commit. If you change @code{vc-cvs-stay-local} to @code{nil}, VC queries the remote repository @emph{before} it decides what to do in diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 8f675bfcda6..259bf9a78a6 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,22 @@ +2013-06-11 Xue Fuqiao <xfq.free@gmail.com> + + * files.texi (File Name Expansion): Make the example more + intuitive. + +2013-06-10 Paul Eggert <eggert@cs.ucla.edu> + + Documentation fix for 'ls' and hard links. + * compile.texi (Compilation Functions): + * files.texi (File Attributes, Changing Files): + Use current format for GNU 'ls' output. + (File Attributes): Fix problem introduced in previous change: + the link count is the number of hard links, not the number + of hard links + 1. + +2013-06-10 Xue Fuqiao <xfq.free@gmail.com> + + * files.texi (File Attributes): Fix typo. + 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> * functions.texi (Lambda Expressions): Lambda expressions don't diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index 522a88da61e..95f7341c19c 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi @@ -181,8 +181,8 @@ after compiling it. Interactively, @var{load} is the prefix argument. @example @group -% ls -l push* --rw-r--r-- 1 lewis 791 Oct 5 20:31 push.el +$ ls -l push* +-rw-r--r-- 1 lewis lewis 791 Oct 5 20:31 push.el @end group @group @@ -191,9 +191,9 @@ after compiling it. Interactively, @var{load} is the prefix argument. @end group @group -% ls -l push* --rw-r--r-- 1 lewis 791 Oct 5 20:31 push.el --rw-rw-rw- 1 lewis 638 Oct 8 20:25 push.elc +$ ls -l push* +-rw-r--r-- 1 lewis lewis 791 Oct 5 20:31 push.el +-rw-rw-rw- 1 lewis lewis 638 Oct 8 20:25 push.elc @end group @end example @end deffn @@ -232,7 +232,7 @@ If @var{noforce} is non-@code{nil}, this function does not recompile files that have an up-to-date @samp{.elc} file. @example -% emacs -batch -f batch-byte-compile *.el +$ emacs -batch -f batch-byte-compile *.el @end example @end defun diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 971e38f20b7..704ecfb6446 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -1139,8 +1139,8 @@ both others and group, and that the sticky bit is set. @end group @group -% ls -l diffs - -rw-rw-rw- 1 lewis 0 3063 Oct 30 16:00 diffs +$ ls -l diffs +-rw-rw-rw- 1 lewis lewis 3063 Oct 30 16:00 diffs @end group @end example @@ -1166,17 +1166,17 @@ target. However, they both recursively follow symbolic links at all levels of parent directories. @defun file-nlinks filename -This functions returns the number of names (i.e., hard links) that -file @var{filename} has. If the file does not exist, then this function +This function returns the number of names (i.e., hard links) that +file @var{filename} has. If the file does not exist, this function returns @code{nil}. Note that symbolic links have no effect on this -function, because they are not considered to be names of the files they -link to. +function, because they are not considered to be names of the files +they link to. @example @group -% ls -l foo* --rw-rw-rw- 2 rms 4 Aug 19 01:27 foo --rw-rw-rw- 2 rms 4 Aug 19 01:27 foo1 +$ ls -l foo* +-rw-rw-rw- 2 rms rms 4 Aug 19 01:27 foo +-rw-rw-rw- 2 rms rms 4 Aug 19 01:27 foo1 @end group @group @@ -1477,9 +1477,9 @@ In the first part of the following example, we list two files, @example @group -% ls -li fo* -81908 -rw-rw-rw- 1 rms 29 Aug 18 20:32 foo -84302 -rw-rw-rw- 1 rms 24 Aug 18 20:31 foo3 +$ ls -li fo* +81908 -rw-rw-rw- 1 rms rms 29 Aug 18 20:32 foo +84302 -rw-rw-rw- 1 rms rms 24 Aug 18 20:31 foo3 @end group @end example @@ -1494,10 +1494,10 @@ the files again. This shows two names for one file, @file{foo} and @end group @group -% ls -li fo* -81908 -rw-rw-rw- 2 rms 29 Aug 18 20:32 foo -81908 -rw-rw-rw- 2 rms 29 Aug 18 20:32 foo2 -84302 -rw-rw-rw- 1 rms 24 Aug 18 20:31 foo3 +$ ls -li fo* +81908 -rw-rw-rw- 2 rms rms 29 Aug 18 20:32 foo +81908 -rw-rw-rw- 2 rms rms 29 Aug 18 20:32 foo2 +84302 -rw-rw-rw- 1 rms rms 24 Aug 18 20:31 foo3 @end group @end example @@ -1519,10 +1519,10 @@ contents of @file{foo3} are lost. @end group @group -% ls -li fo* -81908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo -81908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo2 -81908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo3 +$ ls -li fo* +81908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo +81908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo2 +81908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo3 @end group @end example @@ -2105,10 +2105,6 @@ start with @samp{~}.) Otherwise, the current buffer's value of (expand-file-name "foo" "/usr/spool/") @result{} "/usr/spool/foo" @end group -@group -(expand-file-name "$HOME/foo") - @result{} "/xcssun/users/rms/lewis/$HOME/foo" -@end group @end example If the part of the combined file name before the first slash is @@ -2142,7 +2138,14 @@ This is for the sake of filesystems that have the concept of a @file{/../} is interpreted exactly the same as @file{/}. Note that @code{expand-file-name} does @emph{not} expand environment -variables; only @code{substitute-in-file-name} does that. +variables; only @code{substitute-in-file-name} does that: + +@example +@group +(expand-file-name "$HOME/foo") + @result{} "/xcssun/users/rms/lewis/$HOME/foo" +@end group +@end example Note also that @code{expand-file-name} does not follow symbolic links at any level. This results in a difference between the way diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 8ee12718980..4cae3d0a478 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,18 @@ +2013-06-10 Aidan Gauland <aidalgol@amuri.net> + + * eshell.texi (Input/Output): Expand to cover new visual-command + options, eshell-visual-subcommands and eshell-visual-options. + Divide into separate Visual Commands and Redirection sections. + +2013-06-10 Glenn Morris <rgm@gnu.org> + + * epa.texi (Cryptographic operations on files): Update epa-decrypt-file. + +2013-06-04 Katsumi Yamaoka <yamaoka@jpl.org> + + * gnus.texi (Article Date): + Fix description of gnus-article-update-date-headers. + 2013-05-28 Xue Fuqiao <xfq.free@gmail.com> * erc.texi (Special Features): ERC is being maintained within diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi index e21851ef37a..adc63cc0bdb 100644 --- a/doc/misc/epa.texi +++ b/doc/misc/epa.texi @@ -240,8 +240,9 @@ you answered yes, it will let you select the signing keys. @node Cryptographic operations on files @section Cryptographic operations on files -@deffn Command epa-decrypt-file file -Decrypt @var{file}. +@deffn Command epa-decrypt-file file &optional output +Decrypt @var{file}. If you do not specify the name @var{output} to +use for the decrypted file, this function prompts for the value to use. @end deffn @deffn Command epa-verify-file file diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index dca95da2d10..0da422fe14f 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi @@ -701,14 +701,25 @@ groups ``eshell-glob'' and ``eshell-pred''. @node Input/Output @chapter Input/Output Since Eshell does not communicate with a terminal like most command -shells, IO is a little different. If you try to run programs from -within Eshell that are not line-oriented, such as programs that use -ncurses, you will just get garbage output, since the Eshell buffer is -not a terminal emulator. Eshell solves this problem by running -specified commands in Emacs's terminal emulator; to let Eshell know -which commands need to be run in a terminal, add them to the list -@var{eshell-visual-commands}. - +shells, IO is a little different. + +@section Visual Commands +If you try to run programs from within Eshell that are not +line-oriented, such as programs that use ncurses, you will just get +garbage output, since the Eshell buffer is not a terminal emulator. +Eshell solves this problem by running such programs in Emacs's +terminal emulator. + +Programs that need a terminal to display output properly are referred +to in this manual as ``visual commands,'' because they are not simply +line-oriented. You must tell Eshell which commands are visual, by +adding them to @var{eshell-visual-commands}; for commands that are +visual for only certain @emph{sub}-commands -- e.g. @samp{git log} but +not @samp{git status} -- use @var{eshell-visual-subcommands}; and for +commands that are visual only when passed certain options, use +@var{eshell-visual-options}. + +@section Redirection Redirection is mostly the same in Eshell as it is in other command shells. The output redirection operators @code{>} and @code{>>} as well as pipes are supported, but there is not yet any support for diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index a7a9647fd81..b4d786c4d45 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi @@ -9517,18 +9517,9 @@ Say how much time has elapsed between the article was posted and now Date: 6 weeks, 4 days, 1 hour, 3 minutes, 8 seconds ago @end example -This line is updated continually by default. The frequency (in -seconds) is controlled by the @code{gnus-article-update-date-headers} -variable. - -If you wish to switch updating off, say: - -@vindex gnus-article-update-date-headers -@lisp -(setq gnus-article-update-date-headers nil) -@end lisp - -in your @file{~/.gnus.el} file. +To make this line updated continually, set the +@code{gnus-article-update-date-headers} variable to the frequency in +seconds (the default is @code{nil}). @item W T o @kindex W T o (Summary) |