aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorEli Zaretskii2019-06-07 22:06:01 +0300
committerEli Zaretskii2019-06-07 22:06:01 +0300
commit77f96e2cc1da30730f79d5935eaf5d23e53f37ad (patch)
tree3def25baacae463f3e48d7b233f26a44a71aef1d /doc/lispref
parentdec525017013b448f23eb645b11068862c1038d6 (diff)
parent9f4c945b5cfb2e26a65ca10453591536c8fb0ff4 (diff)
downloademacs-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.texi10
-rw-r--r--doc/lispref/nonascii.texi23
-rw-r--r--doc/lispref/processes.texi9
-rw-r--r--doc/lispref/windows.texi83
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
7331Characters of Unicode General Category [Cf], such as @samp{U+200E} 7331Characters 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
7333images, such as @samp{U+00AD} (Soft Hyphen). 7333images, such as U+00AD @sc{soft hyphen}.
7334 7334
7335@item no-font 7335@item no-font
7336Characters for which there is no suitable font, or which cannot be 7336Characters 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
7716Append the special character @code{U+200E}, LEFT-TO-RIGHT MARK, or 7716Append 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
7718content, or prepend it to the beginning of the following field. The 7718content, or prepend it to the beginning of the following field. The
7719function @code{bidi-string-mark-left-to-right}, described below, comes 7719function @code{bidi-string-mark-left-to-right}, described below, comes
7720in handy for this purpose. (In a right-to-left paragraph, use 7720in handy for this purpose. (In a right-to-left paragraph, use
7721@code{U+200F}, RIGHT-TO-LEFT MARK, or @acronym{RLM}, instead.) This 7721U+200F @sc{right-to-left mark}, or @acronym{RLM}, instead.) This
7722is one of the solutions recommended by the UBA. 7722is 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
550this property is a number. Examples of characters that have this 550this property is a number. Examples of characters that have this
551property include fractions, subscripts, superscripts, Roman numerals, 551property include fractions, subscripts, superscripts, Roman numerals,
552currency numerators, and encircled numbers. For example, the value of 552currency numerators, and encircled numbers. For example, the value of
553this property for the character @code{U+2155} (@sc{vulgar fraction one 553this property for the character U+2155 @sc{vulgar fraction one
554fifth}) is @code{0.2}. For characters that don't have any numeric 554fifth} is @code{0.2}. For characters that don't have any numeric
555value, and for unassigned codepoints, the value is @code{nil}, which 555value, and for unassigned codepoints, the value is @code{nil}, which
556means @acronym{NaN}. 556means @acronym{NaN}.
557 557
@@ -622,23 +622,24 @@ is @code{nil}, which means the character itself.
622@item special-uppercase 622@item special-uppercase
623Corresponds to Unicode language- and context-independent special upper-casing 623Corresponds to Unicode language- and context-independent special upper-casing
624rules. The value of this property is a string (which may be empty). For 624rules. The value of this property is a string (which may be empty). For
625example mapping for @code{U+00DF} (@sc{latin small letter sharp s}) is 625example 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}
627which means @code{uppercase} property needs to be consulted instead. 627which means @code{uppercase} property needs to be consulted instead.
628 628
629@item special-lowercase 629@item special-lowercase
630Corresponds to Unicode language- and context-independent special lower-casing 630Corresponds to Unicode language- and context-independent special
631rules. The value of this property is a string (which may be empty). For 631lower-casing rules. The value of this property is a string (which may
632example mapping for @code{U+0130} (@sc{latin capital letter i with dot above}) 632be empty). For example mapping for U+0130 @sc{latin capital letter i
633the value is @code{"i\u0307"} (i.e. 2-character string consisting of @sc{latin 633with dot above} the value is @code{"i\u0307"} (i.e. 2-character string
634small letter i} followed by @sc{combining dot above}). For characters with no 634consisting of @sc{latin small letter i} followed by U+0307
635special mapping, the value is @code{nil} which means @code{lowercase} property 635@sc{combining dot above}). For characters with no special mapping,
636needs to be consulted instead. 636the value is @code{nil} which means @code{lowercase} property needs to
637be consulted instead.
637 638
638@item special-titlecase 639@item special-titlecase
639Corresponds to Unicode unconditional special title-casing rules. The value of 640Corresponds to Unicode unconditional special title-casing rules. The value of
640this property is a string (which may be empty). For example mapping for 641this 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 642U+FB01 @sc{latin small ligature fi} the value is @code{"Fi"}. For
642characters with no special mapping, the value is @code{nil} which means 643characters 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
1706previously, eliminate the variable @code{moving} from the example and 1706previously, eliminate the variable @code{moving} from the example and
1707call @code{goto-char} unconditionally. 1707call @code{goto-char} unconditionally. Note that this doesn't
1708necessarily move the window point. The default filter actually uses
1709@code{insert-before-markers} which moves all markers, including the
1710window point. This may move unrelated markers, so it's generally
1711better to move the window point explicitly, or set its insertion type
1712to @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
1296If deleting the window would leave no more windows in the window tree 1296If 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
1298windows on @var{window}'s frame are side windows (@pxref{Side Windows}), 1298windows on @var{window}'s frame are side windows (@pxref{Side
1299an error is signaled. 1299Windows}), an error is signaled. If @var{window} is part of an atomic
1300window (@pxref{Atomic Windows}), this function tries to delete the
1301root of that atomic window instead.
1300 1302
1301By default, the space taken up by @var{window} is given to one of its 1303By default, the space taken up by @var{window} is given to one of its
1302adjacent sibling windows, if any. However, if the variable 1304adjacent 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
1318This function makes @var{window} fill its frame, deleting other windows 1320This function makes @var{window} fill its frame, deleting other
1319as necessary. If @var{window} is omitted or @code{nil}, it defaults to 1321windows as necessary. If @var{window} is omitted or @code{nil}, it
1320the selected window. An error is signaled if @var{window} is a side 1322defaults to the selected window. An error is signaled if @var{window}
1321window (@pxref{Side Windows}). The return value is @code{nil}. 1323is a side window (@pxref{Side Windows}). If @var{window} is part of
1324an atomic window (@pxref{Atomic Windows}), this function tries to make
1325the root of that atomic window fill its frame. The return
1326value is @code{nil}.
1322 1327
1323The behavior of this function may be altered by the window parameters of 1328The 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.
4007This function handles @var{window} and its buffer after quitting. The 4012This function handles @var{window} and its buffer after quitting. The
4008optional argument @var{window} must be a live window and defaults to 4013optional argument @var{window} must be a live window and defaults to
4009the selected one. The function's behavior is determined by the four 4014the selected one. The function's behavior is determined by the four
4010elements of the list specified by the @code{quit-restore} window 4015elements of the list specified by @var{window}'s @code{quit-restore}
4011parameter (@pxref{Window Parameters}), which is set to @code{nil} 4016parameter (@pxref{Window Parameters}).
4012afterwards.
4013 4017
4014The first element of the @code{quit-restore} parameter is one of the 4018The first element of the @code{quit-restore} parameter is one of the
4015symbols @code{window}, meaning that the window has been specially 4019symbols @code{window}, meaning that the window has been specially
@@ -4018,35 +4022,40 @@ been created; @code{same}, the window has only ever displayed this
4018buffer; or @code{other}, the window showed another buffer before. 4022buffer; 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
4021previously shown in this window. 4025previously shown in @var{window}.
4022 4026
4023The second element is either one of the symbols @code{window} or 4027The 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
4025window before, that buffer's window start and window point positions, 4029shown in @var{window} before, that buffer's window start and window
4026and the window's height at that time. If that buffer is still live 4030point positions, and @var{window}'s height at that time. If that
4027when the window is quit, then the function @code{quit-restore-window} 4031buffer is still live when @var{window} is quit, then this function may
4028reuses the window to display the buffer. 4032reuse @var{window} to display it.
4029 4033
4030The third element is the window selected at the time the parameter was 4034The third element is the window selected at the time the parameter was
4031created. If @code{quit-restore-window} deletes the window passed to 4035created. If this function deletes @var{window}, it subsequently tries
4032it as argument, it then tries to reselect this window. 4036to reselect the window named by that element.
4033 4037
4034The fourth element is the buffer whose display caused the creation of 4038The fourth element is the buffer whose display caused the creation of
4035this parameter. @code{quit-restore-window} deletes the specified window 4039this parameter. This function may delete @var{window} if and only if
4036only if it still shows that buffer. 4040it still shows that buffer.
4037 4041
4038The window is deleted entirely if: 1) the first element of the 4042This 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 4043first element of its @code{quit-restore} parameter is either
4040window has no history of previously-displayed buffers, and 3) the 4044@code{window} or @code{frame}, (2) the window has no history of
4041displayed buffer matches the one in the fourth element of the 4045previously-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
4043only window on its frame and there are other frames on the frame's 4047in @var{window}. If @var{window} is part of an atomic window
4044terminal, the value of the optional argument @var{bury-or-kill} 4048(@pxref{Atomic Windows}), it will try to delete the root of that
4045determines how to proceed with the window. If @var{bury-or-kill} 4049atomic window instead. In either case, it tries to avoid signaling an
4046equals @code{kill}, the frame is deleted unconditionally. Otherwise, 4050error when @var{window} cannot be deleted.
4047the fate of the frame is determined by calling 4051
4048@code{frame-auto-hide-function} (see below) with that frame as sole 4052If @var{window} shall be deleted, is the only window on its frame and
4049argument. 4053there are other frames on that frame's terminal, the value of the
4054optional argument @var{bury-or-kill} determines how to proceed with
4055the window. If @var{bury-or-kill} equals @code{kill}, the frame is
4056deleted unconditionally. Otherwise, the fate of the frame is
4057determined by calling @code{frame-auto-hide-function} (see below) with
4058that frame as sole argument.
4050 4059
4051If the third element of the @code{quit-restore} parameter is a list of 4060If the third element of the @code{quit-restore} parameter is a list of
4052buffer, window start (@pxref{Window Start and End}), and point 4061buffer, window start (@pxref{Window Start and End}), and point
@@ -4057,7 +4066,8 @@ try to restore the original height of @var{window}.
4057 4066
4058Otherwise, if @var{window} was previously used for displaying other 4067Otherwise, if @var{window} was previously used for displaying other
4059buffers (@pxref{Window History}), the most recent buffer in that 4068buffers (@pxref{Window History}), the most recent buffer in that
4060history will be displayed. 4069history will be displayed. In either case, if @var{window} is not
4070deleted, its @code{quit-restore} parameter is reset to @code{nil}.
4061 4071
4062The optional argument @var{bury-or-kill} specifies how to deal with 4072The 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
4538parameters have to be set by the application explicitly via a 4548parameters 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
4552constituents gets deleted. To dissolve an atomic window manually,
4553reset the @code{window-atom} parameter of its constituents---the root
4554of 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,
4542first splits the selected window and makes the selected and the new 4557first splits the selected window and makes the selected and the new
4543window constituents of an atomic window with their parent as root. It 4558window constituents of an atomic window with their parent as root. It