diff options
| author | Karl Berry | 2007-04-11 16:27:33 +0000 |
|---|---|---|
| committer | Karl Berry | 2007-04-11 16:27:33 +0000 |
| commit | cd64b8f1e1b6902b9e0b65852b2bf46517400bbb (patch) | |
| tree | 6cd1ab2de513a8d1c758295a4f3002a379d0b656 | |
| parent | db365b8e568d08803c34ea0b88a984644e425745 (diff) | |
| download | emacs-cd64b8f1e1b6902b9e0b65852b2bf46517400bbb.tar.gz emacs-cd64b8f1e1b6902b9e0b65852b2bf46517400bbb.zip | |
improve breaks in 8.5x11
| -rw-r--r-- | lispref/ChangeLog | 14 | ||||
| -rw-r--r-- | lispref/anti.texi | 9 | ||||
| -rw-r--r-- | lispref/display.texi | 6 | ||||
| -rw-r--r-- | lispref/elisp.texi | 13 | ||||
| -rw-r--r-- | lispref/minibuf.texi | 2 | ||||
| -rw-r--r-- | lispref/nonascii.texi | 14 | ||||
| -rw-r--r-- | lispref/processes.texi | 7 | ||||
| -rw-r--r-- | lispref/searching.texi | 21 | ||||
| -rw-r--r-- | lispref/syntax.texi | 5 | ||||
| -rw-r--r-- | lispref/text.texi | 6 |
10 files changed, 58 insertions, 39 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 6cbe742cb5e..6eaa9482cbf 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,17 @@ | |||
| 1 | 2007-04-11 Karl Berry <karl@gnu.org> | ||
| 2 | |||
| 3 | * anti.texi (Antinews), | ||
| 4 | * display.texi (Overlay Properties) and (Defining Images), | ||
| 5 | * processes.texi (Synchronous Processes) and (Sentinels), | ||
| 6 | * syntax.texi (Syntax Table Internals), | ||
| 7 | * searching.texi (Regexp Special), | ||
| 8 | * nonascii.texi (Default Coding Systems), | ||
| 9 | * text.texi (Special Properties), | ||
| 10 | * minibuf.texi (Basic Completion): Wording to improve breaks in | ||
| 11 | 8.5x11 format. | ||
| 12 | * elisp.texi (smallbook): new @set to more easily switch between | ||
| 13 | smallbook and 8.5x11. | ||
| 14 | |||
| 1 | 2007-04-11 Richard Stallman <rms@gnu.org> | 15 | 2007-04-11 Richard Stallman <rms@gnu.org> |
| 2 | 16 | ||
| 3 | * text.texi (Lazy Properties): Minor fix. | 17 | * text.texi (Lazy Properties): Minor fix. |
diff --git a/lispref/anti.texi b/lispref/anti.texi index de07936d2f4..b258e959a46 100644 --- a/lispref/anti.texi +++ b/lispref/anti.texi | |||
| @@ -433,11 +433,10 @@ The @code{table} argument to @code{translate-region} can no longer be | |||
| 433 | a char-table; it has to be a string. | 433 | a char-table; it has to be a string. |
| 434 | 434 | ||
| 435 | @item | 435 | @item |
| 436 | The two functions @code{merge-coding-systems} and | 436 | The variable @code{auto-coding-functions} and the two functions |
| 437 | @code{decode-coding-inserted-region}, and the variable | 437 | @code{merge-coding-systems} and @code{decode-coding-inserted-region} |
| 438 | @code{auto-coding-functions}, have been deleted. The | 438 | have been deleted. The coding system property |
| 439 | @code{mime-text-unsuitable} coding system property no longer has any | 439 | @code{mime-text-unsuitable} no longer has any special meaning. |
| 440 | special meaning. | ||
| 441 | 440 | ||
| 442 | @item | 441 | @item |
| 443 | If pure storage overflows while dumping, Emacs won't tell you how much | 442 | If pure storage overflows while dumping, Emacs won't tell you how much |
diff --git a/lispref/display.texi b/lispref/display.texi index 4d94ba1ec4d..0d2a8da8753 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -1365,7 +1365,7 @@ specify a particular attribute for certain text. @xref{Face | |||
| 1365 | Attributes}. | 1365 | Attributes}. |
| 1366 | 1366 | ||
| 1367 | @item | 1367 | @item |
| 1368 | A cons cell of the form @code{(foreground-color . @var{color-name})} or | 1368 | A cons cell, either of the form @code{(foreground-color . @var{color-name})} or |
| 1369 | @code{(background-color . @var{color-name})}. These elements specify | 1369 | @code{(background-color . @var{color-name})}. These elements specify |
| 1370 | just the foreground color or just the background color. | 1370 | just the foreground color or just the background color. |
| 1371 | 1371 | ||
| @@ -4138,8 +4138,8 @@ should specify the image as follows: | |||
| 4138 | This function returns a suitable search path for images used by the | 4138 | This function returns a suitable search path for images used by the |
| 4139 | Lisp package @var{library}. | 4139 | Lisp package @var{library}. |
| 4140 | 4140 | ||
| 4141 | The function searches for @var{image} first in @code{image-load-path} | 4141 | The function searches for @var{image} first using @code{image-load-path}, |
| 4142 | (excluding @file{@code{data-directory}/images}) and then in | 4142 | excluding @file{@code{data-directory}/images}, and then in |
| 4143 | @code{load-path}, followed by a path suitable for @var{library}, which | 4143 | @code{load-path}, followed by a path suitable for @var{library}, which |
| 4144 | includes @file{../../etc/images} and @file{../etc/images} relative to | 4144 | includes @file{../../etc/images} and @file{../etc/images} relative to |
| 4145 | the library file itself, and finally in | 4145 | the library file itself, and finally in |
diff --git a/lispref/elisp.texi b/lispref/elisp.texi index 5c05a17a955..5d5d03315c9 100644 --- a/lispref/elisp.texi +++ b/lispref/elisp.texi | |||
| @@ -14,17 +14,22 @@ | |||
| 14 | * Elisp: (elisp). The Emacs Lisp Reference Manual. | 14 | * Elisp: (elisp). The Emacs Lisp Reference Manual. |
| 15 | @end direntry | 15 | @end direntry |
| 16 | 16 | ||
| 17 | @c So that anyone making the printed manual gets the version we have | 17 | @c for full 8.5x11, comment this out. |
| 18 | @c tuned to avoid bad line breaks, etc. | 18 | @set smallbook |
| 19 | |||
| 20 | @ifset smallbook | ||
| 19 | @smallbook | 21 | @smallbook |
| 22 | @end ifset | ||
| 20 | 23 | ||
| 21 | @c per rms and peterb, use 10pt fonts for the main text, mostly to | 24 | @c per rms and peterb, use 10pt fonts for the main text, mostly to |
| 22 | @c save on paper cost. Also, do not declare @setchapternewpage odd, | 25 | @c save on paper cost. Also, do not declare @setchapternewpage odd, |
| 23 | @c for the same reason. Do this inside @tex for now, so the | 26 | @c for the same reason. Do this inside @tex for now, so the |
| 24 | @c last-released makeinfo does not complain. | 27 | @c last-released makeinfo does not complain. |
| 25 | @tex | 28 | @tex |
| 29 | @ifset smallbook | ||
| 26 | @fonttextsize 10 | 30 | @fonttextsize 10 |
| 27 | \global\hbadness=6000 % don't worry about not-too-underfull boxes | 31 | @end ifset |
| 32 | \global\hbadness=6666 % don't worry about not-too-underfull boxes | ||
| 28 | @end tex | 33 | @end tex |
| 29 | 34 | ||
| 30 | @c Combine indices. | 35 | @c Combine indices. |
| @@ -61,7 +66,7 @@ Software Foundation raise funds for GNU development.'' | |||
| 61 | @titlepage | 66 | @titlepage |
| 62 | @title GNU Emacs Lisp Reference Manual | 67 | @title GNU Emacs Lisp Reference Manual |
| 63 | @subtitle For Emacs Version @value{EMACSVER} | 68 | @subtitle For Emacs Version @value{EMACSVER} |
| 64 | @subtitle Revision @value{VERSION}, January 2002 | 69 | @subtitle Revision @value{VERSION}, April 2007 |
| 65 | 70 | ||
| 66 | @author by Bil Lewis, Dan LaLiberte, Richard Stallman | 71 | @author by Bil Lewis, Dan LaLiberte, Richard Stallman |
| 67 | @author and the GNU Manual Group | 72 | @author and the GNU Manual Group |
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index efe2d7575c7..98901df87f8 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi | |||
| @@ -767,7 +767,7 @@ completion possibility specified by @var{collection} and | |||
| 767 | strings, this is true if @var{string} appears in the list and | 767 | strings, this is true if @var{string} appears in the list and |
| 768 | @var{predicate} is satisfied. | 768 | @var{predicate} is satisfied. |
| 769 | 769 | ||
| 770 | @code{test-completion} uses @code{completion-regexp-list} in the same | 770 | This function uses @code{completion-regexp-list} in the same |
| 771 | way that @code{try-completion} does. | 771 | way that @code{try-completion} does. |
| 772 | 772 | ||
| 773 | If @var{predicate} is non-@code{nil} and if @var{collection} contains | 773 | If @var{predicate} is non-@code{nil} and if @var{collection} contains |
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index 899899f8f93..dd0f15c817e 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi | |||
| @@ -1105,11 +1105,11 @@ for decoding (in case @var{operation} does decoding), and | |||
| 1105 | @var{encoding-system} is the coding system for encoding (in case | 1105 | @var{encoding-system} is the coding system for encoding (in case |
| 1106 | @var{operation} does encoding). | 1106 | @var{operation} does encoding). |
| 1107 | 1107 | ||
| 1108 | The argument @var{operation} should be a symbol, any one of | 1108 | The argument @var{operation} is a symbol, one of @code{write-region}, |
| 1109 | @code{insert-file-contents}, @code{write-region}, | ||
| 1110 | @code{start-process}, @code{call-process}, @code{call-process-region}, | 1109 | @code{start-process}, @code{call-process}, @code{call-process-region}, |
| 1111 | or @code{open-network-stream}. These are the names of the Emacs I/O | 1110 | @code{insert-file-contents}, or @code{open-network-stream}. These are |
| 1112 | primitives that can do character code and eol conversion. | 1111 | the names of the Emacs I/O primitives that can do character code and |
| 1112 | eol conversion. | ||
| 1113 | 1113 | ||
| 1114 | The remaining arguments should be the same arguments that might be given | 1114 | The remaining arguments should be the same arguments that might be given |
| 1115 | to the corresponding I/O primitive. Depending on the primitive, one | 1115 | to the corresponding I/O primitive. Depending on the primitive, one |
| @@ -1165,9 +1165,9 @@ of the right way to use the variable: | |||
| 1165 | (insert-file-contents filename)) | 1165 | (insert-file-contents filename)) |
| 1166 | @end example | 1166 | @end example |
| 1167 | 1167 | ||
| 1168 | When its value is non-@code{nil}, @code{coding-system-for-read} takes | 1168 | When its value is non-@code{nil}, this variable takes precedence over |
| 1169 | precedence over all other methods of specifying a coding system to use for | 1169 | all other methods of specifying a coding system to use for input, |
| 1170 | input, including @code{file-coding-system-alist}, | 1170 | including @code{file-coding-system-alist}, |
| 1171 | @code{process-coding-system-alist} and | 1171 | @code{process-coding-system-alist} and |
| 1172 | @code{network-coding-system-alist}. | 1172 | @code{network-coding-system-alist}. |
| 1173 | @end defvar | 1173 | @end defvar |
diff --git a/lispref/processes.texi b/lispref/processes.texi index 34b9b34e762..fbc8b785c11 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi | |||
| @@ -349,7 +349,7 @@ handler could be different from the handler chosen for the | |||
| 349 | @var{infile} is on another remote host. Or @code{default-directory} | 349 | @var{infile} is on another remote host. Or @code{default-directory} |
| 350 | could be non-special, whereas @var{infile} is on a remote host.) | 350 | could be non-special, whereas @var{infile} is on a remote host.) |
| 351 | 351 | ||
| 352 | If @var{buffer} has the form @code{(@var{real-destination} | 352 | If @var{buffer} is a list of the form @code{(@var{real-destination} |
| 353 | @var{error-destination})}, and @var{error-destination} names a file, | 353 | @var{error-destination})}, and @var{error-destination} names a file, |
| 354 | then the same remarks as for @var{infile} apply. | 354 | then the same remarks as for @var{infile} apply. |
| 355 | 355 | ||
| @@ -2066,8 +2066,9 @@ number @var{p}. @code{format-network-address} converts that to the | |||
| 2066 | string @code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. | 2066 | string @code{"@var{a}.@var{b}.@var{c}.@var{d}:@var{p}"}. |
| 2067 | 2067 | ||
| 2068 | A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e} | 2068 | A nine-element vector @code{[@var{a} @var{b} @var{c} @var{d} @var{e} |
| 2069 | @var{f} @var{g} @var{h} @var{p}]} represents an IPv6 address and port | 2069 | @var{f} @var{g} @var{h} @var{p}]} represents an IPv6 address along |
| 2070 | number. @code{format-network-address} converts that to the string | 2070 | with a port number. @code{format-network-address} converts that to |
| 2071 | the string | ||
| 2071 | @code{"[@var{a}:@var{b}:@var{c}:@var{d}:@var{e}:@var{f}:@var{g}:@var{h}]:@var{p}"}. | 2072 | @code{"[@var{a}:@var{b}:@var{c}:@var{d}:@var{e}:@var{f}:@var{g}:@var{h}]:@var{p}"}. |
| 2072 | 2073 | ||
| 2073 | If the vector does not include the port number, @var{p}, or if | 2074 | If the vector does not include the port number, @var{p}, or if |
diff --git a/lispref/searching.texi b/lispref/searching.texi index 056e1bd51a5..10e8c672962 100644 --- a/lispref/searching.texi +++ b/lispref/searching.texi | |||
| @@ -309,17 +309,16 @@ first tries to match all three @samp{a}s; but the rest of the pattern is | |||
| 309 | The next alternative is for @samp{a*} to match only two @samp{a}s. With | 309 | The next alternative is for @samp{a*} to match only two @samp{a}s. With |
| 310 | this choice, the rest of the regexp matches successfully. | 310 | this choice, the rest of the regexp matches successfully. |
| 311 | 311 | ||
| 312 | @strong{Warning:} Nested repetition operators take a long time, | 312 | @strong{Warning:} Nested repetition operators can run for an |
| 313 | or even forever, if they | 313 | indefinitely long time, if they lead to ambiguous matching. For |
| 314 | lead to ambiguous matching. For example, trying to match the regular | 314 | example, trying to match the regular expression @samp{\(x+y*\)*a} |
| 315 | expression @samp{\(x+y*\)*a} against the string | 315 | against the string @samp{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz} could |
| 316 | @samp{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxz} could take hours before it | 316 | take hours before it ultimately fails. Emacs must try each way of |
| 317 | ultimately fails. Emacs must try each way of grouping the 35 | 317 | grouping the @samp{x}s before concluding that none of them can work. |
| 318 | @samp{x}s before concluding that none of them can work. Even worse, | 318 | Even worse, @samp{\(x*\)*} can match the null string in infinitely |
| 319 | @samp{\(x*\)*} can match the null string in infinitely many ways, so | 319 | many ways, so it causes an infinite loop. To avoid these problems, |
| 320 | it causes an infinite loop. To avoid these problems, check nested | 320 | check nested repetitions carefully, to make sure that they do not |
| 321 | repetitions carefully, to make sure that they do not cause combinatorial | 321 | cause combinatorial explosions in backtracking. |
| 322 | explosions in backtracking. | ||
| 323 | 322 | ||
| 324 | @item @samp{+} | 323 | @item @samp{+} |
| 325 | @cindex @samp{+} in regexp | 324 | @cindex @samp{+} in regexp |
diff --git a/lispref/syntax.texi b/lispref/syntax.texi index 1e4b1b1fefe..340f74632bd 100644 --- a/lispref/syntax.texi +++ b/lispref/syntax.texi | |||
| @@ -1011,8 +1011,9 @@ corresponds to each syntax flag. | |||
| 1011 | @end multitable | 1011 | @end multitable |
| 1012 | 1012 | ||
| 1013 | @defun string-to-syntax @var{desc} | 1013 | @defun string-to-syntax @var{desc} |
| 1014 | This function returns the internal form @code{(@var{syntax-code} . | 1014 | This function returns the internal form corresponding to the syntax |
| 1015 | @var{matching-char})} corresponding to the syntax descriptor @var{desc}. | 1015 | descriptor @var{desc}, a cons cell @code{(@var{syntax-code} |
| 1016 | . @var{matching-char})}. | ||
| 1016 | @end defun | 1017 | @end defun |
| 1017 | 1018 | ||
| 1018 | @defun syntax-after pos | 1019 | @defun syntax-after pos |
diff --git a/lispref/text.texi b/lispref/text.texi index f56f95b70d6..148bf0025a2 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -2987,13 +2987,13 @@ time you want to specify a particular attribute for certain text. | |||
| 2987 | @xref{Face Attributes}. | 2987 | @xref{Face Attributes}. |
| 2988 | 2988 | ||
| 2989 | @item | 2989 | @item |
| 2990 | A cons cell of the form @code{(foreground-color . @var{color-name})} or | 2990 | A cons cell with the form @code{(foreground-color . @var{color-name})} or |
| 2991 | @code{(background-color . @var{color-name})}. These elements specify | 2991 | @code{(background-color . @var{color-name})}. These elements specify |
| 2992 | just the foreground color or just the background color. @xref{Color | 2992 | just the foreground color or just the background color. @xref{Color |
| 2993 | Names}, for the supported forms of @var{color-name}. | 2993 | Names}, for the supported forms of @var{color-name}. |
| 2994 | 2994 | ||
| 2995 | @code{(foreground-color . @var{color-name})} is equivalent to | 2995 | A cons cell of @code{(foreground-color . @var{color-name})} is equivalent to |
| 2996 | specifying @code{(:foreground @var{color-name})}, and likewise for the | 2996 | specifying @code{(:foreground @var{color-name})}; likewise for the |
| 2997 | background. | 2997 | background. |
| 2998 | @end itemize | 2998 | @end itemize |
| 2999 | 2999 | ||