aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2017-04-27 22:03:56 -0700
committerGlenn Morris2017-04-27 22:03:56 -0700
commitcee4128135d0d9fd6032a0134b649d5fc81370c0 (patch)
treee62e97cbe32f4ca4f9540fe528dac0394702efdf
parentf0daad9adc5b8fd19f60f89e96b286a78f7162b3 (diff)
parent784602b10506c50075aa9463891a47380ebea55f (diff)
downloademacs-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
-rw-r--r--CONTRIBUTE6
-rw-r--r--ChangeLog.2205
-rw-r--r--admin/admin.el9
-rw-r--r--admin/notes/repo7
-rw-r--r--doc/emacs/cmdargs.texi4
-rw-r--r--doc/lispref/display.texi6
-rw-r--r--doc/lispref/package.texi12
-rw-r--r--doc/lispref/processes.texi13
-rw-r--r--doc/lispref/tips.texi11
-rw-r--r--doc/misc/cl.texi16
-rw-r--r--doc/misc/info.texi6
-rw-r--r--etc/HISTORY2
-rw-r--r--lisp/dabbrev.el32
-rw-r--r--lisp/menu-bar.el5
-rw-r--r--lisp/org/org-src.el18
-rw-r--r--lisp/subr.el7
-rw-r--r--src/buffer.c4
-rw-r--r--src/callproc.c4
-rw-r--r--src/search.c52
-rw-r--r--src/xdisp.c10
20 files changed, 328 insertions, 101 deletions
diff --git a/CONTRIBUTE b/CONTRIBUTE
index 92a76d841c4..188ec864707 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -209,7 +209,11 @@ reasons. These should be marked by including something like "Do not
209merge to master" or anything that matches gitmerge-skip-regexp (see 209merge to master" or anything that matches gitmerge-skip-regexp (see
210admin/gitmerge.el) in the commit message. 210admin/gitmerge.el) in the commit message.
211 211
212** Other process information 212** GNU ELPA
213
214This repository does not contain the Emacs Lisp package archive
215(elpa.gnu.org). See admin/notes/elpa for how to access the GNU ELPA
216repository.
213 217
214** Emacs Mailing lists. 218** Emacs Mailing lists.
215 219
diff --git a/ChangeLog.2 b/ChangeLog.2
index c1e10b19e1e..4b266e1e952 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,206 @@
12017-04-20 Nicolas Petton <nicolas@petton.fr>
2
3 * Version 25.2 released.
4
52017-04-18 Eli Zaretskii <eliz@gnu.org>
6
7 Fix a typo in indexing the user manual
8
9 * doc/emacs/cmdargs.texi (General Variables): Fix a horrible typo.
10
112017-04-12 Eli Zaretskii <eliz@gnu.org>
12
13 * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
14
152017-04-11 Eli Zaretskii <eliz@gnu.org>
16
17 Document 'line-pixel-height'
18
19 * doc/lispref/display.texi (Size of Displayed Text): Document
20 line-pixel-height. Suggested by Tak Kunihiro
21 <tkk@misasa.okayama-u.ac.jp>. (Bug#26379)
22
232017-04-07 Hong Xu <hong@topbug.net>
24
25 * src/search.c (Fre_search_forward, Fre_search_backward): Improve doc (Bug#25193).
26
272017-04-07 Noam Postavsky <npostavs@gmail.com>
28
29 Mention that processes start in default-directory (Bug#18515)
30
31 * doc/lispref/processes.texi (Synchronous Processes):
32 (Asynchronous Processes):
33 * lisp/subr.el (start-process):
34 * src/callproc.c (call-process): Mention that the subprocess starts in
35 `default-directory' when local, suggest `start-file-process' and
36 `process-file' otherwise.
37
382017-04-07 Noam Postavsky <npostavs@gmail.com>
39
40 * src/xdisp.c (vmessage, message): Clarify commentary.
41
422017-04-02 Glenn Morris <rgm@gnu.org>
43
44 Belated fixes for admin.el's M-x make-manuals-dist
45
46 * admin/admin.el (make-manuals-dist-output-variables): Additions.
47 (make-manuals-dist--1): Also copy docstyle.texi.
48
492017-03-31 Tino Calancha <tino.calancha@gmail.com>
50
51 default-directory: Remark that it must be a directory name
52
53 * src/buffer.c (default-directory): Update docstring (Bug#26272).
54
552017-03-31 Tino Calancha <tino.calancha@gmail.com>
56
57 Delete confuse statement in manual
58
59 * doc/misc/cl.texi (For Clauses): Delete confuse statement
60 and its example (Bug#23550).
61
622017-03-31 Noam Postavsky <npostavs@gmail.com>
63
64 Improve packaging documentation
65
66 * doc/lispref/package.texi (Packaging Basics):
67 * doc/lispref/tips.texi (Library Headers): Clarify some header
68 formats, relation between file headers and package
69 attributes (Bug#13281).
70
712017-03-27 Eric Abrahamsen <eric@ericabrahamsen.net>
72
73 Expand manual section on quitting windows
74
75 * doc/lispref/windows.texi (Quitting Windows): Provide more
76 information about the elements of the quit-restore window parameter,
77 and how they affect the behavior of quit-restore-window.
78
792017-03-26 Noam Postavsky <npostavs@gmail.com>
80
81 Fix docstring of dabbrev-abbrev-char-regexp
82
83 * lisp/dabbrev.el (dabbrev-abbrev-char-regexp): Using a value of nil
84 is equivalent to "\\sw\\|\\s_", and has no special behavior. If the
85 previous character doesn't match, we search backwards for one that
86 does, not throw an error. Replace Lisp example with C based one to
87 make it clear that "symbol" means a sequence of word and symbol
88 constituent characters, not a Lisp symbol (Bug#358).
89
902017-03-26 Johan Claesson <johanclaesson@bredband.net> (tiny change)
91
92 * doc/misc/cl.texi (Iteration Clauses): Clarify example (Bug#19515).
93
942017-03-25 Eli Zaretskii <eliz@gnu.org>
95
96 ;* doc/misc/info.texi (Choose menu subtopic): Improve indexing. (Bug#26236)
97
982017-03-21 Noam Postavsky <npostavs@gmail.com>
99
100 Narrow scope of modification hook renabling in org-src fontification
101
102 Modification hooks should be enabled while modifying text in the
103 org-src temp buffer, but in 2017-01-29 "Call modification hooks in
104 org-src fontify buffers" the hooks were enabled also for modifications
105 to the original org buffer. This causes fontification errors when
106 combined with certain packages, as reported in
107 http://lists.gnu.org/archive/html/emacs-orgmode/2017-03/msg00420.html.
108
109 * lisp/org/org-src.el (org-src-font-lock-fontify-block): Reduce scope
110 of inhibit-modification-hooks let-binding.
111
1122017-03-17 Eli Zaretskii <eliz@gnu.org>
113
114 Improve documentation of interactive "r".
115
116 * doc/lispref/commands.texi (Interactive Codes): Mention that mark
117 must be set for "r" to work.
118
1192017-03-17 Thien-Thi Nguyen <ttn@gnu.org>
120
121 Fix bug: Range-check integer ‘alpha’ frame parm value
122
123 Typo introduced 2013-04-01, "Prefer < to >
124 in range checks such as 0 <= i && i < N".
125
126 * src/frame.c (x_set_alpha): Use ‘ialpha’, not ‘alpha’.
127
1282017-03-17 Paul Eggert <eggert@cs.ucla.edu>
129
130 * etc/PROBLEMS: Say that HP-UX cc doesn't work.
131
1322017-03-14 Eli Zaretskii <eliz@gnu.org>
133
134 Fix duplicate wording in Emacs manual
135
136 * doc/emacs/programs.texi (Which Function): Delete duplicate
137 wording. (Bug#26098)
138
1392017-03-14 Hong Xu <hong@topbug.net>
140
141 * lisp/paren.el (show-paren--default, show-paren-function): Add docstring.
142
1432017-03-13 Eli Zaretskii <eliz@gnu.org>
144
145 Fix wording in Emacs manual
146
147 * doc/emacs/text.texi (Paragraphs): Fix a garbled sentence.
148 (Bug#26086)
149
1502017-03-11 Eli Zaretskii <eliz@gnu.org>
151
152 Document how to customize input methods
153
154 * doc/emacs/mule.texi (Input Methods): Document how to customize
155 input methods.
156
1572017-03-11 Eli Zaretskii <eliz@gnu.org>
158
159 * lisp/net/eww.el (eww-reload): Doc fix. (Bug#25981)
160
1612017-03-06 Noam Postavsky <npostavs@gmail.com>
162
163 Fix warning message about native completion (Bug#25984)
164
165 * lisp/progmodes/python.el (python-shell-completion-native-turn-on-maybe):
166 The relevant variable is `python-shell-completion-native-enable'.
167
1682017-03-04 Eli Zaretskii <eliz@gnu.org>
169
170 Clarify documentation of 'raise' and 'height' display specs
171
172 * doc/lispref/display.texi (Other Display Specs): Clarify the
173 effect of 'height' display spec on the following 'raise'.
174 (Bug#25824)
175
1762017-03-04 Eli Zaretskii <eliz@gnu.org>
177
178 Mention problems with GPaste in PROBLEMS
179
180 * etc/PROBLEMS (GPaste): Mention the problem in yanking caused by
181 GPaste, and its solution. (Bug#25902)
182
1832017-02-25 Eli Zaretskii <eliz@gnu.org>
184
185 Fix doc strings in info.el
186
187 * lisp/info.el (Info-selection-hook, Info-mode-hook)
188 (Info-edit-mode-hook): Doc fixes. (Bug#25794)
189
1902017-02-25 Eli Zaretskii <eliz@gnu.org>
191
192 Fix doc string of 'posn-at-point'
193
194 * src/keyboard.c (Fposn_at_point): Clarify the doc string.
195 (Bug#25796)
196
1972017-02-24 Tino Calancha <tino.calancha@gmail.com>
198
199 Documentation fix in elisp reference manual
200
201 * doc/lispref/macros.texi (Defining Macros): Drop redundant mention
202 on 'declare' forms (Bug#25846).
203
12017-02-18 Noam Postavsky <npostavs@gmail.com> 2042017-02-18 Noam Postavsky <npostavs@gmail.com>
2 205
3 * lisp/woman.el (woman): Fix docstring prefix arg description. 206 * lisp/woman.el (woman): Fix docstring prefix arg description.
@@ -35641,7 +35844,7 @@
35641 35844
35642This file records repository revisions from 35845This file records repository revisions from
35643commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 35846commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
35644commit ec4226d81074751c105264a3a3383c48d0a05e41 (inclusive). 35847commit 3a34412caae002accd0fc7a7fc0b718c2f34159b (inclusive).
35645See ChangeLog.1 for earlier changes. 35848See ChangeLog.1 for earlier changes.
35646 35849
35647;; Local Variables: 35850;; Local Variables:
diff --git a/admin/admin.el b/admin/admin.el
index 5428e3a10bc..e81e7f1e7e1 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -655,7 +655,10 @@ style=\"text-align:left\">")
655 ("@GZIP_PROG@" . "gzip") 655 ("@GZIP_PROG@" . "gzip")
656 ("@INSTALL@" . "install -c") 656 ("@INSTALL@" . "install -c")
657 ("@INSTALL_DATA@" . "${INSTALL} -m 644") 657 ("@INSTALL_DATA@" . "${INSTALL} -m 644")
658 ("@configure_input@" . "")) 658 ("@configure_input@" . "")
659 ("@AM_DEFAULT_VERBOSITY@" . "0")
660 ("@AM_V@" . "${V}")
661 ("@AM_DEFAULT_V@" . "${AM_DEFAULT_VERBOSITY}"))
659 "Alist of (REGEXP . REPLACEMENT) pairs for `make-manuals-dist'.") 662 "Alist of (REGEXP . REPLACEMENT) pairs for `make-manuals-dist'.")
660 663
661(defun make-manuals-dist--1 (root type) 664(defun make-manuals-dist--1 (root type)
@@ -675,7 +678,9 @@ style=\"text-align:left\">")
675 (delete-directory stem t)) 678 (delete-directory stem t))
676 (make-directory stem) 679 (make-directory stem)
677 (copy-file "../doc/misc/texinfo.tex" stem) 680 (copy-file "../doc/misc/texinfo.tex" stem)
678 (or (equal type "emacs") (copy-file "../doc/emacs/emacsver.texi" stem)) 681 (unless (equal type "emacs")
682 (copy-file "../doc/emacs/emacsver.texi" stem)
683 (copy-file "../doc/emacs/docstyle.texi" stem))
679 (dolist (file (directory-files (format "../doc/%s" type) t)) 684 (dolist (file (directory-files (format "../doc/%s" type) t))
680 (if (or (string-match-p "\\(\\.texi\\'\\|/README\\'\\)" file) 685 (if (or (string-match-p "\\(\\.texi\\'\\|/README\\'\\)" file)
681 (and (equal type "lispintro") 686 (and (equal type "lispintro")
diff --git a/admin/notes/repo b/admin/notes/repo
index 3ab3da78071..0da1e1e227a 100644
--- a/admin/notes/repo
+++ b/admin/notes/repo
@@ -1,12 +1,5 @@
1NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*- 1NOTES ON COMMITTING TO EMACS'S REPOSITORY -*- outline -*-
2 2
3** elpa
4
5This branch does not contain a copy of Emacs, but of the Emacs Lisp
6package archive (elpa.gnu.org). See admin/notes/elpa for further
7explanation, and the README file in the branch for usage
8instructions.
9
10* Install changes only on one branch, let them get merged elsewhere if needed. 3* Install changes only on one branch, let them get merged elsewhere if needed.
11 4
12In particular, install bug-fixes only on the release branch (if there 5In particular, install bug-fixes only on the release branch (if there
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.
470Directory for the architecture-independent files that come with Emacs. 470Directory for the architecture-independent files that come with Emacs.
471This is used to initialize the variable @code{data-directory}. 471This 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
474Directory for the documentation string file, which is used to 474Directory for the documentation string file, which is used to
475initialize the Lisp variable @code{doc-directory}. 475initialize the Lisp variable @code{doc-directory}.
476@item EMACSLOADPATH 476@item EMACSLOADPATH
477#vindex EMACSLOADPATH, environment variable 477@vindex EMACSLOADPATH, environment variable
478A colon-separated list of directories@footnote{Here and below, 478A colon-separated list of directories@footnote{Here and below,
479whenever we say ``colon-separated list of directories'', it pertains 479whenever we say ``colon-separated list of directories'', it pertains
480to Unix and GNU/Linux systems. On MS-DOS and MS-Windows, the 480to 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
1974height of both, if present, in the return value. 1974height of both, if present, in the return value.
1975@end defun 1975@end defun
1976 1976
1977@defun line-pixel-height
1978This function returns the height in pixels of the line at point in the
1979selected 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
55A version number, in a form that the function @code{version-to-list} 55A version number, in a form that the function @code{version-to-list}
56understands (e.g., @samp{11.86}). Each release of a package should be 56understands (e.g., @samp{11.86}). Each release of a package should be
57accompanied by an increase in the version number. 57accompanied by an increase in the version number so that it will be
58recognized as an upgrade by users querying the package archive.
58 59
59@item Brief description 60@item Brief description
60This is shown when the package is listed in the Package Menu. It 61This is shown when the package is listed in the Package Menu. It
@@ -71,8 +72,9 @@ once it is installed.
71A list of other packages (possibly including minimal acceptable 72A list of other packages (possibly including minimal acceptable
72version numbers) on which this package depends. The list may be 73version numbers) on which this package depends. The list may be
73empty, meaning this package has no dependencies. Otherwise, 74empty, meaning this package has no dependencies. Otherwise,
74installing this package also automatically installs its dependencies; 75installing this package also automatically installs its dependencies,
75if any dependency cannot be found, the package cannot be installed. 76recursively; if any dependency cannot be found, the package cannot be
77installed.
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,
214consisting of a call to the function @code{define-package}, described 216consisting of a call to the function @code{define-package}, described
215below. This defines the package's version, brief description, and 217below. This defines the package's attributes: version, brief
216requirements. 218description, 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
219a multi-file package, the tar file would be 221a 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
301This function calls @var{program} and waits for it to finish. 301This function calls @var{program} and waits for it to finish.
302 302
303The current working directory of the subprocess is 303The current working directory of the subprocess is set to the current
304@code{default-directory}. 304buffer's value of @code{default-directory} if that is local (as
305determined by @code{unhandled-file-name-directory}), or "~" otherwise.
306If you want to run a process in a remote directory use
307@code{process-file}.
305 308
306The standard input for the new process comes from file @var{infile} if 309The 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
684The original argument list, modified with the actual connection 687The original argument list, modified with the actual connection
685information, is available via the @code{process-contact} function. 688information, is available via the @code{process-contact} function.
689
690The current working directory of the subprocess is set to the current
691buffer's value of @code{default-directory} if that is local (as
692determined by `unhandled-file-name-directory'), or "~" otherwise. If
693you 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
1046of packages is downloaded) and at activation time (to ensure that a 1046of packages is downloaded) and at activation time (to ensure that a
1047package is only activated if all its dependencies have been). 1047package is only activated if all its dependencies have been).
1048 1048
1049Its format is a list of lists. The @code{car} of each sub-list is the 1049Its format is a list of lists on a single line. The @code{car} of
1050name of a package, as a symbol. The @code{cadr} of each sub-list is 1050each sub-list is the name of a package, as a symbol. The @code{cadr}
1051the minimum acceptable version number, as a string. For instance: 1051of each sub-list is the minimum acceptable version number, as a string
1052that can be parse by @code{version-to-list}. An entry that lacks a
1053version (i.e., an entry which is just a symbol, or a sub-list of one
1054element) 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
1057The package code automatically defines a package named @samp{emacs} 1060The 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
1979With @code{by}, there is no real reason that the @code{on} expression
1980must 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
1987where @code{(next-animal x)} takes an ``animal'' @var{x} and returns
1988the 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}
1992This is like a regular @code{in} clause, but @var{var} becomes 1980This is like a regular @code{in} clause, but @var{var} becomes
1993a @code{setf}-able ``reference'' onto the elements of the list 1981a @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,
1112you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, 1113you 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.
1116In the stand-alone reader, @kbd{0} goes through the last menu item; 1117In the stand-alone reader, @kbd{0} goes through the last menu item;
1117this is so you need not count how many entries are there. 1118this 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
1120you are using Emacs's Info mode to read Info files, the third, sixth 1126you are using Emacs's Info mode to read Info files, the third, sixth
1121and ninth menu items have a @samp{*} that stands out, either in color 1127and ninth menu items have a @samp{*} that stands out, either in color
diff --git a/etc/HISTORY b/etc/HISTORY
index 43790bb92bc..ad38b3262d2 100644
--- a/etc/HISTORY
+++ b/etc/HISTORY
@@ -209,6 +209,8 @@ GNU Emacs 24.5 (2015-04-10) emacs-24.5
209 209
210GNU Emacs 25.1 (2016-09-16) emacs-25.1 210GNU Emacs 25.1 (2016-09-16) emacs-25.1
211 211
212GNU Emacs 25.2 (2017-04-20) emacs-25.2
213
212 214
213---------------------------------------------------------------------- 215----------------------------------------------------------------------
214This file is part of GNU Emacs. 216This file is part of GNU Emacs.
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index 3550d75c46a..9c9dc8a4f38 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -191,23 +191,21 @@ This variable has an effect only when the value of
191This regexp will be surrounded with \\\\( ... \\\\) when actually used. 191This regexp will be surrounded with \\\\( ... \\\\) when actually used.
192 192
193Set this variable to \"\\\\sw\" if you want ordinary words or 193Set this variable to \"\\\\sw\" if you want ordinary words or
194\"\\\\sw\\\\|\\\\s_\" if you want symbols (including characters whose 194\"\\\\sw\\\\|\\\\s_\" if you want symbols (including characters
195syntax is \"symbol\" as well as those whose syntax is \"word\". 195whose syntax is \"symbol\" as well as those whose syntax is
196 196\"word\"). The abbreviation is from point to the start of the
197The value nil has a special meaning: the abbreviation is from point to 197previous sequence of characters matching this variable.
198previous word-start, but the search is for symbols. 198
199 199The default value of nil is equivalent to \"\\\\sw\\\\|\\\\s_\".
200For instance, if you are programming in Lisp, `yes-or-no-p' is a symbol, 200
201while `yes', `or', `no' and `p' are considered words. If this 201For instance, suppose the current buffer is in `c-mode'. If this
202variable is nil, then expanding `yes-or-no-' looks for a symbol 202variable is nil or \"\\\\sw\\\\|\\\\s_\", then expanding
203starting with or containing `no-'. If you set this variable to 203`debug_print_in_' looks for a symbol starting with
204\"\\\\sw\\\\|\\\\s_\", that expansion looks for a symbol starting with 204`debug_print_in_'. If you set this variable to \"\\\\sw\", that
205`yes-or-no-'. Finally, if you set this variable to \"\\\\sw\", then 205expansion looks for a word prefixed with `in_' (e.g., it would
206expanding `yes-or-no-' signals an error because `-' is not part of a word; 206match `in_range', but not `in_close_range'). If expanding
207but expanding `yes-or-no' looks for a word starting with `no'. 207`debug_print_in' it would look for a word starting with
208 208`in' (e.g. `integer')."
209The recommended value is nil, which will make dabbrev default to
210using \"\\\\sw\\\\|\\\\s_\"."
211 :type '(choice (const nil) 209 :type '(choice (const nil)
212 regexp) 210 regexp)
213 :group 'dabbrev) 211 :group 'dabbrev)
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 28464f13df7..719173c7e1e 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1898,7 +1898,10 @@ updating the menu."
1898(defun kill-this-buffer () ; for the menu bar 1898(defun kill-this-buffer () ; for the menu bar
1899 "Kill the current buffer. 1899 "Kill the current buffer.
1900When called in the minibuffer, get out of the minibuffer 1900When called in the minibuffer, get out of the minibuffer
1901using `abort-recursive-edit'." 1901using `abort-recursive-edit'.
1902
1903This command can be reliably invoked only from the menu bar,
1904otherwise it could decide to silently do nothing."
1902 (interactive) 1905 (interactive)
1903 (cond 1906 (cond
1904 ;; Don't do anything when `menu-frame' is not alive or visible 1907 ;; Don't do anything when `menu-frame' is not alive or visible
diff --git a/lisp/org/org-src.el b/lisp/org/org-src.el
index caa6526435b..4eb8a531b85 100644
--- a/lisp/org/org-src.el
+++ b/lisp/org/org-src.el
@@ -919,15 +919,15 @@ fontification of code blocks see `org-src-fontify-block' and
919 ;; from `jit-lock-function' (Bug#25132). 919 ;; from `jit-lock-function' (Bug#25132).
920 (let ((inhibit-modification-hooks nil)) 920 (let ((inhibit-modification-hooks nil))
921 (delete-region (point-min) (point-max)) 921 (delete-region (point-min) (point-max))
922 (insert string " ") ;; so there's a final property change 922 (insert string " ")) ;; so there's a final property change
923 (unless (eq major-mode lang-mode) (funcall lang-mode)) 923 (unless (eq major-mode lang-mode) (funcall lang-mode))
924 (org-font-lock-ensure) 924 (org-font-lock-ensure)
925 (setq pos (point-min)) 925 (setq pos (point-min))
926 (while (setq next (next-single-property-change pos 'face)) 926 (while (setq next (next-single-property-change pos 'face))
927 (put-text-property 927 (put-text-property
928 (+ start (1- pos)) (1- (+ start next)) 'face 928 (+ start (1- pos)) (1- (+ start next)) 'face
929 (get-text-property pos 'face) org-buffer) 929 (get-text-property pos 'face) org-buffer)
930 (setq pos next)))) 930 (setq pos next)))
931 (add-text-properties 931 (add-text-properties
932 start end 932 start end
933 '(font-lock-fontified t fontified t font-lock-multiline t)) 933 '(font-lock-fontified t fontified t font-lock-multiline t))
diff --git a/lisp/subr.el b/lisp/subr.el
index 1dd5d2ffef9..02e79932233 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2077,7 +2077,12 @@ arguments PROGRAM-ARGS are strings to give program as arguments.
2077 2077
2078If you want to separate standard output from standard error, use 2078If you want to separate standard output from standard error, use
2079`make-process' or invoke the command through a shell and redirect 2079`make-process' or invoke the command through a shell and redirect
2080one of them using the shell syntax." 2080one of them using the shell syntax.
2081
2082The process runs in `default-directory' if that is local (as
2083determined by `unhandled-file-name-directory'), or \"~\"
2084otherwise. If you want to run a process in a remote directory
2085use `start-file-process'."
2081 (unless (fboundp 'make-process) 2086 (unless (fboundp 'make-process)
2082 (error "Emacs was compiled without subprocess support")) 2087 (error "Emacs was compiled without subprocess support"))
2083 (apply #'make-process 2088 (apply #'make-process
diff --git a/src/buffer.c b/src/buffer.c
index ff4a500c8b7..33ffdf8eb8e 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5629,7 +5629,9 @@ visual lines rather than logical lines. See the documentation of
5629 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory), 5629 DEFVAR_PER_BUFFER ("default-directory", &BVAR (current_buffer, directory),
5630 Qstringp, 5630 Qstringp,
5631 doc: /* Name of default directory of current buffer. 5631 doc: /* Name of default directory of current buffer.
5632To interactively change the default directory, use command `cd'. */); 5632It should be a directory name (as opposed to a directory file-name).
5633On GNU and Unix systems, directory names end in a slash `/'.
5634To interactively change the default directory, use command `cd'. */);
5633 5635
5634 DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function), 5636 DEFVAR_PER_BUFFER ("auto-fill-function", &BVAR (current_buffer, auto_fill_function),
5635 Qnil, 5637 Qnil,
diff --git a/src/callproc.c b/src/callproc.c
index 792556c8e02..e967e45d03f 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -242,6 +242,10 @@ Otherwise it waits for PROGRAM to terminate
242and returns a numeric exit status or a signal description string. 242and returns a numeric exit status or a signal description string.
243If you quit, the process is killed with SIGINT, or SIGKILL if you quit again. 243If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.
244 244
245The process runs in `default-directory' if that is local (as
246determined by `unhandled-file-name-directory'), or "~" otherwise. If
247you want to run a process in a remote directory use `process-file'.
248
245usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) */) 249usage: (call-process PROGRAM &optional INFILE DESTINATION DISPLAY &rest ARGS) */)
246 (ptrdiff_t nargs, Lisp_Object *args) 250 (ptrdiff_t nargs, Lisp_Object *args)
247{ 251{
diff --git a/src/search.c b/src/search.c
index c0deb57213c..f5f9e46d5a3 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2228,26 +2228,12 @@ See also the functions `match-beginning', `match-end' and `replace-match'. */)
2228 2228
2229DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4, 2229DEFUN ("re-search-backward", Fre_search_backward, Sre_search_backward, 1, 4,
2230 "sRE search backward: ", 2230 "sRE search backward: ",
2231 doc: /* Search backward from point for match for regular expression REGEXP. 2231 doc: /* Search backward from point for regular expression REGEXP.
2232Set point to the beginning of the occurrence found, and return point. 2232This function is almost identical to `re-search-forward', except that
2233An optional second argument bounds the search; it is a buffer position. 2233by default it searches backward instead of forward, and the sign of
2234 The match found must not begin before that position. A value of nil 2234COUNT also indicates exactly the opposite searching direction.
2235 means search to the beginning of the accessible portion of the buffer.
2236Optional third argument, if t, means if fail just return nil (no error).
2237 If not nil and not t, position at limit of search and return nil.
2238Optional fourth argument COUNT, if a positive number, means to search
2239 for COUNT successive occurrences. If COUNT is negative, search
2240 forward, instead of backward, for -COUNT occurrences. A value of
2241 nil means the same as 1.
2242With COUNT positive, the match found is the COUNTth to last one (or
2243 last, if COUNT is 1 or nil) in the buffer located entirely before
2244 the origin of the search; correspondingly with COUNT negative.
2245 2235
2246Search case-sensitivity is determined by the value of the variable 2236See `re-search-forward' for details. */)
2247`case-fold-search', which see.
2248
2249See also the functions `match-beginning', `match-end', `match-string',
2250and `replace-match'. */)
2251 (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count) 2237 (Lisp_Object regexp, Lisp_Object bound, Lisp_Object noerror, Lisp_Object count)
2252{ 2238{
2253 return search_command (regexp, bound, noerror, count, -1, 1, 0); 2239 return search_command (regexp, bound, noerror, count, -1, 1, 0);
@@ -2257,18 +2243,22 @@ DEFUN ("re-search-forward", Fre_search_forward, Sre_search_forward, 1, 4,
2257 "sRE search: ", 2243 "sRE search: ",
2258 doc: /* Search forward from point for regular expression REGEXP. 2244 doc: /* Search forward from point for regular expression REGEXP.
2259Set point to the end of the occurrence found, and return point. 2245Set point to the end of the occurrence found, and return point.
2260An optional second argument bounds the search; it is a buffer position. 2246The optional second argument BOUND is a buffer position that bounds
2261 The match found must not end after that position. A value of nil 2247 the search. The match found must not end after that position. A
2262 means search to the end of the accessible portion of the buffer. 2248 value of nil means search to the end of the accessible portion of
2263Optional third argument, if t, means if fail just return nil (no error). 2249 the buffer.
2264 If not nil and not t, move to limit of search and return nil. 2250The optional third argument NOERROR indicates how errors are handled
2265Optional fourth argument COUNT, if a positive number, means to search 2251 when the search fails. If it is nil or omitted, emit an error; if
2266 for COUNT successive occurrences. If COUNT is negative, search 2252 it is t, simply return nil and do nothing; if it is neither nil nor
2267 backward, instead of forward, for -COUNT occurrences. A value of 2253 t, move to the limit of search and return nil.
2268 nil means the same as 1. 2254The optional fourth argument COUNT is a number that indicates the
2269With COUNT positive, the match found is the COUNTth one (or first, 2255 search direction and the number of occurrences to search for. If it
2270 if COUNT is 1 or nil) in the buffer located entirely after the 2256 is positive, search forward for COUNT successive occurrences; if it
2271 origin of the search; correspondingly with COUNT negative. 2257 is negative, search backward, instead of forward, for -COUNT
2258 occurrences. A value of nil means the same as 1.
2259With COUNT positive/negative, the match found is the COUNTth/-COUNTth
2260 one in the buffer located entirely after/before the origin of the
2261 search.
2272 2262
2273Search case-sensitivity is determined by the value of the variable 2263Search case-sensitivity is determined by the value of the variable
2274`case-fold-search', which see. 2264`case-fold-search', which see.
diff --git a/src/xdisp.c b/src/xdisp.c
index 3e6a3078cea..41458c38176 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10530,9 +10530,12 @@ message_with_string (const char *m, Lisp_Object string, bool log)
10530/* Dump an informative message to the minibuf. If M is 0, clear out 10530/* Dump an informative message to the minibuf. If M is 0, clear out
10531 any existing message, and let the mini-buffer text show through. 10531 any existing message, and let the mini-buffer text show through.
10532 10532
10533 The message must be safe ASCII and the format must not contain ` or 10533 The message must be safe ASCII (because when Emacs is
10534 '. If your message and format do not fit into this category, 10534 non-interactive the message is sent straight to stderr without
10535 convert your arguments to Lisp objects and use Fmessage instead. */ 10535 encoding first) and the format must not contain ` or ' (because
10536 this function does not account for `text-quoting-style'). If your
10537 message and format do not fit into this category, convert your
10538 arguments to Lisp objects and use Fmessage instead. */
10536 10539
10537static void ATTRIBUTE_FORMAT_PRINTF (1, 0) 10540static void ATTRIBUTE_FORMAT_PRINTF (1, 0)
10538vmessage (const char *m, va_list ap) 10541vmessage (const char *m, va_list ap)
@@ -10590,6 +10593,7 @@ vmessage (const char *m, va_list ap)
10590 } 10593 }
10591} 10594}
10592 10595
10596/* See vmessage for restrictions on the text of the message. */
10593void 10597void
10594message (const char *m, ...) 10598message (const char *m, ...)
10595{ 10599{