diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/building.texi | 5 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 10 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 7 | ||||
| -rw-r--r-- | doc/lispref/sequences.texi | 13 | ||||
| -rw-r--r-- | doc/misc/emacs-gnutls.texi | 6 |
6 files changed, 39 insertions, 4 deletions
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 87ac61bac3b..e108a4e7c10 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -303,6 +303,11 @@ And here's how to do it in csh: | |||
| 303 | if ($?prompt) set prompt = @dots{} | 303 | if ($?prompt) set prompt = @dots{} |
| 304 | @end example | 304 | @end example |
| 305 | 305 | ||
| 306 | @vindex TERM, environment variable, in compilation mode | ||
| 307 | If you want to customize the value of the @env{TERM} environment | ||
| 308 | variable passed to the compilation subshell, customize the variable | ||
| 309 | @code{comint-terminfo-terminal} (@pxref{Shell Options}). | ||
| 310 | |||
| 306 | Emacs does not expect a compiler process to launch asynchronous | 311 | Emacs does not expect a compiler process to launch asynchronous |
| 307 | subprocesses; if it does, and they keep running after the main | 312 | subprocesses; if it does, and they keep running after the main |
| 308 | compiler process has terminated, Emacs may kill them or their output | 313 | compiler process has terminated, Emacs may kill them or their output |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 6ad5fbafdd6..e4be004ae52 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -1396,6 +1396,16 @@ directory stack if they are not already on it | |||
| 1396 | (@code{shell-pushd-dunique}). The values you choose should match the | 1396 | (@code{shell-pushd-dunique}). The values you choose should match the |
| 1397 | underlying shell, of course. | 1397 | underlying shell, of course. |
| 1398 | 1398 | ||
| 1399 | @vindex comint-terminfo-terminal | ||
| 1400 | @vindex TERM, environment variable, in sub-shell | ||
| 1401 | Comint mode sets the @env{TERM} environment variable to a safe default | ||
| 1402 | value, but this value disables some useful features. For example, | ||
| 1403 | color is disabled in applications that use @env{TERM} to determine if | ||
| 1404 | color is supported. Therefore, Emacs provides an option | ||
| 1405 | @code{comint-terminfo-terminal}, which you can set to a terminal that | ||
| 1406 | is present in your system's terminfo database, in order to take | ||
| 1407 | advantage of advanced features of that terminal. | ||
| 1408 | |||
| 1399 | @node Terminal emulator | 1409 | @node Terminal emulator |
| 1400 | @subsection Emacs Terminal Emulator | 1410 | @subsection Emacs Terminal Emulator |
| 1401 | @findex term | 1411 | @findex term |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 4a836c3224b..e98322d74e2 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -780,7 +780,7 @@ the dribble file. | |||
| 780 | @item | 780 | @item |
| 781 | @findex open-termscript | 781 | @findex open-termscript |
| 782 | @cindex termscript file | 782 | @cindex termscript file |
| 783 | @cindex @env{TERM} environment variable | 783 | @vindex TERM, environment variable, and display bugs |
| 784 | For possible display bugs, the terminal type (the value of environment | 784 | For possible display bugs, the terminal type (the value of environment |
| 785 | variable @env{TERM}), the complete termcap entry for the terminal from | 785 | variable @env{TERM}), the complete termcap entry for the terminal from |
| 786 | @file{/etc/termcap} (since that file is not identical on all machines), | 786 | @file{/etc/termcap} (since that file is not identical on all machines), |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 7af8d9efb7c..50069e3d1da 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -929,13 +929,18 @@ major mode should use the mode's own name as an element of | |||
| 929 | 929 | ||
| 930 | @defun invisible-p pos-or-prop | 930 | @defun invisible-p pos-or-prop |
| 931 | If @var{pos-or-prop} is a marker or number, this function returns a | 931 | If @var{pos-or-prop} is a marker or number, this function returns a |
| 932 | non-@code{nil} value if the text at that position is invisible. | 932 | non-@code{nil} value if the text at that position is currently |
| 933 | invisible. | ||
| 933 | 934 | ||
| 934 | If @var{pos-or-prop} is any other kind of Lisp object, that is taken | 935 | If @var{pos-or-prop} is any other kind of Lisp object, that is taken |
| 935 | to mean a possible value of the @code{invisible} text or overlay | 936 | to mean a possible value of the @code{invisible} text or overlay |
| 936 | property. In that case, this function returns a non-@code{nil} value | 937 | property. In that case, this function returns a non-@code{nil} value |
| 937 | if that value would cause text to become invisible, based on the | 938 | if that value would cause text to become invisible, based on the |
| 938 | current value of @code{buffer-invisibility-spec}. | 939 | current value of @code{buffer-invisibility-spec}. |
| 940 | |||
| 941 | The return value of this function is @code{t} if the text would be | ||
| 942 | completely hidden on display, or a non-@code{nil}, non-@code{t} value | ||
| 943 | if the text would be replaced by an ellipsis. | ||
| 939 | @end defun | 944 | @end defun |
| 940 | 945 | ||
| 941 | @vindex line-move-ignore-invisible | 946 | @vindex line-move-ignore-invisible |
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi index 4fba880803e..8d56e022d8f 100644 --- a/doc/lispref/sequences.texi +++ b/doc/lispref/sequences.texi | |||
| @@ -425,6 +425,7 @@ useful example of @code{sort}. | |||
| 425 | 425 | ||
| 426 | @cindex sequence functions in seq | 426 | @cindex sequence functions in seq |
| 427 | @cindex seq library | 427 | @cindex seq library |
| 428 | @cindex sequences, generalized | ||
| 428 | The @file{seq.el} library provides the following additional sequence | 429 | The @file{seq.el} library provides the following additional sequence |
| 429 | manipulation macros and functions, prefixed with @code{seq-}. To use | 430 | manipulation macros and functions, prefixed with @code{seq-}. To use |
| 430 | them, you must first load the @file{seq} library. | 431 | them, you must first load the @file{seq} library. |
| @@ -859,6 +860,7 @@ it is a function of two arguments to use instead of the default @code{equal}. | |||
| 859 | @end defun | 860 | @end defun |
| 860 | 861 | ||
| 861 | @defun seq-subseq sequence start &optional end | 862 | @defun seq-subseq sequence start &optional end |
| 863 | @cindex sub-sequence | ||
| 862 | This function returns a subset of @var{sequence} from @var{start} | 864 | This function returns a subset of @var{sequence} from @var{start} |
| 863 | to @var{end}, both integers (@var{end} defaults to the last element). | 865 | to @var{end}, both integers (@var{end} defaults to the last element). |
| 864 | If @var{start} or @var{end} is negative, it counts from the end of | 866 | If @var{start} or @var{end} is negative, it counts from the end of |
| @@ -926,6 +928,8 @@ contain less elements than @var{n}. @var{n} must be an integer. If | |||
| 926 | @end defun | 928 | @end defun |
| 927 | 929 | ||
| 928 | @defun seq-intersection sequence1 sequence2 &optional function | 930 | @defun seq-intersection sequence1 sequence2 &optional function |
| 931 | @cindex sequences, intersection of | ||
| 932 | @cindex intersection of sequences | ||
| 929 | This function returns a list of the elements that appear both in | 933 | This function returns a list of the elements that appear both in |
| 930 | @var{sequence1} and @var{sequence2}. If the optional argument | 934 | @var{sequence1} and @var{sequence2}. If the optional argument |
| 931 | @var{function} is non-@code{nil}, it is a function of two arguments to | 935 | @var{function} is non-@code{nil}, it is a function of two arguments to |
| @@ -972,6 +976,10 @@ of @var{sequence}. Keys are compared using @code{equal}. | |||
| 972 | @end defun | 976 | @end defun |
| 973 | 977 | ||
| 974 | @defun seq-into sequence type | 978 | @defun seq-into sequence type |
| 979 | @cindex convert sequence to another type | ||
| 980 | @cindex list to vector | ||
| 981 | @cindex vector to list | ||
| 982 | @cindex string to vector | ||
| 975 | This function converts the sequence @var{sequence} into a sequence | 983 | This function converts the sequence @var{sequence} into a sequence |
| 976 | of type @var{type}. @var{type} can be one of the following symbols: | 984 | of type @var{type}. @var{type} can be one of the following symbols: |
| 977 | @code{vector}, @code{string} or @code{list}. | 985 | @code{vector}, @code{string} or @code{list}. |
| @@ -993,6 +1001,8 @@ of type @var{type}. @var{type} can be one of the following symbols: | |||
| 993 | @end defun | 1001 | @end defun |
| 994 | 1002 | ||
| 995 | @defun seq-min sequence | 1003 | @defun seq-min sequence |
| 1004 | @cindex minimum value of sequence | ||
| 1005 | @cindex sequence minimum | ||
| 996 | This function returns the smallest element of @var{sequence}. The | 1006 | This function returns the smallest element of @var{sequence}. The |
| 997 | elements of @var{sequence} must be numbers or markers | 1007 | elements of @var{sequence} must be numbers or markers |
| 998 | (@pxref{Markers}). | 1008 | (@pxref{Markers}). |
| @@ -1010,6 +1020,8 @@ elements of @var{sequence} must be numbers or markers | |||
| 1010 | @end defun | 1020 | @end defun |
| 1011 | 1021 | ||
| 1012 | @defun seq-max sequence | 1022 | @defun seq-max sequence |
| 1023 | @cindex maximum value of sequence | ||
| 1024 | @cindex sequence maximum | ||
| 1013 | This function returns the largest element of @var{sequence}. The | 1025 | This function returns the largest element of @var{sequence}. The |
| 1014 | elements of @var{sequence} must be numbers or markers. | 1026 | elements of @var{sequence} must be numbers or markers. |
| 1015 | 1027 | ||
| @@ -1027,6 +1039,7 @@ elements of @var{sequence} must be numbers or markers. | |||
| 1027 | 1039 | ||
| 1028 | @defmac seq-doseq (var sequence) body@dots{} | 1040 | @defmac seq-doseq (var sequence) body@dots{} |
| 1029 | @cindex sequence iteration | 1041 | @cindex sequence iteration |
| 1042 | @cindex iteration over vector or string | ||
| 1030 | This macro is like @code{dolist} (@pxref{Iteration, dolist}), except | 1043 | This macro is like @code{dolist} (@pxref{Iteration, dolist}), except |
| 1031 | that @var{sequence} can be a list, vector or string. This is | 1044 | that @var{sequence} can be a list, vector or string. This is |
| 1032 | primarily useful for side-effects. | 1045 | primarily useful for side-effects. |
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi index 92846a924c5..1715c83a0d2 100644 --- a/doc/misc/emacs-gnutls.texi +++ b/doc/misc/emacs-gnutls.texi | |||
| @@ -116,9 +116,11 @@ information. | |||
| 116 | The @code{gnutls-algorithm-priority} variable sets the GnuTLS priority | 116 | The @code{gnutls-algorithm-priority} variable sets the GnuTLS priority |
| 117 | string. This is global, not per host name (although | 117 | string. This is global, not per host name (although |
| 118 | @code{gnutls-negotiate} supports a priority string per connection so | 118 | @code{gnutls-negotiate} supports a priority string per connection so |
| 119 | it could be done if needed). The priority string syntax is in the | 119 | it could be done if needed). For details see the |
| 120 | @uref{https://www.gnu.org/software/gnutls/documentation.html, GnuTLS | 120 | @uref{https://www.gnu.org/software/gnutls/documentation.html, GnuTLS |
| 121 | documentation}. | 121 | documentation} and the |
| 122 | @uref{https://gnutls.org/manual/html_node/Priority-Strings.html, | ||
| 123 | GnuTLS priority string syntax and description}. | ||
| 122 | @end defvar | 124 | @end defvar |
| 123 | 125 | ||
| 124 | @defvar gnutls-trustfiles | 126 | @defvar gnutls-trustfiles |