diff options
| author | Glenn Morris | 2011-05-29 15:41:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2011-05-29 15:41:06 -0700 |
| commit | ed7f1a6c5caaf4159125c08db5d18c5471fdd032 (patch) | |
| tree | b1acaafaac9d7cc5fe8ee315cc109d3b5565a1de | |
| parent | 6a3e57bb546b094bfc8ec24a3ec63b2bd4496d65 (diff) | |
| parent | 049bcbcba62635103d4d212b3c3cf7dc0ef21f36 (diff) | |
| download | emacs-ed7f1a6c5caaf4159125c08db5d18c5471fdd032.tar.gz emacs-ed7f1a6c5caaf4159125c08db5d18c5471fdd032.zip | |
Merge from emacs-23; up to 2010-06-12T11:17:12Z!eliz@gnu.org.
| -rw-r--r-- | doc/lispref/ChangeLog | 17 | ||||
| -rw-r--r-- | doc/lispref/compile.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 27 | ||||
| -rw-r--r-- | doc/lispref/elisp.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/help.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/keymaps.texi | 27 | ||||
| -rw-r--r-- | doc/lispref/lists.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/minibuf.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 22 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 33 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 36 | ||||
| -rw-r--r-- | doc/lispref/strings.texi | 8 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/tips.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 8 |
15 files changed, 112 insertions, 107 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index ce3521b37d5..bd92b2a7273 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,22 @@ | |||
| 1 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * help.texi (Accessing Documentation): | ||
| 4 | * display.texi (Pixel Specification): | ||
| 5 | * processes.texi (Serial Ports, Serial Ports): | ||
| 6 | * nonascii.texi (Character Properties, Default Coding Systems): | ||
| 7 | * text.texi (Changing Properties, Special Properties): | ||
| 8 | * windows.texi (Window Start and End): | ||
| 9 | * modes.texi (SMIE Indentation Example, SMIE Tricks): | ||
| 10 | * keymaps.texi (Searching Keymaps, Tool Bar): | ||
| 11 | * minibuf.texi (Basic Completion): | ||
| 12 | * compile.texi (Eval During Compile): | ||
| 13 | * strings.texi (Formatting Strings): Tweaks to avoid overflowing | ||
| 14 | 7x9 paper in printed manual. | ||
| 15 | |||
| 16 | * lists.texi (Sets And Lists): Fix misplaced text. | ||
| 17 | |||
| 18 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> | ||
| 19 | |||
| 3 | * keymaps.texi (Remapping Commands): Emphasize that the keymap | 20 | * keymaps.texi (Remapping Commands): Emphasize that the keymap |
| 4 | needs to be active (Bug#8350). | 21 | needs to be active (Bug#8350). |
| 5 | 22 | ||
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi index f9f0e6662cf..fe5563370c4 100644 --- a/doc/lispref/compile.texi +++ b/doc/lispref/compile.texi | |||
| @@ -445,7 +445,7 @@ used to load it for compiling, but not executing. For example, | |||
| 445 | 445 | ||
| 446 | @lisp | 446 | @lisp |
| 447 | (eval-when-compile | 447 | (eval-when-compile |
| 448 | (require 'my-macro-package)) ;; only macros needed from this | 448 | (require 'my-macro-package)) |
| 449 | @end lisp | 449 | @end lisp |
| 450 | 450 | ||
| 451 | The same sort of thing goes for macros and @code{defsubst} functions | 451 | The same sort of thing goes for macros and @code{defsubst} functions |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 338fd421994..199a20cc2cd 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1441,9 +1441,9 @@ specify a particular attribute for certain text. @xref{Face | |||
| 1441 | Attributes}. | 1441 | Attributes}. |
| 1442 | 1442 | ||
| 1443 | @item | 1443 | @item |
| 1444 | A cons cell, either of the form @code{(foreground-color . @var{color-name})} or | 1444 | A cons cell, either of the form @code{(fg-color . @var{color-name})} |
| 1445 | @code{(background-color . @var{color-name})}. These elements specify | 1445 | or @code{(bg-color . @var{color-name})}. These elements specify just |
| 1446 | just the foreground color or just the background color. | 1446 | the foreground color or just the background color. |
| 1447 | 1447 | ||
| 1448 | @code{(foreground-color . @var{color-name})} has the same effect as | 1448 | @code{(foreground-color . @var{color-name})} has the same effect as |
| 1449 | @code{(:foreground @var{color-name})}; likewise for the background. | 1449 | @code{(:foreground @var{color-name})}; likewise for the background. |
| @@ -3821,9 +3821,10 @@ pixels per inch, millimeter, and centimeter, respectively. The | |||
| 3821 | and height of the current face. An image specification @code{image} | 3821 | and height of the current face. An image specification @code{image} |
| 3822 | corresponds to the width or height of the image. | 3822 | corresponds to the width or height of the image. |
| 3823 | 3823 | ||
| 3824 | The @code{left-fringe}, @code{right-fringe}, @code{left-margin}, | 3824 | The elements @code{left-fringe}, @code{right-fringe}, |
| 3825 | @code{right-margin}, @code{scroll-bar}, and @code{text} elements | 3825 | @code{left-margin}, @code{right-margin}, @code{scroll-bar}, and |
| 3826 | specify to the width of the corresponding area of the window. | 3826 | @code{text} specify to the width of the corresponding area of the |
| 3827 | window. | ||
| 3827 | 3828 | ||
| 3828 | The @code{left}, @code{center}, and @code{right} positions can be | 3829 | The @code{left}, @code{center}, and @code{right} positions can be |
| 3829 | used with @code{:align-to} to specify a position relative to the left | 3830 | used with @code{:align-to} to specify a position relative to the left |
| @@ -4652,16 +4653,14 @@ If @var{no-error} is non-@code{nil} and a suitable path can't be | |||
| 4652 | found, don't signal an error. Instead, return a list of directories as | 4653 | found, don't signal an error. Instead, return a list of directories as |
| 4653 | before, except that @code{nil} appears in place of the image directory. | 4654 | before, except that @code{nil} appears in place of the image directory. |
| 4654 | 4655 | ||
| 4655 | Here is an example that uses a common idiom to provide compatibility | 4656 | Here is an example of using @code{image-load-path-for-library}: |
| 4656 | with versions of Emacs that lack the variable @code{image-load-path}: | ||
| 4657 | 4657 | ||
| 4658 | @example | 4658 | @example |
| 4659 | (defvar image-load-path) ; shush compiler | 4659 | (defvar image-load-path) ; shush compiler |
| 4660 | (let* ((load-path (image-load-path-for-library | 4660 | (let* ((load-path (image-load-path-for-library |
| 4661 | "mh-e" "mh-logo.xpm")) | 4661 | "mh-e" "mh-logo.xpm")) |
| 4662 | (image-load-path (cons (car load-path) | 4662 | (image-load-path (cons (car load-path) |
| 4663 | (when (boundp 'image-load-path) | 4663 | image-load-path))) |
| 4664 | image-load-path)))) | ||
| 4665 | (mh-tool-bar-folder-buttons-init)) | 4664 | (mh-tool-bar-folder-buttons-init)) |
| 4666 | @end example | 4665 | @end example |
| 4667 | @end defun | 4666 | @end defun |
| @@ -5399,8 +5398,10 @@ value) in various ways. | |||
| 5399 | (aref colorcomp-data 2))) | 5398 | (aref colorcomp-data 2))) |
| 5400 | (samp " (sample text) ")) | 5399 | (samp " (sample text) ")) |
| 5401 | (insert "Color\t: " | 5400 | (insert "Color\t: " |
| 5402 | (propertize samp 'face `(foreground-color . ,cstr)) | 5401 | (propertize samp 'face |
| 5403 | (propertize samp 'face `(background-color . ,cstr)) | 5402 | `(foreground-color . ,cstr)) |
| 5403 | (propertize samp 'face | ||
| 5404 | `(background-color . ,cstr)) | ||
| 5404 | "\n")))) | 5405 | "\n")))) |
| 5405 | 5406 | ||
| 5406 | (defun colorcomp (color) | 5407 | (defun colorcomp (color) |
diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 259bb3cf86e..264d63511bc 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi | |||
| @@ -14,7 +14,7 @@ | |||
| 14 | @c in general, keep the following line commented out, unless doing a | 14 | @c in general, keep the following line commented out, unless doing a |
| 15 | @c copy of this manual that will be published. The manual should go | 15 | @c copy of this manual that will be published. The manual should go |
| 16 | @c onto the distribution in the full, 8.5 x 11" size. | 16 | @c onto the distribution in the full, 8.5 x 11" size. |
| 17 | @c set smallbook | 17 | @c @smallbook |
| 18 | 18 | ||
| 19 | @ifset smallbook | 19 | @ifset smallbook |
| 20 | @smallbook | 20 | @smallbook |
diff --git a/doc/lispref/help.texi b/doc/lispref/help.texi index e287e6fbad4..63fc06c929b 100644 --- a/doc/lispref/help.texi +++ b/doc/lispref/help.texi | |||
| @@ -138,9 +138,9 @@ unless @var{verbatim} is non-@code{nil}. | |||
| 138 | @end defun | 138 | @end defun |
| 139 | 139 | ||
| 140 | @defun documentation function &optional verbatim | 140 | @defun documentation function &optional verbatim |
| 141 | This function returns the documentation string of @var{function}. | 141 | This function returns the documentation string of @var{function}. It |
| 142 | @code{documentation} handles macros, named keyboard macros, and | 142 | handles macros, named keyboard macros, and special forms, as well as |
| 143 | special forms, as well as ordinary functions. | 143 | ordinary functions. |
| 144 | 144 | ||
| 145 | If @var{function} is a symbol, this function first looks for the | 145 | If @var{function} is a symbol, this function first looks for the |
| 146 | @code{function-documentation} property of that symbol; if that has a | 146 | @code{function-documentation} property of that symbol; if that has a |
diff --git a/doc/lispref/keymaps.texi b/doc/lispref/keymaps.texi index bf3c18ca682..d55cb299771 100644 --- a/doc/lispref/keymaps.texi +++ b/doc/lispref/keymaps.texi | |||
| @@ -718,17 +718,18 @@ pseudo-Lisp description of the order and conditions for searching | |||
| 718 | them: | 718 | them: |
| 719 | 719 | ||
| 720 | @lisp | 720 | @lisp |
| 721 | (or (if overriding-terminal-local-map | 721 | (or (cond |
| 722 | (@var{find-in} overriding-terminal-local-map) | 722 | (overriding-terminal-local-map |
| 723 | (if overriding-local-map | 723 | (@var{find-in} overriding-terminal-local-map)) |
| 724 | (@var{find-in} overriding-local-map) | 724 | (overriding-local-map |
| 725 | (or (@var{find-in} (get-char-property (point) 'keymap)) | 725 | (@var{find-in} overriding-local-map)) |
| 726 | (@var{find-in-any} emulation-mode-map-alists) | 726 | (or (@var{find-in} (get-char-property (point) 'keymap)) |
| 727 | (@var{find-in-any} minor-mode-overriding-map-alist) | 727 | (@var{find-in-any} emulation-mode-map-alists) |
| 728 | (@var{find-in-any} minor-mode-map-alist) | 728 | (@var{find-in-any} minor-mode-overriding-map-alist) |
| 729 | (if (get-text-property (point) 'local-map) | 729 | (@var{find-in-any} minor-mode-map-alist) |
| 730 | (@var{find-in} (get-char-property (point) 'local-map)) | 730 | (if (get-text-property (point) 'local-map) |
| 731 | (@var{find-in} (current-local-map)))))) | 731 | (@var{find-in} (get-char-property (point) 'local-map)) |
| 732 | (@var{find-in} (current-local-map))))) | ||
| 732 | (@var{find-in} (current-global-map))) | 733 | (@var{find-in} (current-global-map))) |
| 733 | @end lisp | 734 | @end lisp |
| 734 | 735 | ||
| @@ -2635,8 +2636,8 @@ using an indirection through @code{tool-bar-map}. | |||
| 2635 | By default, the global map binds @code{[tool-bar]} as follows: | 2636 | By default, the global map binds @code{[tool-bar]} as follows: |
| 2636 | @example | 2637 | @example |
| 2637 | (global-set-key [tool-bar] | 2638 | (global-set-key [tool-bar] |
| 2638 | '(menu-item "tool bar" ignore | 2639 | '(menu-item "tool bar" ignore |
| 2639 | :filter (lambda (ignore) tool-bar-map))) | 2640 | :filter (lambda (ignore) tool-bar-map))) |
| 2640 | @end example | 2641 | @end example |
| 2641 | @noindent | 2642 | @noindent |
| 2642 | Thus the tool bar map is derived dynamically from the value of variable | 2643 | Thus the tool bar map is derived dynamically from the value of variable |
diff --git a/doc/lispref/lists.texi b/doc/lispref/lists.texi index d27c609dc83..064be89632f 100644 --- a/doc/lispref/lists.texi +++ b/doc/lispref/lists.texi | |||
| @@ -1355,10 +1355,10 @@ and the @code{(4)} in the @code{sample-list} are not @code{eq}: | |||
| 1355 | (delq '(4) sample-list) | 1355 | (delq '(4) sample-list) |
| 1356 | @result{} (a c (4)) | 1356 | @result{} (a c (4)) |
| 1357 | @end group | 1357 | @end group |
| 1358 | @end example | ||
| 1358 | 1359 | ||
| 1359 | If you want to delete elements that are @code{equal} to a given value, | 1360 | If you want to delete elements that are @code{equal} to a given value, |
| 1360 | use @code{delete} (see below). | 1361 | use @code{delete} (see below). |
| 1361 | @end example | ||
| 1362 | 1362 | ||
| 1363 | @defun remq object list | 1363 | @defun remq object list |
| 1364 | This function returns a copy of @var{list}, with all elements removed | 1364 | This function returns a copy of @var{list}, with all elements removed |
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index 5336fef48ad..aa22e6c92ff 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -837,12 +837,13 @@ variable as ``risky'' with a non-@code{nil} | |||
| 837 | @code{risky-local-variable} property. @xref{File Local Variables}. | 837 | @code{risky-local-variable} property. @xref{File Local Variables}. |
| 838 | 838 | ||
| 839 | @defvar completion-ignore-case | 839 | @defvar completion-ignore-case |
| 840 | If the value of this variable is non-@code{nil}, Emacs does not | 840 | If the value of this variable is non-@code{nil}, case is not |
| 841 | consider case significant in completion. Note, however, that this | 841 | considered significant in completion. Within @code{read-file-name}, |
| 842 | variable is overridden by @code{read-file-name-completion-ignore-case} | 842 | this variable is overridden by |
| 843 | within @code{read-file-name} (@pxref{Reading File Names}), and by | 843 | @code{read-file-name-completion-ignore-case} (@pxref{Reading File |
| 844 | @code{read-buffer-completion-ignore-case} within @code{read-buffer} | 844 | Names}); within @code{read-buffer}, it is overridden by |
| 845 | (@pxref{High-Level Completion}). | 845 | @code{read-buffer-completion-ignore-case} (@pxref{High-Level |
| 846 | Completion}). | ||
| 846 | @end defvar | 847 | @end defvar |
| 847 | 848 | ||
| 848 | @defvar completion-regexp-list | 849 | @defvar completion-regexp-list |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 63ecf59e538..562cc76c3f0 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -1046,8 +1046,8 @@ Turning on text-mode runs the hook `text-mode-hook'." | |||
| 1046 | @end group | 1046 | @end group |
| 1047 | @group | 1047 | @group |
| 1048 | ;; @r{These four lines are absent from the current version} | 1048 | ;; @r{These four lines are absent from the current version} |
| 1049 | ;; @r{not because this is done some other way, but rather} | 1049 | ;; @r{not because this is done some other way, but because} |
| 1050 | ;; @r{because nowadays Text mode uses the normal definition of paragraphs.} | 1050 | ;; @r{nowadays Text mode uses the normal definition of paragraphs.} |
| 1051 | (set (make-local-variable 'paragraph-start) | 1051 | (set (make-local-variable 'paragraph-start) |
| 1052 | (concat "[ \t]*$\\|" page-delimiter)) | 1052 | (concat "[ \t]*$\\|" page-delimiter)) |
| 1053 | (set (make-local-variable 'paragraph-separate) paragraph-start) | 1053 | (set (make-local-variable 'paragraph-separate) paragraph-start) |
| @@ -1139,12 +1139,15 @@ modes should understand the Lisp conventions for comments. The rest of | |||
| 1139 | 1139 | ||
| 1140 | @smallexample | 1140 | @smallexample |
| 1141 | @group | 1141 | @group |
| 1142 | (set (make-local-variable 'paragraph-start) (concat page-delimiter "\\|$" )) | 1142 | (set (make-local-variable 'paragraph-start) |
| 1143 | (set (make-local-variable 'paragraph-separate) paragraph-start) | 1143 | (concat page-delimiter "\\|$" )) |
| 1144 | (set (make-local-variable 'paragraph-separate) | ||
| 1145 | paragraph-start) | ||
| 1144 | @dots{} | 1146 | @dots{} |
| 1145 | @end group | 1147 | @end group |
| 1146 | @group | 1148 | @group |
| 1147 | (set (make-local-variable 'comment-indent-function) 'lisp-comment-indent)) | 1149 | (set (make-local-variable 'comment-indent-function) |
| 1150 | 'lisp-comment-indent)) | ||
| 1148 | @dots{} | 1151 | @dots{} |
| 1149 | @end group | 1152 | @end group |
| 1150 | @end smallexample | 1153 | @end smallexample |
| @@ -3619,7 +3622,9 @@ natural to have a BNF grammar that looks like this: | |||
| 3619 | (inst ("IF" exp "THEN" insts "ELSE" insts "END") | 3622 | (inst ("IF" exp "THEN" insts "ELSE" insts "END") |
| 3620 | ("CASE" exp "OF" cases "END") | 3623 | ("CASE" exp "OF" cases "END") |
| 3621 | ...) | 3624 | ...) |
| 3622 | (cases (cases "|" cases) (caselabel ":" insts) ("ELSE" insts)) | 3625 | (cases (cases "|" cases) |
| 3626 | (caselabel ":" insts) | ||
| 3627 | ("ELSE" insts)) | ||
| 3623 | ... | 3628 | ... |
| 3624 | @end example | 3629 | @end example |
| 3625 | 3630 | ||
| @@ -3894,9 +3899,10 @@ and is always at the beginning of a line, we can use a more efficient | |||
| 3894 | rule: | 3899 | rule: |
| 3895 | @example | 3900 | @example |
| 3896 | ((equal token "if") | 3901 | ((equal token "if") |
| 3897 | (and (not (smie-rule-bolp)) (smie-rule-prev-p "else") | 3902 | (and (not (smie-rule-bolp)) |
| 3903 | (smie-rule-prev-p "else") | ||
| 3898 | (save-excursion | 3904 | (save-excursion |
| 3899 | (sample-smie-backward-token) ;Jump before the "else". | 3905 | (sample-smie-backward-token) |
| 3900 | (cons 'column (current-column))))) | 3906 | (cons 'column (current-column))))) |
| 3901 | @end example | 3907 | @end example |
| 3902 | 3908 | ||
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 0328dae9e7b..77337899923 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -374,18 +374,18 @@ properties that Emacs knows about: | |||
| 374 | 374 | ||
| 375 | @table @code | 375 | @table @code |
| 376 | @item name | 376 | @item name |
| 377 | This property corresponds to the Unicode @code{Name} property. The | 377 | Corresponds to the @code{Name} Unicode property. The value is a |
| 378 | value is a string consisting of upper-case Latin letters A to Z, | 378 | string consisting of upper-case Latin letters A to Z, digits, spaces, |
| 379 | digits, spaces, and hyphen @samp{-} characters. | 379 | and hyphen @samp{-} characters. |
| 380 | 380 | ||
| 381 | @cindex unicode general category | 381 | @cindex unicode general category |
| 382 | @item general-category | 382 | @item general-category |
| 383 | This property corresponds to the Unicode @code{General_Category} | 383 | Corresponds to the @code{General_Category} Unicode property. The |
| 384 | property. The value is a symbol whose name is a 2-letter abbreviation | 384 | value is a symbol whose name is a 2-letter abbreviation of the |
| 385 | of the character's classification. | 385 | character's classification. |
| 386 | 386 | ||
| 387 | @item canonical-combining-class | 387 | @item canonical-combining-class |
| 388 | Corresponds to the Unicode @code{Canonical_Combining_Class} property. | 388 | Corresponds to the @code{Canonical_Combining_Class} Unicode property. |
| 389 | The value is an integer number. | 389 | The value is an integer number. |
| 390 | 390 | ||
| 391 | @item bidi-class | 391 | @item bidi-class |
| @@ -466,15 +466,18 @@ This function returns the value of @var{char}'s @var{propname} property. | |||
| 466 | @result{} Nd | 466 | @result{} Nd |
| 467 | @end group | 467 | @end group |
| 468 | @group | 468 | @group |
| 469 | (get-char-code-property ?\u2084 'digit-value) ; subscript 4 | 469 | ;; subscript 4 |
| 470 | (get-char-code-property ?\u2084 'digit-value) | ||
| 470 | @result{} 4 | 471 | @result{} 4 |
| 471 | @end group | 472 | @end group |
| 472 | @group | 473 | @group |
| 473 | (get-char-code-property ?\u2155 'numeric-value) ; one fifth | 474 | ;; one fifth |
| 475 | (get-char-code-property ?\u2155 'numeric-value) | ||
| 474 | @result{} 0.2 | 476 | @result{} 0.2 |
| 475 | @end group | 477 | @end group |
| 476 | @group | 478 | @group |
| 477 | (get-char-code-property ?\u2163 'numeric-value) ; Roman IV | 479 | ;; Roman IV |
| 480 | (get-char-code-property ?\u2163 'numeric-value) | ||
| 478 | @result{} 4 | 481 | @result{} 4 |
| 479 | @end group | 482 | @end group |
| 480 | @end example | 483 | @end example |
| @@ -1449,11 +1452,11 @@ for decoding (in case @var{operation} does decoding), and | |||
| 1449 | @var{encoding-system} is the coding system for encoding (in case | 1452 | @var{encoding-system} is the coding system for encoding (in case |
| 1450 | @var{operation} does encoding). | 1453 | @var{operation} does encoding). |
| 1451 | 1454 | ||
| 1452 | The argument @var{operation} is a symbol, one of @code{write-region}, | 1455 | The argument @var{operation} is a symbol; it should be one of |
| 1453 | @code{start-process}, @code{call-process}, @code{call-process-region}, | 1456 | @code{write-region}, @code{start-process}, @code{call-process}, |
| 1454 | @code{insert-file-contents}, or @code{open-network-stream}. These are | 1457 | @code{call-process-region}, @code{insert-file-contents}, or |
| 1455 | the names of the Emacs I/O primitives that can do character code and | 1458 | @code{open-network-stream}. These are the names of the Emacs I/O |
| 1456 | eol conversion. | 1459 | primitives that can do character code and eol conversion. |
| 1457 | 1460 | ||
| 1458 | The remaining arguments should be the same arguments that might be given | 1461 | The remaining arguments should be the same arguments that might be given |
| 1459 | to the corresponding I/O primitive. Depending on the primitive, one | 1462 | to the corresponding I/O primitive. Depending on the primitive, one |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index ba9d8accd4a..1a1b63683ce 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1794,9 +1794,9 @@ nice values get scheduled more favorably.) | |||
| 1794 | The number of threads in the process. | 1794 | The number of threads in the process. |
| 1795 | 1795 | ||
| 1796 | @item start | 1796 | @item start |
| 1797 | The time the process was started, in the @w{@code{(@var{high} | 1797 | The time when the process was started, in the same |
| 1798 | @var{low} @var{microsec})}} format used by @code{current-time} and | 1798 | @w{@code{(@var{high} @var{low} @var{microsec})}} format used by |
| 1799 | @code{file-attributes}. | 1799 | @code{current-time} and @code{file-attributes}. |
| 1800 | 1800 | ||
| 1801 | @item etime | 1801 | @item etime |
| 1802 | The time elapsed since the process started, in the @w{@code{(@var{high} | 1802 | The time elapsed since the process started, in the @w{@code{(@var{high} |
| @@ -2482,25 +2482,17 @@ Install @var{plist} as the initial plist of the process. | |||
| 2482 | @itemx :parity | 2482 | @itemx :parity |
| 2483 | @itemx :stopbits | 2483 | @itemx :stopbits |
| 2484 | @itemx :flowcontrol | 2484 | @itemx :flowcontrol |
| 2485 | These arguments are handled by @code{serial-process-configure}, which | 2485 | These are handled by @code{serial-process-configure}, which is called |
| 2486 | is called by @code{make-serial-process}. | 2486 | by @code{make-serial-process}. |
| 2487 | @end table | 2487 | @end table |
| 2488 | 2488 | ||
| 2489 | The original argument list, possibly modified by later configuration, | 2489 | The original argument list, possibly modified by later configuration, |
| 2490 | is available via the function @code{process-contact}. | 2490 | is available via the function @code{process-contact}. |
| 2491 | 2491 | ||
| 2492 | Examples: | 2492 | Here is an example: |
| 2493 | 2493 | ||
| 2494 | @example | 2494 | @example |
| 2495 | (make-serial-process :port "/dev/ttyS0" :speed 9600) | 2495 | (make-serial-process :port "/dev/ttyS0" :speed 9600) |
| 2496 | |||
| 2497 | (make-serial-process :port "COM1" :speed 115200 :stopbits 2) | ||
| 2498 | |||
| 2499 | (make-serial-process :port "\\\\.\\COM13" :speed 1200 | ||
| 2500 | :bytesize 7 :parity 'odd) | ||
| 2501 | |||
| 2502 | (make-serial-process :port "/dev/tty.BlueConsole-SPP-1" | ||
| 2503 | :speed nil) | ||
| 2504 | @end example | 2496 | @end example |
| 2505 | @end defun | 2497 | @end defun |
| 2506 | 2498 | ||
| @@ -2560,19 +2552,9 @@ flow control). If @var{flowcontrol} is not given, it defaults to no | |||
| 2560 | flow control. | 2552 | flow control. |
| 2561 | @end table | 2553 | @end table |
| 2562 | 2554 | ||
| 2563 | @code{serial-process-configure} is called by @code{make-serial-process} for the | 2555 | @code{serial-process-configure} is called by |
| 2564 | initial configuration of the serial port. | 2556 | @code{make-serial-process} for the initial configuration of the serial |
| 2565 | 2557 | port. | |
| 2566 | Examples: | ||
| 2567 | |||
| 2568 | @example | ||
| 2569 | (serial-process-configure :process "/dev/ttyS0" :speed 1200) | ||
| 2570 | |||
| 2571 | (serial-process-configure :buffer "COM1" :stopbits 1 | ||
| 2572 | :parity 'odd :flowcontrol 'hw) | ||
| 2573 | |||
| 2574 | (serial-process-configure :port "\\\\.\\COM13" :bytesize 7) | ||
| 2575 | @end example | ||
| 2576 | @end defun | 2558 | @end defun |
| 2577 | 2559 | ||
| 2578 | @node Byte Packing | 2560 | @node Byte Packing |
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index d062c215952..05ac40e90c1 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -828,12 +828,12 @@ is not truncated. | |||
| 828 | 828 | ||
| 829 | @example | 829 | @example |
| 830 | @group | 830 | @group |
| 831 | (format "The word `%7s' actually has %d letters in it." | 831 | (format "The word `%7s' has %d letters in it." |
| 832 | "foo" (length "foo")) | 832 | "foo" (length "foo")) |
| 833 | @result{} "The word ` foo' actually has 3 letters in it." | 833 | @result{} "The word ` foo' has 3 letters in it." |
| 834 | (format "The word `%7s' actually has %d letters in it." | 834 | (format "The word `%7s' has %d letters in it." |
| 835 | "specification" (length "specification")) | 835 | "specification" (length "specification")) |
| 836 | @result{} "The word `specification' actually has 13 letters in it." | 836 | @result{} "The word `specification' has 13 letters in it." |
| 837 | @end group | 837 | @end group |
| 838 | @end example | 838 | @end example |
| 839 | 839 | ||
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 8205c5fa169..6a3f53c55e2 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi | |||
| @@ -2806,9 +2806,9 @@ construct each part with @code{propertize} and then combine them with | |||
| 2806 | @end smallexample | 2806 | @end smallexample |
| 2807 | @end defun | 2807 | @end defun |
| 2808 | 2808 | ||
| 2809 | See also the function @code{buffer-substring-no-properties} | 2809 | @xref{Buffer Contents}, for the function |
| 2810 | (@pxref{Buffer Contents}) which copies text from the buffer | 2810 | @code{buffer-substring-no-properties}, which copies text from the |
| 2811 | but does not copy its properties. | 2811 | buffer but does not copy its properties. |
| 2812 | 2812 | ||
| 2813 | @node Property Search | 2813 | @node Property Search |
| 2814 | @subsection Text Property Search Functions | 2814 | @subsection Text Property Search Functions |
| @@ -2992,13 +2992,6 @@ face attribute name and @var{value} is a meaningful value for that | |||
| 2992 | attribute. With this feature, you do not need to create a face each | 2992 | attribute. With this feature, you do not need to create a face each |
| 2993 | time you want to specify a particular attribute for certain text. | 2993 | time you want to specify a particular attribute for certain text. |
| 2994 | @xref{Face Attributes}. | 2994 | @xref{Face Attributes}. |
| 2995 | |||
| 2996 | @item | ||
| 2997 | A cons cell with the form @code{(foreground-color . @var{color-name})} | ||
| 2998 | or @code{(background-color . @var{color-name})}. These are old, | ||
| 2999 | deprecated equivalents for @code{(:foreground @var{color-name})} and | ||
| 3000 | @code{(:background @var{color-name})}. Please convert code that uses | ||
| 3001 | them. | ||
| 3002 | @end itemize | 2995 | @end itemize |
| 3003 | 2996 | ||
| 3004 | It works to use the latter two forms directly as the value | 2997 | It works to use the latter two forms directly as the value |
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index e2bbcc11e6e..be37eb2034b 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi | |||
| @@ -249,7 +249,8 @@ file if you distribute copies. Use a notice like this one: | |||
| 249 | ;; GNU General Public License for more details. | 249 | ;; GNU General Public License for more details. |
| 250 | 250 | ||
| 251 | ;; You should have received a copy of the GNU General Public License | 251 | ;; You should have received a copy of the GNU General Public License |
| 252 | ;; along with this program. If not, see <http://www.gnu.org/licenses/>. | 252 | ;; along with this program. If not, see |
| 253 | ;; <http://www.gnu.org/licenses/>. | ||
| 253 | @end smallexample | 254 | @end smallexample |
| 254 | 255 | ||
| 255 | If you have signed papers to assign the copyright to the Foundation, | 256 | If you have signed papers to assign the copyright to the Foundation, |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 93f2035eca6..2cf4a8152c7 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1462,10 +1462,10 @@ to the current position of point in @var{window}; @var{window}, to the | |||
| 1462 | selected window. If @var{position} is @code{t}, that means to check the | 1462 | selected window. If @var{position} is @code{t}, that means to check the |
| 1463 | last visible position in @var{window}. | 1463 | last visible position in @var{window}. |
| 1464 | 1464 | ||
| 1465 | The @code{pos-visible-in-window-p} function considers only vertical | 1465 | This function considers only vertical scrolling. If @var{position} is |
| 1466 | scrolling. If @var{position} is out of view only because @var{window} | 1466 | out of view only because @var{window} has been scrolled horizontally, |
| 1467 | has been scrolled horizontally, @code{pos-visible-in-window-p} returns | 1467 | @code{pos-visible-in-window-p} returns non-@code{nil} anyway. |
| 1468 | non-@code{nil} anyway. @xref{Horizontal Scrolling}. | 1468 | @xref{Horizontal Scrolling}. |
| 1469 | 1469 | ||
| 1470 | If @var{position} is visible, @code{pos-visible-in-window-p} returns | 1470 | If @var{position} is visible, @code{pos-visible-in-window-p} returns |
| 1471 | @code{t} if @var{partially} is @code{nil}; if @var{partially} is | 1471 | @code{t} if @var{partially} is @code{nil}; if @var{partially} is |