aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2016-06-12 13:07:11 -0400
committerGlenn Morris2016-06-12 13:07:11 -0400
commit10802d8472279ed34c98ace04362ce7b3d6bbc97 (patch)
tree86596e2a9265cec7d813af68b7df56a3e4908200
parent4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9 (diff)
downloademacs-10802d8472279ed34c98ace04362ce7b3d6bbc97.tar.gz
emacs-10802d8472279ed34c98ace04362ce7b3d6bbc97.zip
; make change-history-commit
-rw-r--r--ChangeLog.23831
1 files changed, 3830 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index eb336c767e9..305f0658120 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,3832 @@
12016-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all): Fix (bug#19704)
4
5 Don't rewrite (funcall 'f ...) to (f ...).
6
72016-06-11 Phillip Lord <phillip.lord@russet.org.uk>
8
9 Restore initial undo boundary with viper
10
11 * lisp/emulation/viper-cmd.el (viper-adjust-undo): Add back last undo
12 boundary if it has been removed.
13
14 Addresses Bug#22295.
15
162016-06-11 Phillip Lord <phillip.lord@russet.org.uk>
17
18 Revert "Fix viper undo breakage from undo-boundary changes"
19
20 This reverts commit c0139e32f1f3bb287b04e02a69a7848d6a040003.
21
222016-06-11 Ken Brown <kbrown@cornell.edu>
23
24 Fix dbus crash on 32-bit Cygwin
25
26 * src/dbusbind.c (Fdbus__init_bus): Use make_save_pointer to store
27 connection address. (Bug#23741)
28 (xd_lisp_dbus_to_dbus): Use XSAVE_POINTER to retrieve connection
29 address.
30
312016-06-10 Nicolas Petton <nicolas@petton.fr>
32
33 Bump version to 25.0.95
34
35 * README:
36 * configure.ac:
37 * lisp/ldefs-boot.el:
38 * msdos/sed2v2.inp: Bump Emacs version to 25.0.95.
39
402016-06-10 Nicolas Petton <nicolas@petton.fr>
41
42 * etc/AUTHORS: Update the AUTHORS file
43
442016-06-10 Nicolas Petton <nicolas@petton.fr>
45
46 add entries to authors.el
47
48 * admin/authors.el (authors-renamed-files-alist): Add char-fold files.
49
502016-06-10 Jules Tamagnan <jtamagnan@gmail.com>
51
52 Fix eldoc-related freezes in python mode
53
54 * lisp/progmodes/python.el (python-eldoc-get-doc): New defvar.
55 (python-eldoc-function-timeout)
56 (python-eldoc-function-timeout-permanent): New defcustoms.
57 (python-eldoc-function): If python-eldoc--get-doc-at-point times
58 out, effectively turn off ElDoc in current buffer. (Bug#23609)
59
602016-06-09 Martin Rudalics <rudalics@gmx.at>
61
62 Handle mouse leaving initial window in `mouse-set-region' (Bug#23707)
63
64 * lisp/mouse.el (mouse-set-region): If the mouse ends up in
65 another window or on the menu bar, use `window-point' of
66 selected window instead of `posn-point' of the event end
67 (Bug#23707).
68
692016-06-08 Marco Wahl <marcowahlsoft@gmail.com>
70
71 org.el: Fix bindings of < and > for calendar scrolling
72
73 [This patch taken from upstream Org repo with 8b63dc9 dated
74 2014-10-20 (Bug#23725).]
75 * lisp/org/org.el (org-read-date-minibuffer-local-map):
76 Switch to the current calendar API for scrolling the calendar.
77
782016-06-08 Phillip Lord <phillip.lord@russet.org.uk>
79
80 Fix undo boundary in recursive edit (Bug#23632)
81
82 * src/keyboard.c (recursive_edit_1): specbind
83 undo-auto--undoably-changed-buffers.
84 * lisp/simple.el (undo-auto--undoably-changed-buffers):
85 fix docstring.
86
872016-06-07 Glenn Morris <rgm@gnu.org>
88
89 Doc fixes re alist-get. (Bug#23548)
90
91 * lisp/subr.el (alist-get): Doc fix.
92 * doc/lispref/lists.texi (Association Lists): Improve alist-get.
93
942016-06-07 Glenn Morris <rgm@gnu.org>
95
96 * lisp/progmodes/python.el (inferior-python-mode):
97 Avoid tabs. (Bug#23616)
98
99 * src/syntax.c (syms_of_syntax) <comment-end-can-be-escaped>: Doc fix.
100
1012016-06-07 Tino Calancha <f92capac@gmail.com>
102
103 * lisp/help-fns.el (describe-function-1):
104 Fix handling of file name for aliases. (Bug#21950)
105
106 * lisp/emacs-lisp/cl-macs.el (cl-loop): Doc fix re "by".
107
108 * doc/misc/cl.texi (Mapping over Sequences): Fix cl-notevery.
109
1102016-06-07 Paul Eggert <eggert@cs.ucla.edu>
111
112 Fix crash in syntax.c after GC
113
114 Problem reported by Vincent Belaïche (Bug#23704).
115 * src/syntax.c (skip_chars): Recompute pointers into the
116 buffer after every call to update_syntax_table_forward,
117 as it can GC.
118
1192016-06-06 Dmitry Gutov <dgutov@yandex.ru>
120
121 Improve squiggly heredoc support in non-SMIE Ruby mode
122
123 * lisp/progmodes/ruby-mode.el (ruby-parse-partial): Support
124 squiggly heredocs here, too (port from upstream).
125
1262016-06-06 Stephen Berman <stephen.berman@gmx.net>
127
128 Fix doc string quoting
129
130 * lisp/files.el (shell-quote-wildcard-pattern):
131 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
132 * lisp/subr.el (replace-regexp-in-string):
133 * lisp/view.el (view-mode):
134 * src/nsfns.m (syms_of_nsfns):
135 * src/syntax.c (Fbackward_prefix_chars):
136 Fix quoting problems in doc strings (Bug#23696).
137
1382016-06-05 Martin Rudalics <rudalics@gmx.at>
139
140 Fix mouse dragging of vertical dividers with scroll bars on left (Bug#23690)
141
142 * lisp/mouse.el (mouse-drag-line): With scroll bars on the left
143 adjust trailing edge of window on the left when dragging the
144 vertical divider of the mode line. (Bug#23690)
145
1462016-06-04 Eli Zaretskii <eliz@gnu.org>
147
148 * etc/PROBLEMS: Mention the link-time problems on FreeBSD 11.
149
150 (Bug#23641)
151
1522016-05-31 Glenn Morris <rgm@gnu.org>
153
154 * test/automated/viper-tests.el (viper-test-undo-kmacro):
155 Delete temp-file at end.
156
157 * lisp/mail/footnote.el (footnote-mode): Fix doc typo.
158
159 * doc/misc/smtpmail.texi (Encryption): Fix 2012-12-22 typo.
160
161 * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):
162 Fix typo. (Bug#23654)
163
1642016-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * lisp/recentf.el (recentf-dialog-mode-map): Remove follow-link (bug#22434)
167
1682016-05-30 Bill Wohler <wohler@newt.com>
169
170 Correct cl-flet usage (Bug#22317)
171
172 * mh-compat.el: Rename mh-cl-flet to mh-flet and convert alias to
173 macro using patch from Katsumi Yamaoka <yamaoka@jpl.org>.
174 * mh-thread.el (mh-thread-set-tables):
175 * mh-show.el (mh-gnus-article-highlight-citation):
176 * mh-mime.el (mh-display-with-external-viewer):
177 (mh-mime-display, mh-press-button, mh-push-button):
178 (mh-display-emphasis): Call mh-flet instead of mh-cl-flet.
179
1802016-05-30 Bill Wohler <wohler@newt.com>
181
182 Release MH-E manual version 8.6
183
184 * doc/misc/mh-e.texi (VERSION, EDITION, UPDATED, UPDATE-MONTH):
185 Update for release 8.6.
186
1872016-05-30 Mike Kupfer <m.kupfer@acm.org>
188
189 Update MH-E's documentation about HTML renderers
190
191 * doc/misc/mh-e.texi (HTML): Remove the footnote with the minimum Gnus
192 version (we are no longer trying to support multiple Emacs
193 releases). Sort the table of HTML renderers by name (the previous
194 ordering was based on a 10-year-old survey). Add shr and gnus-w3m to
195 the table. Remove the entry for w3 (no longer available). Update
196 existing entries so that they are more consistent about what features
197 are discussed, and to reflect recent testing (Debian 8). Small tweaks
198 to existing text.
199
2002016-05-30 Dmitry Gutov <dgutov@yandex.ru>
201
202 Fx the we->the typo
203
204 * doc/emacs/trouble.texi (Sending Patches):
205 Fix the typo (bug#23657).
206
2072016-05-30 Paul Eggert <eggert@cs.ucla.edu>
208
209 Restore frames into the current display by default
210
211 * lisp/desktop.el (desktop-restore-in-current-display):
212 Default to t, not nil (Bug#23604).
213 * etc/NEWS: Mention the change.
214
2152016-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * lisp/recentf.el (recentf-open-files-item): Quick fix for (bug#22434).
218
219 etc/TODO: Remove out-of-place issue
220
2212016-05-29 Eli Zaretskii <eliz@gnu.org>
222
223 Clarify doc string of 'file-name-sans-extension'
224
225 * lisp/files.el (file-name-sans-extension, file-name-extension):
226 Clarify in the doc strings what is the extension, and which
227 leading period doesn't count. (Bug#23643)
228
2292016-05-28 Eli Zaretskii <eliz@gnu.org>
230
231 Fix the MSDOS build
232
233 * msdos/sed1v2.inp (PAXCTL_dumped, PAXCTL_notdumped): Define to
234 empty, and remove the lines which use them in recipes, as that
235 causes weird error message from Make and breaks the MSDOS build.
236
2372016-05-28 Andreas Schwab <schwab@linux-m68k.org>
238
239 * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Call
240 substitute-command-keys to undo help--docstring-quote. (Bug#23634)
241
2422016-05-27 Eli Zaretskii <eliz@gnu.org>
243
244 * src/dired.c (Ffile_name_all_completions): Doc fix. (Bug#23631)
245
2462016-05-27 Eli Zaretskii <eliz@gnu.org>
247
248 Fix infloop in 'number-sequence'
249
250 * lisp/subr.el (number-sequence): Avoid overflow leading to an
251 infloop. (Bug#23627)
252
253 * test/automated/subr-tests.el (number-sequence-test): New test.
254
2552016-05-26 Glenn Morris <rgm@gnu.org>
256
257 * lisp/emacs-lisp/find-func.el (find-function-library):
258
259 Update for symbol-function no longer erroring. (Bug#23626)
260
2612016-05-26 Glenn Morris <rgm@gnu.org>
262
263 * lisp/w32-fns.el (set-message-beep, w32-get-locale-info)
264 (w32-get-valid-locale-ids): Improve declarations.
265
2662016-05-26 Vincent Belaïche <vincentb1@users.sourceforge.net>
267
268 Correct old cell name unbinding when renaming cell.
269
270 Bug is to unbind old cell names when renaming a cell with
271 'makunbound'. when the old cell name is of A1 type, then
272 'kill-local-variable' must be used instead, so that only the current
273 spreadsheet is affected. When the old cell name is a renamed cell,
274 then 'ses--unbind-cell-name' must be used in order to remove the old
275 name from the name hashmap.
276
277 * ses.el (ses-rename-cell): check consistency of cell symbol from
278 text-property and from array object. Instead of 'makunbound', use
279 either 'ses--unbind-cell-name' or 'kill-local-variable' depending on
280 whether the cell old name is a named cell or an A1 type cell
281
2822016-05-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
283
284 Document problem: slow screen refresh on missing font.
285
286 See discussion of bug#22519 for more on this.
287
2882016-05-25 Glenn Morris <rgm@gnu.org>
289
290 * admin/admin.el (add-release-logs): Basic check of existing ChangeLog.
291
2922016-05-25 Glenn Morris <rgm@gnu.org>
293
294 * build-aux/gitlog-to-emacslog: Handle empty generated ChangeLog.
295
296 This is relevant for M-x add-release-logs right after M-x authors.
297
2982016-05-25 Glenn Morris <rgm@gnu.org>
299
300 * admin/admin.el (add-release-logs): Generate ChangeLog if needed.
301
3022016-05-25 Paul Eggert <eggert@cs.ucla.edu>
303
304 * doc/misc/texinfo.tex: Revert previous change (Bug#23611).
305
3062016-05-25 Glenn Morris <rgm@gnu.org>
307
308 * admin/authors.el (authors): First update the ChangeLog.
309
310 * admin/make-tarball.txt: Related updates.
311
3122016-05-24 Dmitry Gutov <dgutov@yandex.ru>
313
314 Rename vc-stay-local back to vc-cvs-stay-local
315
316 * lisp/vc/vc-cvs.el (vc-cvs-stay-local): Rename back from
317 vc-stay-local (bug#19548). Improve the docstring.
318 (vc-cvs-stay-local-p): Update accordingly.
319
3202016-05-24 Glenn Morris <rgm@gnu.org>
321
322 * doc/emacs/files.texi (Comparing Files):
323 * doc/emacs/trouble.texi (Sending Patches): Fix external xrefs.
324
325 * doc/misc/eww.texi (Advanced): Fix xref.
326
3272016-05-24 Eli Zaretskii <eliz@gnu.org>
328
329 Fix cross-references between manuals
330
331 * doc/misc/viper.texi (Viper Specials):
332 * doc/misc/url.texi (Tramp):
333 * doc/misc/sem-user.texi (Smart Jump):
334 * doc/lispintro/emacs-lisp-intro.texi (Finding More):
335 * doc/misc/efaq.texi (Replacing text across multiple files): Fix
336 cross-references between manuals. (Bug#23612)
337 * doc/lispintro/emacs-lisp-intro.texi (etags): Node deleted: no
338 longer relevant to Emacs Lisp programming.
339
3402016-05-24 Glenn Morris <rgm@gnu.org>
341
342 * doc/misc/vhdl-mode.texi (Sample Init File): Rename node to avoid ".".
343
344 * admin/admin.el (add-release-logs): Also update etc/HISTORY.
345
3462016-05-24 Eli Zaretskii <eliz@gnu.org>
347
348 Avoid aborting due to errors in arguments of 'set-face-attribute'
349
350 * src/xfaces.c (Finternal_set_lisp_face_attribute): Check the
351 FRAME argument before using it. This avoids gratuitous aborts in
352 Emacs built with --enable-checking when the luser was unlucky
353 enough to get the argument list in wrong order.
354
3552016-05-23 Phillip Lord <phillip.lord@russet.org.uk>
356
357 Add automated test for viper-tests.el
358
3592016-05-23 Phillip Lord <phillip.lord@russet.org.uk>
360
361 Fix viper undo breakage from undo-boundary changes
362
363 * lisp/simple.el (undo-auto-disable-boundaries): New variable
364 * lisp/emulation/viper-init.el (viper-undo-in-complex-command,
365 viper-undo-needs-adjustment): Rename
366 variable to reflect new purpose,
367 (viper-buffer-undo-list-mark): Remove
368 * lisp/emulation/viper-cmd.el (viper-set-complex-command-for-undo):
369 Add undo using `undo-boundary', disable default undo-boundary
370 addition.
371 * lisp/emulation/viper-cmd.el
372 (viper-complete-complex-command-for-undo,viper-adjust-undo):
373 Change function name, remove old undo list manipulation.
374 * lisp/emulation/viper-cmd.el (viper-undo,viper-repeat,
375 viper-change-state-to-vi,viper-change-state):
376 Update for function name change.
377
378 Addresses Bug #22295
379
3802016-05-22 Kaushal Modi <kaushal.modi@gmail.com>
381
382 Fix reference to obsolete fn ps-eval-switch
383
384 lpr-eval-switch is functionally the same as ps-eval-switch,
385 which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.
386 So use that instead (Bug#19717).
387 * lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
388 ps-eval-switch.
389
3902016-05-22 Paul Eggert <eggert@cs.ucla.edu>
391
392 Do not trash symlinks to init file
393
394 If the user’s init file is a symbolic link, do not break the link
395 when initializing the package system. Problem reported by Jackson
396 Hamilton (Bug#23050).
397 * lisp/emacs-lisp/package.el (package--ensure-init-file):
398 Bind find-file-visit-truename when visiting the init file, and
399 save and restore the buffer name the way cus-edit does in a
400 similar situation (Bug#454).
401
4022016-05-22 Alan Mackenzie <acm@muc.de>
403
404 Don't print the "decomposition" line for control chars in what-cursor-position
405
406 This is a temporary workaround for bug #23594, where the decomposition line
407 for linefeed corrupted the display on a Linux virtual terminal.
408
409 * lisp/descr-text.el (describe-char): Remove `decomposition' from the list of
410 character code properties printed for control characters.
411
4122016-05-22 Paul Eggert <eggert@cs.ucla.edu>
413
414 Bring back xterm pasting with middle mouse
415
416 Problem reported by Jan Synáček.
417 Solution suggested by Stefan Monnier (Bug#23519).
418 * lisp/isearch.el (isearch-mode-map): Add a binding for xterm-paste.
419 (xterm--pasted-text): New decl.
420 (isearch-xterm-paste): New function.
421 * lisp/term/xterm.el (xterm--pasted-text): New function,
422 taken from xterm-paste internals.
423 (xterm-paste): Use it.
424
4252016-05-22 Eli Zaretskii <eliz@gnu.org>
426
427 Provide workaround for xftfont rendering problem
428
429 * src/xftfont.c (syms_of_xftfont) <xft-font-ascent-descent-override>:
430 New variable.
431 (xftfont_open): Use it to work around problems with rendering some
432 fonts. (Bug#23360)
433
4342016-05-21 Jun Hao <jun_hao@aol.com>
435
436 * lisp/desktop.el: Disable restore frameset if in non-graphic display.
437
438 (Bug#17693)
439
4402016-05-21 Eli Zaretskii <eliz@gnu.org>
441
442 Mention GTK+ problems in etc/PROBLEMS
443
444 * etc/PROBLEMS (GDK_SCALE, GDK_DPI_SCALE): Mention the possible
445 problems this could create and the workaround. (Bug#23587)
446
4472016-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
448
449 * lisp/emacs-lisp/package.el (package-refresh-contents):
450
451 Don't change the value of `package-check-signature'.
452 (package-check-signature): Use `epg-find-configuration'
453 instead of `executable-find'.
454
4552016-05-20 Daiki Ueno <ueno@gnu.org>
456
457 Revert "epg: Add a way to detect gpg1 executable for tests"
458
459 This reverts commit d4ae6d7033b34e8b75c59aaf1584131e439ef2d5.
460
4612016-05-19 Eli Zaretskii <eliz@gnu.org>
462
463 Avoid errors with Czech and Slovak input methods
464
465 * lisp/leim/quail/slovak.el (slovak, slovak-prog-1, slovak-prog-2)
466 (slovak-prog-3): Remove the kp-* key bindings, they are not needed
467 and cause errors in "C-u C-x =".
468 * lisp/leim/quail/czech.el (czech, czech-qwerty, czech-prog-1)
469 (czech-prog-2, czech-prog-3): Remove the kp-* key bindings.
470 (Bug#23559)
471
4722016-05-19 Daiki Ueno <ueno@gnu.org>
473
474 epg: Add a way to detect gpg1 executable for tests
475
476 Fixes bug#23561.
477
478 * test/automated/epg-tests.el
479 (epg-tests-program-alist-for-passphrase-callback): New
480 constant.
481 (epg-tests-find-usable-gpg-configuration): New function,
482 renamed from `epg-tests-gpg-usable'. All callers changed.
483 (epg-tests-gpg-usable): Remove.
484
485 * lisp/epg-config.el (epg-config--program-alist): Factor out
486 constructor element to...
487 (epg-config--configuration-constructor-alist): ...here.
488 (epg-find-configuration): Rename FORCE argument to NO-CACHE,
489 and add PROGRAM-ALIST argument.
490
4912016-05-18 Artur Malabarba <bruce.connor.am@gmail.com>
492
493 * lisp/emacs-lisp/package.el: Fix free variable warnings.
494
495 (package--with-response-buffer): Replace two usages of
496 `macroexp-let2*' with `let'.
497
4982016-05-18 Artur Malabarba <bruce.connor.am@gmail.com>
499
500 * lisp/emacs-lisp/package.el (package--with-response-buffer):
501
502 Fix some macro locals leaking into body. (Bug#22440)
503
504 * test/automated/package-test.el (package-test-signed):
505 Manually check all possible values of `package-check-signature'.
506
5072016-05-18 Eli Zaretskii <eliz@gnu.org>
508
509 Improve documentation of 'server-name'
510
511 * doc/emacs/misc.texi (Emacs Server): Fix example of setting
512 'server-name'. Mention how to do that with daemon sessions.
513 (Bug#23576)
514
5152016-05-18 Paul Eggert <eggert@cs.ucla.edu>
516
517 Modernize ASLR advice in etc/PROBLEMS
518
519 * etc/PROBLEMS (Segfault during 'make'): Modernize advice for
520 seccomp, Docker, and NetBSD (Bug#23529).
521
5222016-05-17 Juri Linkov <juri@linkov.net>
523
524 * lisp/char-fold.el: Rename from character-fold.el.
525
526 * lisp/replace.el (replace-char-fold): Rename from replace-character-fold.
527 * test/automated/char-fold-tests.el: Rename from character-fold-tests.el.
528 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00529.html
529
5302016-05-17 Nicolas Petton <nicolas@petton.fr>
531
532 Bump version to 25.0.94
533
534 * README:
535 * configure.ac:
536 * msdos/sed2v2.inp: Bump Emacs version to 25.0.94.
537
5382016-05-17 Nicolas Petton <nicolas@petton.fr>
539
540 etc/AUTHORS: Update the AUTHORS file
541
5422016-05-16 Alan Third <alan@idiocy.org>
543
544 Fix bug#23462: Crash when iconifying frame on OS X.
545
546 * src/nsterm.m (x_iconify_frame): Block input while miniaturize is
547 running.
548
5492016-05-16 Paul Eggert <eggert@cs.ucla.edu>
550
551 Avoid shrinking windows with Gtk+ 3.20.3
552
553 Problem reported by Matthias Clasen (Bug#23144).
554 This was fixed in a different way in master.
555 Do not merge to master.
556 * src/xterm.c (handle_one_xevent) [GTK_CHECK_VERSION (3, 20, 3)]:
557 Do not call xg_frame_resized in the MapNotify case.
558
5592016-05-16 Eli Zaretskii <eliz@gnu.org>
560
561 Fix bug in default setting of 'ps-paper-type'
562
563 * lisp/international/mule-cmds.el (set-locale-environment): Don't
564 inherit the value of locale from previous examination of different
565 environment variables, which didn't look at LC_PAPER, and so using
566 that value would effectively ignore the setting of LC_PAPER.
567 (Bug#23544)
568
5692016-05-13 Paul Eggert <eggert@cs.ucla.edu> (tiny change)
570
571 Properly reject malformed or empty package sigs
572
573 Problem report and fix by Lizzie Dixon (Bug#23513).
574 * lisp/emacs-lisp/package.el (package--check-signature-content):
575 Report an error if no good signatures OR if a fatal error. Not AND.
576
5772016-05-13 Paul Eggert <eggert@cs.ucla.edu>
578
579 Remove buggy non-native image scrolling
580
581 This never worked, and could cause infinite recursion.
582 Problem reported by Glenn Morris (Bug#22465).
583 * lisp/xwidget.el (xwidget-webkit-scroll-behavior): Remove.
584 All uses removed.
585
5862016-05-13 Paul Eggert <eggert@cs.ucla.edu>
587
588 * doc/misc/texinfo.tex: Sync from gnulib.
589
5902016-05-12 Glenn Morris <rgm@gnu.org>
591
592 * lisp/emacs-lisp/find-func.el (find-feature-regexp)
593 (find-alias-regexp): Fix :version.
594
5952016-05-11 Dmitry Gutov <dgutov@yandex.ru>
596
597 Do not mistake colon at the end of regexp for slash symbol
598
599 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
600 Check the parse state in the "Symbols with special characters"
601 rule (bug#23515).
602
6032016-05-11 Dmitry Gutov <dgutov@yandex.ru>
604
605 Make package-install-from-buffer not move point
606
607 * lisp/emacs-lisp/package.el (package-install-from-buffer):
608 Use save-excursion here (bug#22616).
609
6102016-05-11 Dmitry Gutov <dgutov@yandex.ru>
611
612 Redo the fix for bug#21839
613
614 * lisp/help.el (help-add-fundoc-usage): Undo the previous change.
615 (help--make-usage-docstring): Escape newlines when printing.
616
617 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
618 Ditto (bug#21839).
619
6202016-05-10 Dmitry Gutov <dgutov@yandex.ru>
621
622 Don't treat JS spread as contination method call
623
624 * lisp/progmodes/js.el (js--indent-operator-re):
625 Allow only one dot (bug#23492).
626
627 * test/indent/js.js (default): Add a corresponding example.
628
6292016-05-09 Dmitry Gutov <dgutov@yandex.ru>
630
631 Allow newlines inside cl function arglists
632
633 * lisp/help.el (help-add-fundoc-usage): Allow newlines inside
634 ARGLIST (bug#21839).
635
6362016-05-09 Dmitry Gutov <dgutov@yandex.ru>
637
638 Publicize cl--generic-all-functions
639
640 * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions):
641 Rename from cl--generic-all-functions. Update both callers.
642
643 * lisp/cedet/semantic/db-el.el
644 (semanticdb-find-tags-external-children-of-type-method):
645 And use it here (bug#23042).
646
6472016-05-09 Alan Mackenzie <acm@muc.de>
648
649 Add some "safe-local-variable" declarations for compatibility with master.
650
651 These enable C files from the master repository to be visited in Emacs 25
652 without generating irritating questions about configuration variable safety.
653
654 * lisp/progmodes/cc-vars.el: (c-string-list-p, c-string-or-string-list-p): New
655 functions.
656 (c-noise-macro-names, c-noise-macro-with-parens-names): give the
657 safe-local-variable property c-string-list-p.
658 (c-macro-names-with-semicolon): give the safe-local-variable property
659 c-string-or-string-list-p.
660
6612016-05-09 Lars Ingebrigtsen <larsi@gnus.org>
662
663 Fix doc string in `insert'
664
665 * src/editfns.c (Finsert_and_inherit): The before-insertion
666 markers do not move.
667 (Finsert): Ditto.
668
6692016-05-08 Paul Eggert <eggert@cs.ucla.edu>
670
671 * doc/misc/emacs-mime.texi (time-date): Document now-builtins better.
672
6732016-05-07 Dmitry Gutov <dgutov@yandex.ru>
674
675 Say 'All results processed' at the end
676
677 * lisp/progmodes/xref.el (xref--query-replace-1):
678 Say 'All results processed' at the end if the user hadn't
679 cancelled the process (bug#23284).
680
6812016-05-07 Eli Zaretskii <eliz@gnu.org>
682
683 Document automatic adjustment of process' logical window dimensions
684
685 * doc/lispref/processes.texi (Process Buffers): Document
686 'set-process-window-size' and
687 'window-adjust-process-window-size-function'.
688
689 * etc/NEWS: Mention the new functionality and variable.
690
691 * src/process.c (Fset_process_window_size): Improve the doc string.
692
6932016-05-06 Michael Albinus <michael.albinus@gmx.de>
694
695 tramp-sh.el: Work around a stat bug (backport from master)
696
697 * lisp/net/tramp-sh.el (tramp-get-remote-stat): Do not use
698 stat versions which produce shell quoted output. See also
699 coreutils Bug#23422.
700
701 (cherry picked from commit 6aad36ace9953b9672b13be68416d205532d5e59)
702
7032016-05-05 Paul Eggert <eggert@cs.ucla.edu>
704
705 Doc fixes for fclist and grep
706
707 A newline is needed between two fc-list calls.
708 egrep and fgrep have been withdrawn from POSIX,
709 so document grep -E and grep -F instead.
710
7112016-05-05 Paul Eggert <eggert@cs.ucla.edu>
712
713 Minor doc fixes for quoting
714
715 * doc/lispref/control.texi (Signaling Errors):
716 * doc/lispref/display.texi (Displaying Messages):
717 Don’t say that formats “generate”. Try to word more clearly.
718 * etc/NEWS: Coalesce near-duplicate entries.
719
7202016-05-05 Dmitry Gutov <dgutov@yandex.ru>
721
722 `nreverse' the marker pairs list
723
724 * lisp/progmodes/xref.el (xref--buf-pairs-iterator): `nreverse'
725 the marker pairs list for each buffer before returning.
726
7272016-05-04 Dmitry Gutov <dgutov@yandex.ru>
728
729 Use save-excursion in xref-location-marker more
730
731 * lisp/progmodes/elisp-mode.el (xref-location-marker): Use
732 save-excursion, in order not to alter the value of point if the
733 buffer is currently open in the background (problem reported by
734 Robert Weiner).
735
736 * lisp/progmodes/etags.el (xref-location-marker): Same.
737
7382016-05-04 Dmitry Gutov <dgutov@yandex.ru>
739
740 shell-quote-argument DIR when appropriate
741
742 * lisp/progmodes/project.el (project-file-completion-table):
743 `shell-quote-argument' DIR as well.
744
745 * lisp/progmodes/xref.el (xref--rgrep-command): Pass DIR through
746 `shell-quote-argument' (bug#23453). Thanks for Kaushal Modi for
747 pointing out the problem. Assert that DIR doesn't start with `~'.
748
7492016-05-04 Dmitry Gutov <dgutov@yandex.ru>
750
751 Rework xref-query-replace-in-results
752
753 * lisp/progmodes/xref.el (xref-query-replace-in-results): Collect
754 all xrefs from the buffer first, then delegate most of the
755 processing to the value returned by xref--buf-pairs-iterator.
756 (xref--buf-pairs-iterator): New function. Return an "iterator"
757 which partitions returned markers into buffers, and only processes
758 markers from one buffer at a time. When an xref is out of date,
759 skip it with a message instead of signaling error (bug#23284).
760 (xref--outdated-p): Extract from xref--buf-pairs-iterator. Trim
761 CR from both strings before comparing.
762 (xref--query-replace-1): Remove the variable current-buf, no need
763 to track it anymore. Simplify the filter-predicate and search
764 functions accordingly. Iterate over buffer-markers pairs returned
765 by the iterator, and call `perform-replace' for each of them. Use
766 multi-query-replace-map (bug#23284). Use `switch-to-buffer' every
767 time after the first, in order not to jump between windows.
768
769 * test/automated/xref-tests.el
770 (xref--buf-pairs-iterator-groups-markers-by-buffers-1)
771 (xref--buf-pairs-iterator-groups-markers-by-buffers-2)
772 (xref--buf-pairs-iterator-cleans-up-markers): New tests.
773
7742016-05-04 Juri Linkov <juri@linkov.net>
775
776 * lisp/replace.el (query-replace-read-from): Use minibuffer-with-setup-hook
777
778 to set minibuffer-local value of text-property-default-nonsticky.
779 (Bug#23418, bug#23127)
780
7812016-05-04 Stephen Berman <stephen.berman@gmx.net>
782
783 Fix todo-mode bug involving archived items (bug#23447)
784
785 * lisp/calendar/todo-mode.el (todo-jump-to-category): When jumping
786 from Todo Categories mode to a category with only archived items
787 and todo-skip-archived-categories is non-nil, make sure the
788 archive file buffer is in Todo Archive mode to prevent
789 todo-category-select from raising an error, and don't set
790 todo-current-todo-file, since that makes todo-show display the
791 archived category. Remove a no-op call to kill-buffer, which is
792 already called in todo-insert-category-line.
793
7942016-05-03 Dmitry Gutov <dgutov@yandex.ru>
795
796 Handle "empty line" regexp in xref searches
797
798 * lisp/progmodes/xref.el (xref--collect-matches-1): Stop after one
799 match if re-search-forward doesn't move point (bug#23426).
800
801 * test/automated/xref-tests.el
802 (xref-collect-matches-finds-an-empty-line-regexp-match):
803 Uncomment test.
804
8052016-05-03 Dmitry Gutov <dgutov@yandex.ru>
806
807 Add tests for xref-collect-matches
808
809 * test/automated/xref-tests.el: New file. Add tests for
810 xref-collect-matches.
811
8122016-05-03 Dmitry Gutov <dgutov@yandex.ru>
813
814 Use grep-find-ignored-directories instead of vc-directory-exclusion-list
815
816 * lisp/dired-aux.el (dired-do-find-regexp):
817 Use grep-find-ignored-directories instead of
818 vc-directory-exclusion-list. The result should be functionally
819 similar (the former uses the latter as the default value), but it
820 should be more consistent and appropriate WRT user
821 customizations.
822 (dired-do-find-regexp-and-replace): Update the docstring.
823
824 * lisp/dired.el: Update the corresponding autoloads.
825
826 * doc/emacs/dired.texi (Operating on Files): Update the
827 documentation accordingly.
828
8292016-05-03 Dmitry Gutov <dgutov@yandex.ru>
830
831 Clear buffer-undo-list when showing xrefs
832
833 * lisp/progmodes/xref.el (xref--show-xref-buffer): Clear
834 buffer-undo-list and temporarily bind it to t while rendering the
835 buffer contents.
836
8372016-05-03 Alan Mackenzie <acm@muc.de>
838
839 Note the quote translation in `message' in section "incompatible changes".
840
841 * etc/NEWS: Note that `message' translates quotes, that the translation
842 cannot be disabled, and that `format' can be used to get the old
843 behavior back.
844
8452016-05-03 Paul Eggert <eggert@cs.ucla.edu>
846
847 * etc/NEWS: Mention (message "%s" (format ...)).
848
8492016-05-03 Lars Ingebrigtsen <larsi@gnus.org>
850
851 (Common Keywords): Correct what missing :group means
852
853 * doc/lispref/customize.texi (Common Keywords): Correct what
854 missing :group means.
855
8562016-05-03 Eli Zaretskii <eliz@gnu.org>
857
858 Improve documentation of Dired's 'A' and 'Q' commands
859
860 * lisp/dired-aux.el (dired-do-find-regexp)
861 (dired-do-find-regexp-and-replace): Mention
862 'grep-find-ignored-files' and 'vc-directory-exclusion-list', and
863 also the fact that REGEXP should be palatable by Grep. (Bug#23426)
864 * lisp/dired.el: Update the corresponding autoload forms.
865
866 * doc/emacs/dired.texi (Operating on Files): Mention
867 'grep-find-ignored-files' and 'vc-directory-exclusion-list'.
868 (Bug#23429)
869
8702016-05-03 Paul Eggert <eggert@cs.ucla.edu>
871
872 Doc fixes for quoting
873
874 * doc/emacs/text.texi, doc/lispintro/emacs-lisp-intro.texi:
875 * doc/lispref/control.texi, doc/lispref/display.texi:
876 * doc/lispref/help.texi, doc/lispref/strings.texi, lisp/subr.el:
877 * src/callint.c, src/doprnt.c, src/editfns.c:
878 Document quoting a bit more systematically.
879 Problem reported by Alan Mackenzie (Bug#23425).
880
8812016-05-02 Lars Ingebrigtsen <larsi@gnus.org>
882
883 posnp doc clarification
884
885 * lisp/subr.el (posnp): Mention that a posn object is returned
886 from `event-start' (bug#18211).
887
8882016-05-02 Lars Ingebrigtsen <larsi@gnus.org>
889
890 Mention what a missing :group does
891
892 * doc/lispref/customize.texi (Common Keywords): Document that
893 a missing :group reuses the group from the preceding item (bug#21601).
894
8952016-05-02 Eli Zaretskii <eliz@gnu.org>
896
897 Fix documentation of dired-aux search/replace commands
898
899 * lisp/dired-aux.el (dired-do-find-regexp)
900 (dired-do-find-regexp-and-replace): Doc fixes. (Bug#23429)
901 * lisp/dired.el: Update the corresponding autoload forms.
902
9032016-05-02 Paul Eggert <eggert@cs.ucla.edu>
904
905 Fix quoting problem in cc-engine debug message
906
907 * lisp/progmodes/cc-engine.el (c-replay-parse-state-state):
908 Use "%s" format to pass through ‘'’ unscathed (Bug#23425), and
909 likewise for ‘`’, and ‘%’.
910
9112016-05-02 Philipp Stephani <phst@google.com>
912
913 Add electric-quote-string unit test
914
915 * test/automated/electric-tests.el (electric-quote-string): New test.
916
9172016-05-02 Paul Eggert <eggert@cs.ucla.edu>
918
919 Don’t electrically quote ‘'’ in Python
920
921 Problem reported by Philipp Stephani (Bug#23387).
922 * lisp/electric.el (electric-quote-post-self-insert-function):
923 Do not requote a string starter or ender.
924
9252016-05-02 Dmitry Gutov <dgutov@yandex.ru>
926
927 `nreverse' Grep hits before passing them to xref--convert-hits
928
929 * lisp/progmodes/xref.el (xref-collect-matches): `nreverse' hits
930 before passing them to xref--convert-hits. Fixes a regression
931 from cc0b7132.
932
9332016-05-01 Paul Eggert <eggert@cs.ucla.edu>
934
935 * doc/misc/texinfo.tex: Sync from gnulib.
936
9372016-05-01 Juri Linkov <juri@linkov.net>
938
939 * lisp/isearch.el (isearch-forward-symbol-at-point): Add isearch-push-state.
940
941 (Bug#23410)
942
9432016-05-01 Michael Albinus <michael.albinus@gmx.de>
944
945 tramp.texi: Revert last change due to backward compatibility
946
947 (cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)
948
9492016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
950
951 cua-prefix-override-inhibit-delay doc fix
952
953 * lisp/emulation/cua-base.el
954 (cua-prefix-override-inhibit-delay): Typo fix in doc string
955 (bug#23401).
956
957 (cherry picked from commit 2b4c099822811ede787fc6e575bfbb17b3cc0681)
958
9592016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
960
961 global-eldoc-mode doc fix
962
963 * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more
964 specific about what "applicable" means (bug#23071).
965
966 (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
967
9682016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
969
970 normal-top-level-add-subdirs-to-load-path doc fix
971
972 * lisp/startup.el (normal-top-level-add-subdirs-to-load-path):
973 Doc fix (bug#21962).
974
975 (cherry picked from commit 28aaa6d20586e3330a23b017a65e56dd6461c003)
976
9772016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
978
979 isearch-search-fun-function doc tweak
980
981 * lisp/isearch.el (isearch-search-fun-function): Mention what
982 the STRING parameter is (bug#21552).
983
984 (cherry picked from commit cafc2a5940cdc523cfea6dcf1cf540f48367c62a)
985
9862016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
987
988 Fill some imenu--index-alist doc lines
989
990 * lisp/imenu.el (imenu--index-alist): Fill some doc lines (bug#21269).
991
992 (cherry picked from commit 4b7bb8f596550628eaa83b82c0f7eabe59a84964)
993
9942016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
995
996 Fmarker_position doc string clarification
997
998 * src/marker.c (Fmarker_position): Clarify the doc string
999 (bug#21231).
1000
1001 (cherry picked from commit eeac7c57273cec3f9408b18392dd2bafe3be4450)
1002
10032016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1004
1005 Further define-obsolete-* doc fixups
1006
1007 * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
1008 Fix up last change.
1009 (define-obsolete-variable-alias): Ditto.
1010
1011 (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
1012
10132016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1014
1015 Describe WHEN in all the define-obsolete- macros
1016
1017 * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias):
1018 Say more verbosely what WHEN is (bug#21225).
1019 (define-obsolete-function-alias): Describe the WHEN parameter.
1020 (define-obsolete-variable-alias): Ditto.
1021
1022 (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
1023
10242016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1025
1026 Mention with-silent-modifications in the lispref manual
1027
1028 * doc/lispref/text.texi (Changing Properties): Document
1029 with-silent-modifications (bug#21171).
1030
1031 (cherry picked from commit fcd0d854eef6e439d51e8f07cf734d5e34e502b3)
1032
10332016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1034
1035 with-silent-modifications doc clarification
1036
1037 * lisp/subr.el (with-silent-modifications): Rearrange the doc
1038 string a bit so that the most pertinent information is at the
1039 top (bug#21171).
1040
1041 (cherry picked from commit e0e70f030e69d9696a963a86f5f7caaff4df06eb)
1042
10432016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1044
1045 clear-visited-file-modtime doc string fix
1046
1047 * lisp/files.el (clear-visited-file-modtime): Fix possibly
1048 confusing doc string wording (bug#21169).
1049
1050 (cherry picked from commit 1aaeaf1450756a71c9254a2a5b174c72084ca67a)
1051
10522016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1053
1054 Document mode mode line variables
1055
1056 * doc/lispref/modes.texi (Mode Line Variables): Document
1057 `mode-line-front-space, `mode-line-misc-info',
1058 `mode-line-end-spaces' (bug#21014).
1059
1060 (cherry picked from commit bf7a630b0a5d3900f2afb0e7a881ce62e2b9f935)
1061
10622016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1063
1064 Add a cross ref to Optional Mode Line
1065
1066 * doc/lispref/modes.texi (Mode Line Variables): Add a cross
1067 reference to the Emacs mode line node that explains things
1068 like `display-time-string' (bug#21002).
1069
1070 (cherry picked from commit a3151a28789f413af73b14fbba557b2a587fca53)
1071
10722016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1073
1074 Add a doc string to display-time-string
1075
1076 * lisp/time.el: Add a doc string to `display-time-string',
1077 because it's referred to in the manual, and is too mysterious
1078 otherwise (bug#21002).
1079
1080 (cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)
1081
10822016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1083
1084 custom-buffer-style doc fix
1085
1086 * lisp/cus-edit.el (custom-buffer-style): Document the `tree'
1087 value (bug#20724).
1088
1089 (cherry picked from commit bcf0291d0cd02095b0809b1eb91f1e5c5c2ac5e3)
1090
10912016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1092
1093 Rearrange the doc of query-replace slightly
1094
1095 * lisp/replace.el (query-replace): Move the mention of the
1096 interactive prefix arg earlier so that users can find it
1097 (bug#20654).
1098
1099 (cherry picked from commit bcc10761c3b968fa4534718116a0a601ed7da389)
1100
11012016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1102
1103 apropos-print doc fix
1104
1105 * lisp/apropos.el (apropos-print): Document the undocumented
1106 parameters (bug#20520).
1107
1108 (cherry picked from commit 0714d7387812a151f59993ac77c7321724ef79b1)
1109
11102016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1111
1112 completion-table-with-predicate doc string fix
1113
1114 * lisp/minibuffer.el (completion-table-with-predicate): t ->
1115 non-nil in the doc string (bug#20460).
1116
1117 (cherry picked from commit b6a4d162208f239bc7804696d611ae52c686f138)
1118
11192016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1120
1121 Fill the completion-table-with-predicate doc string
1122
1123 * lisp/minibuffer.el (completion-table-with-predicate): Fill
1124 the doc string (bug#20460).
1125
1126 (cherry picked from commit 207a31432c1ed8b548003a3e4af32c49aa3441e9)
1127
11282016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1129
1130 replace-match-maybe-edit doc clarification
1131
1132 * lisp/replace.el (replace-match-maybe-edit): Say what
1133 MATCH-DATA is (bug#20304).
1134
1135 (cherry picked from commit 139874ba53c2e2de9868f8e5234d6ea2bcb97af8)
1136
11372016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1138
1139 add-timeout doc fix
1140
1141 * lisp/emacs-lisp/timer.el (add-timeout): Mention the return
1142 value (bug#20181).
1143
1144 (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
1145
11462016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1147
1148 Extremely minor doc fix in Choosing Window
1149
1150 * doc/lispref/windows.texi (Choosing Window): There's only one
1151 action alist, I think (bug#20158).
1152
1153 (cherry picked from commit 6c7e7f421d02d9290d6d1d85320737371160aef7)
1154
11552016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1156
1157 Transform mentions of `eval-after-load' to `with-eval-after-load'
1158
1159 * doc/lispref/loading.texi (Hooks for Loading): Update text to
1160 not mention `eval-after-load' (bug#20038).
1161
1162 (cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)
1163
11642016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1165
1166 cursor-type doc fix
1167
1168 * src/buffer.c (syms_of_buffer): Mention that cursor-type's
1169 WIDHT/HEIGHT can't exceed the frame char size (bug#19215).
1170
1171 (cherry picked from commit 77c5f4554ebb3b7c7d49bc881e45a550f6c93987)
1172
11732016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1174
1175 Add a link from Tool Bar to Images
1176
1177 * doc/lispref/keymaps.texi (Tool Bar): Add a link to the
1178 Images node (bug#19722).
1179
1180 (cherry picked from commit da5d0786163a91400eced4fddba4a92b652458d1)
1181
11822016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1183
1184 (default-mode-line-format): More explicit obsolete info
1185
1186 * lisp/subr.el (default-mode-line-format): Be more explicit in
1187 how default values are now handled (bug#19424).
1188
1189 (cherry picked from commit 9dc5f6d830e72420dc4d41c8f6ca1ca6b28609c0)
1190
11912016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1192
1193 Fcompare_buffer_substrings doc string clarification
1194
1195 * src/editfns.c (Fcompare_buffer_substrings): Extremely minor
1196 doc string clarification (bug#19255).
1197
1198 (cherry picked from commit aa692acbb598a1cc8219ed7a87dde25fd7626ba5)
1199
12002016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1201
1202 insert-file-contents-literally doc fix
1203
1204 * lisp/files.el (insert-file-contents-literally): Say that the
1205 parameters are explained in the other function (bug#18317).
1206
1207 (cherry picked from commit b6481b19bc9592492b1f70dfecb4de6256f537fe)
1208
12092016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1210
1211 Fix custom types for cursor-in-non-selected-windows
1212
1213 * lisp/cus-start.el (standard): Use the same custom types for
1214 cursor-in-non-selected-windows as for cursor-type (bug#19214).
1215
1216 (cherry picked from commit b66bc0cced786e0320e1c3b0758bd3c434d4e8b5)
1217
12182016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1219
1220 Doc clarification to mwheel-scroll
1221
1222 * lisp/mwheel.el (mwheel-scroll): Mention that the restriction
1223 does not apply to Windows (bug#19209).
1224
1225 (cherry picked from commit 696052b5fdfbc5c25dff3c6b081aebe70f6d06c7)
1226
12272016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1228
1229 Clarify the doc of eval-expression-print-format
1230
1231 * lisp/simple.el (eval-expression-print-format): Doc
1232 clarification (bug#19114).
1233
1234 (cherry picked from commit cd193a871f5a8e1c81ba86fc398ac382fa814383)
1235
12362016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1237
1238 Explictly explain that package-initialize loads the packages
1239
1240 * lisp/emacs-lisp/package.el (package-initialize): Be explicit
1241 in saying that `package-initialize' obviates adjusting the
1242 path or requiring the packages, as this is a question that
1243 apparently comes up now and then (bug#18829).
1244
1245 (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
1246
12472016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1248
1249 Have the doc strings of `load-path' and `require' mention each other
1250
1251 * src/fns.c (Frequire): Mention `load-path' and fill the doc
1252 string (bug#18829).
1253
1254 * src/lread.c (syms_of_lread): Mention that `require' uses
1255 `load-path'.
1256
1257 (cherry picked from commit 3eca9a03816f95da0030665223c0b5262f223ba7)
1258
12592016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1260
1261 Doc fix for insert-pair-alist
1262
1263 * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
1264 COMMAND-CHAR is (bug#18809).
1265
1266 (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
1267
12682016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1269
1270 Move doc of backup-directory-alist to the Backup node
1271
1272 * doc/emacs/files.texi (Backup): Move the documentation of
1273 `backup-directory-alist' here from the "Single or Numbered
1274 Backups" node, because it doesn't seem to have much to do with
1275 numbering (bug#18692).
1276
1277 (cherry picked from commit e77b8d84b4161f2cf8720dec2bf44a3e50134398)
1278
12792016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1280
1281 Tiny doc clarification for create-fontset-from-fontset-spec
1282
1283 * lisp/international/fontset.el (create-fontset-from-fontset-spec):
1284 Clarify what the optional part is (bug#18686).
1285
1286 (cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
1287
12882016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1289
1290 Fill the doc string of font-lock-keywords
1291
1292 * lisp/font-lock.el (font-lock-keywords): Fill the lines and
1293 reorganise some explanations (bug#21427).
1294
1295 (cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
1296
12972016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1298
1299 Doc fix for font-lock-remove-keywords
1300
1301 * lisp/font-lock.el (font-lock-remove-keywords): Add a link to
1302 `font-lock-add-keywords' to describe KEYWORDS (bug#18634).
1303
1304 (cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)
1305
13062016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1307
1308 Clarify whitespace-style doc string
1309
1310 * lisp/whitespace.el (whitespace-style): Doc clarification
1311 (bug#18296).
1312
1313 (cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
1314
13152016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1316
1317 Doc fixed for next-error-buffer-p
1318
1319 * lisp/simple.el (next-error-buffer-p): Clarify doc string
1320 (bug#18202).
1321
1322 (cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
1323
13242016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1325
1326 Tiny doc fix
1327
1328 * src/fileio.c (Ffile_accessible_directory_p): Tiny doc fix
1329 (and fill) (bug#18201).
1330
1331 (cherry picked from commit 2ef0040e2363a669d9b93df935d31c98fa130132)
1332
13332016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1334
1335 Doc fix
1336
1337 * src/keymap.c (Fdefine_prefix_command): Clarify doc string
1338 slightly (bug#18092).
1339
1340 (cherry picked from commit 6b769c81d024f7eeb90b167e7df6f87d859614d4)
1341
13422016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1343
1344 delsel doc touch ups
1345
1346 * lisp/delsel.el (delete-selection-helper): Use non-nil
1347 instead of t and clarify function return values (bug#18089).
1348
1349 (cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
1350
13512016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1352
1353 Doc fixes for menu-bar.el
1354
1355 * lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
1356 REGION parameter (bug#18028).
1357 (clipboard-kill-region): Ditto.
1358
1359 (cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
1360
13612016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1362
1363 Doc fix
1364
1365 * lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
1366
1367 (cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
1368
13692016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1370
1371 Minor doc clarification
1372
1373 * lisp/subr.el (y-or-n-p): Document the return value from "n"
1374 (bug#18024).
1375
1376 (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
1377
13782016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1379
1380 Fill font-lock-mode doc string
1381
1382 * lisp/font-core.el (font-lock-mode): Fill the text to make it
1383 narrower (bug#18008).
1384
1385 (cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
1386
13872016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1388
1389 Wrap the auto-generated doc string
1390
1391 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a
1392 string to make it less likely that we get overlong lines
1393 (bug#17999).
1394
1395 (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
1396
13972016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1398
1399 Clarify hi-lock-find-patterns
1400
1401 * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
1402 (bug#17989).
1403
1404 (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
1405
14062016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1407
1408 Add a doc string to `winner-mode'
1409
1410 * lisp/winner.el (winner-mode): Add a doc string based on the
1411 comments in the file (bug#17716).
1412
1413 (cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
1414
14152016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1416
1417 Doc fix for align-newline-and-indent
1418
1419 * lisp/align.el (align-newline-and-indent): Mention that
1420 alignment is done by `align' (bug#17707).
1421
1422 (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
1423
14242016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1425
1426 Doc fix for `kbd'
1427
1428 * lisp/subr.el (kbd): Describe more fully the format of the
1429 parameter (bug#17039).
1430
1431 (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
1432
14332016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1434
1435 Doc tweak
1436
1437 * lisp/simple.el (use-empty-active-region): Doc tweak.
1438 There's only one region (bug#16513).
1439
1440 (cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
1441
14422016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1443
1444 Link from (emacs)Exiting to (lisp)Killing Emacs
1445
1446 * doc/emacs/entering.texi (Exiting): Link to the lispref
1447 manual for further customisations (bug#15445).
1448
1449 (cherry picked from commit bc5f27aa099cdde02ca66e71501b89300685ab28)
1450
14512016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1452
1453 find-lisp doc touchups
1454
1455 * lisp/find-lisp.el (find-lisp-format): Copy over the doc
1456 string (bug#15047).
1457 (find-lisp-find-files): Clarify doc.
1458
1459 (cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
1460
14612016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1462
1463 Don't have the manual claim that it lists all CL incompatibilities
1464
1465 * doc/misc/cl.texi (Common Lisp Compatibility): The list of
1466 incompatibilities isn't exhaustive, so don't say that it is
1467 (bug#15171).
1468
1469 (cherry picked from commit fb685bc91a72508c97ce7e30f970d4157677f371)
1470
14712016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1472
1473 Change all occurrences of "Mouse-[0-9]" to "mouse-[0-9]"
1474
1475 * doc/emacs/*.texi: Change all occurrences of "Mouse-[0-9]" to
1476 "mouse-[0-9]". These are case sensitive, and the keys are lower case
1477 (bug#14554).
1478
1479 (cherry picked from commit e4c26271f2c2fe08f8490e25c63a436ab2a804ca)
1480
14812016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1482
1483 Doc string change to enable-recursive-minibuffers
1484
1485 * src/minibuf.c (syms_of_minibuf): Mention
1486 minibuffer-depth-indicator-mode in the doc string to
1487 enable-recursive-minibuffers (bug#14147).
1488
1489 (cherry picked from commit 23ba488a5e8290c4de91e0ff4161641efa364c0d)
1490
14912016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1492
1493 Clarify the `interactive' doc string slightly
1494
1495 * src/callint.c (Finteractive): Clarify the doc string slightly
1496 (bug#14577).
1497
1498 (cherry picked from commit cd993be60da2d12db0d390001373d486c1091c47)
1499
15002016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1501
1502 Clarify some doc strings
1503
1504 * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1505 Clarify doc string (bug#8693).
1506 (syntax-propertize): Clarify doc string.
1507
1508 (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
1509
15102016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1511
1512 Add some concept index entries for custom types
1513
1514 * doc/lispref/customize.texi (Composite Types): Add concept
1515 index entries for restricted-sexp, radio and choice (bug#7385).
1516
1517 (cherry picked from commit 388bb723fa078158d3148de05e942f9c01e95dd8)
1518
15192016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1520
1521 Mention `lisp-indent-function' in the lispref manual
1522
1523 * doc/lispref/macros.texi (Indenting Macros): Mention
1524 `lisp-indent-function' (bug#3393).
1525
1526 (cherry picked from commit a1627691a896b2afaa264f93534178bc763564c9)
1527
15282016-05-01 Lars Ingebrigtsen <larsi@gnus.org>
1529
1530 Clarify doc string of internal compilation function
1531
1532 * lisp/progmodes/compile.el (compilation-get-file-structure):
1533 Clarify doc string (bug#3137).
1534
1535 (cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
1536
15372016-05-01 Paul Eggert <eggert@cs.ucla.edu>
1538
1539 Use ‘T *restrict’ proto, not ‘T[restrict]’
1540
1541 * src/fns.c (sort_vector_copy): Use a different way to attempt to
1542 work around GCC 3.0-and-earlier incompatibility with C99, one that
1543 does not have problems with modern non-GCC compilers.
1544
15452016-05-01 Eli Zaretskii <eliz@gnu.org>
1546
1547 Fix documentation of 'url-retrieve-synchronously'
1548
1549 * doc/misc/url.texi (Retrieving URLs): Update argument list of
1550 'url-retrieve-synchronously'. (Bug#23411)
1551
15522016-05-01 Eli Zaretskii <eliz@gnu.org>
1553
1554 * lisp/url/url.el (url-retrieve-synchronously): Doc fix. (Bug#23411)
1555
15562016-04-30 Leo Liu <sdl.web@gmail.com>
1557
1558 Fix last change to isearch-update (bug#23406)
1559
1560 * lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
1561 nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
1562 ...) form.
1563
15642016-04-30 Leo Liu <sdl.web@gmail.com>
1565
1566 Autoload cursor-sensor-inhibit (bug#23406)
1567
1568 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
1569 * lisp/isearch.el (isearch-update): Remove boundp check.
1570
15712016-04-30 Phillip Lord <phillip.lord@newcastle.ac.uk>
1572
1573 org-map-entries: Fix org-agenda-prepare-buffers call
1574
1575 * lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil
1576 before passing to org-agenda-prepare-buffers.
1577
1578 This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa
1579 from upstream org-mode. Addresses bug #23365.
1580
15812016-04-30 Eli Zaretskii <eliz@gnu.org>
1582
1583 Followup for last commit in the user manual
1584
1585 * doc/emacs/basic.texi (Moving Point): Clarify that
1586 set-goal-column has buffer-local effect. (Bug#23405)
1587
15882016-04-30 Eli Zaretskii <eliz@gnu.org>
1589
1590 Improve doc string of 'set-goal-column'
1591
1592 * lisp/simple.el (set-goal-column): Doc fix. (Bug#23405)
1593
15942016-04-30 Eli Zaretskii <eliz@gnu.org>
1595
1596 Fix the MSDOS build
1597
1598 * config.bat:
1599 * msdos/sedlisp.inp:
1600 * msdos/sedlibmk.inp:
1601 * msdos/sedleim.inp:
1602 * msdos/sedadmin.inp:
1603 * msdos/sed6.inp:
1604 * msdos/sed3v2.inp:
1605 * msdos/sed2v2.inp:
1606 * msdos/sed1v2.inp: Adapt to Emacs 25.
1607
1608 * src/process.c (remove_slash_colon): Move out of "#ifdef
1609 subprocesses" block, as it its called unconditionally. Move
1610 ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they
1611 reference variables only defined in that block.
1612 * src/msdos.h: Provide prototypes for IT_set_frame_parameters,
1613 faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask,
1614 dos_keysns, dos_keyread, run_msdos_command, and
1615 syms_of_win16select, to avoid compiler warnings.
1616 * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or
1617 'environ', depending on the DJGPP version.
1618 Remove declarations of externally-visible Lisp objects, like
1619 Qbackground_color and Qreverse.
1620 (run_msdos_command): First argument is not signed, not unsigned.
1621 Use SYS_ENVIRON.
1622 (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as
1623 the latter doesn't work when 'time_t' is an unsigned data type.
1624 This caused idle timers to behave incorrectly: they only fired
1625 after a keyboard input event.
1626 * src/frame.c (adjust_frame_size) [MSDOS]: Account for
1627 FRAME_TOP_MARGIN that isn't counted in the frame's number of
1628 lines, but dos_set_window_size needs it to be added.
1629 * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions.
1630 * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype
1631 that works around compilation errors with older GCC versions.
1632 * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp
1633 Objects.
1634 * src/filelock.c [MSDOS]: Ifdef away most of the code. Provide
1635 no-op implementations for 'lock_file' and 'unlock_file'.
1636 (Ffile_locked_p) [MSDOS]: Always return nil. This avoids multiple
1637 ifdefs in all users of filelock.c functionality.
1638 * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define.
1639 * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler
1640 warnings.
1641 * src/dosfns.h: Provide prototypes for dos_cleanup,
1642 syms_of_dosfns, and init_dosfns.
1643 * src/deps.mk (atimer.o): Depend on msdos.h.
1644 (emacs.o): Depend on dosfns.h.
1645 * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler
1646 warnings.
1647
1648 * lisp/window.el (window--adjust-process-windows): Skip the body
1649 if 'process-list' is not available. This avoids failure to start
1650 up on MS-DOS.
1651 * lisp/vc/diff.el (diff-no-select): Test 'make-process', not
1652 'start-process', as the latter is now available on all platforms.
1653 * lisp/textmodes/ispell.el (ispell-async-processp): Replace
1654 'start-process' with 'make-process' in a comment.
1655 * lisp/term/internal.el (IT-unicode-translations): Modify and add
1656 a few translations to display Info files with Unicode markup. Fix
1657 an ancient off-by-one mismatch error with Unicode codepoints.
1658 * lisp/progmodes/compile.el (compilation-start): Test
1659 'make-process', not 'start-process', as the latter is now
1660 available on all platforms.
1661 * lisp/man.el (Man-build-man-command, Man-getpage-in-background):
1662 Test 'make-process', not 'start-process', as the latter is now
1663 available on all platforms.
1664 * lisp/international/mule-cmds.el (set-coding-system-map): Test
1665 'make-process', not 'start-process', as the latter is now
1666 available on all platforms.
1667 * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc
1668 fix.
1669 (eshell-execute-pipeline): Test 'make-process', not
1670 'start-process', as the latter is now available on all platforms.
1671
16722016-04-30 Andreas Schwab <schwab@linux-m68k.org>
1673
1674 Remove \= from format string (bug#18190)
1675
1676 * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
1677 string.
1678
16792016-04-30 Eli Zaretskii <eliz@gnu.org>
1680
1681 Fix variable-pitch font on MS-Windows
1682
1683 * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font
1684 explicitly, to avoid Emacs picking up a bold-italic variant on
1685 some MS-Windows systems. See this thread for details:
1686 http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
1687
16882016-04-29 Alan Mackenzie <acm@muc.de>
1689
1690 Restore follow-scroll-up/down to scrolling by the combined size of all windows
1691
1692 Also rename the current follow-scroll-up/down functions to
1693 follow-scroll-up-window and follow-scroll-down-window. These scroll by the
1694 height of the current window.
1695
1696 This fixes bug #23347.
1697
1698 * lisp/follow.el (follow-mode): Tweak the doc string.
1699 (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from
1700 follow-scroll-up/down.
1701 (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from
1702 follow-scroll-up/down.
1703 (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
1704
17052016-04-29 Alan Mackenzie <acm@muc.de>
1706
1707 Revert unneeded change which harms syntactic parsing. This fixes bug #23308.
1708
1709 * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User
1710 c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out
1711 regardless of the value of `here'.
1712
17132016-04-29 Alan Mackenzie <acm@muc.de>
1714
1715 Correct indentation of ids in a C++ enum after a protection keyword.
1716
1717 Also correct the misfontification of the last enum identifier.
1718
1719 * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq
1720 c-last-identifier-range to nil to ensure that only types recognized by this
1721 macro are set for fontification as types.
1722 (c-backward-typed-enum-colon): Function renamed from
1723 c-backward-colon-prefixed-type. On finding a colon in the backward search,
1724 check it is preceded by an identifier rather than a keyword.
1725
17262016-04-27 Glenn Morris <rgm@gnu.org>
1727
1728 * lisp/window.el (window--process-window-list): No-op if no processes.
1729
1730 This avoids an issue with save-selected-window (from walk-windows)
1731 failing if frame.el is not loaded, eg if the terminal is resized
1732 during startup of a -nw CANNOT_DUMP build. (Bug#23369).
1733
17342016-04-27 Paul Eggert <eggert@penguin.cs.ucla.edu>
1735
1736 Port dumping to NetBSD with PaX
1737
1738 Problem reported by Thomas Klausner (Bug#23371).
1739 * configure.ac (PAXCTL_dumped, PAXCTL_notdumped): New vars.
1740 Set them to setfattr and/or paxctl commands appropriate for
1741 GNU/Linux and/or NetBSD; the latter prefers paxctl +a. Search
1742 for paxctl only if setfattr is not found.
1743 * src/Makefile.in (PAXCTL_dumped, PAXCTL_notdumped):
1744 New vars, replacing PAXCTL_if_present and SETFATTR_if_present.
1745 All uses changed.
1746
17472016-04-27 Dmitry Gutov <dgutov@yandex.ru>
1748
1749 Don't mistake `for' inside a function for a part of array comprehension
1750
1751 * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the
1752 depth in parens between the bracket and `for' (bug#23391).
1753
1754 * test/indent/js.js: Add a corresponding example.
1755
17562016-04-27 Anders Lindgren <andlind@gmail.com>
1757
1758 Fix bug#22891: wrong terminal width when a fringe width is zero.
1759
1760 When either fringe width is zero, Emacs reserved one column for a
1761 continuation glyph. Terminal windows does not take this into
1762 account when the frame is resized.
1763
1764 * lisp/window.el (window-adjust-process-window-size): Use
1765 `window-max-chars-per-line' instead of `window-body-width'.
1766 * lisp/term.el (term-window-width): Remove function. (It does the
1767 same as `window-max-chars-per-line' but without recent bug fixes.)
1768 (term-mode): Use `window-max-chars-per-line' instead of
1769 `term-window-width'.
1770
1771 Backport
1772
1773 (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
1774
17752016-04-27 Leo Liu <sdl.web@gmail.com>
1776
1777 Improve last change to vc-git-mode-line-string
1778
1779 * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
1780 the result.
1781
17822016-04-27 Stephen Berman <stephen.berman@gmx.net>
1783
1784 Todo mode doc bug fix
1785
1786 * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
1787 longer correct information in doc string.
1788
17892016-04-27 Leo Liu <sdl.web@gmail.com>
1790
1791 Fix revision calculation in vc-git-mode-line-string
1792
1793 * lisp/vc/vc-git.el (vc-git-mode-line-string): Use
1794 vc-git-working-revision because vc-working-revision needs to decide
1795 the backend and may return nil.
1796
17972016-04-26 Jorgen Schaefer <contact@jorgenschaefer.de>
1798
1799 Add Python 3.5 keyword "await"
1800
1801 * lisp/progmodes/python.el (python-font-lock-keywords): Add await as
1802 keyword.
1803
18042016-04-26 Lele Gaifax <lele@metapensiero.it>
1805
1806 Add new keywords of Python 3.5
1807
1808 Python 3.5, released in mid September 2015, introduced a few new
1809 keywords to better support asynchronous code, "async" and "await"
1810 in particular. See https://www.python.org/dev/peps/pep-0492/ for
1811 details. (Bug#21783)
1812 * lisp/progmodes/python.el (python-rx-constituents): Add async
1813 def/for/with as block-start and async def as defun.
1814 * lisp/progmodes/python.el (python-font-lock-keywords): Add async
1815 def/for/with as keyword.
1816 * test/automated/python-tests.el (python-indent-after-async-block-1,
1817 python-indent-after-async-block-2, python-indent-after-async-block-3,
1818 python-nav-beginning-of-defun-3): New tests to test indentation and
1819 navigation for the async keyword.
1820
18212016-04-26 Mark Oteiza <mvoteiza@udel.edu>
1822
1823 Partially revert previous change.
1824
1825 This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a.
1826 * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
1827 This function is for rectangle-mark-mode, not string-rectangle.
1828
18292016-04-25 Paul Eggert <eggert@penguin.cs.ucla.edu>
1830
1831 Say why text-quoting-style is not a user option
1832
1833 * doc/lispref/help.texi (Keys in Documentation):
1834 * etc/NEWS: Document why text-quoting-style is not a
1835 customizable variable (Bug#23372).
1836
18372016-04-25 Glenn Morris <rgm@gnu.org>
1838
1839 * lisp/emacs-lisp/autoload.el (update-directory-autoloads):
1840 Future-proof against non-time-values.
1841
18422016-04-25 Eli Zaretskii <eliz@gnu.org>
1843
1844 Don't mention ~/.emacs.bmk literally in doc strings
1845
1846 * lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't
1847 mention "~/.emacs.bmk" explicitly as the default bookmark file in
1848 the doc strings. (Bug#23350)
1849
18502016-04-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1851
1852 * etc/NEWS: Explain why multicolor font display is disabled on OS X Cocoa.
1853
18542016-04-24 Paul Eggert <eggert@cs.ucla.edu>
1855
1856 Port to Ubuntu 16.04 --enable-gcc-warnings
1857
1858 * src/image.c (gif_load) [HAVE_GIF]: Fix pointer signedness problem.
1859
18602016-04-24 Paul Eggert <eggert@cs.ucla.edu>
1861
1862 * etc/NEWS: Improve wording of vc-git-log-output-coding-system etc.
1863
18642016-04-24 Tino Calancha <f92capac@gmail.com>
1865
1866 Don't kill ~/ if it's the top level directory
1867
1868 * lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
1869 the top level directory (bug#23017).
1870
18712016-04-23 Tino Calancha <f92capac@gmail.com> (tiny change)
1872
1873 describe-char: fix insert char documentation
1874
1875 * lisp/descr-text.el (describe-char):
1876 Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
1877
18782016-04-23 Dmitry Gutov <dgutov@yandex.ru>
1879
1880 (vc-git-mode-line-string): Don't use `replace-regexp-in-string'
1881
1882 * lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring'
1883 instead of `replace-regexp-in-string', because REV can be nil
1884 (e.g. when FILE is a directory, bug#23344), and we actually know
1885 we only need the first 4 characters.
1886
18872016-04-22 Nicolas Petton <nicolas@petton.fr>
1888
1889 Bump version to 25.0.93
1890
1891 * README:
1892 * configure.ac:
1893 * msdos/sed2v2.inp: Bump Emacs version to 25.0.93.
1894
18952016-04-22 Nicolas Petton <nicolas@petton.fr>
1896
1897 * etc/AUTHORS: Update the AUTHORS file
1898
1899 * admin/update_autogen: Use #!/usr/bin/env bash
1900
1901 * admin/authors.el (authors-ignored-files): Additions.
1902
19032016-04-22 Martin Rudalics <rudalics@gmx.at>
1904
1905 In x_set_window_size restore do_pending_window_change calls
1906
1907 * src/xterm.c (x_set_window_size):
1908 * src/w32term.c (x_set_window_size): Restore
1909 do_pending_window_change calls after their stupid removal on
1910 2015-08-31.
1911
19122016-04-21 Ilya Zakharevich <ilya@math.berkeley.edu>
1913
1914 Fix Alt-modified keys on some European MS-Windows keyboards
1915
1916 * src/w32fns.c (deliver_wm_chars): If the reported character is
1917 ASCII, AND Meta modifier is a candidate, behave as if Meta is
1918 present, i.e. fall back to the legacy code. (Bug#23251)
1919
19202016-04-20 Eli Zaretskii <eliz@gnu.org>
1921
1922 Document 'help-go-forward'
1923
1924 * doc/emacs/help.texi (Help Mode): Document and index
1925 'help-go-forward'. (Bug#23323)
1926
19272016-04-20 Eli Zaretskii <eliz@gnu.org>
1928
1929 Revert "Allow to customize names of executables used by grep.el"
1930
1931 This reverts commit c93ae7a1e5a94541189a8f36984014344d561ffc.
1932
19332016-04-20 Eli Zaretskii <eliz@gnu.org>
1934
1935 Revert "Don't use 'find-program'"
1936
1937 This reverts commit 10597c977d55cbf9304b51c3b364ce58199384a0.
1938
19392016-04-20 Eli Zaretskii <eliz@gnu.org>
1940
1941 Revert "Use 'grep-find-program' in check-declare.el"
1942
1943 This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
1944
19452016-04-20 Eli Zaretskii <eliz@gnu.org>
1946
1947 Clarify documentation of 'dired-mark-files-containing-regexp'
1948
1949 * doc/emacs/dired.texi (Marks vs Flags): Clarify that for files
1950 visited in buffers, 'dired-mark-files-containing-regexp' searches
1951 the buffer rather than the file on disk. (Bug#22694)
1952
1953 * lisp/dired.el (dired-mark-files-containing-regexp): Clarify that
1954 for files visited in buffers, 'dired-mark-files-containing-regexp'
1955 searches the buffer rather than the file on disk. (Bug#22694)
1956
19572016-04-19 Eli Zaretskii <eliz@gnu.org>
1958
1959 Make tmm-menubar work in correct order again
1960
1961 * lisp/tmm.el (tmm-prompt): Don't reverse 'tmm-km-list' right at the
1962 beginning; instead, pass a reversed copy to 'tmm--completion-table'.
1963 (Bug#23309)
1964 (tmm-menubar): Fix an off-by-one error in determining the menu
1965 item when the function is called with a non-nil 'x-position'
1966 argument.
1967
19682016-04-18 Dmitry Gutov <dgutov@yandex.ru>
1969
1970 Remove the Meta-CVS VC backend
1971
1972 * lisp/obsolete/vc-mcvs.el: Remove the file (bug#20475).
1973
1974 * lisp/vc/log-view.el (log-view-extract-comment): Remove the MCVS
1975 reference.
1976
1977 * doc/misc/efaq-w32.texi (Version control): Same.
1978
19792016-04-18 Michael Albinus <michael.albinus@gmx.de>
1980
1981 Fix Bug#23276
1982
1983 * lisp/autorevert.el (auto-revert-handler): Ignore errors
1984 coming from `revert-buffer'. (Bug#23276)
1985
19862016-04-17 Reto Zimmermann <reto@gnu.org>
1987
1988 Sync with upstream vhdl mode v3.38.1.
1989
1990 * lisp/progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
1991 (vhdl-mode): No longer set comment-padding.
1992 (vhdl-begin-p): Handle missing space between keyword and parenthesis.
1993 (vhdl-beginning-of-statement-1): Fix indentation for "else generate".
1994 (vhdl-template-else, vhdl-template-elsif): Support generate statement.
1995 (vhdl-re-search-forward, vhdl-re-search-backward): Save match data.
1996
19972016-04-16 Paul Eggert <eggert@cs.ucla.edu>
1998
1999 Tweak configure.ac syntax in recent module patch
2000
2001 * configure.ac: Use proper Autoconf parenthesization in
2002 recent HAVE_MODULES patch. Although this doesn’t fix any bugs,
2003 the previous syntax was confusing.
2004
20052016-04-16 Paul Eggert <eggert@cs.ucla.edu>
2006
2007 Port to GCC 5.3.1 20160406 (Red Hat 5.3.1-6)
2008
2009 * src/indent.c (Fvertical_motion): Pacify --enable-gcc-warnings
2010 when using the April 6 Fedora patch to GCC.
2011
20122016-04-16 Mark Oteiza <mvoteiza@udel.edu>
2013
2014 Make sh-electric-here-document-mode accessible in sh-mode-hook. (Bug#3226)
2015
2016 * lisp/progmodes/sh-script.el (sh-mode-hook): Add
2017 sh-electric-here-document-mode as an option and the default value.
2018 (sh-mode): Mention sh-mode-hook in docstring.
2019 (sh-mode): Remove sh-electric-here-document-mode invocation.
2020
20212016-04-16 Glenn Morris <rgm@gnu.org>
2022
2023 * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from previous.
2024
20252016-04-16 Mark Oteiza <mvoteiza@udel.edu>
2026
2027 Make use of rectangle-preview custom variable.
2028
2029 lisp/rect.el (rectangle--string-preview): Only create a preview if
2030 rectangle-preview is non-nil (Bug#23248).
2031
20322016-04-16 Mark Oteiza <mvoteiza@udel.edu>
2033
2034 Make use of rectangle-preview face.
2035
2036 * lisp/rect.el (rectangle--string-preview):
2037 (rectangle--highlight-for-redisplay): Replace 'region with
2038 'rectangle-preview (Bug#23248).
2039
20402016-04-16 Eli Zaretskii <eliz@gnu.org>
2041
2042 Use 'grep-find-program' in check-declare.el
2043
2044 * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use
2045 'grep-find-program', not 'find-program'.
2046
20472016-04-16 Eli Zaretskii <eliz@gnu.org>
2048
2049 Improve "C-h S" for cl-lib symbols
2050
2051 * lisp/info-look.el: Add cl.info lookup to emacs-lisp-mode related
2052 manuals. (Bug#23289)
2053
20542016-04-16 Eli Zaretskii <eliz@gnu.org>
2055
2056 Fix minor issues with removing left or right fringes
2057
2058 * lisp/window.el (window-max-chars-per-line): Account for
2059 'left-fringe-width' and 'right-fringe-width' variables.
2060
2061 * doc/lispref/windows.texi (Window Sizes): Document the effect on
2062 window text width when setting the width of one or both fringes to
2063 zero.
2064 * doc/emacs/display.texi (Fringes): Document the effect on window
2065 text width when setting the width of one or both fringes to zero.
2066 (Bug#22891)
2067
20682016-04-16 Eli Zaretskii <eliz@gnu.org>
2069
2070 Speed up redisplay in ansi-term mode
2071
2072 * lisp/term.el (ansi-term): Force L2R 'bidi-paragraph-direction'.
2073 (Bug#20611)
2074
20752016-04-16 Philipp Stephani <phst@google.com>
2076
2077 Simplify 8-bit character handling by terminal for 'raw-text'
2078
2079 * lisp/international/mule.el (set-keyboard-coding-system): Treat
2080 'raw-text' as another coding type that requires 8-bit characters.
2081 * lisp/xt-mouse.el (xterm-mouse--read-coordinate): Use 'no-conversion'
2082 instead of 'latin-1'.
2083
20842016-04-15 Glenn Morris <rgm@gnu.org>
2085
2086 * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bug#22722)
2087
20882016-04-15 Eli Zaretskii <eliz@gnu.org>
2089
2090 Fix w32 memory-management problem when extending buffer text
2091
2092 * src/w32heap.c (mmap_realloc): Only attempt extending a region if
2093 the following region has the same allocation base. Also, use the
2094 original allocation base and enlarged size to commit reserved
2095 memory, to ensure that the allocation base stays at its original
2096 value. This fixes several hard-to-debug problems whereby part of
2097 buffer text was overwritten with binary nulls, because
2098 mmap_realloc copied only part of buffer text when extending it.
2099 See
2100 http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00325.html
2101 and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#55 for two
2102 examples of the related problems.
2103
21042016-04-14 Michael Albinus <michael.albinus@gmx.de>
2105
2106 Fix Bug#20637. Do not merge to master
2107
2108 * lisp/vc/vc-hooks.el (vc-state, vc-working-revision):
2109 Use `vc-backend' instead of `vc-responsible-backend'. (Bug#20637)
2110
2111 * test/automated/vc-tests.el (vc-test--state)
2112 (vc-test--working-revision): Deactivate now failing checks.
2113
21142016-04-14 Paul Eggert <eggert@cs.ucla.edu>
2115
2116 substitute-command-keys keeps quotes’ text props
2117
2118 Problem reported by Clément Pit--Claudel (Bug#23254).
2119 * src/doc.c: Include intervals.h.
2120 (Fsubstitute_command_keys): If the only substitutions are for
2121 quotes, copy the source string’s text properties too, since no
2122 substring lengths have changed.
2123
21242016-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2125
2126 * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes.
2127
21282016-04-12 Dmitry Gutov <dgutov@yandex.ru>
2129
2130 Add semantic-symref-filepattern-alist entry for lisp-interaction-mode
2131
2132 * lisp/cedet/semantic/symref/grep.el
2133 (semantic-symref-filepattern-alist):
2134 Add entry for lisp-interaction-mode
2135 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23223#47)
2136
21372016-04-12 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 Perform xref searches without visiting unopened files
2140
2141 * lisp/progmodes/xref.el (xref-collect-references): Instead of
2142 calling `semantic-symref-find-references-by-name', use
2143 `semantic-symref-instantiate' and `semantic-symref-perform-search'
2144 directly. Ask for `line-and-text' results (bug#23223).
2145 (xref-collect-matches): Include the line text in the "hit"
2146 structure.
2147 (xref--convert-hits): New function, split off from
2148 `xref-collect-references' and `xref-collect-matches', to convert
2149 "hits" to xref instance list. Create a temporary buffer here, to
2150 use it for post-processing all hit lines.
2151 (xref--collect-matches): Use a different approach for non-visited
2152 files. Insert the line text into the temp buffer, apply the
2153 file's major mode the best we can without reading its whole
2154 contents, syntax-propertize, and search in the result.
2155 (xref--collect-matches-1): Extract, to handle the common logic
2156 between two cases.
2157 (xref--find-buffer-visiting): New function, a wrapper around
2158 `find-buffer-visiting' to amortize its cost.
2159
2160 * lisp/cedet/semantic/symref/idutils.el
2161 (semantic-symref-idutils--line-re): New constant.
2162 (semantic-symref-parse-tool-output-one-line): Support result type
2163 `line-and-text'.
2164
2165 * lisp/cedet/semantic/symref/grep.el
2166 (semantic-symref-grep--line-re)
2167 (semantic-symref-parse-tool-output-one-line): Same.
2168
2169 * lisp/cedet/semantic/symref/cscope.el
2170 (semantic-symref-cscope--line-re)
2171 (semantic-symref-parse-tool-output-one-line): Same.
2172
2173 * lisp/cedet/semantic/symref/global.el
2174 (semantic-symref-global--line-re)
2175 (semantic-symref-parse-tool-output-one-line): Same.
2176
21772016-04-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
2178
2179 Revert "Prevent bootstrap autoload backup files"
2180
2181 This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
2182
21832016-04-12 Paul Eggert <eggert@cs.ucla.edu>
2184
2185 Improve time zone documentation
2186
2187 * doc/lispref/os.texi (Time Zone Rules):
2188 New section, mostly with material moved here from other sections.
2189 * doc/emacs/cmdargs.texi (General Variables):
2190 * doc/lispref/os.texi (Time Conversion, Time Parsing):
2191 Xref new section.
2192 * etc/NEWS, etc/PROBLEMS:
2193 * lisp/org/org.el (org-timestamp-format):
2194 * src/editfns.c (Fformat_time_string, Fdecode_time)
2195 (Fencode_time, Fcurrent_time_string, Fcurrent_time_zone)
2196 (Fset_time_zone_rule):
2197 When documenting time zone rule strings, mention the TZ
2198 environment variable in preference to mentioning the
2199 sort-of-internal function set-time-zone-rule.
2200
22012016-04-12 Phillip Lord <phillip.lord@russet.org.uk>
2202
2203 Prevent bootstrap autoload backup files
2204
2205 * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress
2206 backups in newly created file.
2207
2208 (autoload-ensure-default-file): Function split into two.
2209 (autoload-ensure-file-writeable): New function from split.
2210
2211 (Bug#23203)
2212
22132016-04-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2214
2215 Disable multicolor fonts on OS X since they are not supported on free systems
2216
2217 * src/macfont.m (macfont_list): Don't use color bitmap fonts.
2218
22192016-04-11 Paul Eggert <eggert@cs.ucla.edu>
2220
2221 Capitalize “Universal Time” in documentation
2222
2223 It’s a proper noun.
2224 * lisp/vc/add-log.el (add-log-time-zone-rule): Also, fix typo by
2225 mentioning ‘format-time-string’ instead of ‘set-time-zone-rule’.
2226
22272016-04-11 Eli Zaretskii <eliz@gnu.org>
2228
2229 Don't use 'find-program'
2230
2231 * lisp/progmodes/project.el (project-file-completion-table): Use
2232 'grep-find-program', rather than the obsolete 'find-program'.
2233
22342016-04-11 Paul Eggert <eggert@cs.ucla.edu>
2235
2236 Sync with gnulib
2237
2238 This is for picky compilers whose stdint.h fails our C11 tests.
2239 Problem reported for clang by Philipp Stephani (Bug#23261).
2240 This incorporates:
2241 2016-04-11 stdint: port to strict C11 left shift
2242 * doc/misc/texinfo.tex, lib/stdint.in.h: Copy from gnulib.
2243
22442016-04-11 Leo Liu <sdl.web@gmail.com>
2245
2246 Fix last change on 2016-01-02
2247
2248 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move
2249 `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend'
2250 which highlights `cl-errs-re' even in comments or strings.
2251
22522016-04-11 Paul Eggert <eggert@cs.ucla.edu>
2253
2254 Port run-prolog EMACS to SWI-Prolog 7.2.3
2255
2256 * lisp/progmodes/prolog.el (prolog-ensure-process):
2257 Work around incompatibility of SWI-Prolog 7.2.3 and earlier
2258 with the new way of dealing with the EMACS and INSIDE_EMACS
2259 environment variables.
2260
22612016-04-10 Eli Zaretskii <eliz@gnu.org>
2262
2263 Avoid crashes due to unreasonably large or small text scaling
2264
2265 * lisp/face-remap.el (text-scale-min-amount)
2266 (text-scale-max-amount): New functions.
2267 (text-scale-set, text-scale-increase): Use them to limit the text
2268 scaling to a reasonable range of values. (Bug#23259)
2269
22702016-04-10 Eli Zaretskii <eliz@gnu.org>
2271
2272 Improve documentation of 'with-eval-after-load'
2273
2274 * lisp/subr.el (with-eval-after-load): Doc fix. (Bug#23258)
2275
22762016-04-10 Eli Zaretskii <eliz@gnu.org>
2277
2278 Improve handling of non-ASCII characters in Git log messages
2279
2280 * lisp/vc/vc-git.el (vc-git-commits-coding-system): Now a defcustom.
2281 (vc-git-log-output-coding-system): New defcustom.
2282 (vc-git-print-log, vc-git-command, vc-git--call): Use
2283 'vc-git-log-output-coding-system' for reading stuff from Git.
2284 Don't override values of 'coding-system-for-read/write' if they
2285 are bound by caller -- this allows the user to force an encoding
2286 via "C-x RET c".
2287 (vc-git-checkin): On MS-Windows, pass the log message via a
2288 temporary file, to work around the limitations on passing
2289 non-ASCII characters via command-line arguments. Force using the
2290 'locale-coding-system' for Git command-line arguments. This fixes
2291 problems with non-ASCII commit log messages on MS-Windows.
2292 (Bug#23076)
2293
2294 * etc/NEWS: Mention the new vc-git related defcustoms.
2295
22962016-04-09 Philipp Stephani <phst@google.com>
2297
2298 Remove undefined behavior in OS X dumper.
2299
2300 Found by Address Sanitizer.
2301
2302 * src/unexmacosx.c (unexec_write): Use Mach virtual memory API to
2303 avoid undefined behavior when reading arbitrary memory.
2304
23052016-04-09 Joakim Verona <joakim@verona.se>
2306
2307 Fix clipping of xwidgets
2308
2309 * src/xwidget.c (x_draw_xwidget_glyph_string): Use window_box
2310 instead of calculating the clipping borders manually. Suggested
2311 by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
2312
23132016-04-09 Eli Zaretskii <eliz@gnu.org>
2314
2315 Improve Lisp-level documentation of tooltips
2316
2317 * doc/lispref/display.texi (Tooltips): New section. (Bug#23246)
2318 (Display): Update the chapter menu.
2319 * doc/lispref/text.texi (Special Properties): Make the "tooltip"
2320 index entry more concrete. Change the cross-reference to point to
2321 "Tooltips" in the ELisp manual.
2322 * doc/lispref/elisp.texi (Top): Update the master menu.
2323 * doc/emacs/frames.texi (Tooltips): Include more customization
2324 variables. Add a cross-reference to the ELisp manual.
2325
23262016-04-08 Glenn Morris <rgm@gnu.org>
2327
2328 Faces names should not end in "-face".
2329
2330 * lisp/rect.el (rectangle-preview): Rename from rectangle-preview-face.
2331 * lisp/vc/vc-hooks.el (vc-state-base): Rename from vc-state-base-face.
2332
23332016-04-08 Paul Eggert <eggert@cs.ucla.edu>
2334
2335 * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings.
2336
23372016-04-08 Paul Eggert <eggert@cs.ucla.edu>
2338
2339 Comint and compile no longer set EMACS
2340
2341 This mostly restores the change that I reverted on March 23,
2342 fixing most of Bug#20202. The only part of the change that is
2343 still reverted is the change to M-x term, where compatibility with
2344 current Bash constrains us from moving too quickly (Bug#20484).
2345 Problem reported by Phillip Lord in: http://bugs.gnu.org/20484#108
2346 * etc/NEWS: Document this.
2347 * lisp/comint.el (comint-exec-1):
2348 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
2349 * lisp/progmodes/compile.el (compilation-start):
2350 Don’t set EMACS=t in the subsidiary process.
2351
23522016-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2353
2354 * lisp/subr.el (read-key): Don't let the prompt linger (bug#22714)
2355
23562016-04-08 Eli Zaretskii <eliz@gnu.org>
2357
2358 Allow to customize names of executables used by grep.el
2359
2360 * lisp/progmodes/grep.el (grep-find-program): Renamed from
2361 'find-program', which was a variable. All uses changed.
2362 (grep-xargs-program): Renamed from 'xargs-program', which was a
2363 variable. All uses changed.
2364 (grep-program): Now a defcustom rather than a simple variable.
2365 (Bug#23219)
2366
23672016-04-08 Alan Third <alan@idiocy.org>
2368
2369 Set locale encoding to UTF-8 when run from OS X GUI.
2370
2371 * src/nsterm.m (ns_init_locale): Append .UTF-8 when setting LANG.
2372
23732016-04-08 Eli Zaretskii <eliz@gnu.org>
2374
2375 Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt
2376
2377 * lisp/ffap.el (ffap-guess-file-name-at-point): Ignore errors
2378 while 'ffap-guesser' runs. (Bug#23218)
2379
23802016-04-08 Marcin Borkowski <mbork@mbork.pl>
2381
2382 Avoid infinite loop in 'studlify-word'
2383
2384 * lisp/play/studly.el (studlify-region): Call
2385 'forward-word-strictly' and 'backward-word-strictly' instead of
2386 'forward-word' and 'backward-word'. (Bug#19940)
2387
23882016-04-07 Paul Eggert <eggert@cs.ucla.edu>
2389
2390 Don’t recommend obsolete EMACS env var
2391
2392 * doc/misc/efaq.texi (Escape sequences in shell output):
2393 Remove long-obsolete (and now-confusing) notes about
2394 the EMACS environment variable in Emacs 21.1 and earlier.
2395 * doc/misc/efaq.texi (^M in the shell buffer):
2396 * etc/PROBLEMS:
2397 Remove obsolescent recommendation to consult the EMACS environment
2398 variable.
2399
24002016-04-07 Glenn Morris <rgm@gnu.org>
2401
2402 * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.
2403
2404 * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.
2405
24062016-04-07 Leo Liu <sdl.web@gmail.com>
2407
2408 Fix "Beginning of buffer" error in forward-page
2409
2410 * lisp/textmodes/page.el (forward-page): Check before move to prevent
2411 "Beginning of buffer" error.
2412
24132016-04-06 Dmitry Gutov <dgutov@yandex.ru>
2414
2415 Add a `transient' project type
2416
2417 * lisp/progmodes/project.el (project-roots): Implement for the
2418 `transient' project type (bug#23224).
2419 (project-current): Instead of signaling an error, return a
2420 transient project instance rooted in the chosen directory.
2421
24222016-04-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2423
2424 Revert "Backport HTTPS proxy fix"
2425
2426 This reverts commit 2d1a6054b161bd1055d4feb11c8c5ac95543f5db.
2427
2428 It's too late in the Emacs 25 release cycle to add things like this to
2429 Emacs 25.1. It's border line new feature.
2430
24312016-04-06 Tao Fang <fangtao0901@gmail.com>
2432
2433 Backport HTTPS proxy fix
2434
2435 Cherry-picked from 3c623c26ae7d695746e05d8a2e16a67a6256b024
2436
2437 Backport:
2438
24392016-04-06 Paul Eggert <eggert@cs.ucla.edu>
2440
2441 Fix stability confusion in sort-tests
2442
2443 Problem reported by Philipp Stephani (Bug#23205).
2444 * test/automated/sort-tests.el:
2445 (sort-tests--insert-words-sort-and-compare):
2446 Don’t assume that reversing a sorted list is the same
2447 as sorting with the reverse predicate. This is not true
2448 for stable sorts when items compare equal.
2449
24502016-04-05 Paul Eggert <eggert@cs.ucla.edu>
2451
2452 Avoid describe-key error with lambdas
2453
2454 Problem reported by Sho Takemori (Bug#22716).
2455 * lisp/cedet/mode-local.el (describe-mode-local-overload)
2456 (xref-mode-local-overload): Use function-overload-p instead
2457 of assuming the argument is a symbol.
2458
24592016-04-04 Artur Malabarba <bruce.connor.am@gmail.com>
2460
2461 * lisp/emacs-lisp/package.el (package-install-selected-packages):
2462
2463 Skip unavailable packages.
2464
24652016-04-04 Paul Eggert <eggert@cs.ucla.edu>
2466
2467 Sync with gnulib
2468
2469 This incorporates:
2470 2016-04-03 stdint: detect good enough pre-C++11 stdint.h in C++ mode
2471 2016-04-01 stddef: support configuring with g++
2472 * doc/misc/texinfo.tex, lib/stddef.in.h, m4/stdint.m4:
2473 Copy from gnulib.
2474
24752016-04-03 Paul Eggert <eggert@cs.ucla.edu>
2476
2477 Fix doc for Universal Time
2478
2479 * doc/lispref/os.texi (Time of Day, Time Conversion):
2480 Be more careful about distinguishing UTC (which is not valid for
2481 pre-1961 time stamps) and UT (which is).
2482 (Time Parsing): Remove stray obsolete paragraph about a
2483 UNIVERSAL argument for ‘format-time-string’.
2484
24852016-04-03 Michael Albinus <michael.albinus@gmx.de>
2486
2487 Handle Bug#23186
2488
2489 * lisp/net/tramp.el (tramp-encoding-command-switch)
2490 (tramp-encoding-command-interactive):
2491 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
2492 `tramp-encoding-shell' could be nil. (Bug#23186)
2493
24942016-04-03 Paul Eggert <eggert@cs.ucla.edu>
2495
2496 More format-time-string change fixups
2497
2498 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-times):
2499 * lisp/org/org.el (org-timestamp-format):
2500 Fix doc to match new format-time-string behavior.
2501 * lisp/org/ox-icalendar.el (org-icalendar-convert-timestamp):
2502 Use (not (not X)) to treat non-nil values of utc arg as UTC.
2503
25042016-04-02 Paul Eggert <eggert@cs.ucla.edu>
2505
2506 make-xwidget unused arg cleanup
2507
2508 * doc/lispref/display.texi (Xwidgets): Remove stray refs.
2509 * src/xwidget.c (syms_of_xwidget): Qwebkit, not Qwebkit_osr.
2510
25112016-04-02 Joakim Verona <joakim@verona.se>
2512
2513 Remove unused arguments from make-xwidget
2514
2515 The arguments BEG and END were unused, and are now removed.
2516
2517 * display.texi (Xwidgets): Document the change
2518 * xwidget.el (make-xwidget, xwidget-insert)
2519 (xwidget-webkit-new-session): Reflect changed arguments
2520 * xwidget.c (Fmake_xwidget, syms_of_xwidget): Reflect changed arguments
2521
25222016-04-02 Eli Zaretskii <eliz@gnu.org>
2523
2524 Document incompatible changes in 'format-time-string'
2525
2526 * etc/NEWS: Mention the incompatible change in the interpretation
2527 of the 3rd argument to 'format-time-string'. (Bug#21943)
2528
25292016-04-02 Eli Zaretskii <eliz@gnu.org>
2530
2531 Improve documentation of byte-code objects
2532
2533 * doc/lispref/compile.texi (Byte-Code Objects): Document the
2534 integer format of the argument descriptor. (Bug#23061)
2535
25362016-04-02 Eli Zaretskii <eliz@gnu.org>
2537
2538 Adapt calls to 'format-time-string' to changes in Emacs 25
2539
2540 * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries): Use t as the
2541 last argument to format-time-string. (Bug#23128)
2542 * lisp/gnus/gmm-utils.el (gmm-format-time-string): Use t as the
2543 last argument to format-time-string, when the TZ argument is not a
2544 number, per the doc string.
2545
25462016-04-02 Eli Zaretskii <eliz@gnu.org>
2547
2548 Improve vc-diff with Git backend
2549
2550 * lisp/vc/vc-git.el (vc-git-command): Don't override
2551 coding-system-for-read/write if they are already bound.
2552 Suggested by joaotavora@gmail.com (João Távora). (Bug#20892)
2553 (vc-git-print-log): Don't override coding-system-for-read if it's
2554 already bound.
2555
25562016-04-01 Dmitry Gutov <dgutov@yandex.ru>
2557
2558 (js--continued-expression-p): Special-case unary plus and minus
2559
2560 * lisp/progmodes/js.el (js--continued-expression-p): Make an
2561 effort to recognize unary plus and minus, in the contexts where
2562 they make sense (https://github.com/mooz/js2-mode/issues/322).
2563
25642016-04-01 Alan Mackenzie <acm@muc.de>
2565
2566 Prevent C++ Mode wrongly fontifying some identifiers near templates as types
2567
2568 This fixes debbugs #7917.
2569
2570 * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): Accept 'maybe
2571 (from c-forward-type) as sufficient to record an id. Record type id as well
2572 as ref ids.
2573 (c-forward-name): Bind c-last-identifier-range around the call to
2574 c-forward-<>-arglist to prevent it getting corrupted. Don't automatically
2575 assume an identifier is a type when a template ">" is followed by a "(".
2576 (c-forward-type): Don't automatically assume an identifier is a type when a
2577 template ">" is followed by a "(".
2578
2579 * lisp/progmodes/cc-fonts.el (c-font-lock-<>-arglists): Don't fontify an
2580 identifier as a type when its associated ">" is followed by a "(".
2581
25822016-04-01 Eli Zaretskii <eliz@gnu.org>
2583
2584 Avoid crashes due to insanely large columns in tabulated-list-format
2585
2586 * src/xdisp.c (append_stretch_glyph, produce_xwidget_glyph)
2587 (produce_image_glyph): Limit the pixel width of the produced glyph
2588 to SHRT_MAX. (Bug#23178)
2589 (append_composite_glyph, append_glyph, append_glyphless_glyph):
2590 Add assertions to verify that the pixel width of the glyph will
2591 never overflow a 'short'.
2592 * src/term.c (append_composite_glyph): Add assertion to verify
2593 that the pixel width of the glyph will never overflow a 'short'.
2594
25952016-03-31 Mark Oteiza <mvoteiza@udel.edu>
2596
2597 Teach M-x disassemble a default argument.
2598
2599 Adopts default argument in the same way as `describe-function'.
2600 * lisp/emacs-lisp/disass.el (disassemble): Default to function at point,
2601 if any.
2602
26032016-03-31 Eli Zaretskii <eliz@gnu.org>
2604
2605 Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows
2606
2607 * lisp/vc/vc-annotate.el (vc-annotate): Force DOS EOL decoding on
2608 MS-Windows and MS-DOS, when processing the output of "svn annotate".
2609
26102016-03-31 Michael Albinus <michael.albinus@gmx.de>
2611
2612 Fix OS X specific settings in tramp-tests
2613
2614 * lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2615
2616 * lisp/net/tramp.el (tramp-get-local-locale): New defun.
2617
2618 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
2619 (tramp--test-utf8): Improve settings of coding systems.
2620 Do not use `tramp--test-darwin-p' anymore. (Bug#22145)
2621
26222016-03-30 Alan Mackenzie <acm@muc.de>
2623
2624 Finish fixing a cacheing bug in CC Mode (see 2016-03-09)
2625
2626 * lisp/progmodes/cc-cmds.el: (c-beginning-of-defun, c-end-of-defun): Remove
2627 superfluous invocations of c-self-bind-state-cache.
2628
2629 * lisp/progmodes/cc-defs.el: (c-self-bind-state-cache): Copy and terminate
2630 markers correctly.
2631
2632 * lisp/progmodes/cc-engine.el (c-record-parse-state-state): Terminate stale
2633 markers.
2634
26352016-03-30 Alan Mackenzie <acm@muc.de>
2636
2637 Merge branch 'emacs-25' of /home/acm/emacs/emacs.git/emacs-25 into emacs-25
2638
26392016-03-29 Xue Fuqiao <xfq.free@gmail.com>
2640
2641 * doc/lispref/text.texi (Columns): Remove a nonexistent reference.
2642
2643 The example was removed by Chong Yidong on Mar 5, 2012.
2644
26452016-03-29 Paul Eggert <eggert@cs.ucla.edu>
2646
2647 * doc/man/emacsclient.1: Document +line:column option.
2648
26492016-03-29 Eli Zaretskii <eliz@gnu.org>
2650
2651 Fix rare problems with echo-area display and multiple frames
2652
2653 * src/xdisp.c (redisplay_window): Bind inhibit-redisplay non-nil
2654 around the call to x_consider_frame_title, to prevent
2655 resize_mini_window from undoing echo-area display. (Bug#23124)
2656
26572016-03-29 Alan Mackenzie <acm@muc.de>
2658
2659 In M-%, avoid making buffer-local binding of text-property-default-nonsticky
2660
2661 This would happen when that variable already has a buffer local binding. Such
2662 a binding would not be seen by read-from-minibuffer. This fixes bug #23127.
2663
2664 * lisp/replace.el (query-replace-read-from): Move the binding of
2665 text-property-default-nonsticky to inside of a new with-current-buffer buffer
2666 form with the minibuffer as argument.
2667
26682016-03-27 Dmitry Gutov <dgutov@yandex.ru>
2669
2670 Remove prog-indentation-context
2671
2672 * lisp/progmodes/prog-mode.el: (prog-indentation-context)
2673 (prog-first-column, prog-widen): Remove, as discussed in
2674 http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg01425.html.
2675
2676 * doc/lispref/text.texi (Mode-Specific Indent): Remove references
2677 to them.
2678
2679 * etc/NEWS: Ditto.
2680
2681 * lisp/progmodes/python.el: (prog-widen, prog-first-column):
2682 Remove the compatibility aliases and all uses.
2683
2684 Do not merge to master.
2685
26862016-03-27 Paul Eggert <eggert@cs.ucla.edu>
2687
2688 * src/font.c (QCuser_spec): Add missing colon to :user-spec.
2689
26902016-03-27 Eli Zaretskii <eliz@gnu.org>
2691
2692 Don't start the 'midnight' timer twice
2693
2694 * lisp/midnight.el (midnight-mode): Avoid starting the midnight
2695 timer twice when activating the mode the first time. (Bug#23123)
2696
26972016-03-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2698
2699 * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
2700
27012016-03-26 Stephen Berman <stephen.berman@gmx.net>
2702
2703 Fix todo-mode category movement
2704
2705 * lisp/calendar/todo-mode.el (todo-move-category): Use moved
2706 category's existing categories sexp instead of invoking
2707 todo-update-categories-sexp in file moved to, in order to take
2708 archived items into account. If the moved category has archived
2709 items, handle the source archive buffer properly. Remove
2710 superfluous code.
2711
27122016-03-26 Glenn Morris <rgm@gnu.org>
2713
2714 * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version.
2715
27162016-03-26 Eli Zaretskii <eliz@gnu.org>
2717
2718 Ignore non-nil. non-cons values of unread-command-events
2719
2720 * src/keyboard.c (requeued_events_pending_p, read_char)
2721 (Finput_pending_p): Use CONSP instead of !NILP to see if there are
2722 unread command events to be processed. (Bug#22976)
2723
27242016-03-26 Eli Zaretskii <eliz@gnu.org>
2725
2726 Improve documentatuon of 'truncate-partial-width-windows'
2727
2728 * src/xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>:
2729 Clarify in the doc string how the width of partial-width windows
2730 is computed for the purposes of truncation decision. (Bug#4338)
2731
2732 * doc/emacs/windows.texi (Split Window): Clarify how the width of
2733 windows is calculated for the purposes of truncation decision.
2734 * doc/emacs/display.texi (Line Truncation): Remove a redundant
2735 index entry.
2736
27372016-03-25 Paul Eggert <eggert@cs.ucla.edu>
2738
2739 * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU style.
2740
27412016-03-25 Eli Zaretskii <eliz@gnu.org>
2742
2743 Fix 'dired-goto-file' in Dired buffers produced by find-dired
2744
2745 * lisp/dired.el (dired-goto-file): Try looking for the file as a
2746 relative name with leading sub-directories, before looking for the
2747 basename alone. (Bug#23089)
2748
27492016-03-25 Nicolas Petton <nicolas@petton.fr>
2750
2751 Fix map-put and map-delete for alists (Bug#23105)
2752
2753 * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place
2754 expression to a new symbol.
2755 * test/lisp/emacs-lisp/map-tests.el: Add a regression test.
2756
27572016-03-25 Eli Zaretskii <eliz@gnu.org>
2758
2759 Minor copyedits of documentation for temporary displays
2760
2761 * doc/emacs/windows.texi (Temporary Displays): Improve indexing.
2762 Minor changes in wording.
2763 (Window Choice, Displaying Buffers, Pop Up Window): Disambiguate
2764 index entries for 'display-buffer'.
2765
2766 * etc/NEWS: Minor rewording of the entry about temporary displays.
2767
27682016-03-25 Philipp Stephani <phst@google.com>
2769
2770 Add customization option for using UTF-8 coordinates in xt-mouse
2771
2772 * lisp/xt-mouse.el (xterm-mouse-utf-8): New customization option.
2773 (xterm-mouse--read-coordinate): New function to replace
2774 `xterm-mouse--read-utf8-char'; uses UTF-8 only if enabled.
2775 (xterm-mouse--read-number-from-terminal): Adapt to new name.
2776 (xterm-mouse-tracking-enable-sequence)
2777 (xterm-mouse-tracking-disable-sequence): Replace constants with
2778 functions, mark constants as obsolete.
2779 (xterm-mouse--tracking-sequence): New helper function.
2780 (turn-on-xterm-mouse-tracking-on-terminal): Use new functions;
2781 enable UTF-8 only if customization option says so; store UTF-8
2782 flag in terminal parameter. (Bug#23009)
2783
2784 * test/automated/xt-mouse-tests.el: Add tests for xt-mouse.el.
2785
27862016-03-25 Eli Zaretskii <eliz@gnu.org>
2787
2788 Minor doc string fixes in replace.el
2789
2790 * lisp/replace.el (query-replace, query-replace-regexp)
2791 (query-replace-regexp-eval, map-query-replace-regexp)
2792 (replace-string, replace-regexp): Clarify in doc strings that
2793 these commands operate from point to the end of the buffer's
2794 accessible portion. (Bug#23067)
2795
27962016-03-25 Eli Zaretskii <eliz@gnu.org>
2797
2798 Fix scrolling upwards with 'xwidget-webkit-browse-url'
2799
2800 * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead
2801 of CHECK_NATNUM. Suggested by Shayan Pirani <shayanpirani@gmail.com>.
2802 (Bug#22918)
2803
28042016-03-25 K. Handa <handa@gnu.org>
2805
2806 Fix display of Indic scripts
2807
2808 * ftfont.c (ftfont_shape_by_flt): For combining characters out
2809 of the range U+300...U+36F, use the "combining" FLT only with
2810 non-OTF fonts.
2811
28122016-03-25 Eli Zaretskii <eliz@gnu.org>
2813
2814 Fix splash screen display at startup
2815
2816 * src/frame.c (DEFAULT_ROWS): Enlarge to 36, so that the initial
2817 window displayed by "emacs -q" has enough space to show the whole
2818 text even if it includes 2 lines talking about recovering crashes
2819 sessions. (Bug#23074)
2820
2821 * lisp/startup.el (use-fancy-splash-screens-p): Fix off-by-one
2822 error when computing the window-height from frame-height.
2823
2824 * etc/NEWS: Mention the change.
2825
28262016-03-25 Martin Rudalics <rudalics@gmx.at>
2827
2828 Describe temporary displays in Emacs manual
2829
2830 * doc/emacs/emacs.texi (Temporary Displays): New subsubsection.
2831 * doc/emacs/windows.texi (Window Choice): Minor fixes.
2832 (Temporary Displays): New subsubsection describing display of
2833 temporary buffers and `temp-buffer-resize-mode'.
2834
28352016-03-24 Paul Eggert <eggert@cs.ucla.edu>
2836
2837 Avoid stray As next to IDLW icons
2838
2839 * lisp/progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere):
2840 Use "" for empty labels, not "a", as the latter now displays stray
2841 "A"s (Bug#18997).
2842
28432016-03-24 Paul Eggert <eggert@cs.ucla.edu>
2844
2845 Avoid GTK 3 crash with icons and masks
2846
2847 Problem reported by Mosè Giordano (Bug#18997).
2848 * src/gtkutil.c (xg_get_pixbuf_from_pixmap): Remove.
2849 (xg_get_pixbuf_from_pix_and_mask): Do not use
2850 xg_get_pixbuf_from_pixmap, as it is poorly documented. Instead,
2851 invoke XGetPixel directly. This is slow but speed is not
2852 important here. Also, fail for unusual situations (not TrueColor,
2853 or images that are not 8 bits per sample) instead of displaying
2854 junk or crashing.
2855
28562016-03-24 Juri Linkov <juri@linkov.net>
2857
2858 * lisp/minibuffer.el (minibuffer-completion-help): Use fit-window-to-buffer
2859
2860 instead of shrink-window-if-larger-than-buffer. (Bug#23092)
2861
28622016-03-24 Eli Zaretskii <eliz@gnu.org>
2863
2864 Define make_save_ptr_ptr unconditionally
2865
2866 * src/alloc.c (make_save_ptr_ptr): Remove the !(defined
2867 USE_X_TOOLKIT || defined USE_GTK) conditional. Reported by
2868 Philipp Stephani <phst@google.com>. (Bug#23101)
2869
28702016-03-24 Eli Zaretskii <eliz@gnu.org>
2871
2872 Preserve current buffer when popping up TTY menus
2873
2874 * src/term.c (tty_menu_show): Be sure to save and restore the
2875 current buffer around TTY menu pop-ups. (Bug#23101)
2876
28772016-03-24 Eli Zaretskii <eliz@gnu.org>
2878
2879 Improve font selection by family on MS-Windows
2880
2881 * src/w32font.c (w32font_list_internal): Allow 'ascii-0' charset,
2882 in addition to 'iso10646-1', 'unicode-bmp', and 'unicode-sip'.
2883 This avoids rejecting many font families whose members are shown
2884 by 'font-family-list', in particular 'courier' requested by
2885 info.el. Without this change, many values of ':family' attribute
2886 of a face have no effect on MS-Windows, because they are rejected
2887 due to bogus mismatch of the charset.
2888
28892016-03-23 Paul Eggert <eggert@penguin.cs.ucla.edu>
2890
2891 Comint, term, and compile now set EMACS
2892
2893 This fixes directory tracking in ansi-term, at the expense of
2894 breaking some usages of 'configure'. Setting EMACS is meant to be
2895 a somewhat temporary measure, until Bash 4.4 comes out and is
2896 common. (Bug#20484).
2897 * etc/NEWS: Document this.
2898 * lisp/comint.el (comint-exec-1):
2899 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
2900 * lisp/progmodes/compile.el (compilation-start):
2901 * lisp/term.el (term-exec-1):
2902 Go back to setting the EMACS environment variable, for backward
2903 compatibility to Bash 4.3 and earlier.
2904
29052016-03-23 Paul Eggert <eggert@penguin.cs.ucla.edu>
2906
2907 Ignore more merges when generating ChangeLog
2908
2909 * build-aux/gitlog-to-emacslog: Ignore all merges from gnu.org,
2910 not merely those from master and emacs-NN. The ChangeLog entries
2911 they generate are not that useful.
2912
29132016-03-23 Paul Eggert <eggert@cs.ucla.edu>
2914
2915 Sync with gnulib
2916
2917 This incorporates:
2918 2016-03-22 gitlog-to-changelog: suppress ignored chatter
2919 2016-03-21 sys_select: port to new Cygwin
2920 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
2921 * lib/sys_select.in.h: Copy from gnulib.
2922
29232016-03-23 Paul Eggert <eggert@cs.ucla.edu>
2924
2925 Resurrect GNUS-NEWS autogeneration
2926
2927 * doc/misc/gnus-coding.texi (Gnus Maintenance Guide): Update
2928 GNUS-NEWS section to match current file locations and procedure.
2929 * etc/GNUS-NEWS: Regenerate by using new procedure.
2930 * lisp/Makefile.in (update-gnus-news): New rule, containing a
2931 procedure for building GNUS-NEWS. The old procedure got lost
2932 somehow when Gnus was merged into Emacs.
2933
29342016-03-22 Anders Lindgren <andlind@gmail.com>
2935
2936 Make `toggle-frame-maximized' respect the dock on OS X (bug#22988).
2937
2938 * src/nsterm.m (ns_screen_margins): New function.
2939 (ns_screen_margins_ignoring_hidden_dock): New function.
2940 (ns_menu_bar_height): Reimplement in terms of `ns_screen_margins'.
2941 ([EmacsWindow zoom:]): Take all screen margins (except those
2942 originating from a hidden dock) into account.
2943
29442016-03-22 Eli Zaretskii <eliz@gnu.org>
2945
2946 Fix bug in displaying header line with a box face
2947
2948 * src/xdisp.c (get_next_display_element): Handle the case when a
2949 display string acquires the box face from an underlying string,
2950 not from the buffer. (Bug#23091)
2951
29522016-03-21 Kaushal Modi <kaushal.modi@gmail.com>
2953
2954 Fix an Isearch var to be a string (Bug#23038)
2955
2956 * isearch.el (isearch--describe-regexp-mode): The `description' var
2957 needs to always be a string. Add the missing default case for the
2958 cond form that ensures that.
2959
2960 Before this bug fix, for the events when `regexp-function' and
2961 `search-default-mode' both were nil, `description' also stayed nil. So
2962 when `space-before' was non-nil, the "non-string" `description'
2963 (with a value of nil) got passed as an argument to
2964 `replace-regexp-in-string' (where a string was expected). That caused
2965 the error described in Bug#23038.
2966
29672016-03-21 Leo Liu <sdl.web@gmail.com>
2968
2969 Fix (args-out-of-range 1) error in cursor-sensor--detect
2970
2971 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
2972 hard-code (point-min) as 1 which fails in narrowed buffers.
2973
29742016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2975
2976 Render empty <ul><li><ul> correctly
2977
2978 * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul>
2979 correctly (bug#22964).
2980 (cherry picked from commit 4f6ea3988b66cf132c67fd0cc26d12eb9a300ba1)
2981
2982 Backport:
2983
29842016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2985
2986 Ignore invalid base64 encoded embedded images
2987
2988 * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64
2989 encoded embedded images (bug#22928).
2990 (cherry picked from commit f2da80d0e1ccd121c4891e869a45aeb9c6b1795d)
2991
2992 Backport:
2993
29942016-03-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2995
2996 Fix <p> and <div> newlines with or without <li> in shr
2997
2998 * lisp/net/shr.el (shr-ensure-newline): Respect that we're in
2999 a <li>, if we are, and don't insert newlines there.
3000 (shr-ensure-paragraph): When mixing newlines and paragraph
3001 ensurements, don't insert too many blank lines.
3002 (shr-tag-div): A <div> shouldn't introduce a paragraph, but a
3003 new line.
3004 (cherry picked from commit 292921facaff2f02ac4e8602c1f7ecbdcfe7ef45)
3005
3006 Backport:
3007
30082016-03-19 Eli Zaretskii <eliz@gnu.org>
3009
3010 Avoid errors in 'newline'
3011
3012 * lisp/simple.el (newline): Don't barf if invoked with
3013 non-positive argument in the middle of a line. (Bug#22490)
3014
30152016-03-19 Michael Albinus <michael.albinus@gmx.de>
3016
3017 Fix Bug#23032
3018
3019 * doc/misc/eshell.texi (Arguments): Mention the pipe symbol in
3020 remote file names. (Bug#23032)
3021
30222016-03-19 Eli Zaretskii <eliz@gnu.org>
3023
3024 Adjudicate review comments in abbrevs.texi
3025
3026 * doc/lispref/abbrevs.texi (Abbrev Files, Abbrev Expansion):
3027 * doc/emacs/abbrevs.texi (Dabbrev Customization): State the
3028 default values of variables. Suggested by Steve Byrne
3029 <sbb@penguinis.org>. (Bug#23016)
3030
3031 * admin/release-process (Check manuals): Mark files reviewed by
3032 Steve Byrne.
3033
30342016-03-18 Dmitry Gutov <dgutov@yandex.ru>
3035
3036 Fixup the "normal" matcher; highlight global var symbols, too
3037
3038 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
3039 operator name symbols with the "normal" matcher (it actually
3040 needed updating). Highlight global variable symbols, too.
3041
30422016-03-18 Marcin Borkowski <mbork@mbork.pl>
3043
3044 Honor prefix arg in doc-view-next-line-or-next-page
3045
3046 * lisp/doc-view.el (doc-view-next-line-or-next-page): Take the
3047 prefix argument into consideration when continuous scrolling is
3048 not in effect (i.e., by default) (bug#19559).
3049
30502016-03-18 Paul Eggert <eggert@cs.ucla.edu>
3051
3052 Port to strict C99 offsetof
3053
3054 * src/bidi.c (bidi_copy_it):
3055 * src/lisp.h (CHAR_TABLE_EXTRA_SLOTS):
3056 Use only a single identifier as the second argument of offsetof.
3057 Found by using clang -pedantic.
3058
30592016-03-18 Paul Eggert <eggert@cs.ucla.edu>
3060
3061 Port to GTK with strict C11 compiler
3062
3063 * src/gtkutil.c (xg_create_frame_widgets, xg_toggle_notify_cb):
3064 Cast from function type to void * where the C standard requires this.
3065 This works around a problem in the prototypes for
3066 g_signal_handler_find and g_signal_handlers_block_by_func, which
3067 use gpointer instead of GCallback. Found by using gcc -pedantic.
3068
30692016-03-18 Paul Eggert <eggert@cs.ucla.edu>
3070
3071 Port to GTK with strict C99 compiler
3072
3073 * src/emacsgtkfixed.c: Use workaround for GNOME bug 683906 only
3074 in glib 2.35.6 and earlier, since the bug is fixed in 2.35.7.
3075 * src/emacsgtkfixed.c (EmacsFixedPrivate):
3076 * src/emacsgtkfixed.h (EmacsFixedClass):
3077 Remove duplicate typedef, which strict C99 does not allow (Bug#23003).
3078
30792016-03-17 Anders Lindgren <andlind@gmail.com>
3080
3081 Avoid screen artifacts with new OS X visible bell after scrolling
3082
3083 * src/nsterm.m (EmacsBell): Save NSView when displaying the
3084 visible bell and set `needsDisplay' when removed.
3085 (hide_bell): Trace.
3086 (ns_copy_bits): Trace.
3087
30882016-03-17 Michael Albinus <michael.albinus@gmx.de>
3089
3090 Suppress some Tramp tests for OSX, do not merge with master
3091
3092 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
3093 (tramp--test-utf8): Use it. (Bug#22145)
3094
30952016-03-17 Glenn Morris <rgm@gnu.org>
3096
3097 * lisp/progmodes/xref.el (xref-buffer-name, xref--window):
3098 Move definitions before use.
3099
3100 * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it.
3101
3102 * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare.
3103
31042016-03-17 Glenn Morris <rgm@gnu.org>
3105
3106 Address compilation warnings due to 2016-01-03 mml refactoring.
3107
3108 * lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
3109 (message-options-get): Autoload.
3110 (message-options-set): Declare.
3111 (mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
3112 Simplify default value.
3113 * lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
3114 * lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
3115 No longer a need for password-cache.
3116
31172016-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
3118
3119 * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
3120
3121 (bug#22960).
3122
31232016-03-16 Glenn Morris <rgm@gnu.org>
3124
3125 * lisp/dired-x.el (dired-omit-here-always): Correct error message
3126 for 2016-01-25 change.
3127
3128 * lisp/dired-x.el (dired-omit-here-always): Replace undefined function
3129 removed 2016-01-30.
3130
3131 * lisp/xml.el (xml-parse-tag-1): Replace undefined function.
3132
31332016-03-16 Eli Zaretskii <eliz@gnu.org>
3134
3135 Avoid segfaults due to frame image cache being absent
3136
3137 * src/image.c (cache_image): If the frame doesn't have an image
3138 cache, create it. (Bug#23028)
3139
31402016-03-16 Eli Zaretskii <eliz@gnu.org>
3141
3142 Improve documentation of glyphless-character display
3143
3144 * doc/emacs/display.texi (Text Display): Document and index the
3145 'glyphless-char' face.
3146
31472016-03-16 Dmitry Gutov <dgutov@yandex.ru>
3148
3149 Support safe navigation operator in non-SMIE indentation code
3150
3151 * lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
3152 Support safe navigation operator in non-SMIE indentation code.
3153 Cherry-picked from
3154 https://github.com/ruby/ruby/commit/68e16ddd7961b86e5013e62ae2954e88638de058.
3155
31562016-03-16 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3157
3158 Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
3159
3160 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
3161 assume xsd:base64Binary values are UTF-8 strings.
3162 (soap-decode-xs-basic-type): Likewise.
3163 (soap-invoke): Document xsd:base64Binary handling.
3164
31652016-03-15 Dmitry Gutov <dgutov@yandex.ru>
3166
3167 Fix Ruby's operator precedence
3168
3169 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
3170 Rearrange the smie-precs->prec2 form.
3171
31722016-03-15 Dmitry Gutov <dgutov@yandex.ru>
3173
3174 (ruby-interpolation-inside-another-interpolation): New failing test
3175
3176 * test/automated/ruby-mode-tests.el
3177 (ruby-interpolation-inside-another-interpolation):
3178 New failing test.
3179
31802016-03-15 Paul Eggert <eggert@cs.ucla.edu>
3181
3182 Port to clang 3.7.0 on x86-64
3183
3184 * configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
3185 not done conditionally. This helps clang, which needs
3186 -Wunknown-warning-option later when configured with warnings.
3187 * src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
3188 smart enough to figure this out on its own if warnings are enabled.
3189 (lisp_time_struct): Redo for clarity, and to pacify clang.
3190 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
3191 uninitialized locals. This avoids undefined behavior and pacifies
3192 clang.
3193
31942016-03-15 Glenn Morris <rgm@gnu.org>
3195
3196 * test/automated/package-test.el (package-test-signed): Tweak skip
3197 condition, for hydra.
3198
31992016-03-15 Paul Eggert <eggert@cs.ucla.edu>
3200
3201 Sync with gnulib
3202
3203 This incorporates:
3204 2016-03-15 time_rz: port to clang -Wunused-const-variable
3205 2016-03-15 select: port more to Intel 2016.1.150 compiler
3206 * lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.
3207
32082016-03-15 Eli Zaretskii <eliz@gnu.org>
3209
3210 Fix startup of "emacs -nw" on systems that CANNOT_DUMP
3211
3212 * src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
3213 nil.
3214
3215 * lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
3216 loading window.el. (Bug#22975)
3217
32182016-03-14 Dmitry Gutov <dgutov@yandex.ru>
3219
3220 Do not tokenize a comment before continuation as ';'
3221
3222 * lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3223 Account for a comment right after point.
3224
32252016-03-14 Dmitry Gutov <dgutov@yandex.ru>
3226
3227 Don't misindent arguments of a method call inside continuation
3228
3229 * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
3230 Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
3231 Simplify the traversal loop.
3232
32332016-03-14 Stefan Monnier <monnier@iro.umontreal.ca>
3234
3235 * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area
3236
3237 (read_key_sequence): Test it here, as before.
3238 (bug#22825).
3239
32402016-03-14 Paul Eggert <eggert@cs.ucla.edu>
3241
3242 ASCII-only etc/NEWS etc.
3243
3244 * etc/NEWS, nextstep/README: Revert the recently-added curved
3245 quotes, and stick to ASCII. This typically involves replacing
3246 curved with straight quotes. Since etc/NEWS is viewed so often by
3247 UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
3248 Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
3249
32502016-03-14 Alan Mackenzie <acm@muc.de>
3251
3252 Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
3253
3254 * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
3255
3256 * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
3257 rather than just using the cache variable c-state-cache.
3258 (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
3259 to c-parse-state from other uses of the parse state cache.
3260
3261 * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
3262 c-self-bind-state-cache around the processing, replacing flawed bindings of
3263 c-state-cache.
3264
32652016-03-14 Alan Mackenzie <acm@muc.de>
3266
3267 Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
3268
3269 * lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
3270
3271 * lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
3272 rather than just using the cache variable c-state-cache.
3273 (c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
3274 to c-parse-state from other uses of the parse state cache.
3275
3276 * lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
3277 c-self-bind-state-cache around the processing, replacing flawed bindings of
3278 c-state-cache.
3279
32802016-03-14 Kaushal Modi <kaushal.modi@gmail.com>
3281
3282 Fix Isearch prompt when invoked with an argument
3283
3284 * lisp/isearch.el (isearch--describe-regexp-mode): With
3285 `search-default-mode' set to nil, if user does C-u C-s, the minibuffer
3286 now displays "Regexp I-search: " again. But if the user has set
3287 `search-default-mode' to t, and then does C-s, the minibuffer now
3288 displays "I-search: " because the default search mode is now regexp
3289 mode. Comments have been added to explain the priority of conditions
3290 in the `cond' form. (Bug#22991)
3291
32922016-03-14 Cesar Quiroz <cesar.quiroz@gmail.com> (tiny change)
3293
3294 Fix a typo in the Emacs manual
3295
3296 * doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
3297 in a command name.
3298
32992016-03-14 Paul Eggert <eggert@cs.ucla.edu>
3300
3301 Curved quotes in etc/NEWS etc.
3302
3303 * etc/NEWS, nextstep/README: Prefer curved quotes in the
3304 recently-changed text documentation. See:
3305 http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00860.html
3306
33072016-03-14 Paul Eggert <eggert@cs.ucla.edu>
3308
3309 Fix some single quotes in documentation
3310
3311 * doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
3312 when documenting quoting styles.
3313 * etc/NEWS, nextstep/README: In these plain text files, quote
3314 'like this' consistently, rather than also (sometimes) ‘like this’
3315 or (more often) `like this'.
3316
33172016-03-13 Dmitry Gutov <dgutov@yandex.ru>
3318
3319 Make lisp-completion-at-point's argument optional
3320
3321 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
3322 the argument optional, like it was before the rename.
3323
33242016-03-13 Dmitry Gutov <dgutov@yandex.ru>
3325
3326 Tweak the left precedence of '=>'
3327
3328 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
3329 precedence of '=>', to improve indentation and sexp navigation.
3330
33312016-03-13 Dmitry Gutov <dgutov@yandex.ru>
3332
3333 Indent '.' relative to the first sibling expression
3334
3335 * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
3336 Indent '.' relative to the first sibling expression, instead of the
3337 parent token (bug#17213).
3338
33392016-03-13 Dmitry Gutov <dgutov@yandex.ru>
3340
3341 Make '.' associative, for easier sexp navigation
3342
3343 * lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
3344 Make '.' associative, for easier sexp navigation.
3345
33462016-03-13 Phillip Lord <phillip.lord@russet.org.uk>
3347
3348 Revert "Simplify "Visit New File" to "New File""
3349
3350 This reverts commit d457fd9dc782465e1547f74021390c9d5951d6af.
3351
33522016-03-12 Phillip Lord <phillip.lord@russet.org.uk>
3353
3354 Simplify "Visit New File" to "New File"
3355
3356 * doc/emacs/files.texi,lisp/menu-bar.el (menu-bar-file-menu),
3357 lisp/startup.el(normal-mouse-start-screen,
3358 normal-no-mouse-startup-screen): Change label "Visit New File" to "New
3359 File".
3360
33612016-03-12 Eli Zaretskii <eliz@gnu.org>
3362
3363 Update Unicode notes for importing a new Unicode version
3364
3365 * admin/notes/unicode: Mention the need to update otf-script-alist
3366 in fontset.el when importing data files from a new Unicode
3367 version.
3368
33692016-03-12 Eli Zaretskii <eliz@gnu.org>
3370
3371 Import new data files from Unicode 9.0.0beta
3372
3373 * admin/unidata/UnicodeData.txt:
3374 * admin/unidata/Blocks.txt:
3375 * admin/unidata/BidiMirroring.txt:
3376 * admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
3377 * admin/unidata/unidata-gen.el (unidata-gen-files): Bind
3378 'coding-system-for-read' to 'utf-8, as various Unicode data files
3379 now actually use non-ASCII characters.
3380 (unidata-setup-list, unidata-get-name): Support the new Tangut
3381 Ideographs block.
3382
3383 * lisp/international/characters.el (standard-case-table): Add new
3384 characters from Unicode 9.0.0.
3385 (standard-category-table): Add Arabic block u+08A0..u+08FF. Add
3386 Cyrillic Extended-C block.
3387 (char-width-table): Update ranges per Unicode 9.0.0.
3388 * lisp/international/fontset.el (script-representative-chars): Add
3389 new scripts defined by Unicode 9.0.0.
3390 (otf-script-alist): Add new OTF script tags.
3391 * lisp/international/mule-cmds.el (ucs-names): Update ranges per
3392 Unicode 9.0.0 additions.
3393
33942016-03-12 Eli Zaretskii <eliz@gnu.org>
3395
3396 Avoid errors in forms-mode when default major mode is text
3397
3398 * lisp/forms.el (forms-mode): Bind
3399 change-major-mode-with-file-name to nil when calling
3400 set-visited-file-name. (Bug#22982)
3401
34022016-03-12 Eli Zaretskii <eliz@gnu.org>
3403
3404 Avoid crashes at startup on systems that CANNOT_DUMP
3405
3406 * src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
3407 boolean variable.
3408 (init_iterator, reseat_to_string)
3409 (Fcurrent_bidi_paragraph_direction)
3410 (Fbidi_find_overridden_directionality): Use
3411 redisplay--inhibit-bidi instead of purify-flag, to determine when
3412 it's safe to reorder bidirectional text.
3413
3414 * lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
3415 beginning of the file. Reset to nil when charprop.el is
3416 successfully loaded, or when we are going to dump, whichever
3417 happens last. (Bug#22975)
3418
34192016-03-12 Eli Zaretskii <eliz@gnu.org>
3420
3421 Fix documentation of seq.el functions
3422
3423 * doc/lispref/sequences.texi (Sequence Functions): Fix typos. Add
3424 cross-references. Fix formatting. (Bug#22992)
3425
34262016-03-11 Dmitry Gutov <dgutov@yandex.ru>
3427
3428 Support Ruby 2.3.0's safe navigation operator
3429
3430 * lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
3431 (ruby-smie--backward-token): Tokenize '&.' as '.'.
3432 (ruby-smie--implicit-semi-p): Check for possible '&' before '.'.
3433
3434 * test/indent/ruby.rb: Add an example using safe navigation
3435 operator. Fix a syntax error in existing example.
3436
34372016-03-11 John Wiegley <johnw@newartisans.com>
3438
3439 Update Emacs manual section related to character folding
3440
3441 * search.texi: Character folding is not on by default.
3442
34432016-03-11 Eli Zaretskii <eliz@gnu.org>
3444
3445 Update admin/notes/unicode
3446
3447 * admin/notes/unicode: Update the list of files from the UCD we
3448 are using. Mention the possible need to change 'ucs-names' when
3449 importing a new version of the Unicode Standard.
3450
34512016-03-10 Dmitry Gutov <dgutov@yandex.ru>
3452
3453 Add symref-filepattern entries for c?perl-mode
3454
3455 * lisp/cedet/semantic/symref/grep.el
3456 (semantic-symref-filepattern-alist): Add entries for perl-mode and
3457 cperl-mode.
3458
34592016-03-10 Ken Raeburn <raeburn@raeburn.org>
3460
3461 Don't use XRANDR 1.3 extensions if the server doesn't support them.
3462
3463 * src/xterm.h (struct x_display_info): Add fields to save XRANDR
3464 version number.
3465 * src/xfns.c (x_get_monitor_attributes): Save the version numbers
3466 after querying the X server.
3467 (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
3468 XRRGetScreenResourcesCurrent if the server doesn't support at least
3469 RANDR version 1.3. Conditionalize the code blocks on compiling
3470 against library version 1.3 or better, rather than feature tests for
3471 each function.
3472 * configure.ac: Stop testing for those two functions.
3473
34742016-03-10 Paul Eggert <eggert@cs.ucla.edu>
3475
3476 Sync with gnulib
3477
3478 This incorporates:
3479 2016-03-08 intprops: make .h file license match module
3480 2016-03-08 acl: fix missing return on Cygwin
3481 2016-03-05 extern-inline: port to PGI CC
3482 * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
3483 * m4/extern-inline.m4:
3484 Copy from gnulib.
3485
34862016-03-10 Paul Eggert <eggert@cs.ucla.edu>
3487
3488 Rework C source files to avoid ^(
3489
3490 Work around Bug#22884 by rewording comments and strings to avoid ‘(’
3491 at the start of a line unless it starts a function. This change
3492 is a short-term hack; in the longer run we plan to fix cc-mode’s
3493 performance for C files that have ‘(’ at the start of a line in a
3494 comment or string.
3495
34962016-03-10 Eli Zaretskii <eliz@gnu.org>
3497
3498 By default, etags produces unqualified Perl tag names
3499
3500 * lib-src/etags.c (Perl_functions): Produce unqualified names,
3501 unless -Q was specified.
3502 (print_help): Update the description of -Q.
3503
3504 * doc/man/etags.1: Update the documentation of -Q.
3505
3506 * test/etags/ETAGS.good_1:
3507 * test/etags/ETAGS.good_2:
3508 * test/etags/ETAGS.good_3:
3509 * test/etags/ETAGS.good_4:
3510 * test/etags/ETAGS.good_5:
3511 * test/etags/CTAGS.good: Adapt the expected test results to the
3512 changed Perl functionality.
3513
35142016-03-10 Dmitry Gutov <dgutov@yandex.ru>
3515
3516 Indent methods with keyword names correctly
3517
3518 * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3519 Rename to ruby-smie--before-method-name. Now also check if we're
3520 after a 'def' keyword. Update both callers.
3521
35222016-03-10 Dmitry Gutov <dgutov@yandex.ru>
3523
3524 Propertize character literals and special global variables differently
3525
3526 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
3527 character literals and global variables with special names with
3528 prefix and symbol syntax classes, for SMIE to tokenize them
3529 together automatically.
3530 (ruby-font-lock-keywords): Fix an old regression in highlighting
3531 character literals.
3532
35332016-03-09 John Wiegley <johnw@newartisans.com>
3534
3535 Change how /etc/NEWS presents character folding
3536
3537 * NEWS: Note that character folding is no longer the default.
3538
35392016-03-09 John Wiegley <johnw@newartisans.com>
3540
3541 Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""
3542
3543 This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
3544
35452016-03-09 Andreas Schwab <schwab@linux-m68k.org>
3546
3547 Properly handle lambda as read function (bug 22961)
3548
3549 * src/lread.c (readchar): Be more strict about checking for
3550 string in cons for read_vector.
3551 (unreadchar): Likewise.
3552
35532016-03-09 Dmitry Gutov <dgutov@yandex.ru>
3554
3555 Propertize operator symbol names with symbol syntax class
3556
3557 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
3558 Do it here.
3559 (ruby-font-lock-keywords): Instead of handling them here. Leave
3560 highlighting them to the "normal" matcher, because now we can.
3561 (ruby-smie--forward-token, ruby-smie--backward-token):
3562 Likewise, don't special-case operator symbols anymore.
3563 (ruby-smie--args-separator-p): Simplify the regexp, match operator
3564 names with \s_.
3565 (ruby-smie--implicit-semi-p): Handle the special cases of ? and =
3566 at EOL the same way: check if the character has been assigned the
3567 symbol syntax class by syntax-propertize.
3568
35692016-03-09 Dmitry Gutov <dgutov@yandex.ru>
3570
3571 Stop recognizing :#{} as symbol in ruby-mode
3572
3573 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
3574 the weird part that recognized colon followed by interpolation
3575 construct without quotes (e.g. ':#{abc}') as symbol, which is just a
3576 syntax error in any modern version of Ruby. Fix nearby bug reference.
3577
35782016-03-09 Dmitry Gutov <dgutov@yandex.ru>
3579
3580 Allow using the left shift operator without spaces on both sides
3581
3582 * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
3583 ruby-verify-heredoc, reverse the meaning of the return value, and
3584 short-circuit if preceded by a symbol not separated by whitespace.
3585
3586 * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
3587 (ruby-no-heredoc-class-self): New tests.
3588
35892016-03-08 Andreas Schwab <schwab@linux-m68k.org>
3590
3591 Properly handle unquoting in wdired (bug 22938)
3592
3593 The recorded old names are not quoted, don't unquote them.
3594
3595 * lisp/wdired.el (wdired-normalize-filename): Add argument
3596 unquotep, only unquote if non-nil.
3597 (wdired-get-filename): Don't unquote the old file name.
3598 (wdired-get-previous-link): Always unquote.
3599
36002016-03-06 Dmitry Gutov <dgutov@yandex.ru>
3601
3602 Allow splat operator before percent literal
3603
3604 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
3605 Allow splat operator before percent literal.
3606
36072016-03-06 Dmitry Gutov <dgutov@yandex.ru>
3608
3609 Don't apply the return value of goto-char as syntax class
3610
3611 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
3612 apply the return value of goto-char as syntax class.
3613
36142016-03-06 Dmitry Gutov <dgutov@yandex.ru>
3615
3616 Guard against nested percent literals
3617
3618 * lisp/progmodes/ruby-mode.el
3619 (ruby-syntax-propertize-percent-literal):
3620 Don't check the syntax status.
3621 (ruby-syntax-propertize): Check it here. And also guard against
3622 being in a larger percent literal.
3623
3624 * test/automated/ruby-mode-tests.el
3625 (ruby-no-nested-percent-literals): New test.
3626
36272016-03-06 Dmitry Gutov <dgutov@yandex.ru>
3628
3629 Recognize iuwu-mod after an escaped newline
3630
3631 * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
3632 newline is escaped.
3633 (ruby-smie-rules): Indent iuwu-mod after an escaped newline
3634 correctly.
3635
36362016-03-06 Andreas Schwab <schwab@linux-m68k.org>
3637
3638 Fix symbolic mode string conversion for s and t
3639
3640 * lisp/files.el (file-modes-char-to-right): Fix values for ?s and
3641 ?t.
3642 (file-modes-symbolic-to-number): Default to a for ts permissions.
3643
36442016-03-06 Eli Zaretskii <eliz@gnu.org>
3645
3646 Update 'ucs-names' database
3647
3648 * lisp/international/mule-cmds.el (ucs-names): Update used and
3649 unused ranges from the latest UnicodeData.txt.
3650
36512016-03-06 Eli Zaretskii <eliz@gnu.org>
3652
3653 Improve doc string of 'shell-command'
3654
3655 * lisp/simple.el (shell-command): Mention that COMMAND is prompted
3656 for. (Bug#22926)
3657
36582016-03-06 Eli Zaretskii <eliz@gnu.org>
3659
3660 Make the code in movemail_strftime more general
3661
3662 * lib-src/movemail.c (movemail_strftime): Transform the format
3663 string passed by the caller instead of using a separate format
3664 string.
3665
36662016-03-06 Eli Zaretskii <eliz@gnu.org>
3667
3668 Speed up redisplay of binary files with long series of nulls
3669
3670 * src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
3671 for a character needed for resolving the type of a series of BN
3672 and ET characters, as required by rule W5 of UAX#9, if the results
3673 of the resolution are known in advance, because we are at level
3674 zero, and the previous strong character was L.
3675 (bidi_resolve_neutral): Partially resurrect the optimization for a
3676 long series of control characters in an otherwise strictly L2R
3677 text.
3678 (bidi_level_of_next_char): Don't enter the loop that searches for
3679 a paragraph separator if the current character is already at base
3680 embedding level. (Bug#22739)
3681
36822016-03-05 Dmitry Gutov <dgutov@yandex.ru>
3683
3684 Remove the highlighting support for quoting 'like this' inside Lisp docstrings
3685
3686 Remove the highlighting support for quoting 'like this' inside
3687 Lisp docstrings. This part of
3688 c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
3689 unintentional, considering substitute-command-keys gives wrong
3690 output for such usage.
3691 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
3692 (lisp-cl-font-lock-keywords-2): Do not highlight text between two
3693 straight quotes as symbol.
3694
36952016-03-05 Paul Eggert <eggert@cs.ucla.edu>
3696
3697 Restore leading space in movemail pop output
3698
3699 * lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
3700 (strftime) [WINDOWSNT]: New macro.
3701 (mbx_delimit_begin): Go back to previous version of this code,
3702 now that there’s a special-purpose WINDOWSNT implementation
3703 that should do the right thing. That way, the output continues
3704 to use leading space rather than leading zero for day of month.
3705
37062016-03-05 Eli Zaretskii <eliz@gnu.org>
3707
3708 Fix bidi-paragraph-direction in Rmail view buffer
3709
3710 * lisp/mail/rmail.el (rmail-show-message-1): Reset
3711 bidi-paragraph-direction to nil before formatting the message for
3712 display.
3713
37142016-03-05 Dmitry Gutov <dgutov@yandex.ru>
3715
3716 Don't misindent computed property generator methods
3717
3718 * lisp/progmodes/js.el (js--looking-at-operator-p):
3719 Don't misindent computed property generator methods
3720 (https://github.com/mooz/js2-mode/issues/317).
3721
37222016-03-05 Eli Zaretskii <eliz@gnu.org>
3723
3724 Fix mbox files produced by movemail on MS-Windows
3725
3726 * lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
3727 format specifiers, as at least the MS-Windows version of strftime
3728 doesn't support %e and %T.
3729
37302016-03-04 Paul Eggert <eggert@cs.ucla.edu>
3731
3732 doc string file descriptor exhaustion fix
3733
3734 * src/doc.c (get_doc_string): Move newly-added check to a better
3735 location (Bug#22814).
3736
37372016-03-04 Michael Albinus <michael.albinus@gmx.de>
3738
3739 Fix Bug#22814
3740
3741 * src/doc.c (get_doc_string): Raise an error in case too many
3742 files are open. (Bug#22814)
3743
37442016-03-04 Lars Ingebrigtsen <larsi@gnus.org>
3745
3746 Fix insertion of edited servers in the dribble file
3747
3748 * lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
3749 insert explicit newlines, because they're quoted (bug#22903).
3750
3751 Backport:
3752
3753 (cherry picked from commit ca4e30058eba0531f38fff75f14734acffab84ea)
3754
37552016-03-04 Martin Rudalics <rudalics@gmx.at>
3756
3757 Fix previous fix of enlarge-/shrink-window
3758
3759 * lisp/window.el (enlarge-window, shrink-window): Consistently
3760 signal user-error instead of error. Resize minibuffer window by
3761 delta lines instead of pixels. When a window cannot be resized,
3762 signal an error only when this function was invoked by a command
3763 in the enlarge-/shrink-window group (this restores the behavior
3764 before the fix of bug#22723 for the non-interactive case).
3765
37662016-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
3767
3768 * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
3769
37702016-03-03 Mark Oteiza <mvoteiza@udel.edu>
3771
3772 Complete temperature units in calc-convert-temperature
3773
3774 * lisp/calc/calc-units.el (calc-convert-temperature): Complete with
3775 temperature units in math-standard-units.
3776
37772016-03-02 Dmitry Gutov <dgutov@yandex.ru>
3778
3779 Make sure to use case-sensitive search
3780
3781 * lisp/progmodes/xref.el (xref-collect-references): Make sure to
3782 use case-sensitive search.
3783
37842016-03-02 Ulf Jasper <ulf.jasper@web.de>
3785
3786 Prevent infinite loop on not-well-formed xml. (Bug#16344)
3787
3788 * lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344)
3789 * test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
3790 test cases for Bug#16344.
3791
37922016-03-02 Alan Third <alan@idiocy.org>
3793
3794 Add the missing test case for the previous patch
3795
3796 lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
3797 any processing.
3798 lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
3799 DABBREV--SUBSTITUTE-EXPANSION.
3800 test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
3801
38022016-03-02 Alan Third <alan@idiocy.org>
3803
3804 Use the correct dabbrev expansion
3805
3806 lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
3807 any processing.
3808 lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
3809 DABBREV--SUBSTITUTE-EXPANSION.
3810 test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
3811
38122016-03-02 Nicolas Petton <nicolas@petton.fr>
3813
3814 Bump version to 25.0.92
3815
3816 * README:
3817 * configure.ac:
3818 * msdos/sed2v2.inp: Bump version to 25.0.92.
3819
38202016-03-02 Nicolas Petton <nicolas@petton.fr>
3821
3822 * etc/AUTHORS: Update the AUTHORS file
3823
38242016-03-02 Nicolas Petton <nicolas@petton.fr>
3825
3826 authors.el updates
3827
3828 * admin/authors.el (authors-ignored-files): Addition.
3829
12016-03-02 Michael Albinus <michael.albinus@gmx.de> 38302016-03-02 Michael Albinus <michael.albinus@gmx.de>
2 3831
3 Fix Bug#22859 3832 Fix Bug#22859
@@ -28665,7 +32494,7 @@
28665 32494
28666This file records repository revisions from 32495This file records repository revisions from
28667commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 32496commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
28668commit 06da00c6cfb5f3cafbad92bd4584a0f50343a568 (inclusive). 32497commit 4b2d77d8dbd5b051bb681bacaee4a6faffbbdde9 (inclusive).
28669See ChangeLog.1 for earlier changes. 32498See ChangeLog.1 for earlier changes.
28670 32499
28671;; Local Variables: 32500;; Local Variables: