diff options
| author | Glenn Morris | 2017-04-27 22:03:56 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-04-27 22:03:56 -0700 |
| commit | cee4128135d0d9fd6032a0134b649d5fc81370c0 (patch) | |
| tree | e62e97cbe32f4ca4f9540fe528dac0394702efdf /doc | |
| parent | f0daad9adc5b8fd19f60f89e96b286a78f7162b3 (diff) | |
| parent | 784602b10506c50075aa9463891a47380ebea55f (diff) | |
| download | emacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.tar.gz emacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.zip | |
Merge from origin/emacs-25
784602b1050 (origin/emacs-25) ; Add release notice
3a34412caae (tag: emacs-25.2) Set Emacs version to 25.2 and update AU...
56a4461a48d ; Move stray item from admin/notes/repo to CONTRIBUTE
2b0d1118199 ; CONTRIBUTE: Remove stray header.
f2ab09ec60d Fix a typo in indexing the user manual
bc55a574235 * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
a6d50401b4b Document 'line-pixel-height'
0c55cf43e61 * search.c (Fre_search_forward, Fre_search_backward): Imp...
c7ed57eaef4 Mention that processes start in default-directory (Bug#18...
856ec9ffa1f * src/xdisp.c (vmessage, message): Clarify commentary.
849a0aaa1c9 Belated fixes for admin.el's M-x make-manuals-dist
84938d79698 default-directory: Remark that it must be a directory name
3f0d047d2eb Delete confuse statement in manual
ee1bd94dd0c Improve packaging documentation
fb18bff91f0 Expand manual section on quitting windows
9a737079645 Fix docstring of dabbrev-abbrev-char-regexp
afe8849bac1 * doc/misc/cl.texi (Iteration Clauses): Clarify example (...
ada79442c07 ;* doc/misc/info.texi (Choose menu subtopic): Improve ind...
d38fd9229c0 Narrow scope of modification hook renabling in org-src fo...
e0e9db4c84a ; Spelling fix
# Conflicts:
# README
# etc/AUTHORS
# etc/HISTORY
# lisp/ldefs-boot.el
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/cmdargs.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 6 | ||||
| -rw-r--r-- | doc/lispref/package.texi | 12 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 13 | ||||
| -rw-r--r-- | doc/lispref/tips.texi | 11 | ||||
| -rw-r--r-- | doc/misc/cl.texi | 16 | ||||
| -rw-r--r-- | doc/misc/info.texi | 6 |
7 files changed, 41 insertions, 27 deletions
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi index 6c39fe7b644..6f76ef39d9b 100644 --- a/doc/emacs/cmdargs.texi +++ b/doc/emacs/cmdargs.texi | |||
| @@ -470,11 +470,11 @@ bus as well as autolaunching the D-Bus session bus if not running yet. | |||
| 470 | Directory for the architecture-independent files that come with Emacs. | 470 | Directory for the architecture-independent files that come with Emacs. |
| 471 | This is used to initialize the variable @code{data-directory}. | 471 | This is used to initialize the variable @code{data-directory}. |
| 472 | @item EMACSDOC | 472 | @item EMACSDOC |
| 473 | #vindex EMACSDOC, environment variable | 473 | @vindex EMACSDOC, environment variable |
| 474 | Directory for the documentation string file, which is used to | 474 | Directory for the documentation string file, which is used to |
| 475 | initialize the Lisp variable @code{doc-directory}. | 475 | initialize the Lisp variable @code{doc-directory}. |
| 476 | @item EMACSLOADPATH | 476 | @item EMACSLOADPATH |
| 477 | #vindex EMACSLOADPATH, environment variable | 477 | @vindex EMACSLOADPATH, environment variable |
| 478 | A colon-separated list of directories@footnote{Here and below, | 478 | A colon-separated list of directories@footnote{Here and below, |
| 479 | whenever we say ``colon-separated list of directories'', it pertains | 479 | whenever we say ``colon-separated list of directories'', it pertains |
| 480 | to Unix and GNU/Linux systems. On MS-DOS and MS-Windows, the | 480 | to Unix and GNU/Linux systems. On MS-DOS and MS-Windows, the |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 7a6a21649e4..51e31aa273f 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -1974,6 +1974,12 @@ line, if present, in the return value. If it is @code{t}, include the | |||
| 1974 | height of both, if present, in the return value. | 1974 | height of both, if present, in the return value. |
| 1975 | @end defun | 1975 | @end defun |
| 1976 | 1976 | ||
| 1977 | @defun line-pixel-height | ||
| 1978 | This function returns the height in pixels of the line at point in the | ||
| 1979 | selected window. The value includes the line spacing of the line | ||
| 1980 | (@pxref{Line Height}). | ||
| 1981 | @end defun | ||
| 1982 | |||
| 1977 | 1983 | ||
| 1978 | @node Line Height | 1984 | @node Line Height |
| 1979 | @section Line Height | 1985 | @section Line Height |
diff --git a/doc/lispref/package.texi b/doc/lispref/package.texi index 1b37337c15b..af05d1ef58c 100644 --- a/doc/lispref/package.texi +++ b/doc/lispref/package.texi | |||
| @@ -54,7 +54,8 @@ prefix used in the program (@pxref{Coding Conventions}). | |||
| 54 | @item Version | 54 | @item Version |
| 55 | A version number, in a form that the function @code{version-to-list} | 55 | A version number, in a form that the function @code{version-to-list} |
| 56 | understands (e.g., @samp{11.86}). Each release of a package should be | 56 | understands (e.g., @samp{11.86}). Each release of a package should be |
| 57 | accompanied by an increase in the version number. | 57 | accompanied by an increase in the version number so that it will be |
| 58 | recognized as an upgrade by users querying the package archive. | ||
| 58 | 59 | ||
| 59 | @item Brief description | 60 | @item Brief description |
| 60 | This is shown when the package is listed in the Package Menu. It | 61 | This is shown when the package is listed in the Package Menu. It |
| @@ -71,8 +72,9 @@ once it is installed. | |||
| 71 | A list of other packages (possibly including minimal acceptable | 72 | A list of other packages (possibly including minimal acceptable |
| 72 | version numbers) on which this package depends. The list may be | 73 | version numbers) on which this package depends. The list may be |
| 73 | empty, meaning this package has no dependencies. Otherwise, | 74 | empty, meaning this package has no dependencies. Otherwise, |
| 74 | installing this package also automatically installs its dependencies; | 75 | installing this package also automatically installs its dependencies, |
| 75 | if any dependency cannot be found, the package cannot be installed. | 76 | recursively; if any dependency cannot be found, the package cannot be |
| 77 | installed. | ||
| 76 | @end table | 78 | @end table |
| 77 | 79 | ||
| 78 | @cindex content directory, package | 80 | @cindex content directory, package |
| @@ -212,8 +214,8 @@ subdirectories of the content directory. | |||
| 212 | One of the files in the content directory must be named | 214 | One of the files in the content directory must be named |
| 213 | @file{@var{name}-pkg.el}. It must contain a single Lisp form, | 215 | @file{@var{name}-pkg.el}. It must contain a single Lisp form, |
| 214 | consisting of a call to the function @code{define-package}, described | 216 | consisting of a call to the function @code{define-package}, described |
| 215 | below. This defines the package's version, brief description, and | 217 | below. This defines the package's attributes: version, brief |
| 216 | requirements. | 218 | description, and requirements. |
| 217 | 219 | ||
| 218 | For example, if we distribute version 1.3 of the superfrobnicator as | 220 | For example, if we distribute version 1.3 of the superfrobnicator as |
| 219 | a multi-file package, the tar file would be | 221 | a multi-file package, the tar file would be |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 630853384e8..1d200ce1362 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -300,8 +300,11 @@ system, much like text written into a file. @xref{Coding Systems}. | |||
| 300 | @defun call-process program &optional infile destination display &rest args | 300 | @defun call-process program &optional infile destination display &rest args |
| 301 | This function calls @var{program} and waits for it to finish. | 301 | This function calls @var{program} and waits for it to finish. |
| 302 | 302 | ||
| 303 | The current working directory of the subprocess is | 303 | The current working directory of the subprocess is set to the current |
| 304 | @code{default-directory}. | 304 | buffer's value of @code{default-directory} if that is local (as |
| 305 | determined by @code{unhandled-file-name-directory}), or "~" otherwise. | ||
| 306 | If you want to run a process in a remote directory use | ||
| 307 | @code{process-file}. | ||
| 305 | 308 | ||
| 306 | The standard input for the new process comes from file @var{infile} if | 309 | The standard input for the new process comes from file @var{infile} if |
| 307 | @var{infile} is not @code{nil}, and from the null device otherwise. | 310 | @var{infile} is not @code{nil}, and from the null device otherwise. |
| @@ -683,6 +686,12 @@ created with @code{make-pipe-process}, described below. | |||
| 683 | 686 | ||
| 684 | The original argument list, modified with the actual connection | 687 | The original argument list, modified with the actual connection |
| 685 | information, is available via the @code{process-contact} function. | 688 | information, is available via the @code{process-contact} function. |
| 689 | |||
| 690 | The current working directory of the subprocess is set to the current | ||
| 691 | buffer's value of @code{default-directory} if that is local (as | ||
| 692 | determined by `unhandled-file-name-directory'), or "~" otherwise. If | ||
| 693 | you want to run a process in a remote direcotry use | ||
| 694 | @code{start-file-process}. | ||
| 686 | @end defun | 695 | @end defun |
| 687 | 696 | ||
| 688 | @defun make-pipe-process &rest args | 697 | @defun make-pipe-process &rest args |
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index 4e2a0fad1fa..35abd8e79db 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi | |||
| @@ -1046,12 +1046,15 @@ package manager both at download time (to ensure that a complete set | |||
| 1046 | of packages is downloaded) and at activation time (to ensure that a | 1046 | of packages is downloaded) and at activation time (to ensure that a |
| 1047 | package is only activated if all its dependencies have been). | 1047 | package is only activated if all its dependencies have been). |
| 1048 | 1048 | ||
| 1049 | Its format is a list of lists. The @code{car} of each sub-list is the | 1049 | Its format is a list of lists on a single line. The @code{car} of |
| 1050 | name of a package, as a symbol. The @code{cadr} of each sub-list is | 1050 | each sub-list is the name of a package, as a symbol. The @code{cadr} |
| 1051 | the minimum acceptable version number, as a string. For instance: | 1051 | of each sub-list is the minimum acceptable version number, as a string |
| 1052 | that can be parse by @code{version-to-list}. An entry that lacks a | ||
| 1053 | version (i.e., an entry which is just a symbol, or a sub-list of one | ||
| 1054 | element) is equivalent to entry with version "0". For instance: | ||
| 1052 | 1055 | ||
| 1053 | @smallexample | 1056 | @smallexample |
| 1054 | ;; Package-Requires: ((gnus "1.0") (bubbles "2.7.2")) | 1057 | ;; Package-Requires: ((gnus "1.0") (bubbles "2.7.2") cl-lib (seq)) |
| 1055 | @end smallexample | 1058 | @end smallexample |
| 1056 | 1059 | ||
| 1057 | The package code automatically defines a package named @samp{emacs} | 1060 | The package code automatically defines a package named @samp{emacs} |
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 2339d576319..33b4858a45b 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -1976,18 +1976,6 @@ This clause iterates @var{var} over all the cons cells of @var{list}. | |||
| 1976 | @result{} ((1 2 3 4) (2 3 4) (3 4) (4)) | 1976 | @result{} ((1 2 3 4) (2 3 4) (3 4) (4)) |
| 1977 | @end example | 1977 | @end example |
| 1978 | 1978 | ||
| 1979 | With @code{by}, there is no real reason that the @code{on} expression | ||
| 1980 | must be a list. For example: | ||
| 1981 | |||
| 1982 | @example | ||
| 1983 | (cl-loop for x on first-animal by 'next-animal collect x) | ||
| 1984 | @end example | ||
| 1985 | |||
| 1986 | @noindent | ||
| 1987 | where @code{(next-animal x)} takes an ``animal'' @var{x} and returns | ||
| 1988 | the next in the (assumed) sequence of animals, or @code{nil} if | ||
| 1989 | @var{x} was the last animal in the sequence. | ||
| 1990 | |||
| 1991 | @item for @var{var} in-ref @var{list} by @var{function} | 1979 | @item for @var{var} in-ref @var{list} by @var{function} |
| 1992 | This is like a regular @code{in} clause, but @var{var} becomes | 1980 | This is like a regular @code{in} clause, but @var{var} becomes |
| 1993 | a @code{setf}-able ``reference'' onto the elements of the list | 1981 | a @code{setf}-able ``reference'' onto the elements of the list |
| @@ -2252,8 +2240,8 @@ were non-@code{nil}, the loop returns @code{t}: | |||
| 2252 | 2240 | ||
| 2253 | @example | 2241 | @example |
| 2254 | (if (cl-loop for size in size-list always (> size 10)) | 2242 | (if (cl-loop for size in size-list always (> size 10)) |
| 2255 | (some-big-sizes) | 2243 | (only-big-sizes) |
| 2256 | (no-big-sizes)) | 2244 | (some-small-sizes)) |
| 2257 | @end example | 2245 | @end example |
| 2258 | 2246 | ||
| 2259 | @item never @var{condition} | 2247 | @item never @var{condition} |
diff --git a/doc/misc/info.texi b/doc/misc/info.texi index 6f2e53aa739..3db8e8e90f1 100644 --- a/doc/misc/info.texi +++ b/doc/misc/info.texi | |||
| @@ -1108,6 +1108,7 @@ other file with @kbd{g(@var{filename})*@key{RET}}. | |||
| 1108 | @kindex 1 @r{through} 9 @r{(Info mode)} | 1108 | @kindex 1 @r{through} 9 @r{(Info mode)} |
| 1109 | @findex Info-nth-menu-item | 1109 | @findex Info-nth-menu-item |
| 1110 | @cindex select @var{n}'th menu item | 1110 | @cindex select @var{n}'th menu item |
| 1111 | @cindex menu items, select by their numbers | ||
| 1111 | If you begrudge each character of type-in which your system requires, | 1112 | If you begrudge each character of type-in which your system requires, |
| 1112 | you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, | 1113 | you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, |
| 1113 | @dots{}, @kbd{9}. They are short for the @kbd{m} command together | 1114 | @dots{}, @kbd{9}. They are short for the @kbd{m} command together |
| @@ -1116,6 +1117,11 @@ in the current node's menu; @kbd{2} goes through the second item, etc. | |||
| 1116 | In the stand-alone reader, @kbd{0} goes through the last menu item; | 1117 | In the stand-alone reader, @kbd{0} goes through the last menu item; |
| 1117 | this is so you need not count how many entries are there. | 1118 | this is so you need not count how many entries are there. |
| 1118 | 1119 | ||
| 1120 | @cindex 3rd menu item | ||
| 1121 | @cindex third menu item | ||
| 1122 | @cindex 6th menu item | ||
| 1123 | @cindex sixth menu item | ||
| 1124 | @cindex star @samp{*} before menu item | ||
| 1119 | If your display supports multiple fonts, colors or underlining, and | 1125 | If your display supports multiple fonts, colors or underlining, and |
| 1120 | you are using Emacs's Info mode to read Info files, the third, sixth | 1126 | you are using Emacs's Info mode to read Info files, the third, sixth |
| 1121 | and ninth menu items have a @samp{*} that stands out, either in color | 1127 | and ninth menu items have a @samp{*} that stands out, either in color |