diff options
| author | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-07 22:06:01 +0300 |
| commit | 77f96e2cc1da30730f79d5935eaf5d23e53f37ad (patch) | |
| tree | 3def25baacae463f3e48d7b233f26a44a71aef1d /doc/lispref | |
| parent | dec525017013b448f23eb645b11068862c1038d6 (diff) | |
| parent | 9f4c945b5cfb2e26a65ca10453591536c8fb0ff4 (diff) | |
| download | emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.tar.gz emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.zip | |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/display.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 23 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 9 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 83 |
4 files changed, 73 insertions, 52 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 82af02fc384..93c5217c362 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -7328,9 +7328,9 @@ Non-@acronym{ASCII}, non-printing characters @code{U+0080} to | |||
| 7328 | @samp{\230}). | 7328 | @samp{\230}). |
| 7329 | 7329 | ||
| 7330 | @item format-control | 7330 | @item format-control |
| 7331 | Characters of Unicode General Category [Cf], such as @samp{U+200E} | 7331 | Characters of Unicode General Category [Cf], such as U+200E |
| 7332 | (Left-to-Right Mark), but excluding characters that have graphic | 7332 | @sc{left-to-right mark}, but excluding characters that have graphic |
| 7333 | images, such as @samp{U+00AD} (Soft Hyphen). | 7333 | images, such as U+00AD @sc{soft hyphen}. |
| 7334 | 7334 | ||
| 7335 | @item no-font | 7335 | @item no-font |
| 7336 | Characters for which there is no suitable font, or which cannot be | 7336 | Characters for which there is no suitable font, or which cannot be |
| @@ -7713,12 +7713,12 @@ problem: | |||
| 7713 | 7713 | ||
| 7714 | @itemize @minus | 7714 | @itemize @minus |
| 7715 | @item | 7715 | @item |
| 7716 | Append the special character @code{U+200E}, LEFT-TO-RIGHT MARK, or | 7716 | Append the special character U+200E @sc{left-to-right mark}, or |
| 7717 | @acronym{LRM}, to the end of each field that may have bidirectional | 7717 | @acronym{LRM}, to the end of each field that may have bidirectional |
| 7718 | content, or prepend it to the beginning of the following field. The | 7718 | content, or prepend it to the beginning of the following field. The |
| 7719 | function @code{bidi-string-mark-left-to-right}, described below, comes | 7719 | function @code{bidi-string-mark-left-to-right}, described below, comes |
| 7720 | in handy for this purpose. (In a right-to-left paragraph, use | 7720 | in handy for this purpose. (In a right-to-left paragraph, use |
| 7721 | @code{U+200F}, RIGHT-TO-LEFT MARK, or @acronym{RLM}, instead.) This | 7721 | U+200F @sc{right-to-left mark}, or @acronym{RLM}, instead.) This |
| 7722 | is one of the solutions recommended by the UBA. | 7722 | is one of the solutions recommended by the UBA. |
| 7723 | 7723 | ||
| 7724 | @item | 7724 | @item |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 8b0750abbf6..a56a365e9ea 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi | |||
| @@ -550,8 +550,8 @@ characters whose @code{Numeric_Type} is @samp{Numeric}. The value of | |||
| 550 | this property is a number. Examples of characters that have this | 550 | this property is a number. Examples of characters that have this |
| 551 | property include fractions, subscripts, superscripts, Roman numerals, | 551 | property include fractions, subscripts, superscripts, Roman numerals, |
| 552 | currency numerators, and encircled numbers. For example, the value of | 552 | currency numerators, and encircled numbers. For example, the value of |
| 553 | this property for the character @code{U+2155} (@sc{vulgar fraction one | 553 | this property for the character U+2155 @sc{vulgar fraction one |
| 554 | fifth}) is @code{0.2}. For characters that don't have any numeric | 554 | fifth} is @code{0.2}. For characters that don't have any numeric |
| 555 | value, and for unassigned codepoints, the value is @code{nil}, which | 555 | value, and for unassigned codepoints, the value is @code{nil}, which |
| 556 | means @acronym{NaN}. | 556 | means @acronym{NaN}. |
| 557 | 557 | ||
| @@ -622,23 +622,24 @@ is @code{nil}, which means the character itself. | |||
| 622 | @item special-uppercase | 622 | @item special-uppercase |
| 623 | Corresponds to Unicode language- and context-independent special upper-casing | 623 | Corresponds to Unicode language- and context-independent special upper-casing |
| 624 | rules. The value of this property is a string (which may be empty). For | 624 | rules. The value of this property is a string (which may be empty). For |
| 625 | example mapping for @code{U+00DF} (@sc{latin small letter sharp s}) is | 625 | example mapping for U+00DF @sc{latin small letter sharp s} is |
| 626 | @code{"SS"}. For characters with no special mapping, the value is @code{nil} | 626 | @code{"SS"}. For characters with no special mapping, the value is @code{nil} |
| 627 | which means @code{uppercase} property needs to be consulted instead. | 627 | which means @code{uppercase} property needs to be consulted instead. |
| 628 | 628 | ||
| 629 | @item special-lowercase | 629 | @item special-lowercase |
| 630 | Corresponds to Unicode language- and context-independent special lower-casing | 630 | Corresponds to Unicode language- and context-independent special |
| 631 | rules. The value of this property is a string (which may be empty). For | 631 | lower-casing rules. The value of this property is a string (which may |
| 632 | example mapping for @code{U+0130} (@sc{latin capital letter i with dot above}) | 632 | be empty). For example mapping for U+0130 @sc{latin capital letter i |
| 633 | the value is @code{"i\u0307"} (i.e. 2-character string consisting of @sc{latin | 633 | with dot above} the value is @code{"i\u0307"} (i.e. 2-character string |
| 634 | small letter i} followed by @sc{combining dot above}). For characters with no | 634 | consisting of @sc{latin small letter i} followed by U+0307 |
| 635 | special mapping, the value is @code{nil} which means @code{lowercase} property | 635 | @sc{combining dot above}). For characters with no special mapping, |
| 636 | needs to be consulted instead. | 636 | the value is @code{nil} which means @code{lowercase} property needs to |
| 637 | be consulted instead. | ||
| 637 | 638 | ||
| 638 | @item special-titlecase | 639 | @item special-titlecase |
| 639 | Corresponds to Unicode unconditional special title-casing rules. The value of | 640 | Corresponds to Unicode unconditional special title-casing rules. The value of |
| 640 | this property is a string (which may be empty). For example mapping for | 641 | this property is a string (which may be empty). For example mapping for |
| 641 | @code{U+FB01} (@sc{latin small ligature fi}) the value is @code{"Fi"}. For | 642 | U+FB01 @sc{latin small ligature fi} the value is @code{"Fi"}. For |
| 642 | characters with no special mapping, the value is @code{nil} which means | 643 | characters with no special mapping, the value is @code{nil} which means |
| 643 | @code{titlecase} property needs to be consulted instead. | 644 | @code{titlecase} property needs to be consulted instead. |
| 644 | @end table | 645 | @end table |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index b73401a62a2..ebc31c597e6 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1688,7 +1688,7 @@ how to do these things: | |||
| 1688 | (save-excursion | 1688 | (save-excursion |
| 1689 | ;; @r{Insert the text, advancing the process marker.} | 1689 | ;; @r{Insert the text, advancing the process marker.} |
| 1690 | (goto-char (process-mark proc)) | 1690 | (goto-char (process-mark proc)) |
| 1691 | (insert-before-markers string) | 1691 | (insert string) |
| 1692 | (set-marker (process-mark proc) (point))) | 1692 | (set-marker (process-mark proc) (point))) |
| 1693 | (if moving (goto-char (process-mark proc))))))) | 1693 | (if moving (goto-char (process-mark proc))))))) |
| 1694 | @end group | 1694 | @end group |
| @@ -1704,7 +1704,12 @@ text arrives, you could insert a line like the following just before the | |||
| 1704 | 1704 | ||
| 1705 | To force point to the end of the new output, no matter where it was | 1705 | To force point to the end of the new output, no matter where it was |
| 1706 | previously, eliminate the variable @code{moving} from the example and | 1706 | previously, eliminate the variable @code{moving} from the example and |
| 1707 | call @code{goto-char} unconditionally. | 1707 | call @code{goto-char} unconditionally. Note that this doesn't |
| 1708 | necessarily move the window point. The default filter actually uses | ||
| 1709 | @code{insert-before-markers} which moves all markers, including the | ||
| 1710 | window point. This may move unrelated markers, so it's generally | ||
| 1711 | better to move the window point explicitly, or set its insertion type | ||
| 1712 | to @code{t} (@pxref{Window Point}). | ||
| 1708 | 1713 | ||
| 1709 | @ignore | 1714 | @ignore |
| 1710 | In earlier Emacs versions, every filter function that did regular | 1715 | In earlier Emacs versions, every filter function that did regular |
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 96e42a148c5..5e644138109 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi | |||
| @@ -1295,8 +1295,10 @@ the selected window. | |||
| 1295 | 1295 | ||
| 1296 | If deleting the window would leave no more windows in the window tree | 1296 | If deleting the window would leave no more windows in the window tree |
| 1297 | (e.g., if it is the only live window in the frame) or all remaining | 1297 | (e.g., if it is the only live window in the frame) or all remaining |
| 1298 | windows on @var{window}'s frame are side windows (@pxref{Side Windows}), | 1298 | windows on @var{window}'s frame are side windows (@pxref{Side |
| 1299 | an error is signaled. | 1299 | Windows}), an error is signaled. If @var{window} is part of an atomic |
| 1300 | window (@pxref{Atomic Windows}), this function tries to delete the | ||
| 1301 | root of that atomic window instead. | ||
| 1300 | 1302 | ||
| 1301 | By default, the space taken up by @var{window} is given to one of its | 1303 | By default, the space taken up by @var{window} is given to one of its |
| 1302 | adjacent sibling windows, if any. However, if the variable | 1304 | adjacent sibling windows, if any. However, if the variable |
| @@ -1315,10 +1317,13 @@ Parameters}. | |||
| 1315 | @end deffn | 1317 | @end deffn |
| 1316 | 1318 | ||
| 1317 | @deffn Command delete-other-windows &optional window | 1319 | @deffn Command delete-other-windows &optional window |
| 1318 | This function makes @var{window} fill its frame, deleting other windows | 1320 | This function makes @var{window} fill its frame, deleting other |
| 1319 | as necessary. If @var{window} is omitted or @code{nil}, it defaults to | 1321 | windows as necessary. If @var{window} is omitted or @code{nil}, it |
| 1320 | the selected window. An error is signaled if @var{window} is a side | 1322 | defaults to the selected window. An error is signaled if @var{window} |
| 1321 | window (@pxref{Side Windows}). The return value is @code{nil}. | 1323 | is a side window (@pxref{Side Windows}). If @var{window} is part of |
| 1324 | an atomic window (@pxref{Atomic Windows}), this function tries to make | ||
| 1325 | the root of that atomic window fill its frame. The return | ||
| 1326 | value is @code{nil}. | ||
| 1322 | 1327 | ||
| 1323 | The behavior of this function may be altered by the window parameters of | 1328 | The behavior of this function may be altered by the window parameters of |
| 1324 | @var{window}, so long as the variable @code{ignore-window-parameters} is | 1329 | @var{window}, so long as the variable @code{ignore-window-parameters} is |
| @@ -4007,9 +4012,8 @@ described next to deal with the window and its buffer. | |||
| 4007 | This function handles @var{window} and its buffer after quitting. The | 4012 | This function handles @var{window} and its buffer after quitting. The |
| 4008 | optional argument @var{window} must be a live window and defaults to | 4013 | optional argument @var{window} must be a live window and defaults to |
| 4009 | the selected one. The function's behavior is determined by the four | 4014 | the selected one. The function's behavior is determined by the four |
| 4010 | elements of the list specified by the @code{quit-restore} window | 4015 | elements of the list specified by @var{window}'s @code{quit-restore} |
| 4011 | parameter (@pxref{Window Parameters}), which is set to @code{nil} | 4016 | parameter (@pxref{Window Parameters}). |
| 4012 | afterwards. | ||
| 4013 | 4017 | ||
| 4014 | The first element of the @code{quit-restore} parameter is one of the | 4018 | The first element of the @code{quit-restore} parameter is one of the |
| 4015 | symbols @code{window}, meaning that the window has been specially | 4019 | symbols @code{window}, meaning that the window has been specially |
| @@ -4018,35 +4022,40 @@ been created; @code{same}, the window has only ever displayed this | |||
| 4018 | buffer; or @code{other}, the window showed another buffer before. | 4022 | buffer; or @code{other}, the window showed another buffer before. |
| 4019 | @code{frame} and @code{window} affect how the window is quit, while | 4023 | @code{frame} and @code{window} affect how the window is quit, while |
| 4020 | @code{same} and @code{other} affect the redisplay of buffers | 4024 | @code{same} and @code{other} affect the redisplay of buffers |
| 4021 | previously shown in this window. | 4025 | previously shown in @var{window}. |
| 4022 | 4026 | ||
| 4023 | The second element is either one of the symbols @code{window} or | 4027 | The parameter's second element is either one of the symbols |
| 4024 | @code{frame}, or a list whose elements are the buffer shown in the | 4028 | @code{window} or @code{frame}, or a list whose elements are the buffer |
| 4025 | window before, that buffer's window start and window point positions, | 4029 | shown in @var{window} before, that buffer's window start and window |
| 4026 | and the window's height at that time. If that buffer is still live | 4030 | point positions, and @var{window}'s height at that time. If that |
| 4027 | when the window is quit, then the function @code{quit-restore-window} | 4031 | buffer is still live when @var{window} is quit, then this function may |
| 4028 | reuses the window to display the buffer. | 4032 | reuse @var{window} to display it. |
| 4029 | 4033 | ||
| 4030 | The third element is the window selected at the time the parameter was | 4034 | The third element is the window selected at the time the parameter was |
| 4031 | created. If @code{quit-restore-window} deletes the window passed to | 4035 | created. If this function deletes @var{window}, it subsequently tries |
| 4032 | it as argument, it then tries to reselect this window. | 4036 | to reselect the window named by that element. |
| 4033 | 4037 | ||
| 4034 | The fourth element is the buffer whose display caused the creation of | 4038 | The fourth element is the buffer whose display caused the creation of |
| 4035 | this parameter. @code{quit-restore-window} deletes the specified window | 4039 | this parameter. This function may delete @var{window} if and only if |
| 4036 | only if it still shows that buffer. | 4040 | it still shows that buffer. |
| 4037 | 4041 | ||
| 4038 | The window is deleted entirely if: 1) the first element of the | 4042 | This function will try to delete @var{window} if and only if (1) the |
| 4039 | @code{quit-restore} parameter is one of 'window or 'frame, 2) the | 4043 | first element of its @code{quit-restore} parameter is either |
| 4040 | window has no history of previously-displayed buffers, and 3) the | 4044 | @code{window} or @code{frame}, (2) the window has no history of |
| 4041 | displayed buffer matches the one in the fourth element of the | 4045 | previously-displayed buffers and (3) the fourth element of the |
| 4042 | @code{quit-restore} parameter. If @var{window} is the | 4046 | @code{quit-restore} parameter specifies the buffer currently displayed |
| 4043 | only window on its frame and there are other frames on the frame's | 4047 | in @var{window}. If @var{window} is part of an atomic window |
| 4044 | terminal, the value of the optional argument @var{bury-or-kill} | 4048 | (@pxref{Atomic Windows}), it will try to delete the root of that |
| 4045 | determines how to proceed with the window. If @var{bury-or-kill} | 4049 | atomic window instead. In either case, it tries to avoid signaling an |
| 4046 | equals @code{kill}, the frame is deleted unconditionally. Otherwise, | 4050 | error when @var{window} cannot be deleted. |
| 4047 | the fate of the frame is determined by calling | 4051 | |
| 4048 | @code{frame-auto-hide-function} (see below) with that frame as sole | 4052 | If @var{window} shall be deleted, is the only window on its frame and |
| 4049 | argument. | 4053 | there are other frames on that frame's terminal, the value of the |
| 4054 | optional argument @var{bury-or-kill} determines how to proceed with | ||
| 4055 | the window. If @var{bury-or-kill} equals @code{kill}, the frame is | ||
| 4056 | deleted unconditionally. Otherwise, the fate of the frame is | ||
| 4057 | determined by calling @code{frame-auto-hide-function} (see below) with | ||
| 4058 | that frame as sole argument. | ||
| 4050 | 4059 | ||
| 4051 | If the third element of the @code{quit-restore} parameter is a list of | 4060 | If the third element of the @code{quit-restore} parameter is a list of |
| 4052 | buffer, window start (@pxref{Window Start and End}), and point | 4061 | buffer, window start (@pxref{Window Start and End}), and point |
| @@ -4057,7 +4066,8 @@ try to restore the original height of @var{window}. | |||
| 4057 | 4066 | ||
| 4058 | Otherwise, if @var{window} was previously used for displaying other | 4067 | Otherwise, if @var{window} was previously used for displaying other |
| 4059 | buffers (@pxref{Window History}), the most recent buffer in that | 4068 | buffers (@pxref{Window History}), the most recent buffer in that |
| 4060 | history will be displayed. | 4069 | history will be displayed. In either case, if @var{window} is not |
| 4070 | deleted, its @code{quit-restore} parameter is reset to @code{nil}. | ||
| 4061 | 4071 | ||
| 4062 | The optional argument @var{bury-or-kill} specifies how to deal with | 4072 | The optional argument @var{bury-or-kill} specifies how to deal with |
| 4063 | @var{window}'s buffer. The following values are handled: | 4073 | @var{window}'s buffer. The following values are handled: |
| @@ -4538,6 +4548,11 @@ parameter assigned by @code{display-buffer-in-atom-window}. Further | |||
| 4538 | parameters have to be set by the application explicitly via a | 4548 | parameters have to be set by the application explicitly via a |
| 4539 | @code{window-parameters} entry in @var{alist}. | 4549 | @code{window-parameters} entry in @var{alist}. |
| 4540 | 4550 | ||
| 4551 | Atomic windows automatically cease to exist when one of their | ||
| 4552 | constituents gets deleted. To dissolve an atomic window manually, | ||
| 4553 | reset the @code{window-atom} parameter of its constituents---the root | ||
| 4554 | of the atomic window and all its descendants. | ||
| 4555 | |||
| 4541 | The following code snippet, when applied to a single-window frame, | 4556 | The following code snippet, when applied to a single-window frame, |
| 4542 | first splits the selected window and makes the selected and the new | 4557 | first splits the selected window and makes the selected and the new |
| 4543 | window constituents of an atomic window with their parent as root. It | 4558 | window constituents of an atomic window with their parent as root. It |