diff options
| author | Glenn Morris | 2013-02-12 20:31:09 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-12 20:31:09 -0800 |
| commit | 01fcc3a532872b29784a4d888ab9cc1aef0eed01 (patch) | |
| tree | e1fba1dfe3ec5b61ddc3e5e3824e4536b2c39429 | |
| parent | d0009c7351874e853c63ce67cea6103f33afa60b (diff) | |
| parent | 1a359750bbac95fd6bf8fe1233e747a1d26f0082 (diff) | |
| download | emacs-01fcc3a532872b29784a4d888ab9cc1aef0eed01.tar.gz emacs-01fcc3a532872b29784a4d888ab9cc1aef0eed01.zip | |
Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org
63 files changed, 242 insertions, 180 deletions
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi index a0ab8223ae0..99e0c690a09 100644 --- a/doc/emacs/ack.texi +++ b/doc/emacs/ack.texi | |||
| @@ -726,7 +726,7 @@ the display of the Emacs tool bar. With Riccardo Murri he wrote | |||
| 726 | Eric Ludlam wrote the Speedbar package; @file{checkdoc.el}, for checking | 726 | Eric Ludlam wrote the Speedbar package; @file{checkdoc.el}, for checking |
| 727 | doc strings in Emacs Lisp programs; @file{dframe.el}, providing | 727 | doc strings in Emacs Lisp programs; @file{dframe.el}, providing |
| 728 | dedicated frame support modes; @file{ezimage.el}, a generalized way to | 728 | dedicated frame support modes; @file{ezimage.el}, a generalized way to |
| 729 | place images over text; @file{chart.el} for drawing bar charts etc; and | 729 | place images over text; @file{chart.el} for drawing bar charts etc.; and |
| 730 | the EIEIO (Enhanced Implementation of Emacs Interpreted Objects) | 730 | the EIEIO (Enhanced Implementation of Emacs Interpreted Objects) |
| 731 | package. He was also the main author of the CEDET (Collection of Emacs | 731 | package. He was also the main author of the CEDET (Collection of Emacs |
| 732 | Development Environment Tools) package. Portions were also written by | 732 | Development Environment Tools) package. Portions were also written by |
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi index 6ed3b2e6d37..05b2a5be3a4 100644 --- a/doc/emacs/mark.texi +++ b/doc/emacs/mark.texi | |||
| @@ -131,7 +131,7 @@ detailed description of these mouse commands. | |||
| 131 | @cindex shift-selection | 131 | @cindex shift-selection |
| 132 | Finally, you can set the mark by holding down the shift key while | 132 | Finally, you can set the mark by holding down the shift key while |
| 133 | typing certain cursor motion commands (such as @kbd{S-@key{right}}, | 133 | typing certain cursor motion commands (such as @kbd{S-@key{right}}, |
| 134 | @kbd{S-C-f}, @kbd{S-C-n}, etc.) This is called @dfn{shift-selection}. | 134 | @kbd{S-C-f}, @kbd{S-C-n}, etc.). This is called @dfn{shift-selection}. |
| 135 | It sets the mark at point before moving point, but only if there is no | 135 | It sets the mark at point before moving point, but only if there is no |
| 136 | active mark set via shift-selection. The mark set by mouse commands | 136 | active mark set via shift-selection. The mark set by mouse commands |
| 137 | and by shift-selection behaves slightly differently from the usual | 137 | and by shift-selection behaves slightly differently from the usual |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a61d84a77b1..be1bdfcfa3d 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2013-02-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * objects.texi (Char-Table Type): Add footnote about #^^. | ||
| 4 | |||
| 5 | * modes.texi (Minor Mode Conventions): Fix typo. | ||
| 6 | |||
| 7 | * keymaps.texi (Scanning Keymaps): Remove obsolete sentence about | ||
| 8 | meta characters; this changed in 22.1. (Bug#13684) | ||
| 9 | |||
| 10 | * objects.texi (Char-Table Type): Add cindex. | ||
| 11 | |||
| 12 | * keymaps.texi (Key Binding Commands): Trivial rephrasing. | ||
| 13 | |||
| 1 | 2013-02-10 Glenn Morris <rgm@gnu.org> | 14 | 2013-02-10 Glenn Morris <rgm@gnu.org> |
| 2 | 15 | ||
| 3 | * keymaps.texi (Creating Keymaps): Update make-keymap result. | 16 | * keymaps.texi (Creating Keymaps): Update make-keymap result. |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index 54211d1aa0b..822e952ef98 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -1784,7 +1784,7 @@ that uses @var{key} as a prefix---which would not be allowed if | |||
| 1784 | @end group | 1784 | @end group |
| 1785 | @end smallexample | 1785 | @end smallexample |
| 1786 | 1786 | ||
| 1787 | This function is implemented simply using @code{define-key}: | 1787 | This function is equivalent to using @code{define-key} as follows: |
| 1788 | 1788 | ||
| 1789 | @smallexample | 1789 | @smallexample |
| 1790 | @group | 1790 | @group |
| @@ -1975,9 +1975,6 @@ modes---minor modes first, then the major mode, then global bindings. | |||
| 1975 | If @var{prefix} is non-@code{nil}, it should be a prefix key; then the | 1975 | If @var{prefix} is non-@code{nil}, it should be a prefix key; then the |
| 1976 | listing includes only keys that start with @var{prefix}. | 1976 | listing includes only keys that start with @var{prefix}. |
| 1977 | 1977 | ||
| 1978 | The listing describes meta characters as @key{ESC} followed by the | ||
| 1979 | corresponding non-meta character. | ||
| 1980 | |||
| 1981 | When several characters with consecutive @acronym{ASCII} codes have the | 1978 | When several characters with consecutive @acronym{ASCII} codes have the |
| 1982 | same definition, they are shown together, as | 1979 | same definition, they are shown together, as |
| 1983 | @samp{@var{firstchar}..@var{lastchar}}. In this instance, you need to | 1980 | @samp{@var{firstchar}..@var{lastchar}}. In this instance, you need to |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 71ce2bb9271..5f1eb8619ee 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1361,7 +1361,7 @@ follow them is to use the macro @code{define-minor-mode}. | |||
| 1361 | @cindex mode variable | 1361 | @cindex mode variable |
| 1362 | Define a variable whose name ends in @samp{-mode}. We call this the | 1362 | Define a variable whose name ends in @samp{-mode}. We call this the |
| 1363 | @dfn{mode variable}. The minor mode command should set this variable. | 1363 | @dfn{mode variable}. The minor mode command should set this variable. |
| 1364 | The value will be @code{nil} is the mode is disabled, and non-@code{nil} | 1364 | The value will be @code{nil} if the mode is disabled, and non-@code{nil} |
| 1365 | if the mode is enabled. The variable should be buffer-local if the | 1365 | if the mode is enabled. The variable should be buffer-local if the |
| 1366 | minor mode is buffer-local. | 1366 | minor mode is buffer-local. |
| 1367 | 1367 | ||
diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 4b24d920f9f..0437d2337a3 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi | |||
| @@ -1177,8 +1177,10 @@ inherit from, a default value, and a small number of extra slots to use for | |||
| 1177 | special purposes. A char-table can also specify a single value for | 1177 | special purposes. A char-table can also specify a single value for |
| 1178 | a whole character set. | 1178 | a whole character set. |
| 1179 | 1179 | ||
| 1180 | @cindex @samp{#^} read syntax | ||
| 1180 | The printed representation of a char-table is like a vector | 1181 | The printed representation of a char-table is like a vector |
| 1181 | except that there is an extra @samp{#^} at the beginning. | 1182 | except that there is an extra @samp{#^} at the beginning.@footnote{You |
| 1183 | may also encounter @samp{#^^}, used for ``sub-char-tables''.} | ||
| 1182 | 1184 | ||
| 1183 | @xref{Char-Tables}, for special functions to operate on char-tables. | 1185 | @xref{Char-Tables}, for special functions to operate on char-tables. |
| 1184 | Uses of char-tables include: | 1186 | Uses of char-tables include: |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 50710e23234..1181244a974 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -88,7 +88,7 @@ initializes @code{exec-path} when it starts up, based on the value of | |||
| 88 | the environment variable @env{PATH}. The standard file name | 88 | the environment variable @env{PATH}. The standard file name |
| 89 | constructs, @samp{~}, @samp{.}, and @samp{..}, are interpreted as | 89 | constructs, @samp{~}, @samp{.}, and @samp{..}, are interpreted as |
| 90 | usual in @code{exec-path}, but environment variable substitutions | 90 | usual in @code{exec-path}, but environment variable substitutions |
| 91 | (@samp{$HOME}, etc.) are not recognized; use | 91 | (@samp{$HOME}, etc.)@: are not recognized; use |
| 92 | @code{substitute-in-file-name} to perform them (@pxref{File Name | 92 | @code{substitute-in-file-name} to perform them (@pxref{File Name |
| 93 | Expansion}). @code{nil} in this list refers to | 93 | Expansion}). @code{nil} in this list refers to |
| 94 | @code{default-directory}. | 94 | @code{default-directory}. |
| @@ -557,7 +557,7 @@ from the process only while waiting for input or for a time delay. | |||
| 557 | when creating the process, based on the value of the variable | 557 | when creating the process, based on the value of the variable |
| 558 | @code{process-connection-type} (see below). Ptys are usually | 558 | @code{process-connection-type} (see below). Ptys are usually |
| 559 | preferable for processes visible to the user, as in Shell mode, | 559 | preferable for processes visible to the user, as in Shell mode, |
| 560 | because they allow for job control (@kbd{C-c}, @kbd{C-z}, etc.) | 560 | because they allow for job control (@kbd{C-c}, @kbd{C-z}, etc.)@: |
| 561 | between the process and its children, whereas pipes do not. For | 561 | between the process and its children, whereas pipes do not. For |
| 562 | subprocesses used for internal purposes by programs, it is often | 562 | subprocesses used for internal purposes by programs, it is often |
| 563 | better to use a pipe, because they are more efficient, and because | 563 | better to use a pipe, because they are more efficient, and because |
| @@ -571,7 +571,7 @@ program @var{program} running in it. It returns a process object that | |||
| 571 | stands for the new subprocess in Lisp. The argument @var{name} | 571 | stands for the new subprocess in Lisp. The argument @var{name} |
| 572 | specifies the name for the process object; if a process with this name | 572 | specifies the name for the process object; if a process with this name |
| 573 | already exists, then @var{name} is modified (by appending @samp{<1>}, | 573 | already exists, then @var{name} is modified (by appending @samp{<1>}, |
| 574 | etc.) to be unique. The buffer @var{buffer-or-name} is the buffer to | 574 | etc.)@: to be unique. The buffer @var{buffer-or-name} is the buffer to |
| 575 | associate with the process. | 575 | associate with the process. |
| 576 | 576 | ||
| 577 | If @var{program} is @code{nil}, Emacs opens a new pseudoterminal (pty) | 577 | If @var{program} is @code{nil}, Emacs opens a new pseudoterminal (pty) |
diff --git a/doc/man/etags.1 b/doc/man/etags.1 index 94fe2af1a8a..5ccf528868b 100644 --- a/doc/man/etags.1 +++ b/doc/man/etags.1 | |||
| @@ -147,7 +147,7 @@ of \- means standard output; overrides default \fBTAGS\fP or \fBtags\fP. | |||
| 147 | Make tags based on regexp matching for the files following this option, | 147 | Make tags based on regexp matching for the files following this option, |
| 148 | in addition to the tags made with the standard parsing based on | 148 | in addition to the tags made with the standard parsing based on |
| 149 | language. May be freely intermixed with filenames and the \fB\-R\fP | 149 | language. May be freely intermixed with filenames and the \fB\-R\fP |
| 150 | option. The regexps are cumulative, i.e. each such option will add to | 150 | option. The regexps are cumulative, i.e., each such option will add to |
| 151 | the previous ones. The regexps are of one of the forms: | 151 | the previous ones. The regexps are of one of the forms: |
| 152 | .br | 152 | .br |
| 153 | [\fB{\fP\fIlanguage\fP\fB}\fP]\fB/\fP\fItagregexp/\fP[\fInameregexp\fP\fB/\fP]\fImodifiers\fP | 153 | [\fB{\fP\fIlanguage\fP\fB}\fP]\fB/\fP\fItagregexp/\fP[\fInameregexp\fP\fB/\fP]\fImodifiers\fP |
| @@ -283,4 +283,3 @@ Permission is granted to copy and distribute translations of this | |||
| 283 | document into another language, under the above conditions for | 283 | document into another language, under the above conditions for |
| 284 | modified versions, except that this permission notice may be stated | 284 | modified versions, except that this permission notice may be stated |
| 285 | in a translation approved by the Free Software Foundation. | 285 | in a translation approved by the Free Software Foundation. |
| 286 | |||
diff --git a/doc/misc/ada-mode.texi b/doc/misc/ada-mode.texi index 926d6a5749c..b5a640e13e0 100644 --- a/doc/misc/ada-mode.texi +++ b/doc/misc/ada-mode.texi | |||
| @@ -72,7 +72,7 @@ existing code and facilitates writing new code. | |||
| 72 | 72 | ||
| 73 | When the Gnu Ada compiler GNAT is used, the cross-reference | 73 | When the Gnu Ada compiler GNAT is used, the cross-reference |
| 74 | information output by the compiler is used to provide powerful code | 74 | information output by the compiler is used to provide powerful code |
| 75 | navigation (jump to definition, find all uses, etc). | 75 | navigation (jump to definition, find all uses, etc.). |
| 76 | 76 | ||
| 77 | When you open a file with a file extension of @file{.ads} or | 77 | When you open a file with a file extension of @file{.ads} or |
| 78 | @file{.adb}, Emacs will automatically load and activate Ada mode. | 78 | @file{.adb}, Emacs will automatically load and activate Ada mode. |
| @@ -1267,7 +1267,7 @@ Non-@code{nil} means that the current line will also be re-indented | |||
| 1267 | before inserting a newline, when you press @key{RET}. | 1267 | before inserting a newline, when you press @key{RET}. |
| 1268 | @end table | 1268 | @end table |
| 1269 | 1269 | ||
| 1270 | Most of the time, the indentation will be automatic, i.e when you | 1270 | Most of the time, the indentation will be automatic, i.e., when you |
| 1271 | press @key{RET}, the cursor will move to the correct column on the | 1271 | press @key{RET}, the cursor will move to the correct column on the |
| 1272 | next line. | 1272 | next line. |
| 1273 | 1273 | ||
diff --git a/doc/misc/bovine.texi b/doc/misc/bovine.texi index 48d5cf9e18a..978345e5cc8 100644 --- a/doc/misc/bovine.texi +++ b/doc/misc/bovine.texi | |||
| @@ -314,7 +314,7 @@ The first object spliced into the list (assuming it is a list from a | |||
| 314 | non-terminal). | 314 | non-terminal). |
| 315 | 315 | ||
| 316 | @item '$1 | 316 | @item '$1 |
| 317 | The first object matched, placed in a list. i.e. @code{( $1 )}. | 317 | The first object matched, placed in a list. I.e., @code{( $1 )}. |
| 318 | 318 | ||
| 319 | @item foo | 319 | @item foo |
| 320 | The symbol @code{foo} (exactly as displayed). | 320 | The symbol @code{foo} (exactly as displayed). |
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index da018acffe9..2d1f59cfa68 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi | |||
| @@ -14122,7 +14122,7 @@ conventions. Like C mode, Pascal mode interprets array brackets and uses | |||
| 14122 | a different table of operators. Hexadecimal numbers are entered and | 14122 | a different table of operators. Hexadecimal numbers are entered and |
| 14123 | displayed with a preceding dollar sign. (Thus the regular meaning of | 14123 | displayed with a preceding dollar sign. (Thus the regular meaning of |
| 14124 | @kbd{$2} during algebraic entry does not work in Pascal mode, though | 14124 | @kbd{$2} during algebraic entry does not work in Pascal mode, though |
| 14125 | @kbd{$} (and @kbd{$$}, etc.) not followed by digits works the same as | 14125 | @kbd{$} (and @kbd{$$}, etc.)@: not followed by digits works the same as |
| 14126 | always.) No special provisions are made for other non-decimal numbers, | 14126 | always.) No special provisions are made for other non-decimal numbers, |
| 14127 | vectors, and so on, since there is no universally accepted standard way | 14127 | vectors, and so on, since there is no universally accepted standard way |
| 14128 | of handling these in Pascal. | 14128 | of handling these in Pascal. |
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi index 55b7028101a..bb6a5b001ad 100644 --- a/doc/misc/cc-mode.texi +++ b/doc/misc/cc-mode.texi | |||
| @@ -4959,7 +4959,7 @@ the declaration is an annotation. | |||
| 4959 | 4959 | ||
| 4960 | There are a few occasions where a statement block might be used inside | 4960 | There are a few occasions where a statement block might be used inside |
| 4961 | an expression. One is in C or C++ code using the gcc extension for | 4961 | an expression. One is in C or C++ code using the gcc extension for |
| 4962 | this, e.g: | 4962 | this, e.g.: |
| 4963 | 4963 | ||
| 4964 | @example | 4964 | @example |
| 4965 | 1: int res = (@{ | 4965 | 1: int res = (@{ |
| @@ -5552,7 +5552,7 @@ parentheses and statements within brace blocks. | |||
| 5552 | @findex lineup-close-paren (c-) | 5552 | @findex lineup-close-paren (c-) |
| 5553 | Line up the closing paren under its corresponding open paren if the | 5553 | Line up the closing paren under its corresponding open paren if the |
| 5554 | open paren is followed by code. If the open paren ends its line, no | 5554 | open paren is followed by code. If the open paren ends its line, no |
| 5555 | indentation is added. E.g: | 5555 | indentation is added. E.g.: |
| 5556 | 5556 | ||
| 5557 | @example | 5557 | @example |
| 5558 | @group | 5558 | @group |
| @@ -5606,7 +5606,7 @@ discussion of this ``DWIM'' measure. | |||
| 5606 | 5606 | ||
| 5607 | @defun c-indent-one-line-block | 5607 | @defun c-indent-one-line-block |
| 5608 | @findex indent-one-line-block (c-) | 5608 | @findex indent-one-line-block (c-) |
| 5609 | Indent a one line block @code{c-basic-offset} extra. E.g: | 5609 | Indent a one line block @code{c-basic-offset} extra. E.g.: |
| 5610 | 5610 | ||
| 5611 | @example | 5611 | @example |
| 5612 | @group | 5612 | @group |
| @@ -5640,7 +5640,7 @@ which makes the function usable in list expressions. | |||
| 5640 | 5640 | ||
| 5641 | @defun c-indent-multi-line-block | 5641 | @defun c-indent-multi-line-block |
| 5642 | @findex indent-multi-line-block (c-) | 5642 | @findex indent-multi-line-block (c-) |
| 5643 | Indent a multiline block @code{c-basic-offset} extra. E.g: | 5643 | Indent a multiline block @code{c-basic-offset} extra. E.g.: |
| 5644 | 5644 | ||
| 5645 | @example | 5645 | @example |
| 5646 | @group | 5646 | @group |
| @@ -5679,7 +5679,7 @@ block, which makes the function usable in list expressions. | |||
| 5679 | Line up statements for coding standards which place the first statement | 5679 | Line up statements for coding standards which place the first statement |
| 5680 | in a block on the same line as the block opening brace@footnote{Run-in | 5680 | in a block on the same line as the block opening brace@footnote{Run-in |
| 5681 | style doesn't really work too well. You might need to write your own | 5681 | style doesn't really work too well. You might need to write your own |
| 5682 | custom line-up functions to better support this style.}. E.g: | 5682 | custom line-up functions to better support this style.}. E.g.: |
| 5683 | 5683 | ||
| 5684 | @example | 5684 | @example |
| 5685 | @group | 5685 | @group |
| @@ -5762,7 +5762,7 @@ indents relative to the surrounding block just like | |||
| 5762 | @defun c-lineup-whitesmith-in-block | 5762 | @defun c-lineup-whitesmith-in-block |
| 5763 | @findex lineup-whitesmith-in-block (c-) | 5763 | @findex lineup-whitesmith-in-block (c-) |
| 5764 | Line up lines inside a block in Whitesmith style. It's done in a way | 5764 | Line up lines inside a block in Whitesmith style. It's done in a way |
| 5765 | that works both when the opening brace hangs and when it doesn't. E.g: | 5765 | that works both when the opening brace hangs and when it doesn't. E.g.: |
| 5766 | 5766 | ||
| 5767 | @example | 5767 | @example |
| 5768 | @group | 5768 | @group |
| @@ -5816,7 +5816,7 @@ Line up the current argument line under the first argument. | |||
| 5816 | As a special case, if an argument on the same line as the open | 5816 | As a special case, if an argument on the same line as the open |
| 5817 | parenthesis starts with a brace block opener, the indentation is | 5817 | parenthesis starts with a brace block opener, the indentation is |
| 5818 | @code{c-basic-offset} only. This is intended as a ``DWIM'' measure in | 5818 | @code{c-basic-offset} only. This is intended as a ``DWIM'' measure in |
| 5819 | cases like macros that contain statement blocks, e.g: | 5819 | cases like macros that contain statement blocks, e.g.: |
| 5820 | 5820 | ||
| 5821 | @example | 5821 | @example |
| 5822 | @group | 5822 | @group |
| @@ -5852,7 +5852,7 @@ brace block. | |||
| 5852 | @defun c-lineup-multi-inher | 5852 | @defun c-lineup-multi-inher |
| 5853 | @findex lineup-multi-inher (c-) | 5853 | @findex lineup-multi-inher (c-) |
| 5854 | Line up the classes in C++ multiple inheritance clauses and member | 5854 | Line up the classes in C++ multiple inheritance clauses and member |
| 5855 | initializers under each other. E.g: | 5855 | initializers under each other. E.g.: |
| 5856 | 5856 | ||
| 5857 | @example | 5857 | @example |
| 5858 | @group | 5858 | @group |
| @@ -5895,7 +5895,7 @@ Line up Java implements and extends declarations. If class names | |||
| 5895 | follow on the same line as the @samp{implements}/@samp{extends} | 5895 | follow on the same line as the @samp{implements}/@samp{extends} |
| 5896 | keyword, they are lined up under each other. Otherwise, they are | 5896 | keyword, they are lined up under each other. Otherwise, they are |
| 5897 | indented by adding @code{c-basic-offset} to the column of the keyword. | 5897 | indented by adding @code{c-basic-offset} to the column of the keyword. |
| 5898 | E.g: | 5898 | E.g.: |
| 5899 | 5899 | ||
| 5900 | @example | 5900 | @example |
| 5901 | @group | 5901 | @group |
| @@ -5929,7 +5929,7 @@ same line as the throws keyword, they are lined up under each other. | |||
| 5929 | Otherwise, they are indented by adding @code{c-basic-offset} to the | 5929 | Otherwise, they are indented by adding @code{c-basic-offset} to the |
| 5930 | column of the @samp{throws} keyword. The @samp{throws} keyword itself | 5930 | column of the @samp{throws} keyword. The @samp{throws} keyword itself |
| 5931 | is also indented by @code{c-basic-offset} from the function declaration | 5931 | is also indented by @code{c-basic-offset} from the function declaration |
| 5932 | start if it doesn't hang. E.g: | 5932 | start if it doesn't hang. E.g.: |
| 5933 | 5933 | ||
| 5934 | @example | 5934 | @example |
| 5935 | @group | 5935 | @group |
| @@ -6014,7 +6014,7 @@ line. | |||
| 6014 | 6014 | ||
| 6015 | @defun c-lineup-argcont | 6015 | @defun c-lineup-argcont |
| 6016 | @findex lineup-argcont (c-) | 6016 | @findex lineup-argcont (c-) |
| 6017 | Line up a continued argument. E.g: | 6017 | Line up a continued argument. E.g.: |
| 6018 | 6018 | ||
| 6019 | @example | 6019 | @example |
| 6020 | @group | 6020 | @group |
| @@ -6101,7 +6101,7 @@ function is the same as specifying a list @code{(c-lineup-assignments | |||
| 6101 | Line up ``cascaded calls'' under each other. If the line begins with | 6101 | Line up ``cascaded calls'' under each other. If the line begins with |
| 6102 | @code{->} or @code{.} and the preceding line ends with one or more | 6102 | @code{->} or @code{.} and the preceding line ends with one or more |
| 6103 | function calls preceded by the same token, then the arrow is lined up | 6103 | function calls preceded by the same token, then the arrow is lined up |
| 6104 | with the first of those tokens. E.g: | 6104 | with the first of those tokens. E.g.: |
| 6105 | 6105 | ||
| 6106 | @example | 6106 | @example |
| 6107 | @group | 6107 | @group |
| @@ -6133,7 +6133,7 @@ Line up C++ stream operators (i.e., @samp{<<} and @samp{>>}). | |||
| 6133 | @findex lineup-string-cont (c-) | 6133 | @findex lineup-string-cont (c-) |
| 6134 | Line up a continued string under the one it continues. A continued | 6134 | Line up a continued string under the one it continues. A continued |
| 6135 | string in this sense is where a string literal follows directly after | 6135 | string in this sense is where a string literal follows directly after |
| 6136 | another one. E.g: | 6136 | another one. E.g.: |
| 6137 | 6137 | ||
| 6138 | @example | 6138 | @example |
| 6139 | @group | 6139 | @group |
| @@ -6242,7 +6242,7 @@ is equivalent to @code{(@r{@var{value}} . -1000)}. | |||
| 6242 | @findex lineup-knr-region-comment (c-) | 6242 | @findex lineup-knr-region-comment (c-) |
| 6243 | Line up a comment in the ``K&R region'' with the declaration. That is | 6243 | Line up a comment in the ``K&R region'' with the declaration. That is |
| 6244 | the region between the function or class header and the beginning of the | 6244 | the region between the function or class header and the beginning of the |
| 6245 | block. E.g: | 6245 | block. E.g.: |
| 6246 | 6246 | ||
| 6247 | @example | 6247 | @example |
| 6248 | @group | 6248 | @group |
| @@ -6282,7 +6282,7 @@ already has; think of it as an identity function for lineups. | |||
| 6282 | @defun c-lineup-cpp-define | 6282 | @defun c-lineup-cpp-define |
| 6283 | @findex lineup-cpp-define (c-) | 6283 | @findex lineup-cpp-define (c-) |
| 6284 | Line up macro continuation lines according to the indentation of the | 6284 | Line up macro continuation lines according to the indentation of the |
| 6285 | construct preceding the macro. E.g: | 6285 | construct preceding the macro. E.g.: |
| 6286 | 6286 | ||
| 6287 | @example | 6287 | @example |
| 6288 | @group | 6288 | @group |
| @@ -6409,7 +6409,7 @@ that those lines could be analyzed as either topmost-intro-cont or | |||
| 6409 | statement-cont. It's used for @code{topmost-intro-cont} by default, but | 6409 | statement-cont. It's used for @code{topmost-intro-cont} by default, but |
| 6410 | you might consider using @code{+} instead.}. For lines preceding a | 6410 | you might consider using @code{+} instead.}. For lines preceding a |
| 6411 | definition, zero is used. For other lines, @code{c-basic-offset} is | 6411 | definition, zero is used. For other lines, @code{c-basic-offset} is |
| 6412 | added to the indentation. E.g: | 6412 | added to the indentation. E.g.: |
| 6413 | 6413 | ||
| 6414 | @example | 6414 | @example |
| 6415 | @group | 6415 | @group |
| @@ -6507,7 +6507,7 @@ earlier. Line-up functions are still passed this cons cell, so as to | |||
| 6507 | preserve compatibility with older configurations. In the future, we | 6507 | preserve compatibility with older configurations. In the future, we |
| 6508 | may decide to convert to using the full list format---you can prepare | 6508 | may decide to convert to using the full list format---you can prepare |
| 6509 | your setup for this by using the access functions | 6509 | your setup for this by using the access functions |
| 6510 | (@code{c-langelem-sym}, etc.) described below. | 6510 | (@code{c-langelem-sym}, etc.)@: described below. |
| 6511 | 6511 | ||
| 6512 | @vindex c-syntactic-element | 6512 | @vindex c-syntactic-element |
| 6513 | @vindex syntactic-element (c-) | 6513 | @vindex syntactic-element (c-) |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 8da6032d728..11f19c8df06 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -748,7 +748,7 @@ This function attempts to convert @var{object} to the specified | |||
| 748 | @var{type}. If @var{object} is already of that type as determined by | 748 | @var{type}. If @var{object} is already of that type as determined by |
| 749 | @code{cl-typep}, it is simply returned. Otherwise, certain types of | 749 | @code{cl-typep}, it is simply returned. Otherwise, certain types of |
| 750 | conversions will be made: If @var{type} is any sequence type | 750 | conversions will be made: If @var{type} is any sequence type |
| 751 | (@code{string}, @code{list}, etc.) then @var{object} will be | 751 | (@code{string}, @code{list}, etc.)@: then @var{object} will be |
| 752 | converted to that type if possible. If @var{type} is | 752 | converted to that type if possible. If @var{type} is |
| 753 | @code{character}, then strings of length one and symbols with | 753 | @code{character}, then strings of length one and symbols with |
| 754 | one-character names can be coerced. If @var{type} is @code{float}, | 754 | one-character names can be coerced. If @var{type} is @code{float}, |
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index 2cf25641350..1e3d11f6dc6 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi | |||
| @@ -882,7 +882,7 @@ Dired buffers, is like @code{shell-command}, but it runs with | |||
| 882 | 882 | ||
| 883 | @file{dired-x} provides a method of visiting or editing a file mentioned in | 883 | @file{dired-x} provides a method of visiting or editing a file mentioned in |
| 884 | the buffer you are viewing (e.g., a mail buffer, a news article, a | 884 | the buffer you are viewing (e.g., a mail buffer, a news article, a |
| 885 | @file{README} file, etc.) or to test if that file exists. You can then modify | 885 | @file{README} file, etc.)@: or to test if that file exists. You can then modify |
| 886 | this in the minibuffer after snatching the file name. | 886 | this in the minibuffer after snatching the file name. |
| 887 | 887 | ||
| 888 | When installed @file{dired-x} will substitute @code{dired-x-find-file} for | 888 | When installed @file{dired-x} will substitute @code{dired-x-find-file} for |
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi index ddee7e6b5d5..f2e787fd588 100644 --- a/doc/misc/ede.texi +++ b/doc/misc/ede.texi | |||
| @@ -1050,7 +1050,7 @@ other options for that project. The configuration is saved in | |||
| 1050 | 1050 | ||
| 1051 | Generic projects are disabled by default because they have the | 1051 | Generic projects are disabled by default because they have the |
| 1052 | potential to interfere with other projects. To use the generic | 1052 | potential to interfere with other projects. To use the generic |
| 1053 | project sytem to start detecting projects, you need to enable it. | 1053 | project system to start detecting projects, you need to enable it. |
| 1054 | 1054 | ||
| 1055 | @deffn Command ede-enable-generic-projects | 1055 | @deffn Command ede-enable-generic-projects |
| 1056 | Enable generic project loaders. | 1056 | Enable generic project loaders. |
| @@ -1956,7 +1956,7 @@ Type: @code{list} @* | |||
| 1956 | Default Value: @code{(quote ("/include" "../include/"))} | 1956 | Default Value: @code{(quote ("/include" "../include/"))} |
| 1957 | 1957 | ||
| 1958 | The default locate function expands filenames within a project. | 1958 | The default locate function expands filenames within a project. |
| 1959 | If a header file (.h, .hh, etc) name is expanded, and | 1959 | If a header file (.h, .hh, etc.)@: name is expanded, and |
| 1960 | the @code{:locate-fcn} slot is @code{nil}, then the include path is checked | 1960 | the @code{:locate-fcn} slot is @code{nil}, then the include path is checked |
| 1961 | first, and other directories are ignored. For very large | 1961 | first, and other directories are ignored. For very large |
| 1962 | projects, this optimization can save a lot of time. | 1962 | projects, this optimization can save a lot of time. |
diff --git a/doc/misc/ediff.texi b/doc/misc/ediff.texi index 1e4c888a9e7..378eee08c51 100644 --- a/doc/misc/ediff.texi +++ b/doc/misc/ediff.texi | |||
| @@ -1148,7 +1148,7 @@ packages also use this method). | |||
| 1148 | Regular files are treated by the @code{patch} utility in the usual manner, | 1148 | Regular files are treated by the @code{patch} utility in the usual manner, |
| 1149 | i.e., the original is renamed into @file{source-name.orig} and the result | 1149 | i.e., the original is renamed into @file{source-name.orig} and the result |
| 1150 | of the patch is placed into the file source-name (@file{_orig} is used | 1150 | of the patch is placed into the file source-name (@file{_orig} is used |
| 1151 | on systems like DOS, etc.) | 1151 | on systems like DOS, etc.). |
| 1152 | 1152 | ||
| 1153 | @node Customization | 1153 | @node Customization |
| 1154 | @chapter Customization | 1154 | @chapter Customization |
diff --git a/doc/misc/emacs-mime.texi b/doc/misc/emacs-mime.texi index 216e4733cd1..b1cf40aa645 100644 --- a/doc/misc/emacs-mime.texi +++ b/doc/misc/emacs-mime.texi | |||
| @@ -993,7 +993,7 @@ Customization}). | |||
| 993 | The charset to be used can be overridden by setting the @code{charset} | 993 | The charset to be used can be overridden by setting the @code{charset} |
| 994 | @acronym{MML} tag (@pxref{MML Definition}) when composing the message. | 994 | @acronym{MML} tag (@pxref{MML Definition}) when composing the message. |
| 995 | 995 | ||
| 996 | The encoding of characters (quoted-printable, 8bit etc) is orthogonal | 996 | The encoding of characters (quoted-printable, 8bit, etc.)@: is orthogonal |
| 997 | to the discussion here, and is controlled by the variables | 997 | to the discussion here, and is controlled by the variables |
| 998 | @code{mm-body-charset-encoding-alist} and | 998 | @code{mm-body-charset-encoding-alist} and |
| 999 | @code{mm-content-transfer-encoding-defaults} (@pxref{Encoding | 999 | @code{mm-content-transfer-encoding-defaults} (@pxref{Encoding |
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi index 9825c90dd81..94093dc15ce 100644 --- a/doc/misc/eshell.texi +++ b/doc/misc/eshell.texi | |||
| @@ -625,7 +625,7 @@ string-manipulation expansions because the Elisp library already | |||
| 625 | provides many functions for this.} For example, @code{$var} on a line | 625 | provides many functions for this.} For example, @code{$var} on a line |
| 626 | expands to the value of the variable @code{var} when the line is | 626 | expands to the value of the variable @code{var} when the line is |
| 627 | executed. Expansions are usually passed as arguments, but may also be | 627 | executed. Expansions are usually passed as arguments, but may also be |
| 628 | used as commands.@footnote{e.g. Entering just @samp{$var} at the prompt | 628 | used as commands.@footnote{E.g., entering just @samp{$var} at the prompt |
| 629 | is equivalent to entering the value of @code{var} at the prompt.} | 629 | is equivalent to entering the value of @code{var} at the prompt.} |
| 630 | 630 | ||
| 631 | @menu | 631 | @menu |
| @@ -1158,7 +1158,7 @@ it). | |||
| 1158 | @item Make the shell spawning commands be visual | 1158 | @item Make the shell spawning commands be visual |
| 1159 | 1159 | ||
| 1160 | That is, make (@command{su}, @command{bash}, @command{telnet}, | 1160 | That is, make (@command{su}, @command{bash}, @command{telnet}, |
| 1161 | @command{rlogin}, @command{rsh}, etc.) be part of | 1161 | @command{rlogin}, @command{rsh}, etc.)@: be part of |
| 1162 | @code{eshell-visual-commands}. The only exception is if the shell is | 1162 | @code{eshell-visual-commands}. The only exception is if the shell is |
| 1163 | being used to invoke a single command. Then, the behavior should be | 1163 | being used to invoke a single command. Then, the behavior should be |
| 1164 | based on what that command is. | 1164 | based on what that command is. |
diff --git a/doc/misc/faq.texi b/doc/misc/faq.texi index 8f3c0c2d623..39b4a9037bd 100644 --- a/doc/misc/faq.texi +++ b/doc/misc/faq.texi | |||
| @@ -1909,7 +1909,7 @@ following line to your @file{.emacs}: | |||
| 1909 | where @var{syntactic-symbol} is the name Emacs shows in the minibuffer | 1909 | where @var{syntactic-symbol} is the name Emacs shows in the minibuffer |
| 1910 | when you type @kbd{C-c C-o} at the beginning of the line, and | 1910 | when you type @kbd{C-c C-o} at the beginning of the line, and |
| 1911 | @var{offset} is one of the indentation symbols listed above (@code{+}, | 1911 | @var{offset} is one of the indentation symbols listed above (@code{+}, |
| 1912 | @code{/}, @code{0}, etc.) that you've chosen during the interactive | 1912 | @code{/}, @code{0}, etc.)@: that you've chosen during the interactive |
| 1913 | procedure. | 1913 | procedure. |
| 1914 | 1914 | ||
| 1915 | @item | 1915 | @item |
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 1807f108e3b..79259a76503 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi | |||
| @@ -64,7 +64,7 @@ modify this GNU manual.'' | |||
| 64 | 64 | ||
| 65 | Flymake is a universal on-the-fly syntax checker implemented as an | 65 | Flymake is a universal on-the-fly syntax checker implemented as an |
| 66 | Emacs minor mode. Flymake runs the pre-configured syntax check tool | 66 | Emacs minor mode. Flymake runs the pre-configured syntax check tool |
| 67 | (compiler for C++ files, @code{perl} for perl files, etc.) in the | 67 | (compiler for C++ files, @code{perl} for perl files, etc.)@: in the |
| 68 | background, passing it a temporary copy of the current buffer, and | 68 | background, passing it a temporary copy of the current buffer, and |
| 69 | parses the output for known error/warning message patterns. Flymake | 69 | parses the output for known error/warning message patterns. Flymake |
| 70 | then highlights erroneous lines (i.e., lines for which at least one | 70 | then highlights erroneous lines (i.e., lines for which at least one |
| @@ -569,7 +569,7 @@ These modes are handled inside init/cleanup/getfname functions, see | |||
| 569 | Flymake contains implementations of all functionality required to | 569 | Flymake contains implementations of all functionality required to |
| 570 | support different syntax check modes described above (making temporary | 570 | support different syntax check modes described above (making temporary |
| 571 | copies, finding master files, etc.), as well as some tool-specific | 571 | copies, finding master files, etc.), as well as some tool-specific |
| 572 | (routines for Make, Ant, etc.) code. | 572 | (routines for Make, Ant, etc.)@: code. |
| 573 | 573 | ||
| 574 | 574 | ||
| 575 | @node Making a temporary copy | 575 | @node Making a temporary copy |
diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi index 43ffab26c9b..17b117be961 100644 --- a/doc/misc/forms.texi +++ b/doc/misc/forms.texi | |||
| @@ -117,7 +117,7 @@ they make up a forms. | |||
| 117 | 117 | ||
| 118 | The contents of the forms consist of the contents of the fields of the | 118 | The contents of the forms consist of the contents of the fields of the |
| 119 | record (e.g., @samp{root}, @samp{0}, @samp{1}, @samp{Super User}) | 119 | record (e.g., @samp{root}, @samp{0}, @samp{1}, @samp{Super User}) |
| 120 | interspersed with normal text (e.g @samp{User : }, @samp{Uid: }). | 120 | interspersed with normal text (e.g., @samp{User : }, @samp{Uid: }). |
| 121 | 121 | ||
| 122 | If you modify the contents of the fields, Forms mode will analyze your | 122 | If you modify the contents of the fields, Forms mode will analyze your |
| 123 | changes and update the file appropriately. You cannot modify the | 123 | changes and update the file appropriately. You cannot modify the |
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi index 2a1f5ac2cc1..e7367730040 100644 --- a/doc/misc/gnus-faq.texi +++ b/doc/misc/gnus-faq.texi | |||
| @@ -1218,7 +1218,7 @@ from using them): | |||
| 1218 | messages? | 1218 | messages? |
| 1219 | * FAQ 5-3:: How to set stuff like From, Organization, Reply-To, | 1219 | * FAQ 5-3:: How to set stuff like From, Organization, Reply-To, |
| 1220 | signature...? | 1220 | signature...? |
| 1221 | * FAQ 5-4:: Can I set things like From, Signature etc group based on | 1221 | * FAQ 5-4:: Can I set things like From, Signature etc. group based on |
| 1222 | the group I post too? | 1222 | the group I post too? |
| 1223 | * FAQ 5-5:: Is there a spell-checker? Perhaps even on-the-fly | 1223 | * FAQ 5-5:: Is there a spell-checker? Perhaps even on-the-fly |
| 1224 | spell-checking? | 1224 | spell-checking? |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index b5029e5d6a8..65e2ce6150e 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -2348,8 +2348,8 @@ Gnus considers groups from levels 1 to | |||
| 2348 | unsubscribed, @code{gnus-level-zombie} to be zombies (walking dead) | 2348 | unsubscribed, @code{gnus-level-zombie} to be zombies (walking dead) |
| 2349 | (default 8) and @code{gnus-level-killed} to be killed (completely dead) | 2349 | (default 8) and @code{gnus-level-killed} to be killed (completely dead) |
| 2350 | (default 9). Gnus treats subscribed and unsubscribed groups exactly the | 2350 | (default 9). Gnus treats subscribed and unsubscribed groups exactly the |
| 2351 | same, but zombie and killed groups have no information on what articles | 2351 | same, but zombie and killed groups store no information on what articles |
| 2352 | you have read, etc, stored. This distinction between dead and living | 2352 | you have read, etc. This distinction between dead and living |
| 2353 | groups isn't done because it is nice or clever, it is done purely for | 2353 | groups isn't done because it is nice or clever, it is done purely for |
| 2354 | reasons of efficiency. | 2354 | reasons of efficiency. |
| 2355 | 2355 | ||
| @@ -11140,7 +11140,7 @@ There will never be more than one dead summary buffer at any one time. | |||
| 11140 | 11140 | ||
| 11141 | @vindex gnus-use-cross-reference | 11141 | @vindex gnus-use-cross-reference |
| 11142 | The data on the current group will be updated (which articles you have | 11142 | The data on the current group will be updated (which articles you have |
| 11143 | read, which articles you have replied to, etc.) when you exit the | 11143 | read, which articles you have replied to, etc.)@: when you exit the |
| 11144 | summary buffer. If the @code{gnus-use-cross-reference} variable is | 11144 | summary buffer. If the @code{gnus-use-cross-reference} variable is |
| 11145 | @code{t} (which is the default), articles that are cross-referenced to | 11145 | @code{t} (which is the default), articles that are cross-referenced to |
| 11146 | this group and are marked as read, will also be marked as read in the | 11146 | this group and are marked as read, will also be marked as read in the |
| @@ -14022,7 +14022,7 @@ The address of the @acronym{NNTP} server. | |||
| 14022 | Port number to connect to the @acronym{NNTP} server. The default is | 14022 | Port number to connect to the @acronym{NNTP} server. The default is |
| 14023 | @samp{nntp}. If you use @acronym{NNTP} over | 14023 | @samp{nntp}. If you use @acronym{NNTP} over |
| 14024 | @acronym{TLS}/@acronym{SSL}, you may want to use integer ports rather | 14024 | @acronym{TLS}/@acronym{SSL}, you may want to use integer ports rather |
| 14025 | than named ports (i.e, use @samp{563} instead of @samp{snews} or | 14025 | than named ports (i.e., use @samp{563} instead of @samp{snews} or |
| 14026 | @samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may | 14026 | @samp{nntps}), because external @acronym{TLS}/@acronym{SSL} tools may |
| 14027 | not work with named ports. | 14027 | not work with named ports. |
| 14028 | 14028 | ||
| @@ -19019,7 +19019,7 @@ agent as unread. | |||
| 19019 | @subsection Agent and flags | 19019 | @subsection Agent and flags |
| 19020 | 19020 | ||
| 19021 | The Agent works with any Gnus back end including those, such as | 19021 | The Agent works with any Gnus back end including those, such as |
| 19022 | nnimap, that store flags (read, ticked, etc) on the server. Sadly, | 19022 | nnimap, that store flags (read, ticked, etc.)@: on the server. Sadly, |
| 19023 | the Agent does not actually know which backends keep their flags in | 19023 | the Agent does not actually know which backends keep their flags in |
| 19024 | the backend server rather than in @file{.newsrc}. This means that the | 19024 | the backend server rather than in @file{.newsrc}. This means that the |
| 19025 | Agent, while unplugged or disconnected, will always record all changes | 19025 | Agent, while unplugged or disconnected, will always record all changes |
| @@ -19995,7 +19995,7 @@ the article was posted from. Time zones are such wholesome fun for the | |||
| 19995 | whole family, eh?) | 19995 | whole family, eh?) |
| 19996 | 19996 | ||
| 19997 | @item Head, Body, All | 19997 | @item Head, Body, All |
| 19998 | These three match keys use the same match types as the @code{From} (etc) | 19998 | These three match keys use the same match types as the @code{From} (etc.)@: |
| 19999 | header uses. | 19999 | header uses. |
| 20000 | 20000 | ||
| 20001 | @item Followup | 20001 | @item Followup |
| @@ -23816,7 +23816,7 @@ from Bulgarian IPs. | |||
| 23816 | 23816 | ||
| 23817 | This, unfortunately, is a great way to discard legitimate e-mail. The | 23817 | This, unfortunately, is a great way to discard legitimate e-mail. The |
| 23818 | risks of blocking a whole country (Bulgaria, Norway, Nigeria, China, | 23818 | risks of blocking a whole country (Bulgaria, Norway, Nigeria, China, |
| 23819 | etc.) or even a continent (Asia, Africa, Europe, etc.) from contacting | 23819 | etc.)@: or even a continent (Asia, Africa, Europe, etc.)@: from contacting |
| 23820 | you should be obvious, so don't do it if you have the choice. | 23820 | you should be obvious, so don't do it if you have the choice. |
| 23821 | 23821 | ||
| 23822 | In another instance, the very informative and useful RISKS digest has | 23822 | In another instance, the very informative and useful RISKS digest has |
| @@ -25869,7 +25869,7 @@ Fortunately, setting up the Gnus registry is pretty easy: | |||
| 25869 | 25869 | ||
| 25870 | This adds registry saves to Gnus newsrc saves (which happen on exit | 25870 | This adds registry saves to Gnus newsrc saves (which happen on exit |
| 25871 | and when you press @kbd{s} from the @code{*Group*} buffer. It also | 25871 | and when you press @kbd{s} from the @code{*Group*} buffer. It also |
| 25872 | adds registry calls to article actions in Gnus (copy, move, etc.) so | 25872 | adds registry calls to article actions in Gnus (copy, move, etc.)@: so |
| 25873 | it's not easy to undo the initialization. See | 25873 | it's not easy to undo the initialization. See |
| 25874 | @code{gnus-registry-initialize} for the gory details. | 25874 | @code{gnus-registry-initialize} for the gory details. |
| 25875 | 25875 | ||
| @@ -27946,7 +27946,7 @@ consist of a little new content at the top with a long, untrimmed | |||
| 27946 | message cited below. | 27946 | message cited below. |
| 27947 | 27947 | ||
| 27948 | @item | 27948 | @item |
| 27949 | Smileys (@samp{:-)}, @samp{;-)} etc) are now displayed graphically in | 27949 | Smileys (@samp{:-)}, @samp{;-)} etc.)@: are now displayed graphically in |
| 27950 | Emacs too. | 27950 | Emacs too. |
| 27951 | 27951 | ||
| 27952 | Put @code{(setq gnus-treat-display-smileys nil)} in @file{~/.gnus.el} to | 27952 | Put @code{(setq gnus-treat-display-smileys nil)} in @file{~/.gnus.el} to |
| @@ -28552,7 +28552,7 @@ A mail message or news article | |||
| 28552 | 28552 | ||
| 28553 | @item head | 28553 | @item head |
| 28554 | @cindex head | 28554 | @cindex head |
| 28555 | The top part of a message, where administrative information (etc.) is | 28555 | The top part of a message, where administrative information (etc.)@: is |
| 28556 | put. | 28556 | put. |
| 28557 | 28557 | ||
| 28558 | @item body | 28558 | @item body |
| @@ -29501,7 +29501,7 @@ There should be no result data from this function. | |||
| 29501 | @item (nnchoke-request-set-mark GROUP ACTION &optional SERVER) | 29501 | @item (nnchoke-request-set-mark GROUP ACTION &optional SERVER) |
| 29502 | 29502 | ||
| 29503 | Set/remove/add marks on articles. Normally Gnus handles the article | 29503 | Set/remove/add marks on articles. Normally Gnus handles the article |
| 29504 | marks (such as read, ticked, expired etc) internally, and store them in | 29504 | marks (such as read, ticked, expired etc.)@: internally, and store them in |
| 29505 | @file{~/.newsrc.eld}. Some back ends (such as @acronym{IMAP}) however carry | 29505 | @file{~/.newsrc.eld}. Some back ends (such as @acronym{IMAP}) however carry |
| 29506 | all information about the articles on the server, so Gnus need to | 29506 | all information about the articles on the server, so Gnus need to |
| 29507 | propagate the mark information to the server. | 29507 | propagate the mark information to the server. |
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi index a756cc6b6c6..a432d4dc14a 100644 --- a/doc/misc/idlwave.texi +++ b/doc/misc/idlwave.texi | |||
| @@ -2182,8 +2182,8 @@ operators (outside of strings and comments, of course), try this in | |||
| 2182 | @end lisp | 2182 | @end lisp |
| 2183 | 2183 | ||
| 2184 | Note that the modified assignment operators which begin with a word | 2184 | Note that the modified assignment operators which begin with a word |
| 2185 | (@samp{AND=}, @samp{OR=}, @samp{NOT=}, etc.) require a leading space to | 2185 | (@samp{AND=}, @samp{OR=}, @samp{NOT=}, etc.)@: require a leading space to |
| 2186 | be recognized (e.g @code{vAND=4} would be interpreted as a variable | 2186 | be recognized (e.g., @code{vAND=4} would be interpreted as a variable |
| 2187 | @code{vAND}). Also note that since, e.g., @code{>} and @code{>=} are | 2187 | @code{vAND}). Also note that since, e.g., @code{>} and @code{>=} are |
| 2188 | both valid operators, it is impossible to surround both by blanks while | 2188 | both valid operators, it is impossible to surround both by blanks while |
| 2189 | they are being typed. Similarly with @code{&} and @code{&&}. For | 2189 | they are being typed. Similarly with @code{&} and @code{&&}. For |
| @@ -2195,7 +2195,7 @@ repad everything if @code{idlwave-do-actions} is on). | |||
| 2195 | @defopt idlwave-surround-by-blank (@code{nil}) | 2195 | @defopt idlwave-surround-by-blank (@code{nil}) |
| 2196 | Non-@code{nil} means enable @code{idlwave-surround}. If non-@code{nil}, | 2196 | Non-@code{nil} means enable @code{idlwave-surround}. If non-@code{nil}, |
| 2197 | @samp{=}, @samp{<}, @samp{>}, @samp{&}, @samp{,}, @samp{->}, and the | 2197 | @samp{=}, @samp{<}, @samp{>}, @samp{&}, @samp{,}, @samp{->}, and the |
| 2198 | modified assignment operators (@samp{AND=}, @samp{OR=}, etc.) are | 2198 | modified assignment operators (@samp{AND=}, @samp{OR=}, etc.)@: are |
| 2199 | surrounded with spaces by @code{idlwave-surround}. | 2199 | surrounded with spaces by @code{idlwave-surround}. |
| 2200 | @end defopt | 2200 | @end defopt |
| 2201 | 2201 | ||
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index 0e0bd115bb2..4d5d82aa6bd 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -2344,7 +2344,7 @@ Valid values include: | |||
| 2344 | @table @code | 2344 | @table @code |
| 2345 | @item nil | 2345 | @item nil |
| 2346 | Generate the buffer name in the Message way (e.g., *mail*, *news*, *mail | 2346 | Generate the buffer name in the Message way (e.g., *mail*, *news*, *mail |
| 2347 | to whom*, *news on group*, etc.) and continue editing in the existing | 2347 | to whom*, *news on group*, etc.)@: and continue editing in the existing |
| 2348 | buffer of that name. If there is no such buffer, it will be newly | 2348 | buffer of that name. If there is no such buffer, it will be newly |
| 2349 | created. | 2349 | created. |
| 2350 | 2350 | ||
diff --git a/doc/misc/org.texi b/doc/misc/org.texi index 7b880fc386c..16015e49362 100644 --- a/doc/misc/org.texi +++ b/doc/misc/org.texi | |||
| @@ -1426,7 +1426,7 @@ level). | |||
| 1426 | Move subtree down (swap with next subtree of same level). | 1426 | Move subtree down (swap with next subtree of same level). |
| 1427 | @orgcmd{M-h,org-mark-element} | 1427 | @orgcmd{M-h,org-mark-element} |
| 1428 | Mark the element at point. Hitting repeatedly will mark subsequent elements | 1428 | Mark the element at point. Hitting repeatedly will mark subsequent elements |
| 1429 | of the one just marked. E.g. hitting @key{M-h} on a paragraph will mark it, | 1429 | of the one just marked. E.g., hitting @key{M-h} on a paragraph will mark it, |
| 1430 | hitting @key{M-h} immediately again will mark the next one. | 1430 | hitting @key{M-h} immediately again will mark the next one. |
| 1431 | @orgcmd{C-c @@,org-mark-subtree} | 1431 | @orgcmd{C-c @@,org-mark-subtree} |
| 1432 | Mark the subtree at point. Hitting repeatedly will mark subsequent subtrees | 1432 | Mark the subtree at point. Hitting repeatedly will mark subsequent subtrees |
| @@ -2439,7 +2439,7 @@ You may reference a rectangular range of fields by specifying two field | |||
| 2439 | references connected by two dots @samp{..}. If both fields are in the | 2439 | references connected by two dots @samp{..}. If both fields are in the |
| 2440 | current row, you may simply use @samp{$2..$7}, but if at least one field | 2440 | current row, you may simply use @samp{$2..$7}, but if at least one field |
| 2441 | is in a different row, you need to use the general @code{@@row$column} | 2441 | is in a different row, you need to use the general @code{@@row$column} |
| 2442 | format at least for the first field (i.e the reference must start with | 2442 | format at least for the first field (i.e., the reference must start with |
| 2443 | @samp{@@} in order to be interpreted correctly). Examples: | 2443 | @samp{@@} in order to be interpreted correctly). Examples: |
| 2444 | 2444 | ||
| 2445 | @example | 2445 | @example |
| @@ -11990,7 +11990,7 @@ resource or resource node which is known to TaskJuggler, such as | |||
| 11990 | @samp{efficiency}, @samp{journalentry}, @samp{rate} for resources or | 11990 | @samp{efficiency}, @samp{journalentry}, @samp{rate} for resources or |
| 11991 | @samp{account}, @samp{start}, @samp{note}, @samp{duration}, @samp{end}, | 11991 | @samp{account}, @samp{start}, @samp{note}, @samp{duration}, @samp{end}, |
| 11992 | @samp{journalentry}, @samp{milestone}, @samp{reference}, @samp{responsible}, | 11992 | @samp{journalentry}, @samp{milestone}, @samp{reference}, @samp{responsible}, |
| 11993 | @samp{scheduling}, etc for tasks. | 11993 | @samp{scheduling}, etc.@: for tasks. |
| 11994 | 11994 | ||
| 11995 | @subsection Dependencies | 11995 | @subsection Dependencies |
| 11996 | 11996 | ||
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi index 0ee206b1a4d..312b84146fa 100644 --- a/doc/misc/reftex.texi +++ b/doc/misc/reftex.texi | |||
| @@ -647,7 +647,7 @@ buffer. | |||
| 647 | @vindex reftex-toc-max-level | 647 | @vindex reftex-toc-max-level |
| 648 | Change the maximum level of toc entries displayed in the @file{*toc*} | 648 | Change the maximum level of toc entries displayed in the @file{*toc*} |
| 649 | buffer. Without prefix arg, all levels will be included. With prefix | 649 | buffer. Without prefix arg, all levels will be included. With prefix |
| 650 | arg (e.g @kbd{3 t}), ignore all toc entries with level greater than | 650 | arg (e.g., @kbd{3 t}), ignore all toc entries with level greater than |
| 651 | @var{arg} (3 in this case). Chapters are level 1, sections are level 2. | 651 | @var{arg} (3 in this case). Chapters are level 1, sections are level 2. |
| 652 | The mode line @samp{T<>} indicator shows the current value. The default | 652 | The mode line @samp{T<>} indicator shows the current value. The default |
| 653 | depth can be configured with the variable | 653 | depth can be configured with the variable |
| @@ -3501,7 +3501,7 @@ make use of this feature, try | |||
| 3501 | @item | 3501 | @item |
| 3502 | @b{@LaTeX{} commands}@* | 3502 | @b{@LaTeX{} commands}@* |
| 3503 | @cindex LaTeX commands, not found | 3503 | @cindex LaTeX commands, not found |
| 3504 | @code{\input}, @code{\include}, and @code{\section} (etc.) statements | 3504 | @code{\input}, @code{\include}, and @code{\section} (etc.)@: statements |
| 3505 | have to be first on a line (except for white space). | 3505 | have to be first on a line (except for white space). |
| 3506 | 3506 | ||
| 3507 | @item | 3507 | @item |
diff --git a/doc/misc/remember.texi b/doc/misc/remember.texi index c70b6212268..290c18a7b47 100644 --- a/doc/misc/remember.texi +++ b/doc/misc/remember.texi | |||
| @@ -169,7 +169,7 @@ typing it into a buffer, or using the contents of the selected region, | |||
| 169 | it will store that data---unindexed, uninterpreted---in a data pool. | 169 | it will store that data---unindexed, uninterpreted---in a data pool. |
| 170 | It will also try to remember as much context information as possible | 170 | It will also try to remember as much context information as possible |
| 171 | (any text properties that were set, where you copied it from, when, | 171 | (any text properties that were set, where you copied it from, when, |
| 172 | how, etc). Later, you can walk through your accumulated set of data | 172 | how, etc.). Later, you can walk through your accumulated set of data |
| 173 | (both organized, and unorganized) and easily begin moving things | 173 | (both organized, and unorganized) and easily begin moving things |
| 174 | around, and making annotations that will express the full meaning of | 174 | around, and making annotations that will express the full meaning of |
| 175 | that data, as far as you know it. | 175 | that data, as far as you know it. |
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index ce75f2ef91e..20bd689c6a0 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi | |||
| @@ -901,7 +901,7 @@ Begins with an 014 character, followed by sets of cell-definition | |||
| 901 | macros for each row, followed by column-widths, column-printers, | 901 | macros for each row, followed by column-widths, column-printers, |
| 902 | default-printer, and header-row. Then there's the global parameters | 902 | default-printer, and header-row. Then there's the global parameters |
| 903 | (file-format ID, numrows, numcols) and the local variables (specifying | 903 | (file-format ID, numrows, numcols) and the local variables (specifying |
| 904 | @acronym{SES} mode for the buffer, etc.) | 904 | @acronym{SES} mode for the buffer, etc.). |
| 905 | 905 | ||
| 906 | When a @acronym{SES} file is loaded, first the numrows and numcols values are | 906 | When a @acronym{SES} file is loaded, first the numrows and numcols values are |
| 907 | loaded, then the entire data area is @code{eval}ed, and finally the local | 907 | loaded, then the entire data area is @code{eval}ed, and finally the local |
diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi index cbcd6a61f39..b84c3047ec1 100644 --- a/doc/misc/sieve.texi +++ b/doc/misc/sieve.texi | |||
| @@ -159,7 +159,7 @@ press RET on <new script> to create a new script. | |||
| 159 | @end example | 159 | @end example |
| 160 | 160 | ||
| 161 | One of the scripts are highlighted, and standard point navigation | 161 | One of the scripts are highlighted, and standard point navigation |
| 162 | commands (@kbd{<up>}, @kbd{<down>} etc) can be used to navigate the | 162 | commands (@kbd{<up>}, @kbd{<down>} etc.)@: can be used to navigate the |
| 163 | list. | 163 | list. |
| 164 | 164 | ||
| 165 | The following commands are available in the Manage Sieve buffer: | 165 | The following commands are available in the Manage Sieve buffer: |
diff --git a/doc/misc/speedbar.texi b/doc/misc/speedbar.texi index c017490d4aa..7227e2597ae 100644 --- a/doc/misc/speedbar.texi +++ b/doc/misc/speedbar.texi | |||
| @@ -1158,7 +1158,7 @@ the next line. | |||
| 1158 | Create a tag line with @var{exp-button-type} for the small expansion | 1158 | Create a tag line with @var{exp-button-type} for the small expansion |
| 1159 | button. This is the button that expands or contracts a node (if | 1159 | button. This is the button that expands or contracts a node (if |
| 1160 | applicable), and @var{exp-button-char} the character in it (@samp{+}, | 1160 | applicable), and @var{exp-button-char} the character in it (@samp{+}, |
| 1161 | @samp{-}, @samp{?}, etc). @var{exp-button-function} is the function | 1161 | @samp{-}, @samp{?}, etc.). @var{exp-button-function} is the function |
| 1162 | to call if it's clicked on. Button types are @code{bracket}, | 1162 | to call if it's clicked on. Button types are @code{bracket}, |
| 1163 | @code{angle}, @code{curly}, @code{expandtag}, @code{statictag}, and | 1163 | @code{angle}, @code{curly}, @code{expandtag}, @code{statictag}, and |
| 1164 | @code{nil}. @var{exp-button-data} is extra data attached to the text | 1164 | @code{nil}. @var{exp-button-data} is extra data attached to the text |
| @@ -1167,7 +1167,7 @@ forming the expansion button. | |||
| 1167 | Next, @var{tag-button} is the text of the tag. | 1167 | Next, @var{tag-button} is the text of the tag. |
| 1168 | @var{tag-button-function} is the function to call if clicked on, and | 1168 | @var{tag-button-function} is the function to call if clicked on, and |
| 1169 | @var{tag-button-data} is the data to attach to the text field (such a | 1169 | @var{tag-button-data} is the data to attach to the text field (such a |
| 1170 | tag positioning, etc). @var{tag-button-face} is a face used for this | 1170 | tag positioning, etc.). @var{tag-button-face} is a face used for this |
| 1171 | type of tag. | 1171 | type of tag. |
| 1172 | 1172 | ||
| 1173 | Lastly, @var{depth} shows the depth of expansion. | 1173 | Lastly, @var{depth} shows the depth of expansion. |
diff --git a/doc/misc/url.texi b/doc/misc/url.texi index 9e9dbc0a77d..49f8f3f0959 100644 --- a/doc/misc/url.texi +++ b/doc/misc/url.texi | |||
| @@ -890,7 +890,7 @@ containing the data cached for that URL. | |||
| 890 | 890 | ||
| 891 | @c With a large cache of documents on the local disk, it can be very handy | 891 | @c With a large cache of documents on the local disk, it can be very handy |
| 892 | @c when traveling, or any other time the network connection is not active | 892 | @c when traveling, or any other time the network connection is not active |
| 893 | @c (a laptop with a dial-on-demand PPP connection, etc). Emacs/W3 can rely | 893 | @c (a laptop with a dial-on-demand PPP connection, etc.). Emacs/W3 can rely |
| 894 | @c solely on its cache, and avoid checking to see if the page has changed | 894 | @c solely on its cache, and avoid checking to see if the page has changed |
| 895 | @c on the remote server. In the case of a dial-on-demand PPP connection, | 895 | @c on the remote server. In the case of a dial-on-demand PPP connection, |
| 896 | @c this will keep the phone line free as long as possible, only bringing up | 896 | @c this will keep the phone line free as long as possible, only bringing up |
diff --git a/doc/misc/vip.texi b/doc/misc/vip.texi index 01048d43dbf..7c998b37010 100644 --- a/doc/misc/vip.texi +++ b/doc/misc/vip.texi | |||
| @@ -356,7 +356,7 @@ you can abort a partially formed command by typing @kbd{C-g}.@refill | |||
| 356 | As in Vi, searching is done by @kbd{/} and @kbd{?}. The string will be | 356 | As in Vi, searching is done by @kbd{/} and @kbd{?}. The string will be |
| 357 | searched literally by default. To invoke a regular expression search, | 357 | searched literally by default. To invoke a regular expression search, |
| 358 | first execute the search command @kbd{/} (or @kbd{?}) with empty search | 358 | first execute the search command @kbd{/} (or @kbd{?}) with empty search |
| 359 | string. (I.e, type @kbd{/} followed by @key{RET}.) | 359 | string. (I.e., type @kbd{/} followed by @key{RET}.) |
| 360 | A search for empty string will toggle the search mode between vanilla | 360 | A search for empty string will toggle the search mode between vanilla |
| 361 | search and regular expression search. You cannot give an offset to the | 361 | search and regular expression search. You cannot give an offset to the |
| 362 | search string. (It is a limitation.) By default, search will wrap around | 362 | search string. (It is a limitation.) By default, search will wrap around |
diff --git a/doc/misc/viper.texi b/doc/misc/viper.texi index 9bcecf8e3de..8b4c9e93f7c 100644 --- a/doc/misc/viper.texi +++ b/doc/misc/viper.texi | |||
| @@ -3204,7 +3204,7 @@ and they don't look into the value of variable | |||
| 3204 | syntax tables in order to not thwart the various major modes that set these | 3204 | syntax tables in order to not thwart the various major modes that set these |
| 3205 | tables. | 3205 | tables. |
| 3206 | 3206 | ||
| 3207 | The usual Emacs convention is used to indicate Control Characters, i.e | 3207 | The usual Emacs convention is used to indicate Control Characters, i.e., |
| 3208 | C-h for Control-h. @emph{Do not confuse this with a sequence of separate | 3208 | C-h for Control-h. @emph{Do not confuse this with a sequence of separate |
| 3209 | characters | 3209 | characters |
| 3210 | C, -, h!!!} The @kbd{^} is itself, never used to indicate a | 3210 | C, -, h!!!} The @kbd{^} is itself, never used to indicate a |
diff --git a/doc/misc/woman.texi b/doc/misc/woman.texi index 3e4448ed1e0..9b9f9947da5 100644 --- a/doc/misc/woman.texi +++ b/doc/misc/woman.texi | |||
| @@ -904,7 +904,7 @@ for a man configuration file. The default is | |||
| 904 | 904 | ||
| 905 | @noindent | 905 | @noindent |
| 906 | [for GNU/Linux and Cygwin respectively.] A trailing separator (@file{/} | 906 | [for GNU/Linux and Cygwin respectively.] A trailing separator (@file{/} |
| 907 | for UNIX etc.) on directories is optional and the filename matched if a | 907 | for UNIX etc.)@: on directories is optional and the filename matched if a |
| 908 | directory is specified is the first to match the regexp | 908 | directory is specified is the first to match the regexp |
| 909 | @code{man.*\.conf}. If the environment variable @code{MANPATH} is not | 909 | @code{man.*\.conf}. If the environment variable @code{MANPATH} is not |
| 910 | set but a configuration file is found then it is parsed instead (or as | 910 | set but a configuration file is found then it is parsed instead (or as |
| @@ -996,7 +996,7 @@ are deprecated and will be removed eventually. | |||
| 996 | *** `vc-checkout-carefully' | 996 | *** `vc-checkout-carefully' |
| 997 | 997 | ||
| 998 | 998 | ||
| 999 | * Lisp changes in Emacs 24.3 | 999 | * Lisp Changes in Emacs 24.3 |
| 1000 | 1000 | ||
| 1001 | ** CL-style generalized variables are now in core Elisp. | 1001 | ** CL-style generalized variables are now in core Elisp. |
| 1002 | `setf' is autoloaded; `push' and `pop' accept generalized variables. | 1002 | `setf' is autoloaded; `push' and `pop' accept generalized variables. |
| @@ -1169,7 +1169,7 @@ takes precedence over most other maps for a short while (normally one key). | |||
| 1169 | *** `font-list-limit' (has had no effect since Emacs < 23) | 1169 | *** `font-list-limit' (has had no effect since Emacs < 23) |
| 1170 | 1170 | ||
| 1171 | 1171 | ||
| 1172 | * Changes in Emacs 24.3 on non-free operating systems | 1172 | * Changes in Emacs 24.3 on Non-Free Operating Systems |
| 1173 | 1173 | ||
| 1174 | ** Cygwin builds can use the native MS Windows user interface. | 1174 | ** Cygwin builds can use the native MS Windows user interface. |
| 1175 | Pass `--with-w32' to configure. The default remains the X11 interface. | 1175 | Pass `--with-w32' to configure. The default remains the X11 interface. |
| @@ -2241,7 +2241,7 @@ assumes every inspected file is in your `load-path'. It instead | |||
| 2241 | generates relative names according to the current `load-path'. | 2241 | generates relative names according to the current `load-path'. |
| 2242 | 2242 | ||
| 2243 | 2243 | ||
| 2244 | * Lisp changes in Emacs 24.1 | 2244 | * Lisp Changes in Emacs 24.1 |
| 2245 | 2245 | ||
| 2246 | ** Code can now use lexical scoping by default instead of dynamic scoping. | 2246 | ** Code can now use lexical scoping by default instead of dynamic scoping. |
| 2247 | The `lexical-binding' variable enables lexical scoping for local | 2247 | The `lexical-binding' variable enables lexical scoping for local |
| @@ -2628,7 +2628,7 @@ Use `post-command-hook' instead. | |||
| 2628 | *** `font-lock-maximum-size' is obsolete. | 2628 | *** `font-lock-maximum-size' is obsolete. |
| 2629 | 2629 | ||
| 2630 | 2630 | ||
| 2631 | * Changes in Emacs 24.1 on non-free operating systems | 2631 | * Changes in Emacs 24.1 on Non-Free Operating Systems |
| 2632 | 2632 | ||
| 2633 | ** On MS Windows, Emacs warns when using the obsolete init file _emacs, | 2633 | ** On MS Windows, Emacs warns when using the obsolete init file _emacs, |
| 2634 | and also when HOME is set to C:\ by default. | 2634 | and also when HOME is set to C:\ by default. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4222f818799..a1d7f0013b3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-13 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error, | ||
| 4 | if DIR exists and PARENTS is non-nil. | ||
| 5 | |||
| 1 | 2013-02-13 Juanma Barranquero <lekktu@gmail.com> | 6 | 2013-02-13 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * progmodes/js.el (js--multi-line-declaration-indentation): | 8 | * progmodes/js.el (js--multi-line-declaration-indentation): |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 700d319228f..2c45d3c24a1 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -4377,7 +4377,7 @@ The hook `gnus-exit-gnus-hook' is called before actually exiting." | |||
| 4377 | (defun gnus-group-browse-foreign-server (method) | 4377 | (defun gnus-group-browse-foreign-server (method) |
| 4378 | "Browse a foreign news server. | 4378 | "Browse a foreign news server. |
| 4379 | If called interactively, this function will ask for a select method | 4379 | If called interactively, this function will ask for a select method |
| 4380 | (nntp, nnspool, etc.) and a server address (eg. nntp.some.where). | 4380 | (nntp, nnspool, etc.) and a server address (e.g., nntp.some.where). |
| 4381 | If not, METHOD should be a list where the first element is the method | 4381 | If not, METHOD should be a list where the first element is the method |
| 4382 | and the second element is the address." | 4382 | and the second element is the address." |
| 4383 | (interactive | 4383 | (interactive |
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index aa8b6bf2703..48bb99bfbce 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -121,7 +121,7 @@ This variable can be a list of select methods which Gnus will query with | |||
| 121 | the `ask-server' method in addition to the primary, secondary, and archive | 121 | the `ask-server' method in addition to the primary, secondary, and archive |
| 122 | servers. | 122 | servers. |
| 123 | 123 | ||
| 124 | Eg. | 124 | E.g.: |
| 125 | (setq gnus-check-new-newsgroups | 125 | (setq gnus-check-new-newsgroups |
| 126 | '((nntp \"some.server\") (nntp \"other.server\"))) | 126 | '((nntp \"some.server\") (nntp \"other.server\"))) |
| 127 | 127 | ||
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 85a6d5639a1..a266567987d 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -179,7 +179,7 @@ is to be performed in, and it should return an integer that says how | |||
| 179 | many days an article can be stored before it is considered \"old\". | 179 | many days an article can be stored before it is considered \"old\". |
| 180 | It can also return the values `never' and `immediate'. | 180 | It can also return the values `never' and `immediate'. |
| 181 | 181 | ||
| 182 | Eg.: | 182 | E.g.: |
| 183 | 183 | ||
| 184 | \(setq nnmail-expiry-wait-function | 184 | \(setq nnmail-expiry-wait-function |
| 185 | (lambda (newsgroup) | 185 | (lambda (newsgroup) |
| @@ -291,7 +291,7 @@ directory. This hook is called after the incoming mail box has been | |||
| 291 | emptied, and can be used to call any mail box programs you have | 291 | emptied, and can be used to call any mail box programs you have |
| 292 | running (\"xwatch\", etc.) | 292 | running (\"xwatch\", etc.) |
| 293 | 293 | ||
| 294 | Eg. | 294 | E.g.: |
| 295 | 295 | ||
| 296 | \(add-hook 'nnmail-read-incoming-hook | 296 | \(add-hook 'nnmail-read-incoming-hook |
| 297 | (lambda () | 297 | (lambda () |
diff --git a/lisp/gnus/smime.el b/lisp/gnus/smime.el index 7e391c03778..2c2775dfbd7 100644 --- a/lisp/gnus/smime.el +++ b/lisp/gnus/smime.el | |||
| @@ -214,7 +214,7 @@ Enabling this will have OpenSSL check the signers certificate | |||
| 214 | against a certificate revocation list (CRL). | 214 | against a certificate revocation list (CRL). |
| 215 | 215 | ||
| 216 | For this to work the CRL must be up-to-date and since they are | 216 | For this to work the CRL must be up-to-date and since they are |
| 217 | normally updated quite often (ie. several times a day) you | 217 | normally updated quite often (i.e., several times a day) you |
| 218 | probably need some tool to keep them up-to-date. Unfortunately | 218 | probably need some tool to keep them up-to-date. Unfortunately |
| 219 | Gnus cannot do this for you. | 219 | Gnus cannot do this for you. |
| 220 | 220 | ||
diff --git a/lisp/hexl.el b/lisp/hexl.el index 13181ff0e3c..2ee492b4c5e 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el | |||
| @@ -311,8 +311,8 @@ A sample format: | |||
| 311 | 000000c0: 7265 6769 6f6e 2e0a region.. | 311 | 000000c0: 7265 6769 6f6e 2e0a region.. |
| 312 | 312 | ||
| 313 | Movement is as simple as movement in a normal Emacs text buffer. Most | 313 | Movement is as simple as movement in a normal Emacs text buffer. Most |
| 314 | cursor movement bindings are the same (ie. Use \\[hexl-backward-char], \\[hexl-forward-char], \\[hexl-next-line], and \\[hexl-previous-line] | 314 | cursor movement bindings are the same: use \\[hexl-backward-char], \\[hexl-forward-char], \\[hexl-next-line], and \\[hexl-previous-line] |
| 315 | to move the cursor left, right, down, and up). | 315 | to move the cursor left, right, down, and up. |
| 316 | 316 | ||
| 317 | Advanced cursor movement commands (ala \\[hexl-beginning-of-line], \\[hexl-end-of-line], \\[hexl-beginning-of-buffer], and \\[hexl-end-of-buffer]) are | 317 | Advanced cursor movement commands (ala \\[hexl-beginning-of-line], \\[hexl-end-of-line], \\[hexl-beginning-of-buffer], and \\[hexl-end-of-buffer]) are |
| 318 | also supported. | 318 | also supported. |
diff --git a/lisp/net/ange-ftp.el b/lisp/net/ange-ftp.el index 5e9ba6d9cea..2b8c7ae145b 100644 --- a/lisp/net/ange-ftp.el +++ b/lisp/net/ange-ftp.el | |||
| @@ -4084,7 +4084,8 @@ directory, so that Emacs will know its current contents." | |||
| 4084 | (or (file-exists-p parent) | 4084 | (or (file-exists-p parent) |
| 4085 | (ange-ftp-make-directory parent parents)))) | 4085 | (ange-ftp-make-directory parent parents)))) |
| 4086 | (if (file-exists-p dir) | 4086 | (if (file-exists-p dir) |
| 4087 | (error "Cannot make directory %s: file already exists" dir) | 4087 | (unless parents |
| 4088 | (error "Cannot make directory %s: file already exists" dir)) | ||
| 4088 | (let ((parsed (ange-ftp-ftp-name dir))) | 4089 | (let ((parsed (ange-ftp-ftp-name dir))) |
| 4089 | (if parsed | 4090 | (if parsed |
| 4090 | (let* ((host (nth 0 parsed)) | 4091 | (let* ((host (nth 0 parsed)) |
diff --git a/lisp/nxml/nxml-mode.el b/lisp/nxml/nxml-mode.el index 6c25d903feb..2ee73235dd0 100644 --- a/lisp/nxml/nxml-mode.el +++ b/lisp/nxml/nxml-mode.el | |||
| @@ -159,12 +159,12 @@ This is not used directly, but only via inheritance by other faces." | |||
| 159 | 159 | ||
| 160 | (defface nxml-comment-delimiter | 160 | (defface nxml-comment-delimiter |
| 161 | '((t (:inherit font-lock-comment-delimiter-face))) | 161 | '((t (:inherit font-lock-comment-delimiter-face))) |
| 162 | "Face used for the delimiters of comments, i.e <!-- and -->." | 162 | "Face used for the delimiters of comments, i.e., <!-- and -->." |
| 163 | :group 'nxml-faces) | 163 | :group 'nxml-faces) |
| 164 | 164 | ||
| 165 | (defface nxml-processing-instruction-delimiter | 165 | (defface nxml-processing-instruction-delimiter |
| 166 | '((t (:inherit nxml-delimiter))) | 166 | '((t (:inherit nxml-delimiter))) |
| 167 | "Face used for the delimiters of processing instructions, i.e <? and ?>." | 167 | "Face used for the delimiters of processing instructions, i.e., <? and ?>." |
| 168 | :group 'nxml-faces) | 168 | :group 'nxml-faces) |
| 169 | 169 | ||
| 170 | (defface nxml-processing-instruction-target | 170 | (defface nxml-processing-instruction-target |
| @@ -179,7 +179,7 @@ This is not used directly, but only via inheritance by other faces." | |||
| 179 | 179 | ||
| 180 | (defface nxml-cdata-section-delimiter | 180 | (defface nxml-cdata-section-delimiter |
| 181 | '((t (:inherit nxml-delimiter))) | 181 | '((t (:inherit nxml-delimiter))) |
| 182 | "Face used for the delimiters of CDATA sections, i.e <![, [, and ]]>." | 182 | "Face used for the delimiters of CDATA sections, i.e., <![, [, and ]]>." |
| 183 | :group 'nxml-faces) | 183 | :group 'nxml-faces) |
| 184 | 184 | ||
| 185 | (defface nxml-cdata-section-CDATA | 185 | (defface nxml-cdata-section-CDATA |
| @@ -200,7 +200,7 @@ This includes ths `x' in hex references." | |||
| 200 | 200 | ||
| 201 | (defface nxml-char-ref-delimiter | 201 | (defface nxml-char-ref-delimiter |
| 202 | '((t (:inherit nxml-ref))) | 202 | '((t (:inherit nxml-ref))) |
| 203 | "Face used for the delimiters of character references, i.e &# and ;." | 203 | "Face used for the delimiters of character references, i.e., &# and ;." |
| 204 | :group 'nxml-faces) | 204 | :group 'nxml-faces) |
| 205 | 205 | ||
| 206 | (defface nxml-entity-ref-name | 206 | (defface nxml-entity-ref-name |
| @@ -210,7 +210,7 @@ This includes ths `x' in hex references." | |||
| 210 | 210 | ||
| 211 | (defface nxml-entity-ref-delimiter | 211 | (defface nxml-entity-ref-delimiter |
| 212 | '((t (:inherit nxml-ref))) | 212 | '((t (:inherit nxml-ref))) |
| 213 | "Face used for the delimiters of entity references, i.e & and ;." | 213 | "Face used for the delimiters of entity references, i.e., & and ;." |
| 214 | :group 'nxml-faces) | 214 | :group 'nxml-faces) |
| 215 | 215 | ||
| 216 | (defface nxml-tag-delimiter | 216 | (defface nxml-tag-delimiter |
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el index 6a0b8eee45c..5be14771961 100644 --- a/lisp/org/org-element.el +++ b/lisp/org/org-element.el | |||
| @@ -3668,7 +3668,7 @@ containing the secondary string. It is used to set correctly | |||
| 3668 | (defun org-element-map (data types fun &optional info first-match no-recursion) | 3668 | (defun org-element-map (data types fun &optional info first-match no-recursion) |
| 3669 | "Map a function on selected elements or objects. | 3669 | "Map a function on selected elements or objects. |
| 3670 | 3670 | ||
| 3671 | DATA is an Org buffer parse tree, as returned by, i.e, | 3671 | DATA is an Org buffer parse tree, as returned by, i.e., |
| 3672 | `org-element-parse-buffer'. TYPES is a symbol or list of symbols | 3672 | `org-element-parse-buffer'. TYPES is a symbol or list of symbols |
| 3673 | of elements or objects types (see `org-element-all-elements' and | 3673 | of elements or objects types (see `org-element-all-elements' and |
| 3674 | `org-element-all-objects' for a complete list of types). FUN is | 3674 | `org-element-all-objects' for a complete list of types). FUN is |
diff --git a/lisp/org/org.el b/lisp/org/org.el index bba52a8b63a..ede633a0a93 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -928,7 +928,7 @@ nil, don't do anything special at the beginning of the buffer." | |||
| 928 | (defcustom org-cycle-level-after-item/entry-creation t | 928 | (defcustom org-cycle-level-after-item/entry-creation t |
| 929 | "Non-nil means cycle entry level or item indentation in new empty entries. | 929 | "Non-nil means cycle entry level or item indentation in new empty entries. |
| 930 | 930 | ||
| 931 | When the cursor is at the end of an empty headline, i.e with only stars | 931 | When the cursor is at the end of an empty headline, i.e., with only stars |
| 932 | and maybe a TODO keyword, TAB will then switch the entry to become a child, | 932 | and maybe a TODO keyword, TAB will then switch the entry to become a child, |
| 933 | and then all possible ancestor states, before returning to the original state. | 933 | and then all possible ancestor states, before returning to the original state. |
| 934 | This makes data entry extremely fast: M-RET to create a new headline, | 934 | This makes data entry extremely fast: M-RET to create a new headline, |
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el index b552b68c4b7..cb8d2d23c84 100644 --- a/lisp/progmodes/cc-align.el +++ b/lisp/progmodes/cc-align.el | |||
| @@ -53,7 +53,7 @@ | |||
| 53 | (defun c-lineup-topmost-intro-cont (langelem) | 53 | (defun c-lineup-topmost-intro-cont (langelem) |
| 54 | "Line up declaration continuation lines zero or one indentation step. | 54 | "Line up declaration continuation lines zero or one indentation step. |
| 55 | For lines in the \"header\" of a definition, zero is used. For other | 55 | For lines in the \"header\" of a definition, zero is used. For other |
| 56 | lines, `c-basic-offset' is added to the indentation. E.g: | 56 | lines, `c-basic-offset' is added to the indentation. E.g.: |
| 57 | 57 | ||
| 58 | int | 58 | int |
| 59 | neg (int i) <- c-lineup-topmost-intro-cont | 59 | neg (int i) <- c-lineup-topmost-intro-cont |
| @@ -165,7 +165,7 @@ Works with: topmost-intro-cont." | |||
| 165 | As a special case, if the indented line is inside a brace block | 165 | As a special case, if the indented line is inside a brace block |
| 166 | construct, the indentation is `c-basic-offset' only. This is intended | 166 | construct, the indentation is `c-basic-offset' only. This is intended |
| 167 | as a \"DWIM\" measure in cases like macros that contains statement | 167 | as a \"DWIM\" measure in cases like macros that contains statement |
| 168 | blocks, e.g: | 168 | blocks, e.g.: |
| 169 | 169 | ||
| 170 | A_VERY_LONG_MACRO_NAME ({ | 170 | A_VERY_LONG_MACRO_NAME ({ |
| 171 | some (code, with + long, lines * in[it]); | 171 | some (code, with + long, lines * in[it]); |
| @@ -340,7 +340,7 @@ Works with: arglist-cont, arglist-cont-nonempty." | |||
| 340 | (defun c-lineup-close-paren (langelem) | 340 | (defun c-lineup-close-paren (langelem) |
| 341 | "Line up the closing paren under its corresponding open paren if the | 341 | "Line up the closing paren under its corresponding open paren if the |
| 342 | open paren is followed by code. If the open paren ends its line, no | 342 | open paren is followed by code. If the open paren ends its line, no |
| 343 | indentation is added. E.g: | 343 | indentation is added. E.g.: |
| 344 | 344 | ||
| 345 | main (int, main ( | 345 | main (int, main ( |
| 346 | char ** int, char ** | 346 | char ** int, char ** |
| @@ -394,7 +394,7 @@ Works with: stream-op." | |||
| 394 | 394 | ||
| 395 | (defun c-lineup-multi-inher (langelem) | 395 | (defun c-lineup-multi-inher (langelem) |
| 396 | "Line up the classes in C++ multiple inheritance clauses and member | 396 | "Line up the classes in C++ multiple inheritance clauses and member |
| 397 | initializers under each other. E.g: | 397 | initializers under each other. E.g.: |
| 398 | 398 | ||
| 399 | class Foo: Foo::Foo (int a, int b): | 399 | class Foo: Foo::Foo (int a, int b): |
| 400 | public Cyphr, Cyphr (a), | 400 | public Cyphr, Cyphr (a), |
| @@ -439,7 +439,7 @@ Works with: inher-cont, member-init-cont." | |||
| 439 | If class names follow on the same line as the implements/extends | 439 | If class names follow on the same line as the implements/extends |
| 440 | keyword, they are lined up under each other. Otherwise, they are | 440 | keyword, they are lined up under each other. Otherwise, they are |
| 441 | indented by adding `c-basic-offset' to the column of the keyword. | 441 | indented by adding `c-basic-offset' to the column of the keyword. |
| 442 | E.g: | 442 | E.g.: |
| 443 | 443 | ||
| 444 | class Foo class Foo | 444 | class Foo class Foo |
| 445 | extends extends Cyphr, | 445 | extends extends Cyphr, |
| @@ -461,7 +461,7 @@ If exception names follow on the same line as the throws keyword, | |||
| 461 | they are lined up under each other. Otherwise, they are indented by | 461 | they are lined up under each other. Otherwise, they are indented by |
| 462 | adding `c-basic-offset' to the column of the throws keyword. The | 462 | adding `c-basic-offset' to the column of the throws keyword. The |
| 463 | throws keyword itself is also indented by `c-basic-offset' from the | 463 | throws keyword itself is also indented by `c-basic-offset' from the |
| 464 | function declaration start if it doesn't hang. E.g: | 464 | function declaration start if it doesn't hang. E.g.: |
| 465 | 465 | ||
| 466 | int foo() int foo() throws Cyphr, | 466 | int foo() int foo() throws Cyphr, |
| 467 | throws <-> Bar, <- c-lineup-java-throws | 467 | throws <-> Bar, <- c-lineup-java-throws |
| @@ -485,7 +485,7 @@ Works with: func-decl-cont." | |||
| 485 | 485 | ||
| 486 | (defun c-indent-one-line-block (langelem) | 486 | (defun c-indent-one-line-block (langelem) |
| 487 | "Indent a one line block `c-basic-offset' extra. | 487 | "Indent a one line block `c-basic-offset' extra. |
| 488 | E.g: | 488 | E.g.: |
| 489 | 489 | ||
| 490 | if (n > 0) if (n > 0) | 490 | if (n > 0) if (n > 0) |
| 491 | {m+=n; n=0;} <-> { <- c-indent-one-line-block | 491 | {m+=n; n=0;} <-> { <- c-indent-one-line-block |
| @@ -508,7 +508,7 @@ Work with: Almost all syntactic symbols, but most useful on *-open." | |||
| 508 | 508 | ||
| 509 | (defun c-indent-multi-line-block (langelem) | 509 | (defun c-indent-multi-line-block (langelem) |
| 510 | "Indent a multi line block `c-basic-offset' extra. | 510 | "Indent a multi line block `c-basic-offset' extra. |
| 511 | E.g: | 511 | E.g.: |
| 512 | 512 | ||
| 513 | int *foo[] = { int *foo[] = { | 513 | int *foo[] = { int *foo[] = { |
| 514 | NULL, NULL, | 514 | NULL, NULL, |
| @@ -670,7 +670,7 @@ Works with: comment-intro." | |||
| 670 | (defun c-lineup-knr-region-comment (langelem) | 670 | (defun c-lineup-knr-region-comment (langelem) |
| 671 | "Line up a comment in the \"K&R region\" with the declaration. | 671 | "Line up a comment in the \"K&R region\" with the declaration. |
| 672 | That is the region between the function or class header and the | 672 | That is the region between the function or class header and the |
| 673 | beginning of the block. E.g: | 673 | beginning of the block. E.g.: |
| 674 | 674 | ||
| 675 | int main() | 675 | int main() |
| 676 | /* This is the main function. */ <- c-lineup-knr-region-comment | 676 | /* This is the main function. */ <- c-lineup-knr-region-comment |
| @@ -693,7 +693,7 @@ Works with: comment-intro." | |||
| 693 | 693 | ||
| 694 | (defun c-lineup-runin-statements (langelem) | 694 | (defun c-lineup-runin-statements (langelem) |
| 695 | "Line up statements when the first statement is on the same line as | 695 | "Line up statements when the first statement is on the same line as |
| 696 | the block opening brace. E.g: | 696 | the block opening brace. E.g.: |
| 697 | 697 | ||
| 698 | int main() | 698 | int main() |
| 699 | { puts (\"Hello world!\"); | 699 | { puts (\"Hello world!\"); |
| @@ -794,7 +794,7 @@ arglist-cont-nonempty." | |||
| 794 | "Line up \"cascaded calls\" under each other. | 794 | "Line up \"cascaded calls\" under each other. |
| 795 | If the line begins with \"->\" or \".\" and the preceding line ends | 795 | If the line begins with \"->\" or \".\" and the preceding line ends |
| 796 | with one or more function calls preceded by the same token, then the | 796 | with one or more function calls preceded by the same token, then the |
| 797 | arrow is lined up with the first of those tokens. E.g: | 797 | arrow is lined up with the first of those tokens. E.g.: |
| 798 | 798 | ||
| 799 | result = proc->add(17)->add(18) | 799 | result = proc->add(17)->add(18) |
| 800 | ->add(19) + <- c-lineup-cascaded-calls | 800 | ->add(19) + <- c-lineup-cascaded-calls |
| @@ -839,7 +839,7 @@ arglist-cont-nonempty." | |||
| 839 | (defun c-lineup-string-cont (langelem) | 839 | (defun c-lineup-string-cont (langelem) |
| 840 | "Line up a continued string under the one it continues. | 840 | "Line up a continued string under the one it continues. |
| 841 | A continued string in this sense is where a string literal follows | 841 | A continued string in this sense is where a string literal follows |
| 842 | directly after another one. E.g: | 842 | directly after another one. E.g.: |
| 843 | 843 | ||
| 844 | result = prefix + \"A message \" | 844 | result = prefix + \"A message \" |
| 845 | \"string.\"; <- c-lineup-string-cont | 845 | \"string.\"; <- c-lineup-string-cont |
| @@ -921,7 +921,7 @@ Works with: objc-method-call-cont." | |||
| 921 | ; no complete argument to indent yet | 921 | ; no complete argument to indent yet |
| 922 | (throw 'no-idea nil)))) | 922 | (throw 'no-idea nil)))) |
| 923 | 923 | ||
| 924 | (extra (save-excursion | 924 | (extra (save-excursion |
| 925 | ; indent parameter to argument if needed | 925 | ; indent parameter to argument if needed |
| 926 | (back-to-indentation) | 926 | (back-to-indentation) |
| 927 | (c-backward-syntactic-ws (c-langelem-pos langelem)) | 927 | (c-backward-syntactic-ws (c-langelem-pos langelem)) |
| @@ -1023,7 +1023,7 @@ Works with: inlambda, inexpr-statement, inexpr-class." | |||
| 1023 | (defun c-lineup-whitesmith-in-block (langelem) | 1023 | (defun c-lineup-whitesmith-in-block (langelem) |
| 1024 | "Line up lines inside a block in Whitesmith style. | 1024 | "Line up lines inside a block in Whitesmith style. |
| 1025 | It's done in a way that works both when the opening brace hangs and | 1025 | It's done in a way that works both when the opening brace hangs and |
| 1026 | when it doesn't. E.g: | 1026 | when it doesn't. E.g.: |
| 1027 | 1027 | ||
| 1028 | something | 1028 | something |
| 1029 | { something { | 1029 | { something { |
| @@ -1085,7 +1085,7 @@ arglist-cont." | |||
| 1085 | 1085 | ||
| 1086 | (defun c-lineup-cpp-define (langelem) | 1086 | (defun c-lineup-cpp-define (langelem) |
| 1087 | "Line up macro continuation lines according to the indentation of | 1087 | "Line up macro continuation lines according to the indentation of |
| 1088 | the construct preceding the macro. E.g: | 1088 | the construct preceding the macro. E.g.: |
| 1089 | 1089 | ||
| 1090 | v beg of preceding constr v beg of preceding constr | 1090 | v beg of preceding constr v beg of preceding constr |
| 1091 | int dribble() { | 1091 | int dribble() { |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 89cf89f8770..0d5549e4441 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -2819,7 +2819,7 @@ undefined whether identifier syntax (see `c-identifier-syntax-table') | |||
| 2819 | is in effect or not. | 2819 | is in effect or not. |
| 2820 | 2820 | ||
| 2821 | Note that it's used in cases like after \"foo (bar)\" so it should | 2821 | Note that it's used in cases like after \"foo (bar)\" so it should |
| 2822 | only match when it's certain that it's a declaration, e.g \"{\" but | 2822 | only match when it's certain that it's a declaration, e.g., \"{\" but |
| 2823 | not \",\" or \";\"." | 2823 | not \",\" or \";\"." |
| 2824 | t "{" | 2824 | t "{" |
| 2825 | ;; If K&R style declarations should be recognized then one could | 2825 | ;; If K&R style declarations should be recognized then one could |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index d2a9617e28e..9e9e2f0b090 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1949,7 +1949,7 @@ Runs `compilation-mode-hook' with `run-mode-hooks' (which see). | |||
| 1949 | "This is like `define-derived-mode' without the PARENT argument. | 1949 | "This is like `define-derived-mode' without the PARENT argument. |
| 1950 | The parent is always `compilation-mode' and the customizable `compilation-...' | 1950 | The parent is always `compilation-mode' and the customizable `compilation-...' |
| 1951 | variables are also set from the name of the mode you have chosen, | 1951 | variables are also set from the name of the mode you have chosen, |
| 1952 | by replacing the first word, e.g `compilation-scroll-output' from | 1952 | by replacing the first word, e.g., `compilation-scroll-output' from |
| 1953 | `grep-scroll-output' if that variable exists." | 1953 | `grep-scroll-output' if that variable exists." |
| 1954 | (let ((mode-name (replace-regexp-in-string "-mode\\'" "" (symbol-name mode)))) | 1954 | (let ((mode-name (replace-regexp-in-string "-mode\\'" "" (symbol-name mode)))) |
| 1955 | `(define-derived-mode ,mode compilation-mode ,name | 1955 | `(define-derived-mode ,mode compilation-mode ,name |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 7d34269b6b5..e8678fe6281 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1551,7 +1551,7 @@ and POD directives (Disabled by default, see `cperl-electric-keywords'.) | |||
| 1551 | 1551 | ||
| 1552 | The user types the keyword immediately followed by a space, which | 1552 | The user types the keyword immediately followed by a space, which |
| 1553 | causes the construct to be expanded, and the point is positioned where | 1553 | causes the construct to be expanded, and the point is positioned where |
| 1554 | she is most likely to want to be. eg. when the user types a space | 1554 | she is most likely to want to be. E.g., when the user types a space |
| 1555 | following \"if\" the following appears in the buffer: if () { or if () | 1555 | following \"if\" the following appears in the buffer: if () { or if () |
| 1556 | } { } and the cursor is between the parentheses. The user can then | 1556 | } { } and the cursor is between the parentheses. The user can then |
| 1557 | type some boolean expression within the parens. Having done that, | 1557 | type some boolean expression within the parens. Having done that, |
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el index 76e94875c8d..8a868883a11 100644 --- a/lisp/progmodes/dcl-mode.el +++ b/lisp/progmodes/dcl-mode.el | |||
| @@ -168,8 +168,8 @@ nil to get the default indentation. | |||
| 168 | 168 | ||
| 169 | INDENT-TYPE is a symbol indicating what kind of indentation should be done. | 169 | INDENT-TYPE is a symbol indicating what kind of indentation should be done. |
| 170 | It can have the following values: | 170 | It can have the following values: |
| 171 | indent the lines indentation should be increased, e.g. after THEN. | 171 | indent the indentation should be increased, e.g., after THEN. |
| 172 | outdent the lines indentation should be decreased, e.g a line with ENDIF. | 172 | outdent the indentation should be decreased, e.g., a line with ENDIF. |
| 173 | first-line indentation for the first line in a buffer or SUBROUTINE. | 173 | first-line indentation for the first line in a buffer or SUBROUTINE. |
| 174 | CUR-INDENT is the indentation of the preceding command line. | 174 | CUR-INDENT is the indentation of the preceding command line. |
| 175 | EXTRA-INDENT is the default change in indentation for this line | 175 | EXTRA-INDENT is the default change in indentation for this line |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 55be6222586..5571a905f85 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -4777,7 +4777,7 @@ primitive or interface named NAME." | |||
| 4777 | )))))))))) | 4777 | )))))))))) |
| 4778 | 4778 | ||
| 4779 | (defun verilog-get-expr() | 4779 | (defun verilog-get-expr() |
| 4780 | "Grab expression at point, e.g, case ( a | b & (c ^d))." | 4780 | "Grab expression at point, e.g., case ( a | b & (c ^d))." |
| 4781 | (let* ((b (progn | 4781 | (let* ((b (progn |
| 4782 | (verilog-forward-syntactic-ws) | 4782 | (verilog-forward-syntactic-ws) |
| 4783 | (skip-chars-forward " \t") | 4783 | (skip-chars-forward " \t") |
diff --git a/lisp/server.el b/lisp/server.el index 64224d2a310..05ac345d904 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -154,7 +154,7 @@ long-lived shared key will decrease security (especially since | |||
| 154 | the key is transmitted as plain-text). | 154 | the key is transmitted as plain-text). |
| 155 | 155 | ||
| 156 | In some situations however, it can be difficult to share randomly | 156 | In some situations however, it can be difficult to share randomly |
| 157 | generated passwords with remote hosts (eg. no shared directory), | 157 | generated passwords with remote hosts (e.g., no shared directory), |
| 158 | so you can set the key with this variable and then copy the | 158 | so you can set the key with this variable and then copy the |
| 159 | server file to the remote host (with possible changes to IP | 159 | server file to the remote host (with possible changes to IP |
| 160 | address and/or port if that applies). | 160 | address and/or port if that applies). |
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index c22b5482b3e..c03d64a2f54 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el | |||
| @@ -36,7 +36,7 @@ If `check', try to check if it does. | |||
| 36 | If a list, assume that the listed features are supported, without checking. | 36 | If a list, assume that the listed features are supported, without checking. |
| 37 | 37 | ||
| 38 | The relevant features are: | 38 | The relevant features are: |
| 39 | modifyOtherKeys -- if supported, more key bindings work (e.g, \"\\C-,\") | 39 | modifyOtherKeys -- if supported, more key bindings work (e.g., \"\\C-,\") |
| 40 | reportBackground -- if supported, Xterm reports its background color | 40 | reportBackground -- if supported, Xterm reports its background color |
| 41 | " | 41 | " |
| 42 | :version "24.1" | 42 | :version "24.1" |
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index c67aa338791..23e90552096 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el | |||
| @@ -259,9 +259,9 @@ if that value is non-nil. | |||
| 259 | These buffers can be edited separately, for example with `fill-paragraph'. | 259 | These buffers can be edited separately, for example with `fill-paragraph'. |
| 260 | If you want to disable parallel scrolling temporarily, use \\[2C-toggle-autoscroll] . | 260 | If you want to disable parallel scrolling temporarily, use \\[2C-toggle-autoscroll] . |
| 261 | 261 | ||
| 262 | If you include long lines, i.e which will span both columns (eg. | 262 | If you include long lines that span both columns (e.g., source |
| 263 | source code), they should be in what will be the first column, with | 263 | code), they should be in what will be the first column, with the |
| 264 | the associated buffer having empty lines next to them. | 264 | associated buffer having empty lines next to them. |
| 265 | 265 | ||
| 266 | Potential uses are writing bilingual texts, or editing the comments of a | 266 | Potential uses are writing bilingual texts, or editing the comments of a |
| 267 | source code. See the file lisp/two-column.el for detailed examples. | 267 | source code. See the file lisp/two-column.el for detailed examples. |
diff --git a/src/ChangeLog b/src/ChangeLog index ed750032dd6..31ffd36c060 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,49 @@ | |||
| 1 | 2013-02-13 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * keyboard.c (input-decode-map, key-translation-map): Doc fixes. | ||
| 4 | |||
| 5 | 2013-02-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 6 | |||
| 7 | Improve AIX port some more (Bug#13650). | ||
| 8 | With this, it should be as good as it was in 23.3, though it's | ||
| 9 | still pretty bad: the dumped emacs does not run. See Mark Fleishman in | ||
| 10 | http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html | ||
| 11 | * unexaix.c (start_of_text): Remove. | ||
| 12 | (_data, _text): Declare as char[], not int, as AIX manual suggests. | ||
| 13 | (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr) | ||
| 14 | (orig_load_scnptr, orig_data_scnptr): | ||
| 15 | Now off_t, not long, since they are file offsets. | ||
| 16 | (make_hdr): Use _data, not start_of_data (). | ||
| 17 | This is the key part of the fix. | ||
| 18 | (make_hdr, unrelocate_symbols): Use off_t for file offsets. | ||
| 19 | (unrelocate_symbols): Cast pointers to intptr_t, not to ulong. | ||
| 20 | |||
| 21 | * pre-crt0.c (data_start): Initialize to 1. | ||
| 22 | This ports to compilers that optimize the external declaration | ||
| 23 | 'int x = 0;' as if it were 'int x;' to shrink the executable. | ||
| 24 | |||
| 25 | Improve AIX port (Bug#13650). | ||
| 26 | This doesn't fix the bug, but it makes progress: Emacs builds now. | ||
| 27 | * unexaix.c: Include inttypes.h, stdarg.h. | ||
| 28 | (report_error, report_error_1): Mark as _Noreturn. | ||
| 29 | (report_error): Don't report the wrong errno. | ||
| 30 | (report_error_1): Now varargs. All callers changed. | ||
| 31 | (make_hdr): Use uintptr_t, not unsigned, when converting pointers | ||
| 32 | to unsigned. Don't use ADDR_CORRECT, as it no longer exists. | ||
| 33 | (write_ptr): Use %p to print address rather than %lx and a cast | ||
| 34 | to unsigned long. Grow buffer a bit, to be safer. | ||
| 35 | |||
| 36 | 2013-02-13 Eli Zaretskii <eliz@gnu.org> | ||
| 37 | |||
| 38 | * bidi.c (bidi_resolve_neutral): After finding the next | ||
| 39 | non-neutral character, accept NEUTRAL_ON type as well, because | ||
| 40 | directional control characters, such as LRE and RLE, have their | ||
| 41 | type converted to that by bidi_resolve_weak. This avoids aborts | ||
| 42 | when LRE/RLE follows a run of neutrals. | ||
| 43 | (bidi_move_to_visually_next): Assert that return value of | ||
| 44 | bidi_peek_at_next_level is non-negative. Negative values will | ||
| 45 | cause an infloop. | ||
| 46 | |||
| 1 | 2013-02-13 Paul Eggert <eggert@cs.ucla.edu> | 47 | 2013-02-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 48 | ||
| 3 | Minor getenv-related fixes. | 49 | Minor getenv-related fixes. |
diff --git a/src/bidi.c b/src/bidi.c index b067c8134e3..db2e48a2ca7 100644 --- a/src/bidi.c +++ b/src/bidi.c | |||
| @@ -1973,6 +1973,7 @@ bidi_resolve_neutral (struct bidi_it *bidi_it) | |||
| 1973 | next_type = STRONG_R; | 1973 | next_type = STRONG_R; |
| 1974 | break; | 1974 | break; |
| 1975 | case WEAK_BN: | 1975 | case WEAK_BN: |
| 1976 | case NEUTRAL_ON: /* W6/Retaining */ | ||
| 1976 | if (!bidi_explicit_dir_char (bidi_it->ch)) | 1977 | if (!bidi_explicit_dir_char (bidi_it->ch)) |
| 1977 | emacs_abort (); /* can't happen: BNs are skipped */ | 1978 | emacs_abort (); /* can't happen: BNs are skipped */ |
| 1978 | /* FALLTHROUGH */ | 1979 | /* FALLTHROUGH */ |
| @@ -2391,6 +2392,10 @@ bidi_move_to_visually_next (struct bidi_it *bidi_it) | |||
| 2391 | next_level = bidi_peek_at_next_level (bidi_it); | 2392 | next_level = bidi_peek_at_next_level (bidi_it); |
| 2392 | while (next_level != expected_next_level) | 2393 | while (next_level != expected_next_level) |
| 2393 | { | 2394 | { |
| 2395 | /* If next_level is -1, it means we have an unresolved level | ||
| 2396 | in the cache, which at this point should not happen. If | ||
| 2397 | it does, we will infloop. */ | ||
| 2398 | eassert (next_level >= 0); | ||
| 2394 | expected_next_level += incr; | 2399 | expected_next_level += incr; |
| 2395 | level_to_search += incr; | 2400 | level_to_search += incr; |
| 2396 | bidi_find_other_level_edge (bidi_it, level_to_search, !ascending); | 2401 | bidi_find_other_level_edge (bidi_it, level_to_search, !ascending); |
diff --git a/src/coding.c b/src/coding.c index b881f162ab9..868fb7df0ea 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -10712,7 +10712,7 @@ reading if you suppress escape sequence detection. | |||
| 10712 | 10712 | ||
| 10713 | The other way to read escape sequences in a file without decoding is | 10713 | The other way to read escape sequences in a file without decoding is |
| 10714 | to explicitly specify some coding system that doesn't use ISO-2022 | 10714 | to explicitly specify some coding system that doesn't use ISO-2022 |
| 10715 | escape sequence (e.g `latin-1') on reading by \\[universal-coding-system-argument]. */); | 10715 | escape sequence (e.g., `latin-1') on reading by \\[universal-coding-system-argument]. */); |
| 10716 | inhibit_iso_escape_detection = 0; | 10716 | inhibit_iso_escape_detection = 0; |
| 10717 | 10717 | ||
| 10718 | DEFVAR_BOOL ("inhibit-null-byte-detection", | 10718 | DEFVAR_BOOL ("inhibit-null-byte-detection", |
diff --git a/src/font.c b/src/font.c index bed0ac8caf2..5cfac07de72 100644 --- a/src/font.c +++ b/src/font.c | |||
| @@ -4831,7 +4831,7 @@ where | |||
| 4831 | OPENED-NAME is the name used for opening the font, | 4831 | OPENED-NAME is the name used for opening the font, |
| 4832 | FULL-NAME is the full name of the font, | 4832 | FULL-NAME is the full name of the font, |
| 4833 | SIZE is the pixelsize of the font, | 4833 | SIZE is the pixelsize of the font, |
| 4834 | HEIGHT is the pixel-height of the font (i.e ascent + descent), | 4834 | HEIGHT is the pixel-height of the font (i.e., ascent + descent), |
| 4835 | BASELINE-OFFSET is the upward offset pixels from ASCII baseline, | 4835 | BASELINE-OFFSET is the upward offset pixels from ASCII baseline, |
| 4836 | RELATIVE-COMPOSE and DEFAULT-ASCENT are the numbers controlling | 4836 | RELATIVE-COMPOSE and DEFAULT-ASCENT are the numbers controlling |
| 4837 | how to compose characters. | 4837 | how to compose characters. |
diff --git a/src/indent.c b/src/indent.c index 44ecbbc8a58..ce1639eae1e 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -291,7 +291,7 @@ DEFUN ("current-column", Fcurrent_column, Scurrent_column, 0, 0, 0, | |||
| 291 | doc: /* Return the horizontal position of point. Beginning of line is column 0. | 291 | doc: /* Return the horizontal position of point. Beginning of line is column 0. |
| 292 | This is calculated by adding together the widths of all the displayed | 292 | This is calculated by adding together the widths of all the displayed |
| 293 | representations of the character between the start of the previous line | 293 | representations of the character between the start of the previous line |
| 294 | and point (eg. control characters will have a width of 2 or 4, tabs | 294 | and point (e.g., control characters will have a width of 2 or 4, tabs |
| 295 | will have a variable width). | 295 | will have a variable width). |
| 296 | Ignores finite width of frame, which means that this function may return | 296 | Ignores finite width of frame, which means that this function may return |
| 297 | values greater than (frame-width). | 297 | values greater than (frame-width). |
diff --git a/src/keyboard.c b/src/keyboard.c index 94432cb7bf6..4ead0538b92 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -11618,9 +11618,7 @@ If the binding is a function, it is called with one argument (the prompt) | |||
| 11618 | and its return value (a key sequence) is used. | 11618 | and its return value (a key sequence) is used. |
| 11619 | 11619 | ||
| 11620 | The events that come from bindings in `input-decode-map' are not | 11620 | The events that come from bindings in `input-decode-map' are not |
| 11621 | themselves looked up in `input-decode-map'. | 11621 | themselves looked up in `input-decode-map'. */); |
| 11622 | |||
| 11623 | This variable is keyboard-local. */); | ||
| 11624 | 11622 | ||
| 11625 | DEFVAR_LISP ("function-key-map", Vfunction_key_map, | 11623 | DEFVAR_LISP ("function-key-map", Vfunction_key_map, |
| 11626 | doc: /* The parent keymap of all `local-function-key-map' instances. | 11624 | doc: /* The parent keymap of all `local-function-key-map' instances. |
| @@ -11633,8 +11631,7 @@ definition will take precedence. */); | |||
| 11633 | DEFVAR_LISP ("key-translation-map", Vkey_translation_map, | 11631 | DEFVAR_LISP ("key-translation-map", Vkey_translation_map, |
| 11634 | doc: /* Keymap of key translations that can override keymaps. | 11632 | doc: /* Keymap of key translations that can override keymaps. |
| 11635 | This keymap works like `function-key-map', but comes after that, | 11633 | This keymap works like `function-key-map', but comes after that, |
| 11636 | and its non-prefix bindings override ordinary bindings. | 11634 | and its non-prefix bindings override ordinary bindings. */); |
| 11637 | Another difference is that it is global rather than keyboard-local. */); | ||
| 11638 | Vkey_translation_map = Fmake_sparse_keymap (Qnil); | 11635 | Vkey_translation_map = Fmake_sparse_keymap (Qnil); |
| 11639 | 11636 | ||
| 11640 | DEFVAR_LISP ("deferred-action-list", Vdeferred_action_list, | 11637 | DEFVAR_LISP ("deferred-action-list", Vdeferred_action_list, |
diff --git a/src/pre-crt0.c b/src/pre-crt0.c index ea5736eba2a..6b9618c8dc3 100644 --- a/src/pre-crt0.c +++ b/src/pre-crt0.c | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | that make environ an initialized variable. However, we do | 4 | that make environ an initialized variable. However, we do |
| 5 | need to make sure the label data_start exists anyway. */ | 5 | need to make sure the label data_start exists anyway. */ |
| 6 | 6 | ||
| 7 | /* Create a label to appear at the beginning of data space. */ | 7 | /* Create a label to appear at the beginning of data space. |
| 8 | 8 | Its value is nonzero so that it cannot be put into bss. */ | |
| 9 | int data_start = 0; | ||
| 10 | 9 | ||
| 10 | int data_start = 1; | ||
diff --git a/src/unexaix.c b/src/unexaix.c index 92ebd2e3ceb..da44480fdca 100644 --- a/src/unexaix.c +++ b/src/unexaix.c | |||
| @@ -51,6 +51,8 @@ what you give them. Help stamp out software-hoarding! */ | |||
| 51 | #include "getpagesize.h" | 51 | #include "getpagesize.h" |
| 52 | 52 | ||
| 53 | #include <sys/types.h> | 53 | #include <sys/types.h> |
| 54 | #include <inttypes.h> | ||
| 55 | #include <stdarg.h> | ||
| 54 | #include <stdio.h> | 56 | #include <stdio.h> |
| 55 | #include <sys/stat.h> | 57 | #include <sys/stat.h> |
| 56 | #include <errno.h> | 58 | #include <errno.h> |
| @@ -59,10 +61,8 @@ what you give them. Help stamp out software-hoarding! */ | |||
| 59 | 61 | ||
| 60 | #include "mem-limits.h" | 62 | #include "mem-limits.h" |
| 61 | 63 | ||
| 62 | char *start_of_text (void); /* Start of text */ | 64 | extern char _data[]; |
| 63 | 65 | extern char _text[]; | |
| 64 | extern int _data; | ||
| 65 | extern int _text; | ||
| 66 | 66 | ||
| 67 | #include <filehdr.h> | 67 | #include <filehdr.h> |
| 68 | #include <aouthdr.h> | 68 | #include <aouthdr.h> |
| @@ -71,15 +71,15 @@ extern int _text; | |||
| 71 | 71 | ||
| 72 | static struct filehdr f_hdr; /* File header */ | 72 | static struct filehdr f_hdr; /* File header */ |
| 73 | static struct aouthdr f_ohdr; /* Optional file header (a.out) */ | 73 | static struct aouthdr f_ohdr; /* Optional file header (a.out) */ |
| 74 | static long bias; /* Bias to add for growth */ | 74 | static off_t bias; /* Bias to add for growth */ |
| 75 | static long lnnoptr; /* Pointer to line-number info within file */ | 75 | static off_t lnnoptr; /* Pointer to line-number info within file */ |
| 76 | 76 | ||
| 77 | static long text_scnptr; | 77 | static off_t text_scnptr; |
| 78 | static long data_scnptr; | 78 | static off_t data_scnptr; |
| 79 | #define ALIGN(val, pwr) (((val) + ((1L<<(pwr))-1)) & ~((1L<<(pwr))-1)) | 79 | #define ALIGN(val, pwr) (((val) + ((1L<<(pwr))-1)) & ~((1L<<(pwr))-1)) |
| 80 | static long load_scnptr; | 80 | static off_t load_scnptr; |
| 81 | static long orig_load_scnptr; | 81 | static off_t orig_load_scnptr; |
| 82 | static long orig_data_scnptr; | 82 | static off_t orig_data_scnptr; |
| 83 | static int unrelocate_symbols (int, int, const char *, const char *); | 83 | static int unrelocate_symbols (int, int, const char *, const char *); |
| 84 | 84 | ||
| 85 | #ifndef MAX_SECTIONS | 85 | #ifndef MAX_SECTIONS |
| @@ -92,23 +92,30 @@ static int pagemask; | |||
| 92 | 92 | ||
| 93 | #include "lisp.h" | 93 | #include "lisp.h" |
| 94 | 94 | ||
| 95 | static void | 95 | static _Noreturn void |
| 96 | report_error (const char *file, int fd) | 96 | report_error (const char *file, int fd) |
| 97 | { | 97 | { |
| 98 | if (fd) | 98 | if (fd) |
| 99 | close (fd); | 99 | { |
| 100 | int failed_errno = errno; | ||
| 101 | close (fd); | ||
| 102 | errno = failed_errno; | ||
| 103 | } | ||
| 100 | report_file_error ("Cannot unexec", Fcons (build_string (file), Qnil)); | 104 | report_file_error ("Cannot unexec", Fcons (build_string (file), Qnil)); |
| 101 | } | 105 | } |
| 102 | 106 | ||
| 103 | #define ERROR0(msg) report_error_1 (new, msg, 0, 0); return -1 | 107 | #define ERROR0(msg) report_error_1 (new, msg) |
| 104 | #define ERROR1(msg,x) report_error_1 (new, msg, x, 0); return -1 | 108 | #define ERROR1(msg,x) report_error_1 (new, msg, x) |
| 105 | #define ERROR2(msg,x,y) report_error_1 (new, msg, x, y); return -1 | 109 | #define ERROR2(msg,x,y) report_error_1 (new, msg, x, y) |
| 106 | 110 | ||
| 107 | static void | 111 | static _Noreturn void ATTRIBUTE_FORMAT_PRINTF (2, 3) |
| 108 | report_error_1 (int fd, const char *msg, int a1, int a2) | 112 | report_error_1 (int fd, const char *msg, ...) |
| 109 | { | 113 | { |
| 114 | va_list ap; | ||
| 110 | close (fd); | 115 | close (fd); |
| 111 | error (msg, a1, a2); | 116 | va_start (ap, msg); |
| 117 | verror (msg, ap); | ||
| 118 | va_end (ap); | ||
| 112 | } | 119 | } |
| 113 | 120 | ||
| 114 | static int make_hdr (int, int, const char *, const char *); | 121 | static int make_hdr (int, int, const char *, const char *); |
| @@ -163,8 +170,8 @@ make_hdr (int new, int a_out, | |||
| 163 | const char *a_name, const char *new_name) | 170 | const char *a_name, const char *new_name) |
| 164 | { | 171 | { |
| 165 | int scns; | 172 | int scns; |
| 166 | unsigned int bss_start; | 173 | uintptr_t bss_start; |
| 167 | unsigned int data_start; | 174 | uintptr_t data_start; |
| 168 | 175 | ||
| 169 | struct scnhdr section[MAX_SECTIONS]; | 176 | struct scnhdr section[MAX_SECTIONS]; |
| 170 | struct scnhdr * f_thdr; /* Text section header */ | 177 | struct scnhdr * f_thdr; /* Text section header */ |
| @@ -179,17 +186,17 @@ make_hdr (int new, int a_out, | |||
| 179 | pagemask = getpagesize () - 1; | 186 | pagemask = getpagesize () - 1; |
| 180 | 187 | ||
| 181 | /* Adjust text/data boundary. */ | 188 | /* Adjust text/data boundary. */ |
| 182 | data_start = (long) start_of_data (); | 189 | data_start = (uintptr_t) _data; |
| 183 | data_start = ADDR_CORRECT (data_start); | ||
| 184 | 190 | ||
| 185 | data_start = data_start & ~pagemask; /* (Down) to page boundary. */ | 191 | data_start = data_start & ~pagemask; /* (Down) to page boundary. */ |
| 186 | 192 | ||
| 187 | bss_start = ADDR_CORRECT (sbrk (0)) + pagemask; | 193 | bss_start = (uintptr_t) sbrk (0) + pagemask; |
| 188 | bss_start &= ~ pagemask; | 194 | bss_start &= ~ pagemask; |
| 189 | 195 | ||
| 190 | if (data_start > bss_start) /* Can't have negative data size. */ | 196 | if (data_start > bss_start) /* Can't have negative data size. */ |
| 191 | { | 197 | { |
| 192 | ERROR2 ("unexec: data_start (%u) can't be greater than bss_start (%u)", | 198 | ERROR2 (("unexec: data_start (0x%"PRIxPTR |
| 199 | ") can't be greater than bss_start (0x%"PRIxPTR")"), | ||
| 193 | data_start, bss_start); | 200 | data_start, bss_start); |
| 194 | } | 201 | } |
| 195 | 202 | ||
| @@ -279,7 +286,7 @@ make_hdr (int new, int a_out, | |||
| 279 | 286 | ||
| 280 | /* fix scnptr's */ | 287 | /* fix scnptr's */ |
| 281 | { | 288 | { |
| 282 | ulong ptr = section[0].s_scnptr; | 289 | off_t ptr = section[0].s_scnptr; |
| 283 | 290 | ||
| 284 | bias = -1; | 291 | bias = -1; |
| 285 | for (scns = 0; scns < f_hdr.f_nscns; scns++) | 292 | for (scns = 0; scns < f_hdr.f_nscns; scns++) |
| @@ -375,12 +382,12 @@ copy_text_and_data (int new) | |||
| 375 | char *end; | 382 | char *end; |
| 376 | char *ptr; | 383 | char *ptr; |
| 377 | 384 | ||
| 378 | lseek (new, (long) text_scnptr, SEEK_SET); | 385 | lseek (new, text_scnptr, SEEK_SET); |
| 379 | ptr = start_of_text () + text_scnptr; | 386 | ptr = _text + text_scnptr; |
| 380 | end = ptr + f_ohdr.tsize; | 387 | end = ptr + f_ohdr.tsize; |
| 381 | write_segment (new, ptr, end); | 388 | write_segment (new, ptr, end); |
| 382 | 389 | ||
| 383 | lseek (new, (long) data_scnptr, SEEK_SET); | 390 | lseek (new, data_scnptr, SEEK_SET); |
| 384 | ptr = (char *) f_ohdr.data_start; | 391 | ptr = (char *) f_ohdr.data_start; |
| 385 | end = ptr + f_ohdr.dsize; | 392 | end = ptr + f_ohdr.dsize; |
| 386 | write_segment (new, ptr, end); | 393 | write_segment (new, ptr, end); |
| @@ -393,7 +400,6 @@ static void | |||
| 393 | write_segment (int new, char *ptr, char *end) | 400 | write_segment (int new, char *ptr, char *end) |
| 394 | { | 401 | { |
| 395 | int i, nwrite, ret; | 402 | int i, nwrite, ret; |
| 396 | char buf[80]; | ||
| 397 | char zeros[UnexBlockSz]; | 403 | char zeros[UnexBlockSz]; |
| 398 | 404 | ||
| 399 | for (i = 0; ptr < end;) | 405 | for (i = 0; ptr < end;) |
| @@ -414,9 +420,13 @@ write_segment (int new, char *ptr, char *end) | |||
| 414 | } | 420 | } |
| 415 | else if (nwrite != ret) | 421 | else if (nwrite != ret) |
| 416 | { | 422 | { |
| 423 | int write_errno = errno; | ||
| 424 | char buf[1000]; | ||
| 425 | void *addr = ptr; | ||
| 417 | sprintf (buf, | 426 | sprintf (buf, |
| 418 | "unexec write failure: addr 0x%lx, fileno %d, size 0x%x, wrote 0x%x, errno %d", | 427 | "unexec write failure: addr %p, fileno %d, size 0x%x, wrote 0x%x, errno %d", |
| 419 | (unsigned long)ptr, new, nwrite, ret, errno); | 428 | addr, new, nwrite, ret, errno); |
| 429 | errno = write_errno; | ||
| 420 | PERROR (buf); | 430 | PERROR (buf); |
| 421 | } | 431 | } |
| 422 | i += nwrite; | 432 | i += nwrite; |
| @@ -537,13 +547,13 @@ unrelocate_symbols (int new, int a_out, | |||
| 537 | int i; | 547 | int i; |
| 538 | LDHDR ldhdr; | 548 | LDHDR ldhdr; |
| 539 | LDREL ldrel; | 549 | LDREL ldrel; |
| 540 | ulong t_reloc = (ulong) &_text - f_ohdr.text_start; | 550 | off_t t_reloc = (intptr_t) _text - f_ohdr.text_start; |
| 541 | #ifndef ALIGN_DATA_RELOC | 551 | #ifndef ALIGN_DATA_RELOC |
| 542 | ulong d_reloc = (ulong) &_data - f_ohdr.data_start; | 552 | off_t d_reloc = (intptr_t) _data - f_ohdr.data_start; |
| 543 | #else | 553 | #else |
| 544 | /* This worked (and was needed) before AIX 4.2. | 554 | /* This worked (and was needed) before AIX 4.2. |
| 545 | I have no idea why. -- Mike */ | 555 | I have no idea why. -- Mike */ |
| 546 | ulong d_reloc = (ulong) &_data - ALIGN (f_ohdr.data_start, 2); | 556 | off_t d_reloc = (intptr_t) _data - ALIGN (f_ohdr.data_start, 2); |
| 547 | #endif | 557 | #endif |
| 548 | int * p; | 558 | int * p; |
| 549 | 559 | ||
| @@ -628,16 +638,3 @@ unrelocate_symbols (int new, int a_out, | |||
| 628 | } | 638 | } |
| 629 | return 0; | 639 | return 0; |
| 630 | } | 640 | } |
| 631 | |||
| 632 | /* | ||
| 633 | * Return the address of the start of the text segment prior to | ||
| 634 | * doing an unexec. After unexec the return value is undefined. | ||
| 635 | * See crt0.c for further explanation and _start. | ||
| 636 | * | ||
| 637 | */ | ||
| 638 | |||
| 639 | char * | ||
| 640 | start_of_text (void) | ||
| 641 | { | ||
| 642 | return ((char *) 0x10000000); | ||
| 643 | } | ||