aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Petton2018-01-12 22:01:44 +0100
committerNicolas Petton2018-01-12 22:01:44 +0100
commit2c0cfa64553dc1d4d376b42b56e52a007222736b (patch)
treed73651b34e7dc48d1028ced8a7a4828936f91771
parent4387bb44ae59853feab94b72ec568b73ad1f827a (diff)
downloademacs-2c0cfa64553dc1d4d376b42b56e52a007222736b.tar.gz
emacs-2c0cfa64553dc1d4d376b42b56e52a007222736b.zip
* ChangeLog.3: Update
-rw-r--r--ChangeLog.34781
1 files changed, 4780 insertions, 1 deletions
diff --git a/ChangeLog.3 b/ChangeLog.3
index 732ba5a7fc7..9bf9bab1178 100644
--- a/ChangeLog.3
+++ b/ChangeLog.3
@@ -1,3 +1,4782 @@
12018-01-12 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * lisp/gnus/message.el (message-do-auto-fill): Prevent do-auto-fill from
4 adding extra citation mark (bug#29767, but it is a different bug).
5
62018-01-11 Eli Zaretskii <eliz@gnu.org>
7
8 Improve documentation of etags
9
10 * doc/emacs/maintaining.texi (Tag Syntax, Create Tags Table):
11 Improve documentation of etags options and of source language
12 detection.
13
142018-01-11 Eli Zaretskii <eliz@gnu.org>
15
16 Teach etags new interpreters for some languages
17
18 * lib-src/etags.c (Erlang_interpreters, Lua_interpreters)
19 (Prolog_interpreters, Python_interpreters, Ruby_interpreters): New
20 static variables.
21 (lang_names): Use them to set interpreters for Erlang, Lua,
22 Prolog, Python, and Ruby.
23 (find_entries): Support "/usr/bin/env FOO" form of specifying an
24 interpreter.
25
26 * test/manual/etags/perl-src/htlmify-cystic: Modify the has-bang
27 line to test the "env FOO" interpreter spec. (Bug#30075)
28 * test/manual/etags/ETAGS.good_1:
29 * test/manual/etags/ETAGS.good_2:
30 * test/manual/etags/ETAGS.good_3:
31 * test/manual/etags/ETAGS.good_4:
32 * test/manual/etags/ETAGS.good_5:
33 * test/manual/etags/ETAGS.good_6: Adapt to latest changes in test
34 files.
35
362018-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop.
39
40 * lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#29767
41
422018-01-10 Charles A. Roelli <charles@aurox.ch>
43
44 Improve documentation of fill-separate-heterogeneous-words-with-space
45
46 * lisp/textmodes/fill.el
47 (fill-separate-heterogeneous-words-with-space): Fix grammar.
48
492018-01-10 Eli Zaretskii <eliz@gnu.org>
50
51 Fix documentation of some x-* functions
52
53 * lisp/term/pc-win.el (x-display-pixel-width)
54 (x-display-pixel-height, x-display-planes)
55 (x-display-color-cells, x-server-max-request-size)
56 (x-server-vendor, x-server-version, x-display-screens)
57 (x-display-mm-height, x-display-mm-width)
58 (x-display-backing-store, x-display-visual-class): Provide doc
59 strings, so that 'makedoc' produces non-empty documentation in
60 etc/DOC for these functions. (Bug#30068)
61
622018-01-10 Philipp Stephani <phst@google.com>
63
64 Inherit query-on-exit flag to stderr process (Bug#30031)
65
66 * src/process.c (Fmake_process): Have the pipe process honor the
67 parent's query-on-exit flag.
68
69 * test/src/process-tests.el (make-process/noquery-stderr): New test.
70
712018-01-10 Michael Albinus <michael.albinus@gmx.de>
72
73 Fix Bug#30057
74
75 * test/lisp/filenotify-tests.el (file-notify--test-tmpdir): New defvar.
76 (file-notify--test-cleanup, file-notify--test-make-temp-name)
77 (file-notify-test01-add-watch, file-notify-test03-events)
78 (file-notify-test05-file-validity)
79 (file-notify-test09-watched-file-in-watched-dir)
80 (file-notify-test10-sufficient-resources): Use it. (Bug#30057)
81
822018-01-10 Glenn Morris <rgm@gnu.org>
83
84 Tag some unstable tests, and skip by default (bug#24503)
85
86 * Makefile.in (check-all): New phony target.
87 * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE):
88 Also skip unstable tests.
89 (SELECTOR_ALL): New variable.
90 (check-all): New phony target.
91 * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el
92 (eieio-test-method-order-list-6):
93 * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el
94 (eieio-test-37-obsolete-name-in-constructor):
95 Mark as unstable rather than skipping on hydra.nixos.org.
96
972018-01-10 Paul Eggert <eggert@cs.ucla.edu>
98
99 Merge from Gnulib
100
101 This incorporates:
102 2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
103 2018-01-04 update-copyright: Handle use of ©
104 2018-01-04 pthread_sigmask: Avoid compilation error on mingw
105 2018-01-02 stat-time: silence -Wunused-parameter regression
106 * build-aux/config.guess, build-aux/config.sub:
107 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
108 * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
109 * lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
110 * lib/stat-time.h: Copy from Gnulib, or regenerate.
111
1122018-01-09 Glenn Morris <rgm@gnu.org>
113
114 * lisp/epg.el (epg-start-sign): Replace obsolete functions.
115
1162018-01-09 Glenn Morris <rgm@gnu.org>
117
118 Small fix for erc-logging-enabled
119
120 * lisp/erc/erc-log.el (erc-logging-enabled):
121 Respect buffer-locality of erc-enable-logging variable.
122
1232018-01-09 Glenn Morris <rgm@gnu.org>
124
125 Quieten semantic normal usage
126
127 * lisp/cedet/semantic/lex.el (semantic-flex): Mark obsolete at
128 compile time in the normal way, not at run-time. (Bug#30035)
129
1302018-01-08 Eli Zaretskii <eliz@gnu.org>
131
132 Avoid irrelevant hyperlink in doc string of 'epa-pinentry-mode'
133
134 * lisp/epa.el (epa-pinentry-mode): Doc fix. (Bug#30025)
135
1362018-01-08 Michael Albinus <michael.albinus@gmx.de>
137
138 * doc/misc/tramp.texi (Remote processes): Mention gdb restrictions with I/O.
139
1402018-01-08 Noam Postavsky <npostavs@gmail.com>
141
142 Query background for gnome terminal version 3.22 (Bug#29716)
143
144 * lisp/term/xterm.el (xterm--version-handler): Use
145 xterm--report-background-handler for terminals reporting minor version
146 4000 and above.
147
1482018-01-07 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
149
150 Make pixel-wise scrolling less laggy
151
152 * lisp/pixel-scroll.el (pixel-dead-time, pixel-last-scroll-time):
153 New variables.
154 (pixel-scroll-up, pixel-scroll-down): Invoke 'scroll-up' or
155 'scroll-down' when called within 'pixel-dead-time'. (Bug#29737)
156
1572018-01-07 Alan Third <alan@idiocy.org>
158
159 Fix child frame placement issues (bug#29953)
160
161 * src/nsterm.h (NS_PARENT_WINDOW_LEFT_POS):
162 (NS_PARENT_WINDOW_TOP_POS): Get the parent frame through the frame
163 struct as invisible child windows are detached from their parents in
164 NS.
165 * src/nsterm.m (x_set_offset): Offscreen frames have `nil' screen
166 value, so handle that gracefully. Child frames with negative left and
167 top should be positioned relative to the bottom right of the parent
168 frame.
169
1702018-01-06 Alan Mackenzie <acm@muc.de>
171
172 Describe the precise interaction of complex primitives with the change hooks
173
174 * doc/lispref/text.texi (Change Hooks): Document that most buffer changing
175 primitives call before- and after-change-functions in balanced pairs, but that
176 some complex primitives call b-c-f once, and a-c-f zero, one, or several
177 times.
178
1792018-01-06 Eli Zaretskii <eliz@gnu.org>
180
181 Fix valgrind report in call-interactively
182
183 * src/callint.c (Fcall_interactively): Don't try to access more
184 bytes than are available in the interactive spec. (Bug#30004)
185
1862018-01-06 Eli Zaretskii <eliz@gnu.org>
187
188 * src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001)
189
1902018-01-06 Alan Mackenzie <acm@muc.de>
191
192 Fix mark-defun when there's no spaces between successive defuns.
193
194 The problem was a parse-partial-sexp call which tried to use the STOPBEFORE
195 argument to detect non-syntactic WS. This fails on a "}", which does not
196 begin a sexp.
197
198 * lisp/emacs-lisp/lisp.el (beginning-of-defun--in-emptyish-line-p): Enhance to
199 handle BOL being in a string.
200 (beginning-of-defun-comments): Call the above function in place of the call
201 to parse-partial-sexp.
202
2032018-01-06 Eli Zaretskii <eliz@gnu.org>
204
205 Fix Dired display and operations on file names with raw bytes
206
207 * src/coding.c (decode_coding): When flushing remaining raw bytes
208 from multibyte text, copy 2-byte forms of eight-bit-*
209 characters as single characters, not as 2 raw bytes. (Bug#29189)
210
2112018-01-05 Eli Zaretskii <eliz@gnu.org>
212
213 Improve documentation of 'gdb-many-windows'
214
215 * doc/emacs/building.texi (GDB User Interface Layout): Add advice
216 for using a separate frame for 'gdb-many-windows'.
217
2182018-01-05 Eli Zaretskii <eliz@gnu.org>
219
220 Fix failures in smerge-mode on MS-Windows
221
222 * lisp/vc/smerge-mode.el (smerge--refine-chopup-region): Use
223 utf-8-emacs-unix, not emacs-internal, to make the forced EOL
224 convention explicit.
225 (smerge-refine-regions): Use utf-8-emacs instead of
226 emacs-internal, to allow decoding of non-Unix EOL conventions.
227 (Bug#29916)
228
2292018-01-04 Stephen Leake <stephen_leake@stephe-leake.org>
230
231 Fix description of 'struct' generic function specializer
232 Backport:
233
234 * doc/lispref/functions.texi (Generic Functions): Fix description of
235 'struct' specializer; it must be the named struct or a child, not a
236 parent.
237
238 (cherry picked from commit b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8)
239
2402018-01-04 Charles A. Roelli <charles@aurox.ch>
241
242 * etc/DEBUG (Getting control to the debugger): Fix grammar.
243
2442018-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * lisp/vc/vc.el (vc-region-history): log-view-vc-fileset holds a list!
247
2482018-01-03 Noam Postavsky <npostavs@gmail.com>
249
250 Don't bind dframe events on load (Bug#29599)
251
252 * lisp/dframe.el (dframe-setup-hook): New hook.
253 (dframe-set-special-events): New function, containing previous
254 top-level key binding code.
255 (top-level): Add it to dframe-setup-hook.
256 (dframe-frame-mode): Run the hook.
257
2582018-01-02 Eli Zaretskii <eliz@gnu.org>
259
260 * lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949)
261
262 * lisp/textmodes/picture.el (picture-open-line): Doc fix. (Bug#29948)
263
2642018-01-01 Eli Zaretskii <eliz@gnu.org>
265
266 Fix description of 'emacs-internal'
267
268 * doc/lispref/nonascii.texi (Coding System Basics): Correct
269 inaccuracy in description of 'emacs-internal'. (Bug#29916)
270
2712018-01-01 Eli Zaretskii <eliz@gnu.org>
272
273 Update PROBLEMS with selection-related issues
274
275 * etc/PROBLEMS: Update the entry about large selections and
276 klipper. (Bug#29661)
277
2782018-01-01 Ross Donaldson <gastove@gmail.com> (tiny change)
279
280 New customization variable for python-mode indentation (Bug#28475)
281
282 * lisp/progmodes/python.el (python-indent-def-block-scale): New variable.
283 (python-indent--calculate-indentation): Let it control how many indent
284 levels are inserted for multi-line function signatures.
285
2862018-01-01 Alan Third <alan@idiocy.org>
287
288 Fix menu keyboard shortcuts on macOS (Bug#29595)
289
290 * src/nsmenu.m (addItemWithWidgetValue)[NS_IMPL_COCOA]: It looks like
291 macOS 10.13 no longer ignores long modifier strings, so explicitly use
292 an empty string.
293
2942018-01-01 Paul Eggert <eggert@cs.ucla.edu>
295
296 Fix copyright years by hand
297
298 These are dates that admin/update-copyright did not update, or
299 updated incorrectly.
300
3012018-01-01 Paul Eggert <eggert@cs.ucla.edu>
302
303 Update copyright year to 2018
304
305 Run admin/update-copyright.
306
3072018-01-01 Paul Eggert <eggert@cs.ucla.edu>
308
309 Merge from Gnulib
310
311 This incorporates:
312 2018-01-01 maint: Run 'make update-copyright'
313 2017-12-29 Add cross-compilation results for GNU/Hurd.
314 2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0
315
3162017-12-31 Gemini Lasswell <gazally@runbox.com>
317
318 Don't add empty keyboard macro to macro ring (Bug#24992)
319
320 * lisp/kmacro.el (kmacro-end-call-mouse): Don't save a newly defined
321 macro if it is empty.
322
323 * test/lisp/kmacro-tests.el (kmacro-tests-end-and-call-macro-mouse):
324 Remove expected failure tag.
325
3262017-12-31 Eli Zaretskii <eliz@gnu.org>
327
328 Allow customization of decoding of "man" command
329
330 * lisp/man.el (Man-coding-system): New defcustom.
331 (Man-start-calling): Use it, and also pay attention to user
332 overriding coding-system-for-read. (Bug#29872)
333
3342017-12-31 Daiki Ueno <ueno@gnu.org>
335
336 * etc/NEWS: Add security consideration note on passphrase input
337
3382017-12-29 Eli Zaretskii <eliz@gnu.org>
339
340 Fix subtle problem with scroll-down when scroll-margin is nonzero
341
342 * src/window.c (window_scroll_pixel_based): Account for
343 scroll-margin when scrolling down, i.e. moving window-start
344 towards the beginning of the buffer. Reported by zhang cc
345 <ccsmile2008@outlook.com> in
346 http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html.
347
3482017-12-29 Eli Zaretskii <eliz@gnu.org>
349
350 Fix problems with indexing in User manual
351
352 * doc/emacs/basic.texi (Continuation Lines, Inserting Text)
353 (Moving Point):
354 * doc/emacs/help.texi (Help Echo, Package Keywords, Help Mode):
355 * doc/emacs/trouble.texi (Quitting):
356 * doc/emacs/mark.texi (Setting Mark, Disabled Transient Mark):
357 * doc/emacs/custom.texi (Modifier Keys, Init Examples)
358 (Creating Custom Themes):
359 * doc/emacs/programs.texi (Program Modes, Expressions, Hideshow)
360 (Basic Indent, Info Lookup, Symbol Completion):
361 * doc/emacs/screen.texi (Echo Area):
362 * doc/emacs/xresources.texi (Table of Resources, GTK Names in Emacs):
363 * doc/emacs/display.texi (Line Truncation, Cursor Display):
364 * doc/emacs/files.texi (File Names, Backup, File Archives):
365 * doc/emacs/dired.texi (Operating on Files, Dired Enter):
366 * doc/emacs/commands.texi (User Input):
367 * doc/emacs/mule.texi (International, Unibyte Mode)
368 (International Chars):
369 * doc/emacs/vc1-xtra.texi (RCS and SCCS, Version Headers)
370 (CVS Options):
371 * doc/emacs/modes.texi (Major Modes, Minor Modes):
372 * doc/emacs/indent.texi (Just Spaces):
373 * doc/emacs/frames.texi (Mouse Avoidance, Mode Line Mouse)
374 (Frame Commands):
375 * doc/emacs/cmdargs.texi (Initial Options):
376 * doc/emacs/abbrevs.texi (Dabbrev Customization):
377 * doc/emacs/mini.texi (Completion Example, Completion Commands):
378 * doc/emacs/calendar.texi (Writing Calendar Files, Calendar Unit Motion)
379 (From Other Calendar):
380 * doc/emacs/regs.texi (Text Registers, Bookmarks):
381 * doc/emacs/buffers.texi (Several Buffers, Select Buffer):
382 * doc/emacs/maintaining.texi (Xref Commands):
383 * doc/emacs/windows.texi (Pop Up Window):
384 * doc/emacs/text.texi (Text, Org Mode):
385 * doc/emacs/killing.texi (Other Kill Commands):
386 * doc/emacs/misc.texi (Document View, Gnus Group Buffer)
387 (Gnus Summary Buffer, Shell Mode):
388 * doc/emacs/cal-xtra.texi (Sexp Diary Entries): Remove or reword
389 redundant identical index entries.
390 * doc/emacs/custom.texi (Mouse Buttons)
391 * doc/emacs/files.texi (Reverting): Fix hyphenation.
392 * doc/emacs/emacs.texi (Top): Improve wording of Index menu items.
393 * doc/emacs/files.texi (File Conveniences):
394 * doc/emacs/programs.texi (MixedCase Words): Make entries that
395 belong to Concept Index be indexed with @cindex. (Bug#29888)
396
3972017-12-29 Alan Mackenzie <acm@muc.de>
398
399 * lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list.
400
4012017-12-28 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846
404
405 Don't mess with the lock file when inhibit_modification_hooks is set,
406 just like we do in prepare_to_modify_buffer_1.
407
4082017-12-28 Eli Zaretskii <eliz@gnu.org>
409
410 Improve documentation of 'inhibit-modification-hooks' and friends
411
412 * src/buffer.c (Fset_buffer_modified_p)
413 (Frestore_buffer_modified_p): Doc fixes.
414 * src/insdel.c (syms_of_insdel) <inhibit-modification-hooks>:
415 Document in the doc string that this variable also inhibits file
416 locks and active region handling. (Bug#29846)
417
4182017-12-28 David Pathakjee <dpathakjee@gmail.com> (tiny change)
419
420 Fix doc string of 'enable-recursive-minibuffers'
421
422 * src/minibuf.c (syms_of_minibuf) <enable-recursive-minibuffers>:
423 Doc fix. (Bug#29873)
424
4252017-12-27 Eli Zaretskii <eliz@gnu.org>
426
427 Fix documentation of delsel and of killing text
428
429 * doc/emacs/killing.texi (Appending Kills): Make sure the text
430 with 2 spaces is not broken between 2 lines.
431 * doc/emacs/mark.texi (Using Region): Remove the sentence about
432 delsel mode that describes behavior which exists even without
433 delsel mode turned on. Suggested by Petteri Hintsanen
434 <petterih@iki.fi> in emacs-manual-bugs@gnu.org.
435
436 * lisp/delsel.el (delete-selection-mode): Doc fix.
437
4382017-12-27 Glenn Morris <rgm@gnu.org>
439
440 * doc/lispref/strings.texi (Case Conversion):
441 Use a TeX font that support ligatures.
442
4432017-12-27 Charles A. Roelli <charles@aurox.ch>
444
445 * doc/misc/speedbar.texi (Top): Fix grammar.
446
447 * lisp/subr.el (with-silent-modifications): Doc fixes.
448
4492017-12-26 Eli Zaretskii <eliz@gnu.org>
450
451 Fix curved quotes in printed manual
452
453 * doc/emacs/text.texi (Quotation Marks): Fix curved quote
454 characters in the printed version of the manual.
455
4562017-12-25 Paul Eggert <eggert@cs.ucla.edu>
457
458 Say that "gnus-cloud" is a parody name
459
4602017-12-25 Eli Zaretskii <eliz@gnu.org>
461
462 More improvements for text.texi
463
464 * doc/emacs/text.texi (Outline Motion): Avoid unneeded
465 repetition. Suggested by Petteri Hintsanen <petterih@iki.fi> in
466 emacs-manual-bugs@gnu.org.
467
4682017-12-24 Eli Zaretskii <eliz@gnu.org>
469
470 Adjudicate review comments for the "Text" chapter of user manual
471
472 * doc/emacs/text.texi (Text): Rearrange text for clarity. Add
473 cross-reference to the Org manual. Make the cross-reference to
474 Outline Mode appear in online manuals as well (the conditional was
475 a forgotten remnant from time immemoriam).
476 (Paragraphs): Add a note that 'paragraph-start' and
477 'paragraph-separate' should not be anchored.
478 (Auto Fill): Remove redundant text. Suggested by Petteri
479 Hintsanen <petterih@iki.fi> in emacs-manual-bugs@gnu.org.
480
4812017-12-24 Andreas Schwab <schwab@linux-m68k.org>
482
483 * lisp/url/url-http.el
484 (url-http-wait-for-headers-change-function): Change message to
485 url-http-debug.
486
4872017-12-24 Alan Mackenzie <acm@muc.de>
488
489 In C-h k <mouse-n>, alert user to existence of any matching down-mouse-event
490
491 , and instruct her to hold the mouse button to display its documentation.
492
493 * lisp/help.el (help-downify-mouse-event-type): New function.
494 (help-read-key-sequence, describe-key): handle double-click-time being nil or
495 t.
496 (describe-key): Print out instructions for displaying documentation of
497 matching mouse down key sequence command when such exists.
498
4992017-12-23 Andreas Schwab <schwab@linux-m68k.org>
500
501 * net/eww.el (eww): Handle URLs without host part.
502
5032017-12-23 Alan Mackenzie <acm@muc.de>
504
505 Make C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc.
506
507 Currently, C-h c/k for S-mouse-1 reports that S-mouse-1 is unbound, ignoring
508 that S-down-mouse-1 is bound. We fix this by reporting on the "latest" mouse
509 event of a sequence which is bound.
510
511 * lisp/help.el (help-read-key-sequence): Save all encountered mouse events in
512 a list. Return the latest one which has a binding.
513
5142017-12-23 Eli Zaretskii <eliz@gnu.org>
515
516 Avoid crashes when ':eval' deletes our frame
517
518 * src/xdisp.c (display_mode_element): Signal an error if
519 ':eval' somehow deletes the frame whose window we are
520 redisplaying. (Bug#29726)
521
5222017-12-23 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
523
524 Fix scrolling up in pixel-scroll.el
525
526 * lisp/pixel-scroll.el (pixel-scroll-up): Do not try to move cursor
527 down when EOB is shown at the top. This function is reverted to
528 commit 1bda71ec3b11eeb4d06c3da094a3cb21bac18d5c. (bug#29737)
529
5302017-12-23 Eli Zaretskii <eliz@gnu.org>
531
532 Fix problems with ligatures in PDF version of ELisp manual
533
534 * doc/lispref/strings.texi (Case Conversion): Avoid problems with
535 ligatures in printed versions of the manual. (Bug#29818)
536
5372017-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 (elisp-flymake-byte-compile): Handle killed buffer in sentinel
540
541 * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
542 Don't burp if the source-buffer has been killed.
543
5442017-12-22 Glenn Morris <rgm@gnu.org>
545
546 Avoid some overfull lines in PDF lispref
547
548 * doc/lispref/commands.texi (Reading One Event):
549 * doc/lispref/display.texi (SVG Images):
550 * doc/lispref/frames.texi (Size Parameters):
551 * doc/lispref/syntax.texi (Categories):
552 * doc/lispref/windows.texi (Frame Layouts with Side Windows):
553 Avoid overfull lines.
554
5552017-12-22 Glenn Morris <rgm@gnu.org>
556
557 Avoid some overfull lines in PDF manual
558
559 * doc/emacs/display.texi (Display Custom):
560 * doc/emacs/search.texi (Other Repeating Search):
561 * doc/emacs/text.texi (Quotation Marks): Avoid overfull lines.
562
5632017-12-22 Glenn Morris <rgm@gnu.org>
564
565 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
566 Fix ref.
567
5682017-12-22 Eli Zaretskii <eliz@gnu.org>
569
570 * lisp/emacs-lisp/inline.el (define-inline): Add a doc string.
571
5722017-12-22 Eli Zaretskii <eliz@gnu.org>
573
574 Fix doc string of 'footnote-style-alist'
575
576 * lisp/mail/footnote.el (footnote-style-alist): Remove a reference
577 to non-existing files from doc string. (Bug#29759)
578
5792017-12-22 Eli Zaretskii <eliz@gnu.org>
580
581 Improve documentation of selecting windows
582
583 * doc/lispref/windows.texi (Basic Windows, Selecting Windows):
584 Clarify what selecting a window means for keyboard input, and that
585 input focus may need to be considered when selecting windows on
586 other frames. See
587 http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00372.html
588 for more details.
589
5902017-12-22 Eli Zaretskii <eliz@gnu.org>
591
592 Improve documentation of records
593
594 * doc/lispref/Makefile.in (srcs): Add the forgotten records.texi.
595 * doc/lispref/records.texi (Records): Recommend that record type
596 names use package-naming conventions.
597
598 * etc/NEWS: Add the naming convention recommendation for record
599 types.
600
6012017-12-22 Eli Zaretskii <eliz@gnu.org>
602
603 * etc/NEWS: Mention the removal of pinentry.el. (Bug#27445)
604
6052017-12-22 Eli Zaretskii <eliz@gnu.org>
606
607 Fix interactive spec of 'semantic-ia-show-variants'
608
609 * lisp/cedet/semantic/ia.el (semantic-ia-show-variants): Fix the
610 interactive spec to match the function's expectations. (Bug#29770)
611
6122017-12-22 Eli Zaretskii <eliz@gnu.org>
613
614 Fix documentation of 'mouse-drag-and-drop-region' and friends
615
616 * doc/emacs/frames.texi (Drag and Drop): Index
617 'mouse-drag-and-drop-region-cut-when-buffers-differ',
618 'mouse-drag-and-drop-region-show-tooltip', and
619 'mouse-drag-and-drop-region-show-cursor'.
620
621 * etc/NEWS: Fix the format of the related entries.
622
6232017-12-22 Eli Zaretskii <eliz@gnu.org>
624
625 Improve detection of speller version in ispell.el
626
627 * lisp/textmodes/ispell.el (ispell-check-version): Accept more
628 general forms of version numbers for Aspell, Hunspell, and
629 Enchant, to include various beta and prereleases. (Bug#29801)
630
6312017-12-22 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
632
633 Document 'mouse-drag-and-drop-region' options and mention them in NEWS
634
635 * doc/emacs/frames.texi (Drag and Drop):
636 * etc/NEWS (times): Document options for
637 'mouse-drag-and-drop-region' and mention them in NEWS.
638
6392017-12-22 Martin Rudalics <rudalics@gmx.at>
640
641 Fix uses of 'nil' and 'non-nil' in manuals and a few more minor issues
642
643 * doc/emacs/building.texi (Grep Searching): Fix doc of
644 'grep-save-buffers'.
645 (Drag and Drop): Reorder paragraphs. Fix doc of
646 'mouse-drag-and-drop-region'.
647 * doc/emacs/frames.texi (Word and Line Mouse):
648 * doc/emacs/search.texi (Other Repeating Search):
649 * doc/lispref/compile.texi (Compilation Functions):
650 * doc/lispref/files.texi (Directory Names):
651 * doc/lispref/functions.texi (Advising Named Functions):
652 * doc/lispref/keymaps.texi (Controlling Active Maps):
653 * doc/lispref/lists.texi (Association Lists):
654 * doc/lispref/windows.texi (Quitting Windows): Fix uses of
655 'non-nil' and 'nil'.
656
6572017-12-21 Philipp Stephani <phst@google.com>
658
659 Document that mode commands should be idempotent.
660
661 * doc/lispref/modes.texi (Major Mode Conventions, Minor Mode
662 Conventions): Document that the mode commands should be idempotent.
663
6642017-12-21 Alan Mackenzie <acm@muc.de>
665
666 Fontify a CPP construct correctly when a comment follows without spaces
667
668 Do this by removing a broken optimization in the state cache which put
669 category text properties on a character between the end of the CPP construct
670 and the beginning of the comment. This can't work when there's no such
671 character.
672
673 * lisp/progmodes/cc-defs.el (c-cpp-delimiter, c-set-cpp-delimiters)
674 (c-clear-cpp-delimiters, c-comment-out-cpps, c-with-cpps-commented-out)
675 (c-with-all-but-one-cpps-commented-out): Remove.
676
677 * lisp/progmodes/cc-engine.el (c-no-comment-end-of-macro): Return the comment
678 start position rather than one character before it.
679 (c-invalidate-state-cache, c-parse-state): Remove the invocations of
680 c-with-all-but-one-cpps-commented-out and c-with-cpps-commented-out.
681
682 * lisp/progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): Rename to
683 c-neutralize-syntax-in-CPP and remove the bits which applied category
684 properties.
685
686 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Incorporate the
687 new name of the function c-neutralize-syntax-in-CPP.
688
6892017-12-21 Eli Zaretskii <eliz@gnu.org>
690
691 Prevent infloop in redisplay on TTY frames
692
693 * src/xdisp.c (extend_face_to_end_of_line): Avoid infloop when
694 filling up display margins with the default face's background.
695 (Bug#29789)
696
6972017-12-21 Alan Mackenzie <acm@muc.de>
698
699 Fix loss of documentation face in certain CC Mode doc comment situations
700
701 * lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Take into account
702 the possibility of font-lock-comment-delimiter-face. Test rigorously for
703 "/**" (etc.) being itself inside a literal, rather than just depending on the
704 face of the previous character.
705
7062017-12-21 Daiki Ueno <ueno@gnu.org>
707
708 Remove pinentry.el
709
710 * lisp/epg.el (epg--start): Remove the use of pinentry.el.
711 * lisp/net/pinentry.el: Remove (bug#27445).
712
7132017-12-21 Ted Zlatanov <tzz@lifelogs.com>
714
715 Special-case %DUMBFW for GnuTLS between 3.2.5 and 3.5.1
716
717 * src/gnutls.c: Introduce HAVE_GNUTLS_EXT__DUMBFW for GnuTLS >= 3.2.5.
718 (Fgnutls_available_p): Use it.
719
7202017-12-21 Andy Moreton <andrewjmoreton@gmail.com>
721
722 Work around GnuTLS version issues with %DUMBFW (tiny change)
723
724 * src/gnutls.c: Introduce HAVE_GNUTLS_EXT_GET_NAME and use it.
725 (init_gnutls_functions): Use it.
726 (Fgnutls_available_p): Use it (Bug#25061). Fix Vlibrary_cache bug.
727
7282017-12-20 Dmitry Gutov <dgutov@yandex.ru>
729
730 Merge branch 'widen-less' into emacs-26
731
7322017-12-20 Glenn Morris <rgm@gnu.org>
733
734 * lisp/erc/erc.el (erc-shorten-server-name): Silence compiler warning.
735
7362017-12-20 Glenn Morris <rgm@gnu.org>
737
738 Fix some more aliases to user options
739
740 * lisp/cus-edit.el (custom-mode-hook):
741 * lisp/erc/erc.el (erc-default-coding-system):
742 * lisp/progmodes/python.el (python-indent, python-guess-indent)
743 (python-shell-virtualenv-path)
744 (python-shell-completion-module-string-code)
745 (python-shell-completion-pdb-string-code, python-use-skeletons):
746 Define aliases to user options before the options are defined.
747
7482017-12-20 Glenn Morris <rgm@gnu.org>
749
750 Fix some flymake aliases
751
752 * lisp/progmodes/flymake-proc.el (flymake-xml-program)
753 (flymake-compilation-prevents-syntax-check, flymake-master-file-dirs)
754 (flymake-master-file-count-limit, flymake-allowed-file-name-masks):
755 * lisp/progmodes/flymake.el (flymake-start-syntax-check-on-find-file):
756 Define aliases to user options before the options are defined.
757
7582017-12-20 Glenn Morris <rgm@gnu.org>
759
760 Unbreak a fileio test on non-Mac OS X systems
761
762 * test/src/fileio-tests.el (fileio-tests--symlink-failure):
763 Don't use an undefined coding system.
764
7652017-12-20 Robert Pluim <rpluim@gmail.com>
766
767 Fix updating scrollbar sizes when scaling is in effect
768
769 * src/gtkutil.c (xg_update_scrollbar_pos): Update width of
770 scrollbar when scaling is in effect.
771 (xg_update_horizontal_scrollbar_pos): Update scrollbar size
772 when scaling is in effect.
773
7742017-12-20 Dmitry Gutov <dgutov@yandex.ru>
775
776 Widen in indent-for-tab-command in the normal case, too
777
778 Fixing this obvious omission.
779 * lisp/indent.el (indent--funcall-widened): New function.
780 (indent-for-tab-command): Use it.
781
7822017-12-19 Ted Zlatanov <tzz@lifelogs.com>
783
784 Collect GnuTLS extensions and use them to set %DUMBFW if supported
785
786 * lisp/net/gnutls.el (gnutls-boot-parameters): Use it to set %DUMBFW
787 only when it's supported as "ClientHello Padding" (Bug#25061).
788
789 * src/gnutls.c (Fgnutls_available_p): Get extension names and
790 put them in the GnuTLS capabilities, using a hard-coded limit
791 of 100 since GnuTLS MAX_EXT_TYPES is not exported.
792
7932017-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
794
795 * test/lisp/emacs-lisp/derived-tests.el: Fix copy&paste leftovers
796
7972017-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * lisp/subr.el (delayed-after-hook-functions): Rename from ...-forms
800
801 (run-mode-hooks): `funcall` the functions instead of `eval`ing the forms.
802 * lisp/emacs-lisp/derived.el (define-derived-mode): Push functions
803 rather than forms (bug#29679).
804
8052017-12-18 Katsumi Yamaoka <yamaoka@jpl.org>
806
807 * lisp/net/shr.el (shr-string-pixel-width): Return pixel-width,
808 not position (bug#29734).
809
8102017-12-18 Dmitry Gutov <dgutov@yandex.ru>
811
812 Replace the mention of c-indent-defun with js-indent-line
813
814 * doc/lispref/text.texi (Mode-Specific Indent):
815 Avoid mentioning c-indent-defun in the context of multi-mode
816 indentation.
817
8182017-12-17 Charles A. Roelli <charles@aurox.ch>
819
820 python.el doc fixes
821
822 * lisp/progmodes/python.el (python-shell-accept-process-output):
823 (python-shell-comint-end-of-output-p):
824 (python-shell-first-prompt-hook):
825 (python-info-beginning-of-backslash): Doc fixes.
826
8272017-12-17 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
828
829 Make 'mouse-drag-and-drop-region' more robust and customizable
830
831 * lisp/mouse.el
832 (mouse-drag-and-drop-region-cut-when-buffers-differ): New option
833 to permit 'mouse-drag-and-drop-region' to cut text also when source
834 and destination buffers differ.
835 (mouse-drag-and-drop-region-show-tooltip): New option to toggle
836 display of tooltip during mouse dragging on graphic displays.
837 (mouse-drag-and-drop-region-show-cursor): New option to toggle
838 moving point with mouse cursor during mouse dragging of region.
839 (mouse-drag-and-drop-region): New face to highlight original
840 text while dragging.
841 (mouse-drag-and-drop-region): Make use of new options and face.
842 Ignore errors during tracking.
843
8442017-12-17 Oscar Fuentes <ofv@wanadoo.es>
845
846 Backport: Don't compare arguments that can be nil (Bug#28039)
847
848 copy-region-as-kill can be called passing nil as `beg' and
849 `end'. Magit does that, which caused an error when this advice was in
850 effect.
851
852 * lisp/ses.el (ses--advice-copy-region-as-kill): avoid comparison
853 unless `beg' and `end' are non-nil.
854
8552017-12-17 Noam Postavsky <npostavs@gmail.com>
856
857 Don't mess up syntax-ppss cache in electric-pair (Bug#29710)
858
859 In Emacs 25 and above, calling `scan-sexps', `parse-partial-sexp', or
860 similar may update the syntax-ppss cache if
861 `parse-sexp-lookup-properties' is non-nil. Therefore, when calling
862 any of these functions with a different than normal syntax-table, the
863 cache must be cleaned afterwards.
864 * lisp/elec-pair.el (electric-pair--with-uncached-syntax): New macro.
865 (electric-pair--syntax-ppss, electric-pair--balance-info): Use it.
866
8672017-12-17 Glenn Morris <rgm@gnu.org>
868
869 * etc/emacs.appdata.xml: Update file format.
870
8712017-12-16 Alan Third <alan@idiocy.org>
872
873 Use utf-8-hfs-unix on macOS (Bug#29712)
874
875 This is a quick fix for the Emacs 26 release. Do not merge to master.
876
877 * test/src/fileio-tests.el (fileio-tests--symlink-failure): Override
878 file-name-coding-system to utf-8-hfs-unix to prevent test failure.
879
8802017-12-16 Alan Mackenzie <acm@muc.de>
881
882 * lisp/progmodes/cc-defs.el (c-version): Update to 5.33.1.
883
8842017-12-16 Michael Albinus <michael.albinus@gmx.de>
885
886 Improve fix for Bug#29712
887
888 * test/lisp/net/tramp-tests.el
889 (tramp-test32-environment-variables-and-port-numbers):
890 Adapt check for systems which do not support "echo -n". (Bug#29712)
891
8922017-12-16 Eli Zaretskii <eliz@gnu.org>
893
894 * doc/lispref/sequences.texi (Sequence Functions): Improve indexing.
895
8962017-12-16 Eli Zaretskii <eliz@gnu.org>
897
898 Avoid reordering of output in 'shr-insert-document'
899
900 * lisp/net/shr.el (shr-string-pixel-width): Preserve point across
901 shr-pixel-column invocations. (Bug#29734)
902
9032017-12-16 Eli Zaretskii <eliz@gnu.org>
904
905 Improve documentation of 'invisible-p'
906
907 * doc/lispref/display.texi (Invisible Text): Document the return
908 value of 'invisible-p'.
909
910 * src/xdisp.c (Finvisible_p): Rename the argument POS. Doc fix.
911 (Bug#29721)
912
9132017-12-16 Martin Rudalics <rudalics@gmx.at>
914
915 Remove one more check that Vframe_list is non-nil
916
917 * src/dispnew.c (check_glyph_memory): Remove no-longer-needed
918 check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer
919 assumes that.
920
9212017-12-16 Simen Heggestøyl <simenheg@gmail.com>
922
923 Fix off-by-one error in 'css--hex-color'
924
925 * lisp/textmodes/css-mode.el (css--hex-color): Fix off-by-one error.
926
927 * test/lisp/textmodes/css-mode-tests.el (css-test-hex-color): New test
928 for 'css--hex-color'.
929
9302017-12-16 Aaron Jensen <aaronjensen@gmail.com>
931
932 Save and restore text-pixel height and width of frames (Bug#28442)
933
934 * lisp/frameset.el (frameset--record-relationships): Record
935 text-pixel-height and text-pixel-width of frame.
936 (frameset--restore-frame): Restore text-pixel-height and
937 text-pixel-width of frame if available. (Bug#28442)
938
9392017-12-16 Noam Postavsky <npostavs@gmail.com>
940
941 Partially revert "Mention new strictness for &optional, &rest..."
942
943 The changes to cl argument parsing are not backwards compatible, and
944 cause inconvenience when writing macros (e.g., instead of doing '&aux
945 ,@auxargs', some more complicated conditionals would be required).
946 The `cl-defstruct' macro makes use of this convenience when defining
947 empty structs (Bug#29728).
948 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
949 (cl--do-&aux, cl--do-arglist): Undo strict checking of &rest, &key,
950 and &aux.
951 * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): Remove
952 test.
953
9542017-12-15 Glenn Morris <rgm@gnu.org>
955
956 * lisp/vc/smerge-mode.el (smerge-refine): Respect font-lock-mode.
957
958 * lisp/vc/smerge-mode.el (smerge-refine): Replace obsolete alias.
959
9602017-12-15 Paul Eggert <eggert@cs.ucla.edu>
961
962 FOR_EACH_FRAME no longer assumes frame-list
963
964 This cleans up a recent fix related to Bug#29661.
965 Suggested by Stefan Monnier in:
966 https://lists.gnu.org/r/emacs-devel/2017-12/msg00544.html
967 * src/frame.c (next_frame, prev_frame, delete_frame):
968 Restore debugging checks that Vframe_list is non-nil,
969 as FOR_EACH_FRAME no longer has these checks.
970 (delete_frame): Remove no-longer-needed checks that Vframe_list is
971 non-nil, as FOR_EACH_FRAME no longer assumes that.
972 * src/frame.h (FOR_EACH_FRAME): Do not assume Vframe_list is non-nil.
973
9742017-12-15 Eli Zaretskii <eliz@gnu.org>
975
976 * src/font.c (Ffont_info): Doc fix. (Bug#29682)
977
9782017-12-15 Basil L. Contovounesios <contovob@tcd.ie>
979
980 Modernise message.el face spec syntax
981
982 * lisp/gnus/message.el (message-header-to, message-header-cc)
983 (message-header-subject, message-header-newsgroups)
984 (message-header-other, message-header-name, message-header-xheader)
985 (message-separator, message-cited-text, message-mml):
986 Use (DISPLAY . PLIST) face spec syntax as recommended in
987 `(elisp) Defining Faces'. (Bug#29405)
988
9892017-12-15 Basil L. Contovounesios <contovob@tcd.ie>
990
991 Update message.el obsolete face aliases
992
993 * lisp/gnus/message.el: (message-header-to, message-header-cc)
994 (message-header-subject, message-header-newsgroups)
995 (message-header-other, message-header-name, message-header-xheader)
996 (message-separator, message-cited-text, message-mml):
997 Use define-obsolete-face-alias. (Bug#29405)
998
9992017-12-15 Eli Zaretskii <eliz@gnu.org>
1000
1001 Improve documentation of TERM environment variable
1002
1003 * doc/emacs/trouble.texi (Checklist):
1004 * doc/emacs/building.texi (Compilation Shell):
1005 * doc/emacs/misc.texi (Shell Options): Improve indexing of TERM.
1006 * doc/emacs/building.texi (Compilation Shell): Mention
1007 'comint-terminfo-terminal' in conjunction with the TERM value.
1008
10092017-12-15 Allen Li <darkfeline@felesatra.moe>
1010
1011 Add option to configure comint TERM
1012
1013 * lisp/comint.el (comint-terminfo-terminal): New defcustom.
1014 (comint-term-environment): New function for setting terminal options
1015 (comint-exec-1): Use comint-term-environment. (Bug#29583)
1016 * lisp/progmodes/compile.el (compilation-start): Use comint-term-environment.
1017
1018 * etc/NEWS:
1019 * doc/emacs/misc.texi (Shell Options): Document the new option.
1020
10212017-12-15 Eli Zaretskii <eliz@gnu.org>
1022
1023 Better support utf-8-with-signature and utf-8-hfs in XML/HTML
1024
1025 * lisp/international/mule.el (sgml-xml-auto-coding-function):
1026 Support UTF-8 with BOM and utf-8-hfs as variants of UTF-8, and
1027 obey the buffer's encoding if it is one of these variants, instead
1028 of re-encoding in UTF-8 proper. (Bug#20623)
1029
10302017-12-15 Eli Zaretskii <eliz@gnu.org>
1031
1032 * lisp/menu-bar.el (menu-bar-mode): Doc fix.
1033
10342017-12-15 Michael Albinus <michael.albinus@gmx.de>
1035
1036 Fix Bug#29712 in tramp-tests.el
1037
1038 * test/lisp/net/tramp-tests.el
1039 (tramp-test32-environment-variables-and-port-numbers):
1040 Skip for macOS. (Bug#29712)
1041
10422017-12-15 Martin Rudalics <rudalics@gmx.at>
1043
1044 Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961)
1045
1046 This does not fix Bug#29961 but avoids that Emacs segfaults when
1047 trying to shut down because it lost connection to the X server.
1048
1049 * src/dispnew.c (check_glyph_memory):
1050 * src/frame.c (delete_frame): Don't run FOR_EACH_FRAME when
1051 there's no frame left (Bug#29961).
1052
10532017-12-15 Glenn Morris <rgm@gnu.org>
1054
1055 * lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable.
1056
10572017-12-15 Ted Zlatanov <tzz@lifelogs.com>
1058
1059 Remember password change for IMAP in Gnus (Bug#29692)
1060
1061 Reported by Trey Jackson <trey_jackson@mentor.com>.
1062
1063 * lisp/gnus/mail-source.el (mail-source-fetch-imap): Check
1064 `mail-source-password-cache' for password.
1065
10662017-12-15 Ted Zlatanov <tzz@lifelogs.com>
1067
1068 Add %DUMBFW to the default GnuTLS priority strings
1069
1070 * lisp/net/gnutls.el (gnutls-boot-parameters): Add %DUMBFW to
1071 the default priority strings (Bug#25061).
1072
1073 * etc/NEWS: Mention it.
1074
1075 * doc/misc/emacs-gnutls.texi (Help For Users): Point to the
1076 GnuTLS priority string documentation URL.
1077
10782017-12-15 Glenn Morris <rgm@gnu.org>
1079
1080 Small fixes prompted by make check-declare
1081
1082 * lisp/frame.el (x-focus-frame): Update declaration.
1083 (ns-mouse-absolute-pixel-position): Fix declaration.
1084 * lisp/vc/diff-mode.el (diff-refine-hunk):
1085 Use smerge-refine-regions rather than obsolete alias.
1086 (smerge-refine-subst): Remove declaration, no longer relevant.
1087
10882017-12-15 Glenn Morris <rgm@gnu.org>
1089
1090 Fix some custom groups
1091
1092 * lisp/vc/vc-hooks.el (vc-faces): Rename from vc-state-faces.
1093 * lisp/vc/cvs-status.el (cvs-status): Unused, remove.
1094
10952017-12-14 Alan Mackenzie <acm@muc.de>
1096
1097 Fix fontification of first declaration within a C++ lambda form.
1098
1099 * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): Cease
1100 spuriously recognizing the braces of a lambda form as a brace list when there
1101 is an "=" preceding the introductory brackets.
1102
11032017-12-14 Charles A. Roelli <charles@aurox.ch>
1104
1105 * src/data.c (Fadd_variable_watcher): Doc fix.
1106
11072017-12-14 Alan Mackenzie <acm@muc.de>
1108
1109 Fix misfontification of C++ member initialization list after "throw"
1110
1111 * lisp/progmodes/cc-engine.el (c-forward-type): Stop recognizing a "type"
1112 starting with "throw", by using c-opt-type-modifier-prefix-key.
1113
1114 * lisp/progmodes/cc-langs.el (c-type-modifier-prefix-kwds): New lang const
1115 which, in C++, doesn't contain "throw", otherwise like c-type-modifier-kwds.
1116 (c-opt-type-modifier-prefix-key): New lang const and var, a regexp matching
1117 any keyword in the previous lang const.
1118
11192017-12-14 Dmitry Gutov <dgutov@yandex.ru>
1120
1121 Consolidate 'widen' calls
1122
1123 * lisp/progmodes/prog-mode.el (prog-indentation-context):
1124 Un-document all elements but the first.
1125 (prog-widen): Remove.
1126 (http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00321.html)
1127
1128 * doc/lispref/text.texi (Mode-Specific Indent): Update.
1129
1130 * lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
1131 Don't call widen.
1132
1133 * lisp/progmodes/python.el
1134 (python-indent-guess-indent-offset)
1135 (python-info-current-defun): Replace prog-widen with widen;
1136 these functions are not called during indentation.
1137 (python-indent-context)
1138 (python-indent--calculate-indentation)
1139 (python-info-dedenter-opening-block-message)
1140 (python-info-line-ends-backslash-p)
1141 (python-info-beginning-of-backslash)
1142 (python-info-continuation-line-p)
1143 (python-info-current-defun): Remove 'widen' calls.
1144
1145 * lisp/indent.el (indent-according-to-mode)
1146 (indent-for-tab-command, indent-region): Move them here.
1147
1148 * lisp/textmodes/mhtml-mode.el (mhtml-indent-line):
1149 Bind prog-indentation-context to one-element list.
1150
11512017-12-14 Martin Rudalics <rudalics@gmx.at>
1152
1153 Fix doc-string of Fbuffer_list
1154
1155 * src/buffer.c (Fbuffer_list): Fix doc-string.
1156
11572017-12-14 Basil L. Contovounesios <contovob@tcd.ie>
1158
1159 Don't raise an extraneous frame (bug#29696)
1160
1161 * lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): Lookup
1162 summary buffer keys from article buffer without affecting window
1163 configuration (bug#29696).
1164
11652017-12-13 Noam Postavsky <npostavs@gmail.com>
1166
1167 Mention new strictness for &optional, &rest in arglists (Bug#29165)
1168
1169 * etc/NEWS: Explain that '&optional' not followed by a variable is now
1170 an error.
1171 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda, cl--do-&aux)
1172 (cl--do-arglist): Also reject '&optional', '&rest', or '&aux' not
1173 followed by a variable for consistency.
1174 * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): New
1175 test.
1176
11772017-12-13 Alan Mackenzie <acm@muc.de>
1178
1179 Don't misfontify "foo ()" inside C++ initialization parentheses as a type
1180
1181 Also recognize and handle function names introduced by "extern" inside a
1182 function.
1183
1184 * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add a new element to
1185 the result list which is t when our declaration is, or is to be treated as,
1186 being at top level.
1187
1188 * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Detect being
1189 inside a C++ uniform initialization and return (not-decl nil) for this case.
1190 (c-font-lock-declarations): Use the new element 4 of the result of
1191 c-forward-decl-or-cast-1.
1192
1193 * lisp/progmodes/cc-langs.el (c-make-top-level-kwds, c-make-top-level-key):
1194 New lang consts/vars.
1195
11962017-12-13 Glenn Morris <rgm@gnu.org>
1197
1198 Fixes for defcustoms, prompted by cus-test-opts
1199
1200 * lisp/files.el (save-some-buffers-default-predicate):
1201 * lisp/time.el (display-time-world-list):
1202 * lisp/gnus/gnus-art.el (gnus-article-show-cursor):
1203 * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-names):
1204 * lisp/progmodes/verilog-mode.el (verilog-auto-wire-type):
1205 * lisp/textmodes/less-css-mode.el (less-css-output-directory)
1206 (less-css-output-file-name, less-css-input-file-name):
1207 * lisp/vc/emerge.el (emerge-metachars):
1208 * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles):
1209 Fix :types.
1210 * lisp/net/newst-backend.el (newsticker-url-list-defaults): Fix url.
1211
12122017-12-13 Glenn Morris <rgm@gnu.org>
1213
1214 * lisp/net/newst-backend.el (newsticker--raw-url-list-defaults):
1215 Update.
1216
1217 * lisp/htmlfontify.el (hfy-which-etags): Fix it.
1218
12192017-12-13 Glenn Morris <rgm@gnu.org>
1220
1221 Add missing :version tags revealed by cusver-check
1222
1223 * lisp/comint.el (comint-move-point-for-matching-input):
1224 * lisp/epa.el (epa-replace-original-text):
1225 * lisp/image-dired.el (image-dired-cmd-optipng-program)
1226 (image-dired-cmd-optipng-options):
1227 * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table):
1228 * lisp/gnus/gnus-cloud.el (gnus-cloud-storage-method)
1229 (gnus-cloud-interactive):
1230 * lisp/net/mailcap.el (mailcap-user-mime-data):
1231 * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag)
1232 (c-noise-macro-names, c-noise-macro-with-parens-names):
1233 * lisp/progmodes/flymake.el (flymake-start-on-flymake-mode)
1234 (flymake-wrap-around):
1235 * lisp/progmodes/grep.el (grep-use-null-filename-separator):
1236 * lisp/progmodes/js.el (js-indent-align-list-continuation):
1237 * lisp/progmodes/perl-mode.el (perl-flymake-command):
1238 * lisp/progmodes/python.el (python-flymake-command)
1239 (python-flymake-command-output-pattern, python-flymake-msg-alist):
1240 * lisp/progmodes/ruby-mode.el (ruby-flymake-use-rubocop-if-available)
1241 (ruby-rubocop-config):
1242 * lisp/textmodes/less-css-mode.el (less-css):
1243 * lisp/textmodes/tex-mode.el (tex-chktex-program)
1244 (tex-chktex-extra-flags): Add missing :version tags.
1245
12462017-12-13 Glenn Morris <rgm@gnu.org>
1247
1248 Escape column-zero doc parens
1249
1250 * lisp/htmlfontify.el (hfy-display-class):
1251 * lisp/calendar/icalendar.el (icalendar--do-create-ical-alarm):
1252 * lisp/net/shr.el (shr-external-rendering-functions):
1253 * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag):
1254 * lisp/textmodes/tildify.el (tildify-tildify):
1255 Escape column-zero doc parens. A shame bug#21871 remains unfixed.
1256
12572017-12-12 Alan Third <alan@idiocy.org>
1258
1259 Remove ObjC blocks (Bug#23753)
1260
1261 * src/macfont.m (macfont_get_glyph_for_character):
1262 (mac_font_get_glyphs_for_variants): Inline Objective-C blocks.
1263
1264 (cherry picked from commit 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e)
1265
12662017-12-12 Eli Zaretskii <eliz@gnu.org>
1267
1268 Import the latest IVD_Sequences.txt
1269
1270 * admin/unidata/IVD_Sequences.txt: New version from
1271 http://www.unicode.org/ivd/, the 2017-12-12 version of the Unicode
1272 Ideographic Variation Database.
1273
1274 * src/macuvs.h: Regenerated.
1275
12762017-12-11 Max <mu@magi.net.ru> (tiny change)
1277
1278 Fix dired-do-compress when tar doesn't default to stdin (Bug#29094)
1279
1280 * lisp/dired-aux.el (dired-compress-file-suffixes): Use argument '-f-'
1281 to write to stdout rather than relying on the default (the choice of
1282 default is decided when compiling tar, BSD systems usually set it to a
1283 tape drive). Drop '-v', since the output is not used anywhere.
1284
12852017-12-11 Noam Postavsky <npostavs@gmail.com>
1286
1287 Suppress warnings during elisp completion macroexpansion
1288
1289 Errors are already suppressed, therefore it is logical to suppress
1290 warnings as well. Some macros (e.g., use-package) may produce
1291 warnings when given the `elisp--witness--lisp' symbol.
1292 * lisp/progmodes/elisp-mode.el (elisp--local-variables): Let-bind
1293 warning-minimum-log-level to :emergency.
1294
12952017-12-11 Chunyang Xu <xuchunyang.me@gmail.com>
1296
1297 * lisp/progmodes/verilog-mode.el (verilog-mode): Fix typo (Bug#24410).
1298
12992017-12-11 Michael Albinus <michael.albinus@gmx.de>
1300
1301 Make tramp-interrupt-process more robust
1302
1303 * lisp/net/tramp.el (tramp-interrupt-process): Fall back to
1304 the default implementation if there's no success.
1305
13062017-12-11 Katsumi Yamaoka <yamaoka@jpl.org>
1307
1308 Make quail-input-method work when inhibit-read-only is non-nil (bug#29504)
1309
1310 * lisp/international/quail.el (quail-input-method): Work not only
1311 when buffer-read-only is nil but also when inhibit-read-only is non-nil
1312 (bug#29504).
1313
13142017-12-10 Eli Zaretskii <eliz@gnu.org>
1315
1316 Fix 'fontset-name-p'
1317
1318 * lisp/international/fontset.el (fontset-name-p): Make the
1319 function work with full fontset names and fontset alias names.
1320
13212017-12-10 Eli Zaretskii <eliz@gnu.org>
1322
1323 Fix fontset documentation inconsistencies for bug#29630
1324
1325 * doc/lispref/display.texi (Face Attributes): Don't document
1326 :family as accepting a fontset. Document that :font accepts a
1327 fontset.
1328
1329 * lisp/faces.el (set-face-attribute): Doc fix.
1330
13312017-12-10 Martin Rudalics <rudalics@gmx.at>
1332
1333 Remove sentence from child frames section in Elisp manual
1334
1335 * doc/lispref/frames.texi (Child Frames): Remove one sentence.
1336 Suggested by Bob Weiner <rsw@gnu.org>.
1337
13382017-12-10 Eli Zaretskii <eliz@gnu.org>
1339
1340 Avoid crashes in 'font-at' after 'set-fontset-font'
1341
1342 * src/fontset.c (free_realized_fontsets): Call
1343 recompute_basic_faces, so that the basic faces are available to
1344 any Lisp that calls this function, e.g. via set-fontset-font.
1345 (Bug#29632)
1346
13472017-12-10 Ted Zlatanov <tzz@lifelogs.com>
1348
1349 * lisp/files-x.el (connection-local-set-profile-variables): Fix docstring.
1350
13512017-12-09 Ted Zlatanov <tzz@lifelogs.com>
1352
1353 Add /etc/ssl/cert.pem to gnutls-trustfiles for macOS
1354
1355 Problem reported by Mark Ferlatte (Bug#28603).
1356 * lisp/net/gnutls.el (gnutls-trustfiles): Add /etc/ssl/cert.pem for macOS.
1357
13582017-12-09 Eli Zaretskii <eliz@gnu.org>
1359
1360 Fix tool-tip display when display margins are non-zero by default
1361
1362 * src/buffer.h (bset_left_margin_cols, bset_right_margin_cols):
1363 New inline functions.
1364 * src/xfns.c (Fx_show_tip):
1365 * src/w32fns.c (Fx_show_tip): Force display margins of the tip
1366 buffer to zero, as it will be displayed in a pseudo-window, which
1367 doesn't support display margins. (Bug#29627)
1368
13692017-12-09 Eric Abrahamsen <eric@ericabrahamsen.net>
1370
1371 Handle hash tables and vectors when reading/writing EIEIO objects
1372
1373 * lisp/emacs-lisp/eieio.el (eieio-override-prin1): EIEIO objects
1374 printed with `prin1' can no longer be read with `read'. Make sure
1375 they are printed with object-write instead, even when they're inside
1376 hash tables and vectors.
1377 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
1378 Check for written representations of objects inside hash tables and
1379 vectors, and reconstruct them.
1380
13812017-12-09 Eli Zaretskii <eliz@gnu.org>
1382
1383 Improve interactive debugging commands in xdisp.c
1384
1385 * src/xdisp.c (Fdump_glyph_row, Fdump_tool_bar_row): Allow to
1386 specify ROW via prefix argument. Fix the doc strings.
1387
13882017-12-09 Eli Zaretskii <eliz@gnu.org>
1389
1390 Fix calculation of continuation_pixel_width in display engine
1391
1392 * src/xdisp.c (display_line): Remove incorrect increment of
1393 it->continuation_pixel_width when word-wrap is used. (Bug#29594)
1394
13952017-12-09 Eli Zaretskii <eliz@gnu.org>
1396
1397 Improve documentation of 'save-abbrevs'.
1398
1399 * doc/emacs/abbrevs.texi (Saving Abbrevs): Document the 'silently'
1400 value of 'save-abbrevs'. Suggested by Alex Branham
1401 <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
1402
14032017-12-09 Eli Zaretskii <eliz@gnu.org>
1404
1405 Improve documentation of Dired
1406
1407 * doc/emacs/dired.texi (Dired): Mention that the Dired buffer can
1408 be made modifiable in Wdired. Suggested by Alex Branham
1409 <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
1410
14112017-12-09 Eli Zaretskii <eliz@gnu.org>
1412
1413 * lisp/bookmark.el (bookmark-alist): Doc fix. (Bug#29551)
1414
14152017-12-08 Michael Albinus <michael.albinus@gmx.de>
1416
1417 Minor Tramp fixes
1418
1419 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
1420 Fix a bug when renaming.
1421
1422 * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Extend test.
1423 (tramp-test42-delay-load, tramp-test42-remote-load-path):
1424 Skip unless Emacs >= 26.
1425
14262017-12-08 Glenn Morris <rgm@gnu.org>
1427
1428 * lisp/help-mode.el (help-function-def):
1429 Allow help-make-xrefs to call with one argument. (Bug#29611)
1430
14312017-12-07 Martin Rudalics <rudalics@gmx.at>
1432
1433 Fix doc-string of 'display-buffer-in-side-window'
1434
1435 * lisp/window.el (display-buffer-in-side-window): In doc-string
1436 clarify why the window returned gets dedicated to its buffer.
1437
14382017-12-06 Michael Albinus <michael.albinus@gmx.de>
1439
1440 Fix Bug#29579
1441
1442 * lisp/files.el (file-name-non-special):
1443 Inhibit `file-name-handler-alist' only for some operations.
1444 Add missing operations. (Bug#29579)
1445
1446 * lisp/net/tramp-compat.el (tramp-compat-file-name-quote):
1447 Do not quote if it is quoted already.
1448
1449 * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
1450 Use `copy-tree' but `copy-sequence'.
1451
1452 * lisp/net/tramp.el (tramp-handle-file-truename): Handle several
1453 trailing slashes correctly.
1454
1455 * test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
1456 (tramp-test12-rename-file, tramp-test24-file-acl)
1457 (tramp-test25-file-selinux, tramp--test-check-files):
1458 Handle also quoted file names.
1459 (tramp-test21-file-links): Fix file name quoting test.
1460 (tramp-test24-file-acl): Be more robust for "smb" method.
1461 (tramp-test35-make-auto-save-file-name): Enable hidden test cases.
1462
14632017-12-06 Rasmus <rasmus@gmx.us>
1464
1465 Backport: Update Org to v9.1.4
1466
1467 Please note this is a bugfix release. See etc/ORG-NEWS for details.
1468
1469 (cherry picked from commit 567b5efe1f338c10c574758fb968915c5c34c909)
1470
14712017-12-06 Martin Rudalics <rudalics@gmx.at>
1472
1473 In windows.texi mention special splitting behavior of side and atomic windows
1474
1475 * doc/lispref/windows.texi (Splitting Windows): Add note about
1476 and links to side and atomic windows.
1477
14782017-12-05 Katsumi Yamaoka <yamaoka@jpl.org>
1479
1480 * lisp/gnus/gnus-group.el (gnus-group-mode-map):
1481 Bind [follow-link] to mouse-face, not 'mouse-face (bug#29538).
1482
14832017-12-04 Eli Zaretskii <eliz@gnu.org>
1484
1485 Avoid compilation warning in xterm.c
1486
1487 * src/xterm.c (x_draw_underwave): Move the declaration of
1488 'thickness' to the non-USE_CAIRO branch, to avoid compiler
1489 warning. (Bug#29567)
1490
14912017-12-04 Eli Zaretskii <eliz@gnu.org>
1492
1493 * README: Document all the top-level directories. (Bug#29558)
1494
14952017-12-04 Glenn Morris <rgm@gnu.org>
1496
1497 Don't enable erc modules on simply loading erc.el
1498
1499 * lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417)
1500
15012017-12-03 Lars Ingebrigtsen <larsi@gnus.org>
1502
1503 Allow shr to use data: URLs without encoding
1504
1505 * lisp/net/shr.el (shr-image-from-data): Don't bug out on
1506 image data: URLs that have no base64 encoding like
1507 (shr-image-from-data
1508 "text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E").
1509
15102017-12-03 E. Choroba <choroba@matfyz.cz> (tiny change)
1511
1512 Don't add newlines in minibuffer history
1513
1514 * lisp/simple.el (next-line-or-history-element): Bind
1515 next-line-add-newlines to nil. (Bug#29529)
1516
15172017-12-03 Syohei YOSHIDA <syohex@gmail.com>
1518
1519 modhelp.py: Support Python 3 (Bug#24954)
1520
1521 * modules/modhelp.py: 'print' statement was removed in Python
1522 3. 'print' function should be used instead of 'print' statement.
1523
15242017-12-03 Noam Postavsky <npostavs@gmail.com>
1525
1526 Use forward slashes for python w32 config example (Bug#21656)
1527
1528 * lisp/progmodes/python.el: Use forward slashes for Windows path
1529 example, it doesn't require doubling of slashes which reduces chances
1530 of confusion.
1531
15322017-12-03 Paul Eggert <eggert@cs.ucla.edu>
1533
1534 Fix bug in i18n/l10n optimization
1535
1536 This fixes a off-by-one buffer overrun bug introduced in
1537 2017-06-04T15:39:37Z!eggert@cs.ucla.edu. Problem uncovered by an
1538 experimental version of Emacs built with -fcheck-pointer-bounds
1539 and running on Intel MPX hardware.
1540 * src/editfns.c (styled_format): Avoid overrunning internal buffers.
1541
15422017-12-02 Noam Postavsky <npostavs@gmail.com>
1543
1544 Let autoload-compute-prefix be set file-locally (Bug#29471)
1545
1546 * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): Mark
1547 boolean values as safe.
1548
15492017-12-02 Noam Postavsky <npostavs@gmail.com>
1550
1551 Improve edit-kbd-macro prompting in case of remapped keys (Bug#29399)
1552
1553 * lisp/edmacro.el (edit-kbd-macro): Use substitute-command-keys to
1554 present the current bindings in the prompt. Check the the
1555 non-remapped binding of the entered key sequence as well.
1556
15572017-12-02 Lele Gaifax <lele@metapensiero.it>
1558
1559 Add tests on electric-indentation and Python multiline strings (Bug#29305)
1560
1561 * test/lisp/progmodes/python-tests.el
1562 (python-indent-electric-comma-inside-multiline-string,
1563 python-indent-electric-comma-after-multiline-string): New tests.
1564
15652017-12-02 Noam Postavsky <npostavs@gmail.com>
1566
1567 Disable electric indent for python strings (Bug#29305)
1568
1569 * lisp/progmodes/python.el (python-indent-post-self-insert-function):
1570 Do nothing when point or beginning of line is in string.
1571
15722017-12-02 Yuuki Harano <masm-emacs@masm11.ddo.jp> (tiny change)
1573
1574 Fix buffer overflow in fontname conversion (Bug#29523)
1575
1576 * src/nsterm.m (ns_xlfd_to_fontname): Fix sscanf format.
1577
15782017-12-02 Eli Zaretskii <eliz@gnu.org>
1579
1580 Fix byte compilation of files with leading directories
1581
1582 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Pass basename
1583 of target-file to make-temp-file, in case target-file includes a
1584 leading directory that might not exist under TMPDIR. See
1585 http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00680.html
1586 for the details.
1587
15882017-12-02 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * lisp/files.el (make-backup-file-name-1): Fix scoping error.
1591
15922017-12-02 Michael Albinus <michael.albinus@gmx.de>
1593
1594 Revert Tramp commit from 2017-11-20
1595
1596 * lisp/net/tramp.el (tramp-drop-volume-letter)
1597 (tramp-handle-find-backup-file-name): Revert change from
1598 2017-11-20. Emacs' `make-backup-file-name-1' handles this
1599 case now.
1600
16012017-12-02 Eli Zaretskii <eliz@gnu.org>
1602
1603 Improve documentation of buffer-list commands and features
1604
1605 * doc/emacs/buffers.texi (List Buffers): Add a cross-reference to
1606 "Several Buffers", to establish a relation between the two
1607 sections.
1608 (Buffer Menus): Expand on customizability of alternative buffer
1609 menu offered by bs.el. Mention IBuffer.
1610 Suggested by Alex Branham <alex.branham@gmail.com> in
1611 emacs-manual-bugs@gnu.org.
1612
16132017-12-02 Eli Zaretskii <eliz@gnu.org>
1614
1615 Fix backing up remote files in local directories on MS-Windows
1616
1617 * lisp/files.el (make-backup-file-name-1): Support remote file
1618 names correctly when they are backed up into a local directory on
1619 MS-Windows and MS-DOS. (Bug#29440)
1620
16212017-12-02 Glenn Morris <rgm@gnu.org>
1622
1623 * doc/emacs/mule.texi (Output Coding): Clarify sendmail coding.
1624
16252017-12-01 John Wiegley <johnw@newartisans.com>
1626
1627 Revert "Fix backing up remote files in local directories on MS-Windows"
1628
1629 This reverts commit 8c8b6732882248df4ca3b687e0a4b4e5e4ab3777.
1630
16312017-12-01 Eli Zaretskii <eliz@gnu.org>
1632
1633 Fix a typo in ELisp manual
1634
1635 * doc/lispref/sequences.texi (Sequence Functions): Fix the example
1636 of using 'seq-uniq'. (Bug#29524)
1637
16382017-12-01 Eli Zaretskii <eliz@gnu.org>
1639
1640 * lisp/composite.el (find-composition): Fix a typo in the doc string.
1641
16422017-12-01 Eli Zaretskii <eliz@gnu.org>
1643
1644 Fix backing up remote files in local directories on MS-Windows
1645
1646 * lisp/files.el (make-backup-file-name-1): Support remote file
1647 names correctly when they are backed up into a local directory on
1648 MS-Windows and MS-DOS. (Bug#29440)
1649
16502017-12-01 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
1651
1652 Fix vertical cursor motion in pixel-scroll.el
1653
1654 * lisp/pixel-scroll.el (pixel-scroll-up): Move cursor down
1655 regardless of whether EOB is shown at the top.
1656 (pixel-scroll-down) Move cursor up regardless of whether BOB
1657 is shown at the top. (Bug#29374)
1658
16592017-12-01 Basil L. Contovounesios <contovob@tcd.ie>
1660
1661 Fix typos in doc strings of message.el
1662
1663 * lisp/gnus/message.el (message-header-to)
1664 (message-header-subject, message-header-newsgroups)
1665 (message-header-other): Fix typos in doc strings. (Bug#29405)
1666
16672017-12-01 Eli Zaretskii <eliz@gnu.org>
1668
1669 Fix a typo in the Emacs manual
1670
1671 * doc/emacs/abbrevs.texi (Abbrev Concepts): Fix a typo. Reported
1672 by clemens.radermacher@posteo.de in emacs-manual-bugs@gnu.org.
1673
16742017-12-01 Eli Zaretskii <eliz@gnu.org>
1675
1676 Improve the documentation of 'table-insert-sequence'
1677
1678 * doc/emacs/text.texi (Table Misc): Fix the description of
1679 'table-insert-sequence'. Reported by jack <jackh@gmx.co.uk> in
1680 emacs-manual-bugs@gnu.org.
1681
16822017-12-01 Paul Eggert <eggert@cs.ucla.edu>
1683
1684 Port better to QNX
1685
1686 Problem reported by Elad Lahav on emacs-devel.
1687 * configure.ac: On QNX, default CC to qcc (a GCC wrapper),
1688 and default LDFLAGS to -N2MB so that the initial stack size
1689 is not too small. Also, fix misspelling of ‘qnxnto’.
1690
16912017-11-30 Michael Albinus <michael.albinus@gmx.de>
1692
1693 Make tramp-test42-auto-load more robust
1694
1695 * test/lisp/net/tramp-tests.el (tramp-test42-auto-load):
1696 Make it more robust. Don't skip.
1697
16982017-11-30 Eli Zaretskii <eliz@gnu.org>
1699
1700 Avoid assertions in find-composition
1701
1702 * src/font.c (font_range): If called with STRING non-nil and FACE
1703 a NULL pointer, compute face by calling face_at_string_position.
1704 (Bug#29506)
1705
1706 * lisp/composite.el (find-composition): Doc fix.
1707
17082017-11-29 Glenn Morris <rgm@gnu.org>
1709
1710 Restore obsolete method of changing byte-compile-dest-file
1711
1712 * lisp/emacs-lisp/bytecomp.el (byte-compile-dest-file):
1713 Restore seven-year obsolete feature that was removed for six months,
1714 since automake uses it.
1715
17162017-11-29 Michael Albinus <michael.albinus@gmx.de>
1717
1718 Some minor Tramp corrections
1719
1720 * lisp/net/tramp.el (tramp-handle-directory-file-name):
1721 Handle several trailing slashes correctly.
1722 (tramp-handle-file-selinux-context): New defun.
1723
1724 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1725 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1726 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1727 Use `tramp-handle-file-selinux-context'.
1728
1729 * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
1730 Extend test.
1731 (tramp-test17-insert-directory): Make check more robust.
1732 (tramp-test42-auto-load): Combine several let forms.
1733 (tramp-test42-delay-load, tramp-test42-recursive-load)
1734 (tramp-test42-remote-load-path, tramp-test43-unload): Rename.
1735
17362017-11-29 Tino Calancha <tino.calancha@gmail.com>
1737
1738 * doc/misc/url.texi (http/https): Fix typo
1739
17402017-11-29 Glenn Morris <rgm@gnu.org>
1741
1742 Remove some bogus definition-prefixes from loaddefs
1743
1744 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1745 Don't register a definition prefix from define-erc-module,
1746 which adds an erc- prefix to its argument.
1747
17482017-11-28 Robert Pluim <rpluim@gmail.com>
1749
1750 Shell-quote wildcards when invoking 'vc-git-grep'
1751
1752 * lisp/vc/vc-git.el (vc-git-grep): Apply shell quoting to
1753 filename wildcards to ensure globbing is done by git rather
1754 than the shell. (Bug#29303)
1755
17562017-11-28 Kaushal Modi <kaushal.modi@gmail.com>
1757
1758 Update documentation of '.dir-locals-2.el'
1759
1760 See https://lists.gnu.org/r/emacs-devel/2017-11/msg00649.html
1761 for more details.
1762 * lisp/files.el (dir-locals-file-2): Remove unused constant.
1763 * lisp/files.el (dir-locals-file): Mention ".dir-locals-2.el" in
1764 the doc string.
1765 * doc/lispref/variables.texi (Directory Local Variables): Mention
1766 ".dir-locals-2.el".
1767 * etc/NEWS: Replace `dir-locals-file-2' mention with
1768 `dir-locals-file'.
1769
17702017-11-27 Noam Postavsky <npostavs@gmail.com>
1771
1772 * src/w32heap.c (DUMPED_HEAP_SIZE) [_WIN64]: Bump to 22 MiB.
1773
17742017-11-27 Glenn Morris <rgm@gnu.org>
1775
1776 A few small doc fixes for bytecomp.el
1777
1778 * lisp/emacs-lisp/bytecomp.el (emacs-lisp-file-regexp)
1779 (byte-compile-dest-file-function, byte-compile-dest-file): Doc fixes.
1780
17812017-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * src/lread.c (syms_of_lread): Fix thinko in commit b1573a97e17b5
1784
17852017-11-27 Glenn Morris <rgm@gnu.org>
1786
1787 * lisp/tree-widget.el (tree-widget-end-guide): Escape it. (Bug#27797)
1788
17892017-11-27 Eli Zaretskii <eliz@gnu.org>
1790
1791 Fix ELisp "Warning Tips"
1792
1793 * doc/lispref/tips.texi (Warning Tips): Clarify when to use
1794 'require' wrapped by 'eval-when-compile'. (Bug#29462)
1795
17962017-11-27 Michael Albinus <michael.albinus@gmx.de>
1797
1798 Fix Bug#29163
1799
1800 * lisp/net/tramp.el (tramp-autoload-file-name-regexp):
1801 Do not use "\\'" in regexp. (Bug#29163)
1802 (top) Do not run (tramp-register-autoload-file-name-handlers)
1803 when loading tramp.el.
1804
1805 * test/lisp/net/tramp-tests.el (tramp--test-mock-p): New defun.
1806 (tramp-test32-environment-variables-and-port-numbers)
1807 (tramp-test41-asynchronous-requests): Use it.
1808 (tramp-test42-auto-load): New test.
1809 (tramp-test43-recursive-load, tramp-test44-remote-load-path)
1810 (tramp-test45-delay-load, tramp-test46-unload): Rename.
1811
18122017-11-27 Paul Eggert <eggert@union>
1813
1814 Harden exec_byte_code against redefining 'error'
1815
1816 Problem discovered by configuring with --enable-gcc-warnings on
1817 Ubuntu 17.10 x86-64 with gcc (Ubuntu 7.2.0-8ubuntu3).
1818 * src/bytecode.c (exec_byte_code): Call the C error function
1819 instead of the Lisp one, so that the Emacs interpreter does not go
1820 haywire if the user redefines the Lisp error function.
1821
18222017-11-27 Gemini Lasswell <gazally@runbox.com>
1823
1824 Fix Edebug specs for if-let* and and-let* (Bug#29236)
1825
1826 * test/lisp/emacs-lisp/subr-x-tests.el (if-let*, if-let):
1827 Change Edebug spec to cause Edebug to instrument tests the
1828 results of which are not bound to symbols (the (VALUEFORM)
1829 case).
1830 (and-let*): Change Edebug spec to allow empty body.
1831
1832 *test/lisp/emacs-lisp/subr-x-tests.el:
1833 (subr-x-and-let*-test-group-1): Add missing quote to erroneous
1834 form so Edebug will work on this test.
1835
18362017-11-26 Gemini Lasswell <gazally@runbox.com>
1837
1838 Fix Edebug's handling of dotted specs (bug#6415)
1839
1840 * lisp/emacs-lisp/cl-macs.el (cl-destructuring-bind): Use
1841 cl-macro-list1 instead of cl-macro-list in Edebug spec.
1842
1843 * lisp/emacs-lisp/edebug.el (edebug-after-dotted-spec): Delete
1844 unused variable.
1845 (edebug-dotted-spec): Add docstring.
1846 (edebug-match-specs): Allow &optional and &rest specs to
1847 match nothing at the tail of a dotted form. Handle matches of
1848 dotted form tails which return non-lists.
1849
1850 * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-dotted-forms):
1851 New test.
1852
1853 * test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el:
1854 (edebug-test-code-use-destructuring-bind): New function.
1855
18562017-11-26 Eli Zaretskii <eliz@gnu.org>
1857
1858 Improve documentation of "constant" symbols
1859
1860 * src/font.c (syms_of_font) <font-weight-table, font-slant-table>
1861 <font-width-table>:
1862 * src/data.c (syms_of_data) <most-positive-fixnum>
1863 <most-negative-fixnum>:
1864 * src/buffer.c (syms_of_buffer) <enable-multibyte-characters>:
1865 Mention in the doc strings that these variables are read-only.
1866
1867 * doc/lispref/variables.texi (Creating Buffer-Local): Document
1868 that making a constant variable buffer-local signals an error.
1869 * doc/lispref/variables.texi (Constant Variables):
1870 * doc/lispref/errors.texi (Standard Errors): More accurate and
1871 up-to-date documentation of which symbols cannot be assigned
1872 values.
1873
18742017-11-26 Paul Eggert <eggert@cs.ucla.edu>
1875
1876 maint: shorten https://lists.gnu.org/archive/html/... links
1877
18782017-11-26 Paul Eggert <eggert@cs.ucla.edu>
1879
1880 Merge from Gnulib
1881
1882 This incorporates:
1883 2017-11-23 stat: work around Solaris bug with tv_nsec < 0
1884 2017-11-12 maint: shorten https://lists.gnu.org/archive/html/... links
1885 * build-aux/config.sub, doc/misc/texinfo.tex, lib/allocator.h:
1886 * lib/fstatat.c, lib/intprops.h, lib/lstat.c, lib/signal.in.h:
1887 * lib/stat-time.h, lib/stdio-impl.h, lib/stdio.in.h:
1888 * lib/timespec.h, m4/alloca.m4, m4/extern-inline.m4:
1889 * m4/faccessat.m4, m4/fstatat.m4, m4/gnulib-common.m4:
1890 * m4/lstat.m4, m4/std-gnu11.m4, m4/sys_types_h.m4:
1891 * m4/vararrays.m4:
1892 Copy from Gnulib.
1893
18942017-11-26 Paul Eggert <eggert@cs.ucla.edu>
1895
1896 Work around GCC bug 80776 on Fedora 27 x86
1897
1898 * src/buffer.c (Fgenerate_new_buffer_name): Pacify GCC 7.2.1
1899 20170915 (Red Hat 7.2.1-2) on i686 with -Wformat-overflow -O2 by
1900 using XINT rather than XFASTINT and by adding an eassume. This
1901 works around GCC bug 80776.
1902
19032017-11-25 Paul Eggert <eggert@cs.ucla.edu>
1904
1905 Tweak copy-file, rename-file doc
1906
1907 * src/fileio.c (Fcopy_file, Frename_file): Tweak the recent change
1908 slightly, as NEWNAME is treated as a directory name depending only
1909 on the contents of the NEWNAME string, and independently of
1910 whether NEWNAME names a directory (i.e., whether the directory
1911 exists) (Bug#29362).
1912
19132017-11-25 Tom Tromey <tom@tromey.com>
1914
1915 Change font-lock-extend-region-multiline handling in mhtml-mode
1916
1917 Bug#29159
1918 * lisp/textmodes/mhtml-mode.el (mhtml-mode): Remove
1919 font-lock-extend-region-multiline from
1920 font-lock-extend-region-functions.
1921 (mhtml--extend-font-lock-region): Call font-lock-extend-region-multiline.
1922
19232017-11-25 Michael Albinus <michael.albinus@gmx.de>
1924
1925 Minor cleanup in tramp-gvfs-handle-file-local-copy
1926
1927 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-local-copy):
1928 Move error message up.
1929
19302017-11-25 Michael Albinus <michael.albinus@gmx.de>
1931
1932 Add test for Bug#29423 in Tramp.
1933
1934 * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory):
1935 Add test for Bug#29423.
1936
19372017-11-25 Eli Zaretskii <eliz@gnu.org>
1938
1939 Avoid jumbled order in HTML rendered by shr.el
1940
1941 * lisp/net/shr.el (shr-render-td): Preserve point, as
1942 shr-render-td-1 might move it as a side effect of
1943 save-window-excursion. (Bug#29348)
1944
19452017-11-25 Eli Zaretskii <eliz@gnu.org>
1946
1947 Make sure 'dired-filename' property is always put by ls-lisp
1948
1949 * lisp/ls-lisp.el (ls-lisp-classify): Do not put the
1950 'dired-filename' text property on the file name here...
1951 (ls-lisp-classify-file): ...put it here instead. (Bug#29423)
1952
19532017-11-24 Eli Zaretskii <eliz@gnu.org>
1954
1955 A better solution for bug#29347
1956
1957 * src/thread.c (really_call_select): Don't try to take the global
1958 lock if the same thread is already holding it. (Bug#29347)
1959
19602017-11-24 Eli Zaretskii <eliz@gnu.org>
1961
1962 Avoid a hang after C-g while sit-for on a Unix TTY
1963
1964 * src/thread.c (acquire_global_lock): Don't try to take the global
1965 lock if the same thread is already holding it. (Bug#29347)
1966
19672017-11-24 Eli Zaretskii <eliz@gnu.org>
1968
1969 Improve the doc string of 'list-packages'
1970
1971 * lisp/emacs-lisp/package.el (list-packages): Describe in the doc
1972 string the columns shown by the command. (Bug#29420)
1973
19742017-11-24 Eli Zaretskii <eliz@gnu.org>
1975
1976 Improve discoverability of 'defvar' for suppressing warnings
1977
1978 * doc/lispref/compile.texi (Compiler Errors): Add index entries.
1979 * doc/lispref/variables.texi (Defining Variables): Mention that
1980 defvar with no value is used for suppressing compiler warnings.
1981 (Bug#29400)
1982
19832017-11-24 Eli Zaretskii <eliz@gnu.org>
1984
1985 Improve discoverability of 'read-buffer-completion-ignore-case'
1986
1987 * lisp/window.el (switch-to-buffer)
1988 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1989 Mention 'read-buffer' in the doc string. (Bug#29389)
1990
1991 * doc/emacs/buffers.texi (Select Buffer): Add a cross-reference to
1992 where 'read-buffer-completion-ignore-case' is documented.
1993
19942017-11-24 Eli Zaretskii <eliz@gnu.org>
1995
1996 Improve documentation of self-insert-uses-region-functions
1997
1998 * lisp/simple.el (self-insert-uses-region-functions): Clarify the
1999 doc string.
2000 * lisp/delsel.el (delete-selection-uses-region-p): Mention
2001 'self-insert-command' in the doc string. (Bug#29373)
2002
2003 * doc/lispref/text.texi (Commands for Insertion): Mention
2004 'self-insert-uses-region-functions'.
2005 * doc/lispref/modes.texi (Keymaps and Minor Modes): Add a
2006 cross-reference to "Commands for Insertion".
2007
20082017-11-24 Eli Zaretskii <eliz@gnu.org>
2009
2010 Reflect changes in copy-file and rename-file in doc strings
2011
2012 * src/fileio.c (Fcopy_file, Frename_file): Mention in the doc
2013 strings that directory names must end in a slash. (Bug#29362)
2014
20152017-11-24 Eli Zaretskii <eliz@gnu.org>
2016
2017 * lisp/progmodes/cc-vars.el (c-offsets-alist): Doc fix. (Bug#29407)
2018
20192017-11-24 Eli Zaretskii <eliz@gnu.org>
2020
2021 Reorder type predicates in ELisp manual
2022
2023 * doc/lispref/objects.texi (Type Predicates): Restore alphabetical
2024 order of listed predicates. (Bug#29411)
2025
20262017-11-23 Eli Zaretskii <eliz@gnu.org>
2027
2028 Fix backward scrolling in buffers with header-line
2029
2030 * src/window.c (window_scroll_pixel_based): Account for the
2031 header-line when comparing Y coordinate with the last_visible_y.
2032 (Bug#29325)
2033
20342017-11-22 Glenn Morris <rgm@gnu.org>
2035
2036 * lisp/bindings.el (buffer-file-coding-system):
2037 Add explicit permanent-local mark.
2038
2039 * src/fns.c (syms_of_fns) <overriding-plist-environment>: Doc fix.
2040
20412017-11-22 Alan Third <alan@idiocy.org>
2042
2043 Fix incorrect interaction of drag/drop and double click (bug#29121)
2044
2045 * src/nsterm.m (EmacsView::performDragOperation): Drag and drop
2046 doesn't use ns-input-file.
2047
20482017-11-22 Glenn Morris <rgm@gnu.org>
2049
2050 * lisp/menu-bar.el (menu-bar-options-save):
2051 Add display-line-numbers-type.
2052
2053 * lisp/menu-bar.el (menu-bar-options-save):
2054 Add global-display-line-numbers-mode. (Bug#28396)
2055
2056 * lisp/follow.el (follow-mode): Restore mode line lighter. (Bug#28495)
2057
20582017-11-22 Dmitry Gutov <dgutov@yandex.ru>
2059
2060 Extract the common part of ruby-flymake-simple and ruby-flymake-rubocop
2061
2062 * lisp/progmodes/ruby-mode.el (ruby-flymake-simple)
2063 (ruby-flymake-rubocop):
2064 Extract the common part as ruby-flymake--helper.
2065 (ruby--rubocop-flymake-proc): Remove. Use the first proc
2066 variable instead.
2067
20682017-11-22 Dmitry Gutov <dgutov@yandex.ru>
2069
2070 Add Rubocop Flymake backend
2071
2072 * lisp/progmodes/ruby-mode.el (ruby-flymake-command):
2073 Inline the value. There are no known substitutes.
2074 (ruby-flymake): Rename to `ruby-flymake-simple' and simplify
2075 the docstring.
2076 (ruby-flymake-use-rubocop-if-available): New option.
2077 (ruby--rubocop-flymake-proc): New variable.
2078 (ruby-rubocop-config): New option.
2079 (ruby-flymake-rubocop, ruby-flymake-auto): New functions.
2080 (ruby-mode): Use `ruby-flymake-auto'.
2081
20822017-11-21 Noam Postavsky <npostavs@gmail.com>
2083
2084 Update nt/INSTALL.W64 (Bug#28601)
2085
2086 * nt/INSTALL.W64 (Download and install MinGW-w64 and MSYS2): Move
2087 suggestion about modifying PATH to...
2088 (Test Emacs): ... here.
2089 (Run configure): Remove the unnecessary setting of PKG_CONFIG_PATH.
2090 (Troubleshooting): New section, includes suggestion to check
2091 PKG_CONFIG_PATH.
2092
20932017-11-21 Charles A. Roelli <charles@aurox.ch>
2094
2095 Remove incorrect NEWS item about VC state indicator (Bug#28817)
2096
2097 * etc/NEWS (VC and related modes): Remove news item about the VC
2098 state indicator. This should have been done with commit 7882dc6
2099 of 2016-03-06 'Revert "Use colors in the VC mode lines"'.
2100
21012017-11-21 Glenn Morris <rgm@gnu.org>
2102
2103 * lisp/emacs-lisp/byte-run.el (defsubst): Doc fix.
2104
21052017-11-21 Alan Mackenzie <acm@muc.de>
2106
2107 Make c-defun-name analyze more thoroughly a function type which is a struct
2108
2109 This fixes bug #29293.
2110
2111 * lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is
2112 encountered, check whether it is the return type of a function rather than a
2113 declaration of the struct itself. Similarly adapt the cond arm which deals
2114 with functions properly to recognize struct return types.
2115
21162017-11-21 Glenn Morris <rgm@gnu.org>
2117
2118 Avoid bogus abbreviated file names if HOME changes
2119
2120 * lisp/files.el (abbreviate-file-name):
2121 If HOME changes, ignore `abbreviated-home-dir'. (Bug#19657#20)
2122 * test/lisp/files-tests.el (files-test-abbreviated-home-dir): New.
2123
21242017-11-21 Glenn Morris <rgm@gnu.org>
2125
2126 * lisp/emacs-lisp/byte-run.el (inline): Give it a doc.
2127
21282017-11-21 Jay Kamat <jaygkamat@gmail.com> (tiny change)
2129
2130 Fix erc keep-place module with new defaults (Bug#29111)
2131
2132 * lisp/erc/erc-goodies.el (erc-keep-place): Allow erc
2133 keep-place to continue working with
2134 switch-to-buffer-preserve-window-point set to t, the new default.
2135
21362017-11-20 Alan Third <alan@idiocy.org>
2137
2138 Add window divider faces to NS (bug#29353)
2139
2140 * src/nsterm.m (ns_draw_window_divider): Use
2141 window-divider-first-pixel and window-divider-last-pixel faces.
2142
21432017-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
2144
2145 * src/keyboard.c: Undo last change, meant for master only
2146
21472017-11-20 Michael Albinus <michael.albinus@gmx.de>
2148
2149 Fix Bug#29149
2150
2151 * lisp/net/tramp.el (tramp-drop-volume-letter): Handle also
2152 backup file names.
2153 (tramp-handle-find-backup-file-name):
2154 Call `tramp-drop-volume-letter' on the results. (Bug#29149)
2155
21562017-11-20 Martin Rudalics <rudalics@gmx.at>
2157
2158 Fix misbehavior when drawing three-pixel high horizontal dividers (Bug#29353)
2159
2160 * src/xterm.c (x_draw_window_divider):
2161 * src/w32term.c (w32_draw_window_divider): Fix misbehavior when
2162 drawing three-pixel high horizontal dividers (Bug#29353).
2163
2164 The misbehavior was noted by Keith David Bershatsky and analyzed by Alan
2165 Third.
2166
21672017-11-19 Mike Kupfer <mkupfer@alum.berkeley.edu>
2168
2169 MH-E: don't automatically download external-body parts
2170
2171 * lisp/mh-e/mh-mime.el (mh-mime-display-single): Use
2172 mm-automatic-display-p to verify that a part should be
2173 displayed before doing the inline checks (SF#475).
2174
21752017-11-19 Michael Albinus <michael.albinus@gmx.de>
2176
2177 Further fix for Bug#29291
2178
2179 * test/lisp/net/tramp-tests.el (tramp-test24-file-acl):
2180 Check for local ACL support. (Bug#29291)
2181
21822017-11-19 Alan Third <alan@idiocy.org>
2183
2184 Fix divider frame params on NS (bug#29352)
2185
2186 * src/nsfns.m (Fx_create_frame): Set right-divider-width and
2187 bottom-divider-width parameters.
2188
21892017-11-19 Paul Eggert <eggert@cs.ucla.edu>
2190
2191 Spelling fixes
2192
2193 * lisp/help-fns.el (help-fns--analyze-function):
2194 Rename from help-fns--analyse-function.
2195 All uses changed.
2196
21972017-11-19 Olaf Rogalsky <olaf.rogalsky@t-online.de>
2198
2199 * src/keyboard.c: Make xterm-mouse clicks on mode-line work
2200
2201 (read_key_sequence): Recompute first_event
2202 after replay_sequence, since it might have changed (bug#29104).
2203
22042017-11-18 Martin Rudalics <rudalics@gmx.at>
2205
2206 Don't let delete_frame select a tooltip frame (Bug#27647)
2207
2208 * src/frame.c (delete_frame): Don't select a tooltip
2209 frame. (Bug#27647)
2210
22112017-11-18 Alan Mackenzie <acm@muc.de>
2212
2213 Filter obtrusive events in help-read-key-sequence.
2214
2215 This fixes most of bug #29272.
2216
2217 * lisp/help.el (help-read-key-sequence): After a mouse event, pause for 0.01s,
2218 discarding any events (such as <help-echo>) received in this time, before
2219 polling for the double-click (etc.) events which may follow. This fixes the
2220 infinite loop which occurred whwn <help-echo> events triggered a sit-for
2221 whilst handling menu events.
2222
22232017-11-18 Michael Albinus <michael.albinus@gmx.de>
2224
2225 Fix symlink flag in tramp-gvfs-handle-file-attributes
2226
2227 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
2228 Set proper symlink file mode flag.
2229
22302017-11-18 Michael Albinus <michael.albinus@gmx.de>
2231
2232 Fix bug in tramp-handle-file-truename
2233
2234 * lisp/net/tramp.el (tramp-handle-file-truename): Expand localname.
2235
2236 * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Check also
2237 relative symbolic links.
2238
22392017-11-18 Eli Zaretskii <eliz@gnu.org>
2240
2241 Fix a typo in doc string of electric-indent-functions-without-reindent
2242
2243 * lisp/electric.el (electric-indent-functions-without-reindent):
2244 Doc fix. (Bug#29304)
2245
22462017-11-18 Eli Zaretskii <eliz@gnu.org>
2247
2248 Avoid assertion violations in echo_area_display
2249
2250 * src/xdisp.c (echo_area_display): Don't try redisplaying the echo
2251 area if the selected-frame's mini-window is nil. (Bug#27647)
2252
22532017-11-18 Eli Zaretskii <eliz@gnu.org>
2254
2255 Fix case-folding in Occur
2256
2257 * lisp/replace.el (occur-engine): Bind case-fold-search in each
2258 buffer we search. (Bug#29254)
2259
22602017-11-18 OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> (tiny change)
2261
2262 Fix quick-calc in C mode with hex values
2263
2264 * lisp/calc/calc-aent.el (math-read-token): Make sure the match
2265 against "0[xX][0-9a-fA-F]+" is found at math-exp-pos. See
2266 http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00174.html
2267 for the details.
2268
22692017-11-18 Eli Zaretskii <eliz@gnu.org>
2270
2271 Improve documentation of dired-next/prev-marked-file
2272
2273 * lisp/dired.el (dired-next-marked-file, dired-prev-marked-file):
2274 Doc fixes. (Bug#29340)
2275
22762017-11-17 Eli Zaretskii <eliz@gnu.org>
2277
2278 Prevent aborts in line-move-visual
2279
2280 * src/indent.c (line_number_display_width): Avoid assertion
2281 violations in init_iterator when the window's buffer was
2282 temporarily switched without updating window-start. (Bug#29326)
2283
22842017-11-17 Eli Zaretskii <eliz@gnu.org>
2285
2286 More fixes in src/.gdbinit
2287
2288 * src/.gdbinit (pwinx): Update to match 'struct window'.
2289 (pcursorx): Use "." instead of "->" because the argument is a
2290 struct, not a pointer.
2291
22922017-11-17 Robert Pluim <rpluim@gmail.com>
2293
2294 Document how to enter whitespace when using grep-read-files
2295
2296 * lisp/progmodes/grep.el (lgrep, rgrep, grep-read-files): Explain
2297 how to enter whitespace when using grep-read-files. (Bug#29303)
2298 * lisp/progmodes/project.el (project-find-regexp): Likewise.
2299 * lisp/vc/vc-git.el (vc-git-grep): Likewise.
2300
23012017-11-17 Eli Zaretskii <eliz@gnu.org>
2302
2303 Fix .gdbinit following lisp.h changes
2304
2305 * src/.gdbinit (xsymname, pwinx, pgx, xbuffer, xcar, xcdr, xlist)
2306 (xprintstr): Adapt to latest changes in Lisp object C structures.
2307 (Bug#29332)
2308
23092017-11-15 Charles A. Roelli <charles@aurox.ch>
2310
2311 * lisp/simple.el (shell-command): Doc fixes.
2312
23132017-11-15 Noam Postavsky <npostavs@gmail.com>
2314
2315 Fix marker adjustment for undo (Bug#29118)
2316
2317 * lisp/simple.el (primitive-undo): Compare marker against absolute
2318 value of POS, because the sign of POS is irrelevant to markers.
2319
23202017-11-14 Daniel Pittman <slippycheeze@google.com>
2321
2322 Fix Bug#28139
2323
2324 * lisp/net/tramp-sh.el: Set TERM and INSIDE_EMACS environment earlier.
2325 (tramp-remote-process-environment): Remove TERM and INSIDE_EMACS.
2326 (tramp-remote-process-environment): Document their special handling.
2327 (tramp-open-shell): Set TERM and INSIDE_EMACS prior to starting the
2328 initial remote shell, so that it is also aware of the environment
2329 in which it is operating. (Bug#28139)
2330
23312017-11-14 Michael Albinus <michael.albinus@gmx.de>
2332
2333 Fix Bug#29291
2334
2335 * test/lisp/net/tramp-tests.el (tramp-test24-file-acl):
2336 Preserve permissions when copying. (Bug#29291)
2337
23382017-11-14 Michael Albinus <michael.albinus@gmx.de>
2339
2340 Fix Bug#2928
2341
2342 * test/lisp/net/tramp-tests.el (tramp-test25-file-selinux):
2343 Enhance test. (Bug#29287)
2344 (tramp-test44-delay-load): Fix for older Emacsen.
2345
23462017-11-14 Martin Rudalics <rudalics@gmx.at>
2347
2348 Make 'mouse-drag-and-drop-region' work with 'mouse-autoselect-window' non-nil
2349
2350 * lisp/mouse.el (mouse-drag-and-drop-region): Ignore
2351 'select-window' events to make it work with
2352 'mouse-autoselect-window'.
2353
23542017-11-14 Alexander Gramiak <agrambot@gmail.com>
2355
2356 * etc/PROBLEMS: Remove fixed xterm-mouse-mode problems
2357
2358 See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29143#26
2359
23602017-11-14 Katsumi Yamaoka <yamaoka@jpl.org>
2361
2362 Fix cookie handling (bug#29282)
2363
2364 * lisp/url/url-cookie.el (url-cookie-handle-set-cookie):
2365 Regard a Set-Cookie header as it contains a single cookie;
2366 prefer Max-Age to Expires and convert it to Expires;
2367 remove support for old time string styles (bug#29282).
2368
23692017-11-13 Gemini Lasswell <gazally@runbox.com>
2370
2371 Improve documentation of Edebug and macros
2372
2373 * doc/lispref/edebug.texi (Instrumenting Macro Calls): Improve
2374 discussion of when it might be necessary to find and evaluate macro
2375 specifications before instrumenting.
2376 (Specification List): Clarify what "defining form" means to Edebug
2377 and when 'def-form' or 'def-body' should be used instead of 'form'
2378 or 'body'.
2379
23802017-11-13 Paul Eggert <eggert@cs.ucla.edu>
2381
2382 Port to IBM xlc 12.01
2383
2384 Work around a compiler bug by using a separate enum for alignment.
2385 * src/alloc.c (roundup_size): Declare in a separate enum.
2386
23872017-11-13 Paul Eggert <eggert@cs.ucla.edu>
2388
2389 Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNED
2390
2391 * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove. No longer
2392 needed, since we no longer rely on __attribute__ ((aligned (8))).
2393 All uses removed.
2394 * src/emacs-module.c (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove.
2395 (lisp_to_value): Simplify now that we no longer need to worry
2396 whether HAVE_STRUCT_ATTRIBUTE_ALIGNED is false.
2397
23982017-11-13 Paul Eggert <eggert@cs.ucla.edu>
2399
2400 Use alignas to fix GCALIGN-related bugs
2401
2402 Use alignas and unions to specify alignments of objects needing
2403 addresses that are at least a multiple of GCALIGNMENT. Using
2404 these standard C facilities should be safer than relying on ad hoc
2405 and poorly-understood features like GCC’s __attribute__
2406 ((aligned (N))), the root cause for recent porting bugs like
2407 Bug#29040. The alignas macro was standardized by C11 and Gnulib
2408 supports alignas for pre-C11 platforms. I have tested this on Sun
2409 Studio 12 sparc (2007) and GCC 4.4.7 x86-64 (2012) as well as on
2410 more recent platforms like GCC 7.2.1 (2017) on Fedora 26 (both
2411 x86-64 and x86).
2412 * lib-src/make-docfile.c (close_emacs_globals): lispsym is now
2413 just an array of struct Lisp_Symbol, since struct Lisp_Symbol is
2414 now properly aligned. All uses changed.
2415 * src/alloc.c (NEXT_FREE_LISP_STRING): Just use the new u.next
2416 member; this is simpler and safer than casting a pointer that
2417 might not be aligned properly.
2418 (aligned_Lisp_Symbol): Remove. No longer needed, now that struct
2419 Lisp_Symbol is aligned properly. All uses replaced with struct
2420 Lisp_Symbol.
2421 * src/lisp.h (GCALIGNED): Remove, as it does not work as expected:
2422 it can cause the natural alignment to be ignored. All uses
2423 replaced by unions with a ‘char alignas (GCALIGNMENT)’ member as
2424 described below.
2425 (struct Lisp_Symbol, struct Lisp_Cons, struct Lisp_String):
2426 Change definition from ‘struct TAG { MEMBERS };’ to
2427 ‘struct TAG { union { struct { MEMBERS } s; char alignas
2428 (GCALIGNMENT) gcaligned; } u; };’. This guarantees ‘struct TAG’
2429 to have an alignment that at least max (GCALIGNMENT, N) where N is
2430 its old alignment. All uses like ‘PTR->MEMBER’ changed to
2431 ‘PTR->u.s.MEMBER’; these uses were supposed to be mostly private
2432 anyway. Verify that the resulting ‘struct TAG’ is properly
2433 aligned for Emacs.
2434 (union vectorlike_header): New member ‘gcaligned’ to guarantee
2435 that this type, and its containing types like ‘struct Lisp_Subr’,
2436 ‘struct buffer’ and ‘struct thread_state’, are all properly
2437 aligned for Emacs.
2438 (struct Lisp_String): New union member ‘next’, for the benefit
2439 of NEXT_FREE_LISP_STRING.
2440 (union Aligned_Cons, union Aligned_String): Remove. All uses
2441 replaced by struct Lisp_Cons and struct Lisp_String, since they
2442 are now properly aligned.
2443 (USE_STACK_CONS, USE_STACK_STRING): Simplify now that we can
2444 assume struct Lisp_Cons and struct Lisp_String are properly
2445 aligned.
2446
24472017-11-13 Paul Eggert <eggert@cs.ucla.edu>
2448
2449 Change vectorlike from struct to union
2450
2451 * src/lisp.h (vectorlike_headed): Change from struct to union.
2452 All uses changed. Since it has only one member, this does not
2453 change semantics. This is designed to simplify future changes
2454 needed to fix bugs like Bug#29040. All uses changed.
2455
24562017-11-12 Tom Tromey <tom@tromey.com>
2457
2458 Don't enable cursor-sensor-mode in mhtml-mode
2459
2460 * lisp/textmodes/mhtml-mode.el (mhtml--last-submode): Update doc
2461 string.
2462 (mhtml-mode): Don't call cursor-sensor-mode.
2463
24642017-11-12 Eli Zaretskii <eliz@gnu.org>
2465
2466 * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267)
2467
24682017-11-12 João Távora <joaotavora@gmail.com>
2469
2470 Unbreak interactive run of a flymake test (bug#29267)
2471
2472 See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19657#20 for the
2473 technique used here.
2474
2475 * test/lisp/progmodes/flymake-tests.el (ruby-backend):
2476 Let-bind abbreviated-home-dir.
2477
24782017-11-12 Michael Albinus <michael.albinus@gmx.de>
2479
2480 Fix Bug#29225
2481
2482 * src/fileio.c (Fset_file_acl): Report error only when
2483 acl_errno_valid returns true. (Bug#29225)
2484
2485 * test/lisp/net/tramp-tests.el (tramp-test24-file-acl)
2486 (tramp-test25-file-selinux): New tests.
2487 (tramp-test26-file-name-completion, tramp-test27-load)
2488 (tramp-test28-process-file, tramp-test29-start-file-process)
2489 (tramp-test30-interrupt-process, tramp-test31-shell-command)
2490 (tramp-test32-environment-variables)
2491 (tramp-test32-environment-variables-and-port-numbers)
2492 (tramp-test33-explicit-shell-file-name)
2493 (tramp-test34-vc-registered)
2494 (tramp-test35-make-auto-save-file-name)
2495 (tramp-test36-find-backup-file-name)
2496 (tramp-test37-make-nearby-temp-file)
2497 (tramp-test38-special-characters)
2498 (tramp-test38-special-characters-with-stat)
2499 (tramp-test38-special-characters-with-perl)
2500 (tramp-test38-special-characters-with-ls, tramp-test39-utf8)
2501 (tramp-test39-utf8-with-stat, tramp-test39-utf8-with-perl)
2502 (tramp-test39-utf8-with-ls, tramp-test40-file-system-info)
2503 (tramp-test41-asynchronous-requests)
2504 (tramp-test42-recursive-load, tramp-test43-remote-load-path)
2505 (tramp-test44-delay-load, tramp-test45-unload): Rename.
2506
25072017-11-12 Alan Mackenzie <acm@muc.de>
2508
2509 CC Mode: Fix defun-open being recognized as brace-list-open at EOB.
2510
2511 * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Add handling
2512 for an open brace at EOB and nested braces inside an unclosed brace block.
2513
25142017-11-12 Paul Eggert <eggert@cs.ucla.edu>
2515
2516 Merge from Gnulib
2517
2518 This incorporates:
2519 2017-11-11 faccessat: port to macOS (Bug#29231)
2520 2017-11-05 fstatat: pacify GCC on unusual platform
2521 * build-aux/config.guess, build-aux/config.sub:
2522 * doc/misc/texinfo.tex, lib/faccessat.c, lib/fstatat.c:
2523 * lib/unistd.in.h, m4/faccessat.m4, m4/unistd_h.m4:
2524 Copy from Gnulib.
2525 * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
2526
25272017-11-12 Paul Eggert <eggert@cs.ucla.edu>
2528
2529 Pacify GCC when configured --with-x-toolkit=no
2530
2531 Without these changes, Emacs does not build on Fedora 26 x86-64
2532 when configured --with-x-toolkit=no --enable-gcc-warnings.
2533 * oldXMenu/Activate.c (XMenuActivate): Add FALLTHROUGH.
2534 * src/xterm.c (x_dispatch_event): Define only if
2535 USE_X_TOOLKIT || USE_MOTIF || USE_GTK.
2536
25372017-11-12 Eli Zaretskii <eliz@gnu.org>
2538
2539 * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262)
2540
25412017-11-12 João Távora <joaotavora@gmail.com>
2542
2543 Fix more flymake-diag-region eob corner cases and add tests (bug#29201)
2544
2545 * lisp/progmodes/flymake.el (flymake-diag-region): Correct
2546 more eob corner cases.
2547
2548 * test/lisp/progmodes/flymake-tests.el
2549 (eob-region-and-trailing-newline): New test.
2550
25512017-11-11 Basil L. Contovounesios <contovob@tcd.ie>
2552
2553 Keep Man sections in natural order (bug#28998)
2554
2555 * lisp/man.el (Man-build-section-alist): Reverse sections.
2556
25572017-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * lisp/minibuffer.el: Install a workaround for bug#16274
2560
2561 * lisp/minibuffer.el (completion--nth-completion): Avoid signaling an
2562 error when `md` is applied to another table.
2563
25642017-11-11 Eli Zaretskii <eliz@gnu.org>
2565
2566 Fix comparisons with tip_frame in GTK builds
2567
2568 * src/xterm.c (x_update_begin, x_new_font):
2569 * src/xfns.c (Fx_display_monitor_attributes_list):
2570 * src/frame.c (Fframe_list) [USE_GTK]: Don't consider tip_frame a
2571 tooltip frame unless its 'tooltip' parameter is non-nil. (Bug#26747)
2572
25732017-11-11 Eli Zaretskii <eliz@gnu.org>
2574
2575 Improve the documentation of M-n for entering file names
2576
2577 * lisp/files.el (find-file, find-file-other-window)
2578 (find-file-other-frame): Mention file-name-at-point-functions in
2579 the doc string. Reported by Florian Weimer <fw@deneb.enyo.de> in
2580 http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00224.html.
2581
2582 * doc/emacs/mini.texi (Minibuffer History): Document
2583 file-name-at-point-functions and its effect on M-n when typing
2584 file names in the minibuffer.
2585 * doc/emacs/files.texi (File Names):
2586 * doc/emacs/mini.texi (Minibuffer File): Add a cross-reference to
2587 "Minibuffer History", where special features of M-n regarding
2588 files are described.
2589
25902017-11-11 Eli Zaretskii <eliz@gnu.org>
2591
2592 Fix desktop auto-save timer when linum-mode is used
2593
2594 * lisp/desktop.el (desktop-read): Use toplevel value of
2595 window-configuration-change-hook when deciding whether desktop
2596 auto-saving is enabled. Suggested by Peter Neidhardt
2597 <pe.neidhardt@googlemail.com>. (Bug#28945)
2598
25992017-11-11 Olaf Rogalsky <olaf.rogalsky@t-online.de>
2600
2601 Fix "C-h k" in xterm-mouse-mode
2602
2603 * lisp/help.el (help-read-key-sequence): Support "C-h k" for
2604 xterm-mouse-mode by calling read-key-sequence-vector instead of
2605 read-event. (Bug#29150)
2606
26072017-11-11 Paul Eggert <eggert@cs.ucla.edu>
2608
2609 Fix off-by-1 bug in --enable-checking=stringbytes
2610
2611 Evidently nobody builds Emacs with --enable-checking=all,
2612 which is no surprise as it is so slow as to be unusable nowadays.
2613 Perhaps we should remove the slowest checks, or move them into
2614 another category, or speed them up, or something.
2615 * src/alloc.c (SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Fix off-by-one
2616 error in size calculation, which caused a failure when
2617 --enable-checking=stringbytes was used. I introduced this bug in
2618 2016-09-08T01:08:45!eggert@cs.ucla.edu "Port flexible array
2619 members to GCC + valgrind".
2620
26212017-11-10 Alan Mackenzie <acm@muc.de>
2622
2623 Correct the indentation of C99's compound literals.
2624
2625 * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Amend so that
2626 if there is only syntactic whitespace in a brace block, it is regarded as a
2627 statement block. Also, if there is no semicolon or comma delimiter, treat as
2628 a statement block when there is a keyword.
2629 (c-guess-basic-syntax): CASE 9 test: Regard a brace as starting a brace block
2630 when its contents indicate a brace block.
2631
26322017-11-10 Eli Zaretskii <eliz@gnu.org>
2633
2634 Improve the doc string of 'dired-isearch-filter-filenames'
2635
2636 * lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix.
2637 (Bug#29215)
2638
26392017-11-10 Eli Zaretskii <eliz@gnu.org>
2640
2641 * lisp/isearch.el (search-invisible): Doc fix. (Bug#29222)
2642
26432017-11-10 Eli Zaretskii <eliz@gnu.org>
2644
2645 Fix display of line numbers in GTK builds
2646
2647 * src/xdisp.c (should_produce_line_number) [USE_GTK]: Make sure
2648 tip_frame is indeed a tooltip frame, before disabling line numbers
2649 on it. (Bug#27647)
2650
2651 * src/dispextern.h (tip_frame): Add commentary describing the
2652 kludgey usage of this variable in GTK builds.
2653
26542017-11-10 João Távora <joaotavora@gmail.com>
2655
2656 Fix previous change to flymake-diag-region (bug#29174)
2657
2658 * lisp/progmodes/flymake.el (flymake-diag-region):
2659 Pass line and col to commit.
2660
26612017-11-09 João Távora <joaotavora@gmail.com>
2662
2663 flymake-diag-region really returns nil if region is invalid (bug#29174)
2664
2665 Reported by Lele Gaifax <lele@metapensiero.it>.
2666
2667 * lisp/progmodes/flymake.el (flymake-diag-region): Really
2668 return nil if the region is invalid.
2669
26702017-11-09 João Távora <joaotavora@gmail.com>
2671
2672 Flymake correctly highlights whole last line if eob (bug#29201)
2673
2674 If a line/column pair indicates an end-of-buffer position, flymake
2675 should behave like the case where the last line of the buffer is
2676 referenced without a column indication. This behavior is currently
2677 to highlight the whole last line.
2678
2679 * lisp/progmodes/flymake.el (flymake-diag-region): Correct
2680 conditions of fallback to the fallback-eol local function.
2681
26822017-11-09 João Távora <joaotavora@gmail.com>
2683
2684 Protect Flymake checkdoc backend against checkdoc errors (bug#29176)
2685
2686 The function checkdoc-current-buffer may error if there are unbalanced
2687 parens, for example, but this shouldn't disable the
2688 elisp-flymake-checkdoc backend.
2689
2690 * lisp/progmodes/elisp-mode.el (elisp-flymake-checkdoc): Use
2691 ignore-errors.
2692
26932017-11-09 João Távora <joaotavora@gmail.com>
2694
2695 Sort entries of the Flymake diagnostics buffer (bug#29175)
2696
2697 Reported by Lele Gaifax <lele@metapensiero.it>.
2698
2699 * lisp/progmodes/flymake.el
2700 (flymake--diagnostics-buffer-entries): Sort results of flymake-diagnostics.
2701
27022017-11-09 Alan Mackenzie <acm@muc.de>
2703
2704 Correctly indent C++14 brace lists which are a second argument to a function.
2705
2706 In particular, don't indent contained brace lists in "staircase" fashion.
2707 This fixes bug #28623.
2708
2709 * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): When
2710 testing for being enclosed in parens, recognise also a brace directly
2711 following a comma, as well as a brace being the first thing inside the paren.
2712 Enhance the return value, by indicating when we're directly inside an open
2713 paren.
2714 (c-inside-bracelist-p): Add an extra argument ACCEPT-IN-PARAM which indicates
2715 whether we will accept a bracelist directly inside an open parenthesis.
2716 Simplify the manipulation of PAREN-STATE by dispensing with variable LIM and
2717 using c-pull-open-brace. Enhance the return value, respecting the new argument.
2718 (c-guess-basic-syntax): Save a copy of the initial parse-state in the new
2719 variable STATE-CACHE. Use this variable in place of C-STATE-CACHE throughout
2720 the function. At CASE 7B, call c-inside-bracelist-p with extra argument nil.
2721 At CASE 9, call that function with extra argument t.
2722
27232017-11-09 Eli Zaretskii <eliz@gnu.org>
2724
2725 Fix redisplay of overlay-arrows on GUI frames
2726
2727 * src/xdisp.c (try_window_reusing_current_matrix)
2728 (try_cursor_movement): Disallow these optimizations if the buffer
2729 has overlay arrow(s) shown on the fringe(s). (Bug#29198)
2730
27312017-11-09 João Távora <joaotavora@gmail.com>
2732
2733 Protect Flymake tests against older Ruby and Perl (bug#29187)
2734
2735 * test/lisp/progmodes/flymake-tests.el (perl-backend): Search
2736 for the error from the bottom.
2737 (ruby-backend): Protect against situation of bug#29187
2738
27392017-11-09 Paul Eggert <eggert@cs.ucla.edu>
2740
2741 Fix URL cookie expiration bug
2742
2743 Problem reported by Damien Cassou (Bug#29223).
2744 * lisp/url/url-cookie.el (url-cookie-expired-p):
2745 Fix typo in previous change, which caused unexpired cookies
2746 to be treated as expired and vice versa.
2747
27482017-11-09 Paul Eggert <eggert@cs.ucla.edu>
2749
2750 Use GCALIGNED properly for GCC
2751
2752 Apparently GCC requires that ‘__attribute__ ((aligned (8)))’ must
2753 immediately follow the ‘struct’ keyword when aligning a structure.
2754 The attribute silently does not work if it follows a tag after the
2755 ‘struct’ keyword. Who knew? Anyway, this patch is designed to
2756 fix a SIGSEGV problem reported by John Mastro (Bug#29183).
2757 * lib-src/make-docfile.c (close_emacs_globals):
2758 * src/buffer.c (buffer_defaults, buffer_local_symbols):
2759 * src/lisp.h (DEFUN):
2760 * src/thread.c (main_thread):
2761 Put 'GCALIGNED' immediately after 'struct'.
2762
27632017-11-09 Glenn Morris <rgm@gnu.org>
2764
2765 In f90.el, set fill-paragraph-function to a useful value
2766
2767 * lisp/progmodes/f90.el (f90-mode-map) <menu>: Add fill-paragraph.
2768 (f90-mode): Set fill-paragraph-function.
2769 (f90-fill-paragraph): New command.
2770
27712017-11-08 Eric Abrahamsen <eric@ericabrahamsen.net>
2772
2773 Fix to 2fddfb7ce7
2774
2775 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2776 Fix bogus paren wrapping.
2777
27782017-11-08 Glenn Morris <rgm@gnu.org>
2779
2780 * admin/gitmerge.el (gitmerge-resolve-unmerged): Fix doc typo.
2781
27822017-11-08 Charles A. Roelli <charles@aurox.ch>
2783
2784 Further workaround for faulty localtime() under macOS 10.6
2785
2786 * lisp/org/org-clock.el (org-clock--oldest-date): Fix an issue
2787 when compiling on macOS 10.6 with a western time zone (a
2788 continuation of Bug#27736). In particular, see:
2789
2790 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27736#74
2791
2792 and the first commit that attempted to work around this problem,
2793 "Workaround for faulty localtime() under macOS 10.6", bd49b6f1 of
2794 2017-09-30.
2795
27962017-11-08 Eric Abrahamsen <eric@ericabrahamsen.net>
2797
2798 Handle object string name in eieio-persistent-convert-list-object
2799
2800 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2801 Starting to phase out the printing of object names in
2802 `object-write', handle either case.
2803
28042017-11-08 Ryan C. Thompson <rct@thompsonclan.org>
2805
2806 Fix handling of nil PRED2 arg for completion-table-with-predicate
2807
2808 * lisp/minibuffer.el (completion-table-with-predicate): Don't act as
2809 if strict is non-nil when pred2 is nil (Bug#27841).
2810 * test/lisp/minibuffer-tests.el
2811 (completion-table-with-predicate-test): Add a test for Bug#27841.
2812
28132017-11-07 K. Handa <handa@gnu.org>
2814
2815 Describe Lao rendering problem
2816
2817 * etc/PROBLEMS: Describe a workaround for the problem of Lao rendering
2818 by OpenTyype font.
2819
28202017-11-07 K. Handa <handa@gnu.org>
2821
2822 Fix docstring of arabic-shaper-ZWNJ-handling
2823
2824 * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Adjusted
2825 the doctstring for addition of :set (bug#28312).
2826
28272017-11-07 Antonin Houska <ah@melesmeles.cz> (tiny change)
2828
2829 Handle single-line comments correctly (Bug#26049)
2830
2831 * lisp/newcomment.el (comment-region-internal): Previously, the
2832 comment text had to contain at least one line break character for the
2833 ending extra line to be added. Make the behavior more consistent by
2834 looking for end of line instead.
2835 (comment-region-internal): Remove trailing white space from the
2836 comment's initial line.
2837
28382017-11-07 Glenn Morris <rgm@gnu.org>
2839
2840 * test/lisp/net/tramp-tests.el (tramp-test16-file-expand-wildcards):
2841 Clean up properly.
2842
28432017-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2844
2845 * etc/PROBLEMS: Add URL to relevant issues for xterm+evil bug
2846
28472017-11-06 Martin Rudalics <rudalics@gmx.at>
2848
2849 Document new treatment of 'comment-auto-fill-only-comments'
2850
2851 * doc/lispref/text.texi (Auto Filling): Add reference to Emacs
2852 manual. Add description of 'comment-auto-fill-only-comments'.
2853 * etc/NEWS: Mention new treatment of
2854 'comment-auto-fill-only-comments'.
2855
28562017-11-05 Michael Albinus <michael.albinus@gmx.de>
2857
2858 Do not load Tramp unless `tramp-mode' is non-nil
2859
2860 * lisp/net/tramp.el (tramp-autoload-file-name-handler): Load Tramp only if
2861 `tramp-mode' is non-nil.
2862 (tramp-unload-file-name-handlers): Unload also
2863 `tramp-autoload-file-name-handler'.
2864
2865 * test/lisp/net/tramp-tests.el (tramp-test42-delay-load): Extend test.
2866
28672017-11-05 Michael Albinus <michael.albinus@gmx.de>
2868
2869 Prefer `customize-set-variable' in tramp.texi
2870
2871 * doc/misc/tramp.texi (Configuration, Default Method, Default User)
2872 (Default Host, Remote shell setup, Auto-save and Backup)
2873 (Ad-hoc multi-hops, Frequently Asked Questions):
2874 Prefer `customize-set-variable' over `custom-set-variables'.
2875
28762017-11-05 Eli Zaretskii <eliz@gnu.org>
2877
2878 Fix last change in hscroll_window_tree
2879
2880 * src/xdisp.c (hscroll_window_tree): When hscroll suspension is
2881 being disabled, set the frame's garbaged flag less eagerly.
2882 (Bug#29002)
2883
28842017-11-05 Philipp Stephani <phst@google.com>
2885
2886 Ediff: add some missing documentation
2887
2888 * lisp/vc/ediff.el (ediff-files, ediff-files3, ediff-buffers)
2889 (ediff-buffers3, ediff-merge-directories)
2890 (ediff-merge-directories-with-ancestor)
2891 (ediff-merge-directory-revisions)
2892 (ediff-merge-directory-revisions-with-ancestor)
2893 (ediff-windows-wordwise, ediff-windows-linewise)
2894 (ediff-regions-wordwise, ediff-regions-linewise)
2895 (ediff-merge-files, ediff-merge-files-with-ancestor)
2896 (ediff-merge-buffers, ediff-merge-buffers-with-ancestor)
2897 (ediff-merge-revisions, ediff-merge-revisions-with-ancestor)
2898 (ediff-patch-file, ediff-revision): Document missing arguments.
2899 (ediff-patch-buffer, ediff-revision): Add second space after
2900 period.
2901 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2902 (ediff-merge-with-ancestor-command, ediff-directories-command)
2903 (ediff-directories3-command, ediff-merge-directories-command): Add
2904 documentation for the command line functions.
2905
29062017-11-05 Justin Timmons <justinmtimmons@gmail.com> (tiny change)
2907
2908 Support python virtualenv on w32 (Bug#24464)
2909
2910 According to the virtualenv docs only POSIX systems follow the
2911 structure "/path/to/venv/bin/", while windows systems use
2912 "/path/to/venv/Scripts" for the location of the binary files, most
2913 importantly including the python interpreter (see:
2914 https://virtualenv.pypa.io/en/stable/userguide/#windows-notes).
2915 * lisp/progmodes/python.el (python-shell-calculate-exec-path): Use the
2916 "/path/to/venv/Scripts" for `windows-nt' machines.
2917
29182017-11-05 Noam Postavsky <npostavs@gmail.com>
2919
2920 Improve dired deletion error handling (Bug#28797)
2921
2922 * lisp/dired.el (dired-internal-do-deletions): Use
2923 `error-message-string' to produce a human readable error message.
2924
29252017-11-05 Noam Postavsky <npostavs@gmail.com>
2926
2927 Don't replace user input when completion prefix is empty (Bug#18951)
2928
2929 * lisp/pcomplete.el (pcomplete-parse-arguments): Only replace user
2930 input if we produced a non-empty common completion stub.
2931
29322017-11-05 Eli Zaretskii <eliz@gnu.org>
2933
2934 Return non-nil from gnutls-available-p under GnuTLS 2.x
2935
2936 * doc/misc/emacs-gnutls.texi (Help For Users): Update the
2937 documentation of 'gnutls-available-p'.
2938
2939 * etc/NEWS (GnuTLS): Mention the change in the value returned by
2940 'gnutls-available-p'.
2941
2942 * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS
2943 2.x is available. (Bug#29147)
2944
29452017-11-05 João Távora <joaotavora@gmail.com>
2946
2947 Fix Flymake help-echo functions across windows (bug#29142)
2948
2949 * lisp/progmodes/flymake.el (flymake--highlight-line): Use
2950 with-selected-window.
2951 (flymake-goto-next-error): Call help-echo with a window and an
2952 overlay.
2953
29542017-11-05 João Távora <joaotavora@gmail.com>
2955
2956 Add tests for Flymake backends for Ruby and Perl
2957
2958 * test/lisp/progmodes/flymake-tests.el (perl-backend)
2959 (ruby-backend): New tests.
2960 (warning-predicate-rx-perl, warning-predicate-function-perl):
2961 Delete tests.
2962
2963 * test/lisp/progmodes/flymake-resources/test.pl: Include an
2964 error the test file.
2965
2966 * test/lisp/progmodes/flymake-resources/test.rb: file.
2967
29682017-11-05 João Távora <joaotavora@gmail.com>
2969
2970 Add a Flymake backend for Perl
2971
2972 Define a simple backend in perl-mode.el, which cperl-mode.el also
2973 uses.
2974
2975 * lisp/progmodes/cperl-mode.el (cperl-mode): Add to
2976 flymake-diagnostic-functions.
2977
2978 * lisp/progmodes/flymake-proc.el
2979 (flymake-proc-allowed-file-name-masks): Disable legacy backend
2980 for perl files.
2981
2982 * lisp/progmodes/perl-mode.el (perl-flymake-command): New
2983 defcustom.
2984 (perl--flymake-proc): New buffer-local variable.
2985 (perl-flymake): New function.
2986 (perl-mode): Add to flymake-diagnostic-functions.
2987
29882017-11-05 João Távora <joaotavora@gmail.com>
2989
2990 Add a Flymake backend for Ruby
2991
2992 * lisp/progmodes/ruby-mode.el (ruby-flymake-command): New
2993 defcustom.
2994 (ruby--flymake-proc): New buffer-local variable.
2995 (ruby-flymake): New function.
2996 (ruby-mode): Add flymake-diagnostic-functions.
2997
29982017-11-05 Lele Gaifax <lele@metapensiero.it>
2999
3000 Add a Flymake backend for Python (bug#28808)
3001
3002 Implement new Flymake backend with related customizable settings.
3003
3004 * lisp/progmodes/python.el (python-flymake-command)
3005 (python-flymake-command-output-pattern)
3006 (python-flymake-msg-alist): New defcustom.
3007 (python--flymake-parse-output): New function, able to parse
3008 python-flymake-command output accordingly to
3009 python-flymake-command-output-pattern.
3010 (python-flymake): New function implementing the backend
3011 interface using python--flymake-parse-output for the real
3012 work.
3013 (python-mode): Add python-flymake to flymake-diagnostic-functions.
3014
30152017-11-05 Michael Albinus <michael.albinus@gmx.de>
3016
3017 Allow "%" in Tramp host names
3018
3019 * lisp/net/tramp-gvfs.el (tramp-gvfs-url-file-name): Hexify also host.
3020
3021 * lisp/net/tramp.el (tramp-host-regexp): Allow "%" in host names.
3022
30232017-11-04 Noam Postavsky <npostavs@users.sourceforge.net>
3024
3025 Use hybrid malloc for FreeBSD (Bug#28308)
3026
3027 FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when
3028 using system malloc dumping does not work correctly (allocated data is
3029 invalid after dumping).
3030 * configure.ac: Set hybrid_malloc for freebsd.
3031 * src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk.
3032
30332017-11-04 Charles A. Roelli <charles@aurox.ch>
3034
3035 Add html-, mhtml- and python-mode support to semantic symref
3036
3037 * lisp/cedet/semantic/symref/grep.el
3038 (semantic-symref-filepattern-alist): Fix the entry for
3039 'html-mode', which used a regexp-like syntax where only glob
3040 syntax is permitted. As a result, 'xref-find-references' (M-?)
3041 can now find references in HTML files. Also duplicate the same
3042 entry for the sake of 'mhtml-mode', and add a new one for
3043 'python-mode'.
3044 (semantic-symref-derive-find-filepatterns): In the documentation,
3045 clarify that returned patterns must follow the glob syntax. Fix
3046 an 'if' test that always evaluates to nil.
3047 (semantic-symref-tool-grep):
3048 (semantic-symref-perform-search): Fix typos.
3049
30502017-11-04 Eli Zaretskii <eliz@gnu.org>
3051
3052 Improve documentation of 'window-scroll-functions'
3053
3054 * doc/lispref/windows.texi (Window Hooks): Clarify the values of
3055 arguments of 'window-scroll-functions' functions.
3056
3057 * src/xdisp.c (syms_of_xdisp) <window-scroll-functions>: Doc fix.
3058
30592017-11-04 Eli Zaretskii <eliz@gnu.org>
3060
3061 Fix subtle problems in tabulated-list-mode with line numbers
3062
3063 * lisp/emacs-lisp/tabulated-list.el
3064 (tabulated-list-watch-line-number-width): Call
3065 tabulated-list-init-header instead of tabulated-list-revert.
3066 (tabulated-list-window-scroll-function): New function.
3067 (tabulated-list-mode): Put 'tabulated-list-window-scroll-function'
3068 on the buffer-local 'window-scroll-functions' list.
3069
30702017-11-04 Eli Zaretskii <eliz@gnu.org>
3071
3072 Make gdb-non-stop-setting default to nil on MS-Windows
3073
3074 * lisp/progmodes/gdb-mi.el (gdb-non-stop-setting): Now nil on
3075 MS-Windows.
3076
30772017-11-04 Mike Gulick <mike.gulick@mathworks.com> (tiny change)
3078
3079 Fix gdb-mi prompt after "attach PID" command
3080
3081 * lisp/progmodes/gdb-mi.el (gdbmi-bnf-console-stream-output): Set
3082 gdb-first-done-or-error non-nil. (Bug#29020)
3083
30842017-11-04 Eli Zaretskii <eliz@gnu.org>
3085
3086 Fix doc string of 'window-configuration-change-hook'
3087
3088 * src/window.c (syms_of_window) <window-configuration-change-hook>:
3089 Doc fix. (Bug#29049)
3090
30912017-11-04 Eli Zaretskii <eliz@gnu.org>
3092
3093 Improve documentation of window hooks
3094
3095 * doc/lispref/windows.texi (Window Hooks): Fix the description of
3096 window-configuration-change-hook. (Bug#29049)
3097 <run-window-scroll-functions, run-window-configuration-change-hook>:
3098 Document these functions.
3099
31002017-11-04 Eli Zaretskii <eliz@gnu.org>
3101
3102 Fix hscroll suspension after cursor motion
3103
3104 * src/xdisp.c (hscroll_window_tree): Trigger a thorough redisplay
3105 of the window when temporary suspension of hscrolling is
3106 disabled. (Bug#29002)
3107
31082017-11-03 Alan Mackenzie <acm@muc.de>
3109
3110 Introduce a function to CC Mode which displays the current function name
3111
3112 Remove an erroneous interactive specification from two functions.
3113
3114 * lisp/progmodes/cc-cmds.el (c-display-defun-name): New command.
3115 (c-defun-name, c-cpp-define-name): Remove interactive specification.
3116
3117 * lisp/progmodes/cc-mode.el (c-mode-base-map): Add binding C-c C-z for the new
3118 command.
3119
3120 * doc/misc/cc-mode.texi (Other Commands): Add documentation for the new
3121 command.
3122
31232017-11-03 Eli Zaretskii <eliz@gnu.org>
3124
3125 Fix typos in ediff-wind.el
3126
3127 * lisp/vc/ediff-wind.el (ediff-setup-windows-multiframe-merge):
3128 Fix typos in commentary. (Bug#29138)
3129
31302017-11-03 João Távora <joaotavora@gmail.com>
3131
3132 Examine tex-chktex--process in the correct buffer
3133
3134 As in other Flymake backends, the process sentinel might run in
3135 arbitrary buffers where this variable's value doesn't make sense.
3136
3137 For a way to trigger a problem due to this, see discussion starting in
3138 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00645.html
3139
3140 * lisp/textmodes/tex-mode.el (tex-chktex): Use
3141 with-current-buffer.
3142
31432017-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
3144
3145 * nt/INSTALL.W64: Update to current mingw64 install instructions
3146
31472017-11-03 João Távora <joaotavora@gmail.com>
3148
3149 Don't resignal errors in flymake-diag-region
3150
3151 * lisp/progmodes/flymake.el (flymake-diag-region): Use
3152 flymake-log instead of flymake-error.
3153
31542017-11-03 João Távora <joaotavora@gmail.com>
3155
3156 New xref-quit-and-goto-xref command bound to TAB (bug#28814)
3157
3158 This is like xref-goto-xref, but quits the *xref* window just before
3159 the user jump to ref.
3160
3161 * lisp/progmodes/xref.el (xref--show-location): Handle 'quit
3162 value for SELECT.
3163 (xref-goto-xref): Take optional QUIT arg.
3164 (xref-quit-and-goto-xref): New command.
3165 (xref--xref-buffer-mode-map): Bind "Q" and "TAB" to
3166 xref-quit-and-goto-xref.
3167
3168 * doc/emacs/maintaining.texi (Xref Commands): Describe new bindings in
3169 *xref*.
3170
3171 * etc/NEWS (Xref): Describe new binding.
3172
31732017-11-03 João Távora <joaotavora@gmail.com>
3174
3175 Allow split-window-sensibly to split threshold in further edge case
3176
3177 As a fallback, and to avoid creating a frame, split-window-sensibly
3178 would previously disregard split-height-threshold if the window to be
3179 split is the frame's root window.
3180
3181 This change generalizes that: it disregards the threshold if the
3182 window to be split is the frame's only _usable_ window (it is either
3183 the only one, as before, or all the other windows are dedicated to
3184 some buffer and thus cannot be touched).
3185
3186 This is required for the fix to bug#28814.
3187
3188 * lisp/window.el (split-height-threshold): Adjust doc to match
3189 split-window-sensibly.
3190 (split-window-sensibly): Also disregard threshold if all other
3191 windows are dedicated.
3192
31932017-11-03 João Távora <joaotavora@gmail.com>
3194
3195 Honor window-switching intents in xref-find-definitions (bug#28814)
3196
3197 When there is more than one xref to jump to, and an *xref* window
3198 appears to help the user choose, the original intent to open a
3199 definition in another window or frame is remembered when the choice to
3200 go to or show a reference is finally made.
3201
3202 * lisp/progmodes/xref.el (xref--show-pos-in-buf): Rewrite.
3203 (xref--original-window-intent): New variable.
3204 (xref--original-window): Rename from xref--window and move up
3205 here for clarity.
3206 (xref--show-pos-in-buf): Rewrite. Don't take SELECT arg here.
3207 (xref--show-location): Handle window selection decision here.
3208 (xref--window): Rename to xref--original-window.
3209 (xref-show-location-at-point): Don't attempt window management here.
3210 (xref--show-xrefs): Ensure display-action intent is saved.
3211
32122017-11-03 Paul Pogonyshev <pogonyshev@gmail.com>
3213
3214 * lisp/emacs-lisp/generator.el (iter-do): Add a debug declaration.
3215
32162017-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3217
3218 * lisp/progmodes/flymake.el (flymake-start): Fix dead buffer case
3219
3220 Don't try to flymake-start within a buffer that doesn't exist any more.
3221
32222017-11-03 Basil L. Contovounesios <contovob@tcd.ie>
3223
3224 Fix buffer name comparison in async shell-command
3225
3226 * lisp/simple.el (shell-command): Keep track of output-buffer
3227 by its name, not by its object. (Bug#28997)
3228
32292017-11-03 Paul Eggert <eggert@cs.ucla.edu>
3230
3231 Change GCALIGNMENT back to an integer literal
3232
3233 * src/lisp.h (GCALIGNMENT): Change it back to a macro
3234 that expands to a literal integer constant, for older GCC.
3235 I had mistakenly thought that only MSVC had the problem.
3236 Problem repored by Eli Zaretskii (Bug#29040#69).
3237
32382017-11-03 Paul Eggert <eggert@cs.ucla.edu>
3239
3240 * src/lisp.h (GCALIGNED): Clarify comment (Bug#29040).
3241
32422017-11-03 Hong Xu <hong@topbug.net>
3243
3244 Improve the doc of eshell-cmpl-* custom variables (Bug#25069)
3245
3246 * lisp/eshell/em-cmpl.el (eshell-cmpl--custom-variable-docstring): New
3247 function to generate the docstring for custom variables derived from
3248 pcomplete-* variables.
3249 (eshell-cmpl-file-ignore, eshell-cmpl-dir-ignore)
3250 (eshell-cmpl-ignore-case, eshell-cmpl-autolist)
3251 (eshell-cmpl-suffix-list, eshell-cmpl-recexact)
3252 (eshell-cmpl-man-function, eshell-cmpl-compare-entry-function)
3253 (eshell-cmpl-expand-before-complete, eshell-cmpl-cycle-completions)
3254 (eshell-cmpl-cycle-cutoff-length, eshell-cmpl-restore-window-delay)
3255 (eshell-command-completion-function, eshell-cmpl-command-name-function)
3256 (eshell-default-completion-function, eshell-cmpl-use-paring): Use it
3257 to set the docstring.
3258
32592017-11-02 Alan Third <alan@idiocy.org>
3260
3261 Fix mouse-scrollbar offset on GNUstep and old macOS (bug#29053)
3262
3263 * src/nsterm.m (EmacsScroller::mouseDown,
3264 EmacsScroller::mouseDragged): Take scroller buttons into account when
3265 calculating scroller knob position.
3266
32672017-11-02 Paul Eggert <eggert@cs.ucla.edu>
3268
3269 Merge from Gnulib
3270
3271 This incorporates:
3272 2017-10-29 timespec: prefer ‘assume’ to ‘assure’
3273 2017-10-27 timespec.h: use "assure" to avoid a spurious warning
3274 2017-10-09 getopt-posix: Fix build failure if ac_cv_header_getopt_h=no
3275 * build-aux/config.guess, build-aux/config.sub:
3276 * lib/timespec.h, lib/unistd.in.h:
3277 Copy from Gnulib.
3278
32792017-11-02 Paul Eggert <eggert@cs.ucla.edu>
3280
3281 Fix alignment portability problems
3282
3283 Do not assume that the natural alignment of Lisp objects is a
3284 multiple of GCALIGNMENT. This improves on the portability of the
3285 recent fix for Bug#29040.
3286 * lib-src/make-docfile.c (close_emacs_globals):
3287 * src/buffer.c (buffer_defaults, buffer_local_symbols):
3288 * src/lisp.h (DEFUN):
3289 * src/thread.c (main_thread):
3290 Use GCALIGNED, not alignas (GCALIGNMENT).
3291 * src/alloc.c (COMMON_MULTIPLE):
3292 Move back here from lisp.h, since it is no longer used elsewhere.
3293 * src/lisp.h (GCALIGNMENT): No longer a macro, since we need not
3294 worry about MSVC. Omit no-longer-needed consistency check.
3295 * src/thread.c (THREAD_ALIGNMENT): Remove.
3296
32972017-11-02 Simen Heggestøyl <simenheg@gmail.com>
3298
3299 Fix completion of colon after CSS property (Bug#29056)
3300
3301 * lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert
3302 ": ;" after completing a CSS property unless the rest of the line is
3303 empty.
3304
33052017-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * src/alloc.c (sweep_symbols): Tweak last change
3308
3309 Avoid the double-free without the extra check. Add an explanatory comment.
3310
33112017-11-02 Martin Rudalics <rudalics@gmx.at>
3312
3313 In frame parameters documentation mention desktop saving/restoring
3314
3315 * doc/lispref/frames.texi (Frame Parameters): Mention that
3316 applications have to care about which parameters they want to
3317 get saved and restored by the desktop library.
3318
33192017-11-02 Martin Rudalics <rudalics@gmx.at>
3320
3321 Don't have frameset save the 'client' parameter (Bug#29067)
3322
3323 * lisp/frameset.el (frameset-persistent-filter-alist): Never
3324 save 'client' parameter (Bug#29067).
3325
33262017-11-02 Gemini Lasswell <gazally@runbox.com>
3327
3328 Handle generic variables in cl-defgeneric Edebug spec
3329
3330 *lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Fix Edebug spec to
3331 match (setf name) and replace incorrect cl-lambda-list with listp
3332 (Bug#27747).
3333
33342017-11-02 Noam Postavsky <npostavs@gmail.com>
3335
3336 Give a more sensible message if file-attributes fails (Bug#29070)
3337
3338 * lisp/server.el (server-ensure-safe-dir): Don't claim the directory
3339 is a file if we fail to get anything from `file-attributes'.
3340
33412017-11-01 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 Avoid wrong value from file-attributes on Linux kernel before 3.6
3344
3345 * src/dired.c (file_attributes): Handle unsupported fstat on O_PATH
3346 descriptors. (bug#29070)
3347
33482017-11-01 Noam Postavsky <npostavs@gmail.com>
3349
3350 Fix customization of debugger-print-function (Bug#29077)
3351
3352 * lisp/emacs-lisp/debug.el (debugger-print-function): The :options
3353 keyword has no effect for :type 'function, use :type '(choice ...)
3354 instead.
3355
33562017-10-31 Eli Zaretskii <eliz@gnu.org>
3357
3358 Avoid duplicate calls to xfree for the same pointer
3359
3360 * src/alloc.c (sweep_symbols): Avoid freeing an already freed
3361 pointer to a symbol's buffer-local value. (Bug#29066)
3362
33632017-10-31 Phil Sainty <psainty@orcon.net.nz>
3364
3365 Don't clobber docstrings of explicitly-defined mode hook variables
3366
3367 * lisp/emacs-lisp/derived.el (define-derived-mode):
3368 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): When defining the
3369 mode hook variable, do not clobber pre-existing docstrings.
3370
33712017-10-31 Martin Rudalics <rudalics@gmx.at>
3372
3373 Avoid fullscreen ediff control frames by default (Bug#29026)
3374
3375 * lisp/vc/ediff-wind.el (ediff-control-frame-parameters):
3376 Add parameter to avoid fullscreen control frames (Bug#29026).
3377
33782017-10-31 Katsumi Yamaoka <yamaoka@jpl.org>
3379
3380 Fix the bug#24034 change (revno 9eb028f) causing infloop (bug#29047)
3381
3382 * lisp/net/shr.el (shr-fill-line): Copy only face and image-displayer
3383 properties to gaps (bug#29047).
3384
33852017-10-30 Eli Zaretskii <eliz@gnu.org>
3386
3387 Fix a typo in the ELisp manual
3388
3389 * doc/lispref/functions.texi (Obsolete Functions): Fix a typo.
3390 (Bug#29068)
3391
33922017-10-30 Martin Rudalics <rudalics@gmx.at>
3393
3394 Fix doc and doc-strings for minibuffer window related functions (Bug#28978)
3395
3396 These fixes were suggested by Drew Adams.
3397
3398 * src/window.c (Fminibuffer_selected_window): Disambiguate
3399 doc-string.
3400 * doc/lispref/minibuf.texi (Intro to Minibuffers)
3401 (Minibuffer Windows, Recursive Mini, Minibuffer Misc): Avoid
3402 the term "currently active minibuffer window". Disambiguate
3403 documentation of `minibuffer-selected-window'.
3404
34052017-10-30 Alan Mackenzie <acm@muc.de>
3406
3407 Fix "Args out of range" error in c-determine-limit. Fixes bug #28598.
3408
3409 * lisp/progmodes/cc-engine.el (c-determine-limit-get-base): If the candidate
3410 position for BASE is below point-min, scan forward to the end of the current
3411 literal.
3412 (c-determine-limit): Add an extra arm to the final cond form, testing for BASE
3413 being at point-min.
3414
34152017-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * lisp/progmodes/perl-mode.el: Fix electric indentation with RET
3418
3419 (perl-electric-noindent-p): The `eolp' check should not apply to RET.
3420 Reported in https://emacs.stackexchange.com/questions/36337.
3421
34222017-10-29 Tom Tromey <tom@tromey.com>
3423
3424 Extend mhtml submode region when in comment
3425
3426 * lisp/textmodes/mhtml-mode.el (mhtml-syntax-propertize): Extend
3427 submode when start happens to be in a comment.
3428
34292017-10-29 Tom Tromey <tom@tromey.com>
3430
3431 Fix mthml submode lighting at end of buffer
3432
3433 * lisp/textmodes/mhtml-mode.el (mhtml--submode-lighter): Handle end of
3434 buffer correctly.
3435
34362017-10-29 Tom Tromey <tom@tromey.com>
3437
3438 Remember more variables in mhtml-mode
3439
3440 * lisp/textmodes/mhtml-mode.el (mhtml--crucial-variable-prefix): Add
3441 "completion-" and "major-mode".
3442 (mhtml--variable-prefix): Remove "major-mode".
3443
34442017-10-29 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3445
3446 * etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility.
3447
34482017-10-29 Martin Rudalics <rudalics@gmx.at>
3449
3450 Fix minibuffer window related docs and strings (Bug#28978)
3451
3452 * src/frame.c (Vdefault_minibuffer_frame): Fix doc-string.
3453 * src/window.c (Fminibuffer_selected_window): Fix doc-string.
3454 * doc/lispref/frames.texi (Buffer Parameters): Rewrite
3455 description of `minibuffer' parameter.
3456 * doc/lispref/minibuf.texi (Minibuffer Windows): Reorder
3457 entries and partly rewrite section.
3458 (Minibuffer Misc): Clarify description of
3459 `minibuffer-selected-window'.
3460 * etc/NEWS: Mention new semantics of 'minibuffer' frame
3461 parameter.
3462
34632017-10-29 Mark Oteiza <mvoteiza@udel.edu>
3464
3465 Add ChkTeX flymake backend for latex-mode
3466
3467 * lisp/textmodes/tex-mode.el (tex-flymake): New custom group.
3468 (tex-chktex-program, tex-chktex-extra-flags): New custom variables.
3469 (latex-mode): Add backend to flymake-diagnostic-functions.
3470 (tex-chktex--process): New variable.
3471 (tex-chktex-command, tex-chktex): New functions.
3472
34732017-10-29 Glenn Morris <rgm@gnu.org>
3474
3475 Fix doc typos
3476
3477 * lisp/simple.el (line-move-ignore-invisible):
3478 * lisp/sort.el (sort-regexp-fields):
3479 * lisp/cedet/ede.el (project-add-file):
3480 * lisp/gnus/message.el (message-bogus-recipient-p):
3481 * lisp/international/mule.el (define-coding-system):
3482 * lisp/progmodes/ebrowse.el (ebrowse-member-buffer-object-menu):
3483 * lisp/progmodes/xscheme.el (xscheme-allow-output-p)
3484 (scheme-interaction-mode, scheme-debugger-mode)
3485 (xscheme-yank-pop, xscheme-yank-push): Doc fixes.
3486
34872017-10-29 Glenn Morris <rgm@gnu.org>
3488
3489 Fix some duplicate word typos
3490
3491 * doc/misc/ede.texi (ede-target):
3492 * doc/misc/flymake.texi (Using Flymake):
3493 * doc/misc/gnus.texi (The namazu Engine): Fix typos.
3494
34952017-10-28 Eli Zaretskii <eliz@gnu.org>
3496
3497 * doc/lispref/commands.texi (Adjusting Point): Fix wording. (Bug#29042)
3498
34992017-10-28 Eli Zaretskii <eliz@gnu.org>
3500
3501 Avoid segfaults in 64-bit Windows builds
3502
3503 * src/lisp.h (COMMON_MULTIPLE): Move here from alloc.c.
3504 * src/thread.c (THREAD_ALIGNMENT): New macro.
3505 (main_thread): Use THREAD_ALIGNMENT to align propertly. (Bug#29040)
3506
35072017-10-28 Eli Zaretskii <eliz@gnu.org>
3508
3509 Fix conversion of pixel coordinates to buffer position
3510
3511 * src/dispnew.c (buffer_posn_from_coords): Adapt to
3512 auto-hscroll-mode == current-line.
3513
35142017-10-28 Eli Zaretskii <eliz@gnu.org>
3515
3516 Fix doc strings in desktop.el
3517
3518 * lisp/desktop.el (desktop-auto-save-timeout)
3519 (desktop-auto-save-set-timer): Doc fixes. (Bug#28945)
3520
35212017-10-28 Eli Zaretskii <eliz@gnu.org>
3522
3523 Add Index to ERT manual
3524
3525 * doc/misc/ert.texi: Add @syncodeindex directives.
3526 (Index): New node.
3527 (Top): Add Index to the top-level menus.
3528 Add index entries to all nodes.
3529
35302017-10-28 Eli Zaretskii <eliz@gnu.org>
3531
3532 Make manuals and NEWS consistent
3533
3534 * etc/NEWS: Fix markings on several entries, and rearrange others
3535 as needed.
3536
3537 * doc/emacs/programs.texi (Hideshow): Document the new
3538 outline-like bindings.
3539 * doc/emacs/search.texi (Query Replace): Document 'u' and 'U'.
3540
35412017-10-28 Martin Rudalics <rudalics@gmx.at>
3542
3543 Don't allow (minibuffer-window-active-p nil) to return t
3544
3545 * lisp/window.el (minibuffer-window-active-p): Return t
3546 only if WINDOW is a live window.
3547
35482017-10-28 Eli Zaretskii <eliz@gnu.org>
3549
3550 Clarify obsolescence message for 'whitespace-tab'
3551
3552 * lisp/whitespace.el (whitespace-tab): Make the obsolescence
3553 message more clear about the replacement.
3554
35552017-10-28 Glenn Morris <rgm@gnu.org>
3556
3557 Fix some duplicate words typos
3558
3559 * lisp/erc/erc.el (erc-hide-current-message-p):
3560 * lisp/progmodes/flymake-proc.el (flymake-proc-diagnostic-type-pred):
3561 * doc/lispref/display.texi (Bidirectional Display, Delayed Warnings):
3562 * doc/lispref/functions.texi (Defining Functions):
3563 * doc/lispref/os.texi (Terminal-Specific):
3564 * doc/misc/sem-user.texi (Analyzer Debug):
3565 * doc/misc/srecode.texi (Special Variables): Fix typos.
3566
35672017-10-28 Glenn Morris <rgm@gnu.org>
3568
3569 * lisp/button.el (button-activate): Fix doc typo.
3570
3571 * lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix doc typo.
3572
35732017-10-28 Glenn Morris <rgm@gnu.org>
3574
3575 Fix some doc typos
3576
3577 * lisp/calendar/todo-mode.el (todo-next-item)
3578 (todo-previous-item, todo-toggle-item-header):
3579 * lisp/window.el (move-to-window-group-line):
3580 * src/editfns.c (Fformat):
3581 * test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05):
3582 Fix doc typos.
3583
35842017-10-27 Ken Brown <kbrown@cornell.edu>
3585
3586 Fix startup display on Cygwin
3587
3588 * src/xterm.c (x_make_frame_visible) [CYGWIN]: Restore code that
3589 forces input to be read. (Bug#24091)
3590
35912017-10-27 Eli Zaretskii <eliz@gnu.org>
3592
3593 * src/fileio.c (Fset_default_file_modes): Fix typo in doc string.
3594
3595 * lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963)
3596
35972017-10-27 Eli Zaretskii <eliz@gnu.org>
3598
3599 Improve documentation of how faces are applied to display stings
3600
3601 * doc/lispref/display.texi (Displaying Faces): Describe how the
3602 faces of the "underlying" text affect overlay and display strings.
3603 (Display Margins): Add a cross-reference to "Displaying Faces".
3604
36052017-10-27 Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
3606
3607 Improve pixel-scroll-mode
3608
3609 Scroll vertically by number of pixels returned by
3610 'frame-char-height' with or without horizontally scrolled.
3611 (Bug#28922)
3612
3613 * lisp/pixel-scroll.el (pixel-resolution-fine-flag): When t, scroll
3614 by number of pixels returned by 'frame-char-height'.
3615 (pixel-scroll-up): Scroll by 'frame-char-height'. Fix algorithm to
3616 move cursor to avoid unexpected jump.
3617 (pixel-scroll-down): Scroll by 'frame-char-height'.
3618 (pixel-bob-at-top-p): Consider number of pixels that is about to
3619 scroll.
3620 (pixel-posn-y-at-point): Consider existence of an overlay string.
3621 Return nil when horizontally scrolled.
3622 (pixel-point-at-top-p): Consider number of pixels that is about to
3623 scroll. Use different algorithm when horizontally scrolled.
3624 (pixel-point-at-bottom-p): Consider number of pixels that is about
3625 to scroll. Return nil when horizontally scrolled.
3626 (pixel-scroll-pixel-down): Move cursor when horizontally scrolled.
3627 (pixel--whistlestop-line-up): Change cosmetics and move cursor when
3628 horizontally scrolled.
3629 (pixel-line-height): Call 'pixel-visual-line-height' instead of
3630 'line-pixel-height'.
3631 (pixel-visual-line-height): New function to return height in pixels
3632 of text line where cursor is with or without horizontally scrolled,
3633 considering response of display engine.
3634 (pixel-visible-pos-in-window): New function to return position of
3635 a char shown on text line where cursor is on screen with or without
3636 horizontally scrolled.
3637
36382017-10-27 Daniel Lublin <daniel@lublin.se> (tiny change)
3639
3640 Support Certification Authority Authorization in dns-mode.el
3641
3642 * lisp/textmodes/dns-mode.el (dns-mode-types): Add "CAA".
3643 (Bug#28911)
3644
36452017-10-27 Eli Zaretskii <eliz@gnu.org>
3646
3647 Improve documentation of set-default-file-modes
3648
3649 * src/fileio.c (Fset_default_file_modes): Doc fix. (Bug#28875)
3650
3651 * doc/lispref/files.texi (Changing Files): Clarify how the bits in
3652 the argument of set-default-file-modes are used for setting file
3653 permissions.
3654
36552017-10-27 Ulf Jasper <ulf.jasper@web.de>
3656
3657 Fix documentation of `newsticker-new-item-functions' (bug#29023).
3658
3659 * lisp/net/newst-backend.el (newsticker-new-item-functions),
3660 (newsticker-new-item-functions-sample),
3661 (newsticker-download-enclosures): Fix docstring, rename
3662 variable feed to feedname (bug#29023).
3663
3664 * doc/misc/newsticker.texi (Automatic Processing)
3665 (Automatic Processing): Fix documentation of
3666 `newsticker-new-item-functions' (bug#29023).
3667
36682017-10-27 Tino Calancha <tino.calancha@gmail.com>
3669
3670 Require seq in rmc.el
3671
3672 * lisp/emacs-lisp/rmc.el: Require seq (Bug#28975).
3673 * test/lisp/emacs-lisp/rmc-tests.el (test-read-multiple-choice): Add test.
3674
36752017-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
3676
3677 Make an example code introduced in the Gnus info work (bug#29008)
3678
3679 You can find it in the bottom of (info "(gnus)Foreign Groups").
3680 NOTE: this change is worth being merged to the trunk.
3681
3682 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group):
3683 Allow a string for bug# (bug#29008).
3684
36852017-10-27 Katsumi Yamaoka <yamaoka@jpl.org>
3686
3687 Enable gnus-read-ephemeral-* to run multiple times (bug#29008)
3688
3689 NOTE: *DO NOT* merge this change to the trunk.
3690
3691 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group)
3692 (gnus-read-ephemeral-bug-group): Make it work for any number of times
3693 for the case `url-automatic-caching' is set (bug#29008).
3694
36952017-10-27 Paul Eggert <eggert@cs.ucla.edu>
3696
3697 Port thread.c to OpenBSD ARM
3698
3699 Problem reported by Jeremie Courreges-Anglas (Bug#29005).
3700 * src/thread.c (main_thread): Align to GCALIGNMENT.
3701
37022017-10-26 Alan Mackenzie <acm@muc.de>
3703
3704 Fix another "wrong side of point" error in CC Mode.
3705
3706 This fixes (a follow-up to) bug #28850.
3707 A internal generated form for scanning text to fontify had a LIMIT parameter.
3708 It also locally bound LIMIT to a value possibly beyond the original LIMIT,
3709 allowing point to move beyond the original LIMIT, and to create the wrong side
3710 error. Fix it by checking point is not beyond LIMIT in the outer context
3711 before using it.
3712
3713 * lisp/progmodes/cc-fonts.el (c-make-font-lock-search-form): Add a new
3714 parameter CHECK-POINT which, when non-nil, directs the function to generate a
3715 check on point.
3716 (c-make-font-lock-context-search-function): Invoke the above function with new
3717 argument value t.
3718
37192017-10-26 Michael Albinus <michael.albinus@gmx.de>
3720
3721 Fix Bug#28959
3722
3723 * lisp/net/tramp.el (tramp-handle-find-backup-file-name):
3724 Use `tramp-tramp-file-p' rather than `tramp-file-name-p'. Add
3725 hop to backup file name. (Bug#28959)
3726
3727 * test/lisp/net/tramp-tests.el (tramp-test34-find-backup-file-name):
3728 New test.
3729 (tramp-test35-make-nearby-temp-file)
3730 (tramp-test36-special-characters)
3731 (tramp-test36-special-characters-with-stat)
3732 (tramp-test36-special-characters-with-perl)
3733 (tramp-test36-special-characters-with-ls, tramp-test37-utf8)
3734 (tramp-test37-utf8-with-stat, tramp-test37-utf8-with-perl)
3735 (tramp-test37-utf8-with-ls, tramp-test38-file-system-info)
3736 (tramp-test39-asynchronous-requests)
3737 (tramp-test40-recursive-load, tramp-test41-remote-load-path)
3738 (tramp-test42-delay-load, tramp-test43-unload): Rename.
3739
37402017-10-26 Paul Eggert <eggert@cs.ucla.edu>
3741
3742 Fix duplicate .o file on QNX
3743
3744 * configure.ac (CYGWIN_OBJ): Leave empty on QNX.
3745 Problem reported by Elad Lahav in:
3746 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00750.html
3747
37482017-10-26 Dmitry Gutov <dgutov@yandex.ru>
3749
3750 Fix two js indentation problems
3751
3752 Fix intentation problems reported in
3753 https://github.com/mooz/js2-mode/issues/463.
3754 * lisp/progmodes/js.el (js--continued-expression-p):
3755 Check syntax state after /.
3756 (js--multi-line-declaration-indentation):
3757 Check syntax state before "const".
3758
37592017-10-25 Phillip Lord <phillip.lord@russet.org.uk>
3760
3761 Update documentation for windows build
3762
3763 * admin/nt/dist-build/README-scripts: New File.
3764
37652017-10-25 Alan Mackenzie <acm@muc.de>
3766
3767 Fix a "wrong side of point" error in CC Mode. Fixes bug #28850.
3768
3769 The cause was a scanning over a bracket pair taking us beyond the supplied
3770 LIMIT parameter in c-forward-declarator.
3771
3772 * lisp/progmodes/cc-engine.el (c-forward-declarator): Add three checks (<
3773 (point) limit) whilst dealing with tokens after the declared identifier.
3774
3775 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Don't supply a LIMIT
3776 argument to `c-forward-declarator' (twice), since we want to fontify up till
3777 the end of a declarator, not an arbitrary jit-lock chunk end.
3778
37792017-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3780
3781 Fix autoload of flymake from elisp-mode during bootstrap (bug#28994)
3782
3783 * lisp/loadup.el: add `progmodes` to load-path so we can find flymake.el.
3784 * lisp/kmacro.el: Require `replace` since we use query-replace-map.
3785 * lisp/replace.el: Require `text-mode` since we use text-mode-map.
3786
37872017-10-25 Alan Third <alan@idiocy.org>
3788
3789 Fix non-native fullscreen on NS (bug#28872)
3790
3791 * src/nsterm.m (EmacsView::updateFrameSize): Handle case where
3792 FRAME_TOOLBAR_HEIGHT returns a negative number. Force WM to set size
3793 of frame.
3794
37952017-10-25 Michael Albinus <michael.albinus@gmx.de>
3796
3797 Fix Bug#28982
3798
3799 * admin/MAINTAINERS: Add test/lisp/url/url-tramp-tests.el.
3800
3801 * lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp)
3802 (url-tramp-convert-tramp-to-url): Adapt to recent Tramp changes.
3803
3804 * test/lisp/url/url-tramp-tests.el: New file. (Bug#28982)
3805
38062017-10-25 Phillip Lord <phillip.lord@russet.org.uk>
3807
3808 Fix windows build errors
3809
3810 * admin/nt/dist-build/build-zips.sh: Correct name of zip file, build
3811 64 bit first
3812
38132017-10-25 Noam Postavsky <npostavs@gmail.com>
3814
3815 Fix compile warning for non-w32 builds
3816
3817 Since 2017-07-25 "ls-lisp: Add an unload function and enable lexical
3818 binding", the non-w32 builds would treat the undeclared
3819 w32-collate-ignore-punctuation variable as lexical.
3820 * lisp/ls-lisp.el (top-level): Declare it as a dynamic variable.
3821
38222017-10-25 David Glasser <glasser@davidglasser.net> (tiny change)
3823
3824 Display commit in package description, if available (Bug#28637)
3825
3826 MELPA includes a :commit field in its
3827 packages (https://github.com/melpa/package-build/pull/6). You can use
3828 this to tell if MELPA has processed a recently-merged change. This
3829 commit adds that metadata to the package description buffer.
3830
3831 * lisp/emacs-lisp/package.el: Display commit in package description.
3832
38332017-10-24 Paul Eggert <eggert@cs.ucla.edu>
3834
3835 Port to QNX
3836
3837 Simplified version of a patch proposed by Elad Lahav in:
3838 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00716.html
3839 which is based on a previous patch I proposed in:
3840 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00707.html
3841 * configure.ac (opsys, CFLAGS, LIBS_SYSTEM, hybrid_malloc)
3842 (system_alloc, FIRST_PTY_LETTER, CYGWIN_OBJ):
3843 Set appropriately for QNX.
3844 * src/unexelf.c [__QNX__]: Include <sys/elf.h> instead of <elf.h>.
3845 (unexec): Check for sbrk failure, and fall back on old BSS end.
3846
38472017-10-24 Paul Eggert <eggert@cs.ucla.edu>
3848
3849 * configure.ac: Tweak libcurses diagnostic.
3850
38512017-10-24 Phillip Lord <phillip.lord@russet.org.uk>
3852
3853 Scripts to automate windows binary distribution
3854
3855 * admin/nt/dist-build/README-windows-binaries,
3856 admin/nt/dist-build/build-dep-zips.py,
3857 admin/nt/dist-build/build-zips.sh: New Files
3858
38592017-10-24 Gemini Lasswell <gazally@runbox.com>
3860
3861 Fix Edebug specs for map-let and with-maps-do
3862
3863 * lisp/emacs-lisp/map.el (map-let): Fix Edebug spec (bug#24777).
3864 * test/lisp/emacs-lisp/map-tests.el (with-maps-do): Fix Edebug spec.
3865
38662017-10-24 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * test/lisp/net/tramp-tests.el (tramp-test41-delay-load): New test.
3869
3870 (tramp-test42-unload): Rename.
3871
38722017-10-24 Glenn Morris <rgm@gnu.org>
3873
3874 * admin/authors.el (authors-canonical-author-name):
3875 Ignore name issues in "lax" ChangeLogs.
3876
3877 * test/lisp/progmodes/sql-tests.el
3878 (sql-tests-postgres-list-databases-error): Silence compiler.
3879
38802017-10-23 Michael Albinus <michael.albinus@gmx.de>
3881
3882 Further work on Bug#28889
3883
3884 * lisp/net/tramp.el (tramp-set-syntax): New defun.
3885 (tramp-syntax): Use it. Change :package-version. (Bug#28889)
3886
38872017-10-23 Michael Albinus <michael.albinus@gmx.de>
3888
3889 Improve Tramp backward compatibility
3890
3891 * lisp/net/tramp-compat.el (tramp-compat-tramp-file-name-slots):
3892 New defmacro.
3893 * lisp/net/tramp.el (with-parsed-tramp-file-name): Use it.
3894
38952017-10-23 Michael Albinus <michael.albinus@gmx.de>
3896
3897 Improve backward compatibility of tramp-tests.el
3898
3899 * test/lisp/net/tramp-tests.el (tramp--test-emacs26-p): Fix docstring.
3900 (tramp-test41-unload): Skip unless Emacs >= 26.
3901
39022017-10-23 Martin Rudalics <rudalics@gmx.at>
3903
3904 Fix some ‘window-normalize-’ prefixed functions (Bug#28947)
3905
3906 * lisp/window.el (window-normalize-buffer): Fix case where
3907 BUFFER-OR-NAME is a string specifying a dead buffer. Fix
3908 doc-string (Bug#28947).
3909 (window-normalize-frame, window-normalize-window): Fix
3910 doc-strings (Bug#28947).
3911
39122017-10-23 Paul Eggert <eggert@cs.ucla.edu>
3913
3914 Port to OpenIndiana
3915
3916 Problem reported by Nelson H. F. Beebe (Bug#28893).
3917 Also see Bug#23748, Bug#9736, and Bug#5735.
3918 * configure.ac (tputs_library): Prefer libcurses to libtermcap,
3919 since OpenIndiana libtermcap lacks tparm.
3920
39212017-10-22 Alexander Gramiak <agrambot@gmail.com>
3922
3923 Don't fill keywords after Emacs Lisp docstring
3924
3925 This approach does mean that keywords that have spaces before them
3926 inside of docstrings aren't filled, but I think this is should be fine
3927 until Bug#28937 is fixed.
3928
3929 * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Add a colon to
3930 paragraph-start unconditionally, but require that it follows at least
3931 one space. (Bug#24622)
3932 * test/lisp/emacs-lisp/lisp-tests.el: New tests for Bug#24622 and
3933 Bug#7751.
3934
39352017-10-22 Alan Mackenzie <acm@muc.de>
3936
3937 Refactor c-forward-token-2 with new function c-forward-over-token-and-ws.
3938
3939 Use the new function directly in several places where c-forward-token-2
3940 wouldn't move over the last token in the buffer. This caused an infinite loop
3941 in c-restore-<>-properties.
3942
3943 * lisp/progmodes/cc-engine.el (c-forward-over-token-and-ws): New function,
3944 extracted from c-forward-token-2.
3945 (c-forward-token-2): Refactor, calling the new function.
3946 (c-restore-<>-properties): Fix infinite loop.
3947 (c-forward-<>-arglist-recur, c-in-knr-argdecl)
3948 (c-looking-at-or-maybe-in-bracelist): Call the new function directly in place
3949 of c-forward-token-2.
3950
3951 * lisp/progmodes/cc-cmds.el (c-defun-name) Call the new function directly in
3952 place of c-forward-token-2.
3953
3954 * lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Call the new
3955 function directly in place of c-forward-token-2.
3956
39572017-10-22 Paul Eggert <eggert@cs.ucla.edu>
3958
3959 Avoid unnecessary rounding errors in timestamps
3960
3961 Avoid the rounding errors of float-time when it’s easy. E.g.,
3962 replace (< (float-time a) (float-time b)) with (time-less-p a b).
3963 * lisp/desktop.el (desktop-save):
3964 * lisp/ecomplete.el (ecomplete-add-item):
3965 * lisp/epg.el (epg-wait-for-completion):
3966 * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
3967 * lisp/image-dired.el (image-dired-get-thumbnail-image)
3968 (image-dired-create-thumb-1):
3969 * lisp/info.el (info-insert-file-contents):
3970 * lisp/ls-lisp.el (ls-lisp-format-time):
3971 * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p)
3972 (ange-ftp-verify-visited-file-modtime):
3973 * lisp/net/rcirc.el (rcirc-ctcp-sender-PING):
3974 * lisp/textmodes/remember.el (remember-store-in-mailbox):
3975 * lisp/url/url-cookie.el (url-cookie-expired-p):
3976 Bypass float-time to avoid rounding errors.
3977
3978 * lisp/files.el (dir-locals-find-file):
3979
39802017-10-22 Paul Eggert <eggert@cs.ucla.edu>
3981
3982 Fix xdg timestamp error on 32-bit Emacs
3983
3984 * lisp/xdg.el (xdg-thumb-mtime): Return an Emacs timestamp,
3985 not an integer. This avoids signaling an error on 32-bit
3986 Emacs, where timestamps typically do not fit into fixnums
3987 (Bug#28921).
3988
39892017-10-22 John Williams <jrw@pobox.com> (tiny change)
3990
3991 Test that advice doesn't trigger bytecomp warnings (Bug#28803)
3992
3993 * test/lisp/emacs-lisp/bytecomp-tests.el
3994 (bytecomp-tests--test-no-warnings-with-advice): New test.
3995
39962017-10-21 Noam Postavsky <npostavs@gmail.com>
3997
3998 Another fix for unsafe directory error message (Bug#865)
3999
4000 * lisp/server.el (server-ensure-safe-dir): Put file owner's uid, not
4001 current user's for the wrong owner case. Show expanded file name in
4002 error message.
4003
40042017-10-21 Noam Postavsky <npostavs@gmail.com>
4005
4006 Handle https url for debbugs mbox (Bug#28831)
4007
4008 In 2017-09-13 "Prefer HTTPS to FTP and HTTP in documentation",
4009 gnus-bug-group-download-format-alist was updated to use https for the
4010 debbugs.gnu.org mbox links, but gnus-read-ephemeral-bug-group assumed
4011 http links.
4012 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use
4013 url-parse functions to get the host name, instead of ad-hoc regexps.
4014
40152017-10-21 Noam Postavsky <npostavs@gmail.com>
4016
4017 Ignore string properties when saving eshell history (Bug#28700)
4018
4019 * lisp/eshell/em-hist.el (eshell-write-history): Remove properties
4020 before inserting history strings.
4021 (eshell-read-history): Remove obsolete comment.
4022 * test/lisp/eshell/em-hist-tests.el (eshell-write-readonly-history):
4023 New test.
4024
40252017-10-21 Michael Albinus <michael.albinus@gmx.de>
4026
4027 Fix Bug#28889
4028
4029 * lisp/net/tramp.el: Change autoload cookie to tramp-autoload cookie.
4030 (tramp-completion-file-name-regexp-default)
4031 (tramp-completion-file-name-handler-alist)
4032 (tramp-completion-file-name-handler): Remove autoload cookie.
4033 (tramp-initial-completion-file-name-regexp): Remove.
4034 (tramp-autoload-file-name-regexp): New defconst.
4035 (tramp-register-autoload-file-name-handlers): Use it.
4036 (with-parsed-tramp-file-name): Adapt docstring. Compute
4037 `tramp-file-name' slots. (Bug#28889)
4038
40392017-10-21 Glenn Morris <rgm@gnu.org>
4040
4041 Update describe-function for recent Fdocumentation change
4042
4043 * lisp/help-fns.el (describe-function-1):
4044 Handle Fdocumentation returning either void or invalid.
4045
40462017-10-21 Charles A. Roelli <charles@aurox.ch>
4047
4048 Make flymake's mouse-wheel interaction portable (Bug#28732)
4049
4050 * lisp/progmodes/flymake.el (flymake--mode-line-format): Bind
4051 'mouse-wheel-down-event' and 'mouse-wheel-up-event' instead of
4052 'mouse-4' and 'mouse-5'. Update the tooltip text accordingly, and
4053 remove a stray newline in it.
4054
40552017-10-21 Nick Helm <nick@tenpoint.co.nz>
4056
4057 Prevent eldoc from changing the mode line
4058
4059 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message): Don't
4060 change the mode line if it is not displayed. (Bug#28697)
4061
40622017-10-21 Eli Zaretskii <eliz@gnu.org>
4063
4064 Fix doc strings in simple.el
4065
4066 * lisp/simple.el (shell-command-saved-pos)
4067 (region-extract-function, region-bounds): Doc fixes. (Bug#28609)
4068
40692017-10-21 Phil Sainty <psainty@orcon.net.nz>
4070
4071 Avoid creating inconsistent buffer states in term-char-mode
4072
4073 * lisp/term.el (term-mode, term-char-mode, term-line-mode)
4074 (term-emulate-terminal): Make buffer read-only in 'term-char-mode',
4075 except for the process filter's output. Use 'read-only-mode-hook' to
4076 track and restore the user-set state of 'buffer-read-only' for
4077 'term-line-mode'. (Bug#24837)
4078 (term-char-mode-buffer-read-only): New user option.
4079 (term-line-mode-buffer-read-only): New buffer-local variable.
4080 (term-line-mode-buffer-read-only-update): New function.
4081 (term-char-mode, term-line-mode): Use 'term-set-goto-process-mark'
4082 in pre-command-hook, and 'term-goto-process-mark-maybe' in
4083 post-command-hook to counter-act unexpected changes to point when
4084 using 'term-char-mode'.
4085 (term-char-mode-point-at-process-mark): New user option.
4086 (term-goto-process-mark): New buffer-local variable.
4087 (term-set-goto-process-mark): New function.
4088 (term-goto-process-mark-maybe): New function.
4089 (term-process-mark): New function.
4090
4091 * etc/NEWS: Mention the new behavior and user options.
4092
40932017-10-21 Bahodir Mansurov <bahodir@mansurov.org> (tiny change)
4094
4095 New input method 'usbek-cyrillic'
4096
4097 * lisp/leim/quail/cyrillic.el (uzbek-cyrillic): New input method.
4098 (Bug#28848)
4099
4100 * etc/NEWS: Mention the new input method.
4101
41022017-10-21 Eli Zaretskii <eliz@gnu.org>
4103
4104 Document 'minibuffer-with-setup-hook'
4105
4106 * doc/lispref/minibuf.texi (Minibuffer Misc): Document
4107 minibuffer-with-setup-hook. (Bug#28877)
4108
41092017-10-21 Paul Eggert <eggert@cs.ucla.edu>
4110
4111 Simplify make-progress-reporter vs float-time
4112
4113 * lisp/subr.el (make-progress-reporter): Remove no-longer-needed
4114 doc and code for the case where float-time is not supported,
4115 since float-time is always present now.
4116
41172017-10-21 Paul Eggert <eggert@cs.ucla.edu>
4118
4119 Fix two more minor Gnus typos
4120
4121 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
4122 The old code had two minor bugs: first, it multiplied by 1/65536
4123 instead of by 1/86400. Second, it called current-time twice and
4124 glued part of the two results together, resulting in a race.
4125 Fix both bugs by simplifying the code and using
4126 time-to-number-of-days.
4127
41282017-10-21 Paul Eggert <eggert@cs.ucla.edu>
4129
4130 Fix two minor Gnus typos
4131
4132 * lisp/gnus/gnus-sum.el (gnus-summary-import-article):
4133 Remove unused local, and fix use of local that was never assigned to.
4134
41352017-10-21 Glenn Morris <rgm@gnu.org>
4136
4137 Tweak Fdocumentation's error for an undefined function
4138
4139 * src/doc.c (Fdocumentation): Restore the pre-25 behavior
4140 of signalling a void-function error for an undefined function.
4141 This seems cleaner than Emacs 25's "invalid-function: nil" error,
4142 which was (probably) an unintended consequence of changes to
4143 Findirect_function.
4144
41452017-10-21 Glenn Morris <rgm@gnu.org>
4146
4147 Tweak format of list of old files in NEWS header
4148
4149 * etc/NEWS: Stop list of old NEWS files growing without limit.
4150 * admin/admin.el (set-version): Handle either NEWS header format.
4151
41522017-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * lisp/help-fns.el (describe-function-1):
4155 Fix help-fns-test-dangling-alias. (Bug#28918)
4156
4157 (cherry picked from commit e1d42f8f4a945669ff8b5159a569cb4b18f56e18)
4158
41592017-10-20 Glenn Morris <rgm@gnu.org>
4160
4161 Fix flymake's loading of subr-x
4162
4163 * lisp/progmodes/flymake.el, test/lisp/progmodes/flymake-tests.el:
4164 No need to load subr-x at run-time.
4165
41662017-10-20 Michael Albinus <michael.albinus@gmx.de>
4167
4168 Fix Bug#28896
4169
4170 * lisp/net/tramp-adb.el (tramp-adb-handle-rename-file):
4171 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file):
4172 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): Handle FILENAME
4173 being a directory. (Bug#28896)
4174
4175 * test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
4176 (tramp-test12-rename-file): Test also FILENAME being a directory.
4177
41782017-10-20 João Távora <joaotavora@gmail.com>
4179
4180 Skip a Flymake test for old gcc versions
4181
4182 Fixes: 28906
4183
4184 * test/lisp/progmodes/flymake-tests.el
4185 (different-diagnostic-types): Skip this test for gcc versions
4186 < 5.
4187
41882017-10-20 Eli Zaretskii <eliz@gnu.org>
4189
4190 Make :align-to account for display-line-numbers
4191
4192 These changes also update the various bundled packages to use
4193 new feature, and better support customizations of the line-number
4194 face.
4195 * src/xdisp.c (calc_pixel_width_or_height): Improve commentary.
4196 Make :align-to count from the end of the line-number display when
4197 the offset or the width form reference that of the text area.
4198 (Bug#28855)
4199
4200 * src/indent.c (Fline_number_display_width): Implement support for
4201 the PIXELWISE argument being 'columns'. Update the doc string.
4202 (syms_of_indent): New symbol 'columns'.
4203
4204 * lisp/ruler-mode.el (ruler-mode-window-col, ruler-mode-ruler):
4205 Call line-number-display-width with last argument 'columns'.
4206
4207 * lisp/proced.el (proced-header-line): Call
4208 line-number-display-width with 2nd arg 'columns', which also fixes
4209 a problem when display-line-numbers is nil.
4210
4211 * lisp/emacs-lisp/tabulated-list.el
4212 (tabulated-list-line-number-width): Call line-number-display-width
4213 with 2nd arg 'columns.
4214 (tabulated-list-entry-lnum-width): Remove unneeded defvar.
4215 (tabulated-list-print, tabulated-list-print-entry): No need to
4216 account for the value of tabulated-list-entry-lnum-width.
4217 (tabulated-list--current-lnum-width): New defvar.
4218 (tabulated-list-watch-line-number-width): New function.
4219 (tabulated-list-mode): Bind tabulated-list--current-lnum-width
4220 locally, and set up tabulated-list-watch-line-number-width as
4221 pre-redisplay-functions hook.
4222
4223 * doc/lispref/display.texi (Size of Displayed Text): Document the
4224 'columns' value of the PIXELWISE argument.
4225 (Pixel Specification): Update and improve the documentation of the
4226 supported forms.
4227
42282017-10-20 João Távora <joaotavora@gmail.com>
4229
4230 Augment Flymake API for third-party extensions
4231
4232 See
4233 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00619.html
4234
4235 * doc/misc/flymake.texi (Flymake error types): Rewrite
4236 example.
4237 (Flymake utility functions): Augment with new API.
4238
4239 * lisp/progmodes/flymake.el (flymake-diagnostics): New function.
4240 (flymake--diag-accessor): New helper macro.
4241 (flymake-diagnostic-buffer, flymake-diagnostic-text)
4242 (flymake-diagnostic-beg, flymake-diagnostic-end)
4243 (flymake-diagnostic-backend): Accessors for diagnostic objects.
4244 (flymake--overlays): Use flymake-diagnostic property.
4245 (flymake--highlight-line): Simplify. Only set
4246 flymake-diagnostic property.
4247 (flymake--handle-report, flymake-goto-next-error): Use
4248 flymake-diagnostic property.
4249 (flymake-show-diagnostic): Use diagnostic object.
4250 (flymake--diagnostics-buffer-entries): Use
4251 flymake-diagnostics.
4252
42532017-10-20 Glenn Morris <rgm@gnu.org>
4254
4255 Improve treatment of Fortran's "class default"
4256
4257 * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit):
4258 Handle "class default". (Bug#28786)
4259 * test/automated/f90.el (f90-test-bug25039): Add "class default".
4260
42612017-10-20 João Távora <joaotavora@gmail.com>
4262
4263 Flymake backends must check proc obsoleteness in source buffer
4264
4265 Flymake backends that rely on sentinels running asynchronously and
4266 checking buffer-local variables that hold running processes should
4267 check for obsoleteness in the correct buffers, otherwise a (harmless)
4268 warning might be triggered.
4269
4270 * doc/misc/flymake.texi (An annotated example backend):
4271 Check buffer-local proc in the current buffer.
4272
4273 * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile):
4274 Check buffer-local proc in the current buffer.
4275
42762017-10-19 Michael Albinus <michael.albinus@gmx.de>
4277
4278 Skip an rsync test in tramp-tests.el
4279
4280 * test/lisp/net/tramp-tests.el (tramp-test17-dired-with-wildcards):
4281 Skip for "rsync".
4282
42832017-10-19 Martin Rudalics <rudalics@gmx.at>
4284
4285 On Windows default a frame's border width to zero (Bug#28873)
4286
4287 * src/w32fns.c (Fx_create_frame): Default `border-width' to zero
4288 as everywhere else, see Bug#28873.
4289
42902017-10-19 Paul Eggert <eggert@cs.ucla.edu>
4291
4292 Spelling fixes
4293
4294 * lisp/cedet/semantic/analyze/refs.el:
4295 (semantic-analyze-proto-impl-toggle): Fix recently-introduced
4296 misspelling of pop-to-buffer-same-window.
4297
42982017-10-19 Bastian Beischer <bastian.beischer@gmail.com> (tiny change)
4299
4300 Use pop-to-buffer-same-window instead of switch-to-buffer
4301
4302 * lisp/cedet/semantic/decorate/include.el
4303 (semantic-decoration-include-visit):
4304 Use pop-to-buffer-same-window instead of switch-to-buffer
4305 (bug#28645).
4306
4307 * lisp/cedet/semantic/analyze/refs.el
4308 (semantic-analyze-proto-impl-toggle): Same.
4309
4310 * lisp/cedet/semantic/senator.el (senator-go-to-up-reference):
4311 Same.
4312
4313 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-visit):
4314 Same.
4315
4316 * lisp/cedet/semantic/complete.el (semantic-complete-jump):
4317 Same.
4318
43192017-10-18 Eli Zaretskii <eliz@gnu.org>
4320
4321 Fix the MSDOS build.
4322
4323 * msdos/sed1v2.inp (GETADDRINFO_A_LIBS, LIBLCMS2, XDBE_LIBS)
4324 (XDBE_FLAGS, HYBRID_MALLOC, LIBSYSTEMD_CFLAGS)
4325 (LIBSYSTEMD_LIBS): Edit to empty.
4326 (LIBRESOLV, DEPFLAGS, MKDEPDIR, YMF_PASS_LDFLAGS)
4327 (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove editing.
4328 Remove editing of lines that are no longer present in
4329 src/Makefile.in.
4330 * msdos/sed2v2.inp (NEED_MKTIME_INTERNAL)
4331 (NEED_MKTIME_WORKING): Define to 1.
4332 (HAVE_STRUCT_DIRENT_D_TYPE): Define to 1 for
4333 DJGPP >= 2.05.
4334 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 1.
4335 Define PACKAGE_VERSION, not VERSION.
4336 (FLEXIBLE_ARRAY_MEMBER): Define to empty.
4337 (HAVE_DECL_*_UNLOCKED): Define to 0.
4338 (HAVE___BUILTIN_FRAME_ADDRESS): Define to 1.
4339 (PENDING_*): Don't define, as Gnulib no longer supports that.
4340 Instead, define _IOERR as it is in libc/file.h.
4341 * msdos/sed3v2.inp: Use $(CURDIR) instead of $(shell cd) to
4342 determine the current directory.
4343 (UPDATE_MANIFEST, UTILITIES): Don't edit.
4344 * msdos/sedlisp.inp (FIND_DELETE): Edit to "-delete".
4345 * msdos/sedlibmk.inp (AUTO_DEPEND): Define to yes.
4346 (HYBRID_MALLOC): Edit to empty.
4347 (am__cd): Don't edit.
4348 (../config.status): Replaces $(top_builddir)/config.status.
4349 Define OMIT_GNULIB_MODULE_foo = true for modules not built for
4350 MS-DOS. Convert GL_GENERATE_xxx_H_TRUE and
4351 GL_GENERATE_xxx_H_FALSE into values of GL_GENERATE_xxx_H.
4352 * msdos/mainmake.v2 (src): Use 'compile-one-process', and make
4353 the command line shorter to fit into 126-char limit of
4354 command.com.
4355 * config.bat: Generate src/deps/*.d files. Rename more files
4356 like djtar on plain DOS would.
4357 Don't rename src/dir.h: it is long gone. Edit
4358 lib/gnulib.mk.in using the same scripts as for
4359 lib/Makefile.in.
4360 * msdos/depfiles.bat: Create *.d files, not *.Po.
4361
4362 * src/thread.c (Fmake_thread) [!THREADS_ENABLED]: Improve the
4363 error message.
4364 * src/thread.h [MSDOS]: Include <signal.h>.
4365 * src/sysselect.h (select) [MSDOS]: Undefine, to avoid
4366 compilation errors.
4367 * src/sysdep.c (block_interrupt_signal, restore_signal_mask):
4368 Expose to MSDOS build.
4369 * src/process.c (update_processes_for_thread_death)
4370 [!subprocess]: No-op implementation.
4371 [HAVE_SETRLIMIT]: Move inclusion of sys/resource.h and
4372 declaration of nofile_limit outside "#ifdef subprocesses", as
4373 it's needed for MSDOS.
4374 * src/msdos.c (faccessat): Declare fullname[].
4375 * src/msdos.h (ENOTSUP): Define to be identical to ENOSYS.
4376 Include termhooks.h.
4377 * src/conf_post.h [WINDOWSNT]: Include ms-w32.h only on
4378 WINDOWSNT, not DOS_NT.
4379
4380 * admin/admin.el (set-version): Set version on PACKAGE_VERSION.
4381
43822017-10-18 Eli Zaretskii <eliz@gnu.org>
4383
4384 Fix line number display after 'widen'
4385
4386 * src/xdisp.c (maybe_produce_line_number): Don't use data cached
4387 by line-number-mode on the first redisplay after the buffer is
4388 widened. (Bug#28879)
4389
43902017-10-18 Alan Third <alan@idiocy.org>
4391
4392 Remove resizable attribute on macOS undecorated frames (bug#28512)
4393
4394 * src/nsterm.m (FRAME_DECORATED_FLAGS): Remove Cocoa specific #define.
4395 (initFrameFromEmacs): Remove Cocoa specific window style attributes.
4396
43972017-10-18 Martin Rudalics <rudalics@gmx.at>
4398
4399 Fix handling of `border-width' in `frameset--restore-frame' (Bug#28873)
4400
4401 * lisp/frameset.el (frameset--restore-frame): Don't process
4402 `border-width' parameter via ‘modify-frame-parameters’
4403 (Bug#28873).
4404
44052017-10-18 Tino Calancha <tino.calancha@gmail.com>
4406
4407 Mention how to send CC to > 1 address in a bug report
4408
4409 * admin/notes/bugtracker (* More detailed information):
4410 mention how to CC to more than 1 address (Bug#28833).
4411
44122017-10-18 Paul Eggert <eggert@cs.ucla.edu>
4413
4414 Improve format-time-string doc
4415
4416 * doc/lispref/os.texi (Time Parsing): Fix some errors in the
4417 documentation for format-time-string. Document ^, #, %s, and %z
4418 with colons. Say that unrecognized sequences are output as-is.
4419 * src/editfns.c (Fformat_time_string): %S can stand for 60.
4420 Also mention unrecognized sequences.
4421
44222017-10-17 Eli Zaretskii <eliz@gnu.org>
4423
4424 Improve documentation of 'line-number-display-width'
4425
4426 * doc/lispref/display.texi (Size of Displayed Text): Document the
4427 additional 2 columns used for line-number display.
4428
4429 * src/indent.c (Fline_number_display_width): Doc fix. (Bug#28248)
4430
44312017-10-17 İ. Göktuğ Kayaalp <self@gkayaalp.com>
4432
4433 Implement vc-default-dir-extra-headers for vc-rcs
4434
4435 Add a do-nothing implementation for vc-rcs to suppress the message which
4436 the default function adds to the vc-dir buffer (Bug#28570).
4437 * lisp/vc/vc-rcs.el (vc-rcs-dir-extra-headers): New function.
4438
44392017-10-17 Martin Rudalics <rudalics@gmx.at>
4440
4441 In NEWS give advice on use of `switch-to-buffer' (Bug#28645)
4442
4443 * etc/NEWS: Mention that applications should prefer
4444 `pop-to-buffer-same-window' to `switch-to-buffer'. (Bug#28645)
4445
44462017-10-17 Tino Calancha <tino.calancha@gmail.com>
4447 Noam Postavsky <npostavs@gmail.com>
4448
4449 Dont update primary selection with winner-undo
4450
4451 * lisp/winner.el (winner-set):
4452 Dont update primary selection when select-enable-primary
4453 is non-nil (Bug#28631).
4454
44552017-10-17 Paul Eggert <eggert@cs.ucla.edu>
4456
4457 Work around ImageMagick bug 825
4458
4459 This should fix several bugs reported recently against Emacs
4460 (Bug#28518, Bug#28626, Bug#28632, Bug#28633, Bug#28770).
4461 * src/image.c (imagemagick_load_image):
4462 Do not call MagickWandTerminus.
4463
44642017-10-17 Noam Postavsky <npostavs@gmail.com>
4465
4466 Document rectangle-preview option more (Bug#27974)
4467
4468 * lisp/rect.el (string-rectangle):
4469 * etc/NEWS.25: Mention `rectangle-preview'.
4470
44712017-10-17 Paul Eggert <eggert@cs.ucla.edu>
4472
4473 Do not reject https://gnu.org in commit messages
4474
4475 * build-aux/git-hooks/commit-msg: Do not reject commit messages
4476 containing http: or ftp: URLs to gnu.org or fsf.org. Instead,
4477 rewrite the messages to use https: URLs.
4478
44792017-10-16 Gemini Lasswell <gazally@runbox.com>
4480
4481 Fix Edebug spec for cl-defun (bug#24255)
4482
4483 * lisp/emacs-lisp/cl-macs.el: Modify the Edebug spec for
4484 `cl-lambda-list' to support destructuring argument lists.
4485 (cl-defun, cl-defmacro): Fix spelling errors in docstrings.
4486 * lisp/textmodes/rst.el: Remove alternate version of Edebug
4487 specs for `cl-lambda-list' and `cl-type-spec'.
4488
44892017-10-16 Eli Zaretskii <eliz@gnu.org>
4490
4491 Fix errors in kmacro.el post-command-hook
4492
4493 * lisp/kmacro.el (kmacro-step-edit-active): Initialize to nil to
4494 avoid 'void-variable' errors. (Bug#28818)
4495 * test/lisp/kmacro-tests.el
4496 (kmacro-tests-step-edit-cleans-up-hook): Now succeeds. (Bug#18708)
4497
44982017-10-16 Eli Zaretskii <eliz@gnu.org>
4499
4500 Fix range-error in image-dired.el
4501
4502 * lisp/image-dired.el (image-dired-create-thumb-1): Avoid
4503 overflowing an Emacs integer on 32-bit hosts. (Bug#28809)
4504
45052017-10-16 Eli Zaretskii <eliz@gnu.org>
4506
4507 Fix 'line-number-display-width' in hscrolled windows
4508
4509 * src/indent.c (line_number_display_width): Make sure a line
4510 number is generated even when the first line of the window is
4511 completely hscrolled out of view. (Bug#28854)
4512
45132017-10-16 Michael Albinus <michael.albinus@gmx.de>
4514
4515 Fix error in tramp-smb-handle-insert-directory
4516
4517 * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
4518 Insert size information only when FULL-DIRECTORY-P is non-nil.
4519
45202017-10-16 Andy Moreton <andrewjmoreton@gmail.com>
4521
4522 Don't reject PBM header whitespace unnecessarily
4523
4524 * lisp/image.el (image-type-header-regexps):
4525 Allow two or more CRs or LFs in initial whitespace sequences. See:
4526 http://netpbm.sourceforge.net/doc/pbm.html
4527
45282017-10-16 Paul Eggert <eggert@cs.ucla.edu>
4529
4530 Fix regression in display of PPM images
4531
4532 Problem reported by Roland Winkler (Bug#28824#35).
4533 Based on a patch proposed by Andy Moreton (Bug#28824#38).
4534 * src/image.c (pbm_scan_index): New function.
4535 (pbm_load): Use it to decode raw data correctly when its top bit
4536 is set.
4537
45382017-10-16 Eric Abrahamsen <eric@ericabrahamsen.net>
4539
4540 Require subr-x when compiling nnimap.el
4541
4542 * lisp/gnus/nnimap.el (require): For the when-let* macro.
4543
45442017-10-15 Noam Postavsky <npostavs@gmail.com>
4545
4546 Fix ert-test finding by symbol (Bug#28849)
4547
4548 In 2017-07-28 "* lisp/subr.el (define-symbol-prop): New function", the
4549 symbol used for ert tests in load-history was changed from
4550 `ert-deftest' to `ert--test', but a couple of other places were not
4551 updated accordingly.
4552 * lisp/emacs-lisp/ert.el (ert-find-test-other-window): Pass
4553 `ert--test' as the TYPE to `find-function-do-it'.
4554 (top-level): Use `ert--test' as the key to the
4555 `find-function-regexp-alist' entry.
4556
45572017-10-15 Noam Postavsky <npostavs@gmail.com>
4558
4559 Don't remember old debugger window (Bug#17882)
4560
4561 * lisp/emacs-lisp/debug.el (debug): Unset debugger-previous-window
4562 when `debugger-will-be-back' is nil.
4563
45642017-10-15 Noam Postavsky <npostavs@gmail.com>
4565
4566 Disable python native completion on w32 (Bug#28580)
4567
4568 * lisp/progmodes/python.el
4569 (python-shell-completion-native-disabled-interpreters): For windows-nt
4570 systems, put an empty string to match interpreters.
4571
45722017-10-15 Noam Postavsky <npostavs@gmail.com>
4573
4574 Let select-frame-by-name choose any frame when called from lisp (Bug#25521)
4575
4576 * lisp/frame.el (select-frame-by-name): Choose from the whole list of
4577 frames in the non-interactive part, if not found on the current
4578 display.
4579
45802017-10-15 Eli Zaretskii <eliz@gnu.org>
4581
4582 * lisp/dired-aux.el (dired-create-directory): Doc fix.
4583
45842017-10-15 Eli Zaretskii <eliz@gnu.org>
4585
4586 Avoid compilation warnings in optimized builds
4587
4588 * src/process.c (Fmake_network_process):
4589 * src/image.c (xbm_scan, gif_load):
4590 * src/fileio.c (Frename_file):
4591 * src/data.c (Fmake_local_variable):
4592 * src/buffer.c (fix_start_end_in_overlays):
4593 * lib-src/etags.c (process_file_name): Mark variables with UNINIT
4594 to avoid compiler warnings in optimized builds.
4595
45962017-10-15 K. Handa <handa@gnu.org>
4597
4598 Improve customization of arabic-shaper-ZWNJ-handling.
4599
4600 Make the effect of customizing arabic-shaper-ZWNJ-handling appear
4601 immediately.
4602 * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Add :set
4603 value.
4604 * src/composite.c (Fclear_composition_cache): New function.
4605 (syms_of_composite): Defsubr it.
4606
46072017-10-15 Charles A. Roelli <charles@aurox.ch>
4608
4609 Improve customization type of 'mouse-drag-and-drop-region'
4610
4611 * lisp/mouse.el (mouse-drag-and-drop-region): Provide a more
4612 precise customization type.
4613
46142017-10-15 Paul Eggert <eggert@day>
4615
4616 Encourage https: in commit messages
4617
4618 * CONTRIBUTE: Prefer https: when citing.
4619 * build-aux/git-hooks/commit-msg:
4620 Diagnose http: and ftp: URLs to FSF or GNU hosts.
4621
46222017-10-14 Martin Rudalics <rudalics@gmx.at>
4623
4624 Fix wording in Elisp manual's child frames section (Bug#28819)
4625
4626 * doc/lispref/frames.texi (Child Frames): Fix wording (Bug#28819).
4627
46282017-10-14 Eli Zaretskii <eliz@gnu.org>
4629
4630 Another fix for C mode fontification of w32 source files
4631
4632 * .dir-locals.el (c-mode) <c-noise-macro-names>: Add
4633 "CALLBACK", to correctly fontify functions with this attribute.
4634
46352017-10-14 Eli Zaretskii <eliz@gnu.org>
4636
4637 Fix fontification of ALIGN_STACK functions
4638
4639 * .dir-locals.el (c-mode) <c-noise-macro-names>: Add
4640 "ALIGN_STACK", to correctly fontify functions with this attribute.
4641
46422017-10-14 Eli Zaretskii <eliz@gnu.org>
4643
4644 Make sure thread stack is properly aligned on MS-Windows
4645
4646 * src/systhread.c: Include w32term.h instead of windows.h.
4647 (w32_beginthread_wrapper): Add ALIGN_STACK attribute, to ensure
4648 the thread's stack is correctly aligned.
4649 * src/w32term.h (ALIGN_STACK): Update commentary.
4650
46512017-10-14 Paul Eggert <eggert@cs.ucla.edu>
4652
4653 Do not under-align pseudovectors
4654
4655 Problem reported by Fabrice Popineau in:
4656 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00357.html
4657 Also see diagnosis by Eli Zaretskii in:
4658 https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00476.html
4659 * src/alloc.c (vector_alignment):
4660 Now a multiple of alignof (max_align_t).
4661
46622017-10-13 Simen Heggestøyl <simenheg@gmail.com>
4663
4664 Fix indentation bug in multi-line CSS selectors
4665
4666 * lisp/textmodes/css-mode.el (css--colon-inside-selector-p): Fix
4667 indentation of multi-line CSS selectors that include both a
4668 pseudo-class and parenthesis.
4669
4670 * test/manual/indent/css-mode.css: Add test for the above change.
4671
46722017-10-13 Andreas Schwab <schwab@linux-m68k.org>
4673
4674 gnutls_mac_get_nonce_size has been added in gnutls 3.3
4675
4676 * src/gnutls.c (HAVE_GNUTLS_MAC_GET_NONCE_SIZE)
4677 [GNUTLS_VERSION_NUMBER >= 0x030300]: Define.
4678 (gnutls_mac_get_nonce_size): Depend on
4679 HAVE_GNUTLS_MAC_GET_NONCE_SIZE.
4680 (Fgnutls_macs): Use 0 for :mac-algorithm-noncesize if
4681 !HAVE_GNUTLS_MAC_GET_NONCE_SIZE.
4682
46832017-10-13 Paul Eggert <eggert@cs.ucla.edu>
4684
4685 * CONTRIBUTE: Suggest American English.
4686
46872017-10-12 Eli Zaretskii <eliz@gnu.org>
4688
4689 Fix this-command-keys for "M-x foo" commands
4690
4691 * src/keyboard.c (Fset__this_command_keys): Don't assume KEYS is a
4692 unibyte string. (Bug#28798)
4693
46942017-10-12 Paul Eggert <eggert@cs.ucla.edu>
4695
4696 Let rename-file rename dirs across filesystems
4697
4698 Problem diagnosed by Andreas Schwab (Bug#28792#65).
4699 This fixes a bug that I introduced in
4700 2017-09-10T22:39:24@eggert@cs.ucla.edu
4701 "Fix race with rename-file etc. with dir NEWNAME".
4702 * src/fileio.c (Frename_file): Copy a source directory across
4703 file system boundaries even if its name does not end in slash.
4704
47052017-10-12 João Távora <joaotavora@gmail.com>
4706
4707 Simplify Flymake user documentation
4708
4709 Fix some confusing parts of Flymake user documentation, like a
4710 repeated listing of situations leading to a syntax check.
4711 Documentation is now divided into three chapters only: "Using
4712 Flymake", "Extending Flymake", and a chapter for the legacy backend.
4713
4714 Obsolete mention of "errors" and "lines" is replaced by
4715 "diagnostics/problems" and "regions" where appropriate.
4716
4717 * doc/misc/flymake.texi (Overview of Flymake): Delete chapter.
4718 (Using Flymake): Merge with chapter "Overview of Flymake".
4719 (Installing Flymake): Delete chapter.
4720 (Flymake mode, Running the syntax check)
4721 (Navigating to error lines): Delete sections.
4722 (Syntax check statuses): Review and augment with x-references.
4723 (Backend exceptions): Mention shortcut in menu.
4724
4725 * lisp/progmodes/flymake.el (flymake-menu): Tweak minor mode
4726 menu to not speak of "errors".
4727 (flymake-goto-next-error, flymake-goto-prev-error): Fix
4728 wording.
4729
47302017-10-12 Eli Zaretskii <eliz@gnu.org>
4731
4732 * etc/NEWS: Mention the new version of Org.
4733
47342017-10-12 Noam Postavsky <npostavs@gmail.com>
4735
4736 Don't use (format "%s" ...) for string copying (Bug#28774)
4737
4738 As of 2017-10-04 'Speed up (format "%s" STRING) and the like', (format
4739 "%s" STRING) no longer produces a new string.
4740 * lisp/ido.el (ido-completions): Use `copy-sequence' to make a new
4741 string, so that we can add text properties to (copies of) symbol
4742 names.
4743
47442017-10-11 Alan Third <alan@idiocy.org>
4745
4746 Make frame-list-z-order on NS match Windows behaviour (bug#28788)
4747
4748 * src/nsfns.m (Fns_frame_list_z_order): If terminal isn't a frame,
4749 ignore it rather than returning nil.
4750
47512017-10-11 Nicolas Petton <nicolas@petton.fr>
4752
4753 Bump Emacs version to 26.0.90
4754
4755 * README:
4756 * configure.ac:
4757 * msdos/sed2v2.inp:
4758 * nt/README.W32: Bump Emacs version.
4759
47602017-10-11 Nicolas Petton <nicolas@petton.fr>
4761
4762 Update authors.el
4763
4764 * admin/authors.el (authors-valid-file-names)
4765 (authors-renamed-files-alist): Additions.
4766
47672017-10-11 Nicolas Petton <nicolas@petton.fr>
4768
4769 * admin/authors.el (authors-aliases): Additions.
4770
4771 * ChangeLog.3: Update.
4772
47732017-10-11 Radon Rosborough <radon.neon@gmail.com>
4774
4775 Fix docstring style for 'functionp'
4776
4777 * src/eval.c (functionp): Make docstring start with verb.
4778 (Bug#28781)
4779
12017-10-11 Michael Albinus <michael.albinus@gmx.de> 47802017-10-11 Michael Albinus <michael.albinus@gmx.de>
2 4781
3 Format shell commands in tramp.texi 4782 Format shell commands in tramp.texi
@@ -51289,7 +56068,7 @@
51289 56068
51290This file records repository revisions from 56069This file records repository revisions from
51291commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 56070commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
51292commit e8a7c41b4e2dc9df18038d2931ed883946a2bb50 (inclusive). 56071commit bce51bd6f7702dbc70a570e8b905f23db9cdcdcf (inclusive).
51293See ChangeLog.1 for earlier changes. 56072See ChangeLog.1 for earlier changes.
51294 56073
51295;; Local Variables: 56074;; Local Variables: