From 2c0cfa64553dc1d4d376b42b56e52a007222736b Mon Sep 17 00:00:00 2001 From: Nicolas Petton Date: Fri, 12 Jan 2018 22:01:44 +0100 Subject: [PATCH] * ChangeLog.3: Update --- ChangeLog.3 | 4781 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 4780 insertions(+), 1 deletion(-) diff --git a/ChangeLog.3 b/ChangeLog.3 index 732ba5a7fc7..9bf9bab1178 100644 --- a/ChangeLog.3 +++ b/ChangeLog.3 @@ -1,3 +1,4782 @@ +2018-01-12 Katsumi Yamaoka + + * lisp/gnus/message.el (message-do-auto-fill): Prevent do-auto-fill from + adding extra citation mark (bug#29767, but it is a different bug). + +2018-01-11 Eli Zaretskii + + Improve documentation of etags + + * doc/emacs/maintaining.texi (Tag Syntax, Create Tags Table): + Improve documentation of etags options and of source language + detection. + +2018-01-11 Eli Zaretskii + + Teach etags new interpreters for some languages + + * lib-src/etags.c (Erlang_interpreters, Lua_interpreters) + (Prolog_interpreters, Python_interpreters, Ruby_interpreters): New + static variables. + (lang_names): Use them to set interpreters for Erlang, Lua, + Prolog, Python, and Ruby. + (find_entries): Support "/usr/bin/env FOO" form of specifying an + interpreter. + + * test/manual/etags/perl-src/htlmify-cystic: Modify the has-bang + line to test the "env FOO" interpreter spec. (Bug#30075) + * test/manual/etags/ETAGS.good_1: + * test/manual/etags/ETAGS.good_2: + * test/manual/etags/ETAGS.good_3: + * test/manual/etags/ETAGS.good_4: + * test/manual/etags/ETAGS.good_5: + * test/manual/etags/ETAGS.good_6: Adapt to latest changes in test + files. + +2018-01-11 Stefan Monnier + + * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop. + + * lisp/emacs-lisp/syntax.el (syntax-propertize): Fix bug#29767 + +2018-01-10 Charles A. Roelli + + Improve documentation of fill-separate-heterogeneous-words-with-space + + * lisp/textmodes/fill.el + (fill-separate-heterogeneous-words-with-space): Fix grammar. + +2018-01-10 Eli Zaretskii + + Fix documentation of some x-* functions + + * lisp/term/pc-win.el (x-display-pixel-width) + (x-display-pixel-height, x-display-planes) + (x-display-color-cells, x-server-max-request-size) + (x-server-vendor, x-server-version, x-display-screens) + (x-display-mm-height, x-display-mm-width) + (x-display-backing-store, x-display-visual-class): Provide doc + strings, so that 'makedoc' produces non-empty documentation in + etc/DOC for these functions. (Bug#30068) + +2018-01-10 Philipp Stephani + + Inherit query-on-exit flag to stderr process (Bug#30031) + + * src/process.c (Fmake_process): Have the pipe process honor the + parent's query-on-exit flag. + + * test/src/process-tests.el (make-process/noquery-stderr): New test. + +2018-01-10 Michael Albinus + + Fix Bug#30057 + + * test/lisp/filenotify-tests.el (file-notify--test-tmpdir): New defvar. + (file-notify--test-cleanup, file-notify--test-make-temp-name) + (file-notify-test01-add-watch, file-notify-test03-events) + (file-notify-test05-file-validity) + (file-notify-test09-watched-file-in-watched-dir) + (file-notify-test10-sufficient-resources): Use it. (Bug#30057) + +2018-01-10 Glenn Morris + + Tag some unstable tests, and skip by default (bug#24503) + + * Makefile.in (check-all): New phony target. + * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE): + Also skip unstable tests. + (SELECTOR_ALL): New variable. + (check-all): New phony target. + * test/lisp/emacs-lisp/eieio-tests/eieio-test-methodinvoke.el + (eieio-test-method-order-list-6): + * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el + (eieio-test-37-obsolete-name-in-constructor): + Mark as unstable rather than skipping on hydra.nixos.org. + +2018-01-10 Paul Eggert + + Merge from Gnulib + + This incorporates: + 2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources + 2018-01-04 update-copyright: Handle use of © + 2018-01-04 pthread_sigmask: Avoid compilation error on mingw + 2018-01-02 stat-time: silence -Wunused-parameter regression + * build-aux/config.guess, build-aux/config.sub: + * build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in: + * lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c: + * lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h: + * lib/stat-time.h: Copy from Gnulib, or regenerate. + +2018-01-09 Glenn Morris + + * lisp/epg.el (epg-start-sign): Replace obsolete functions. + +2018-01-09 Glenn Morris + + Small fix for erc-logging-enabled + + * lisp/erc/erc-log.el (erc-logging-enabled): + Respect buffer-locality of erc-enable-logging variable. + +2018-01-09 Glenn Morris + + Quieten semantic normal usage + + * lisp/cedet/semantic/lex.el (semantic-flex): Mark obsolete at + compile time in the normal way, not at run-time. (Bug#30035) + +2018-01-08 Eli Zaretskii + + Avoid irrelevant hyperlink in doc string of 'epa-pinentry-mode' + + * lisp/epa.el (epa-pinentry-mode): Doc fix. (Bug#30025) + +2018-01-08 Michael Albinus + + * doc/misc/tramp.texi (Remote processes): Mention gdb restrictions with I/O. + +2018-01-08 Noam Postavsky + + Query background for gnome terminal version 3.22 (Bug#29716) + + * lisp/term/xterm.el (xterm--version-handler): Use + xterm--report-background-handler for terminals reporting minor version + 4000 and above. + +2018-01-07 Tak Kunihiro + + Make pixel-wise scrolling less laggy + + * lisp/pixel-scroll.el (pixel-dead-time, pixel-last-scroll-time): + New variables. + (pixel-scroll-up, pixel-scroll-down): Invoke 'scroll-up' or + 'scroll-down' when called within 'pixel-dead-time'. (Bug#29737) + +2018-01-07 Alan Third + + Fix child frame placement issues (bug#29953) + + * src/nsterm.h (NS_PARENT_WINDOW_LEFT_POS): + (NS_PARENT_WINDOW_TOP_POS): Get the parent frame through the frame + struct as invisible child windows are detached from their parents in + NS. + * src/nsterm.m (x_set_offset): Offscreen frames have `nil' screen + value, so handle that gracefully. Child frames with negative left and + top should be positioned relative to the bottom right of the parent + frame. + +2018-01-06 Alan Mackenzie + + Describe the precise interaction of complex primitives with the change hooks + + * doc/lispref/text.texi (Change Hooks): Document that most buffer changing + primitives call before- and after-change-functions in balanced pairs, but that + some complex primitives call b-c-f once, and a-c-f zero, one, or several + times. + +2018-01-06 Eli Zaretskii + + Fix valgrind report in call-interactively + + * src/callint.c (Fcall_interactively): Don't try to access more + bytes than are available in the interactive spec. (Bug#30004) + +2018-01-06 Eli Zaretskii + + * src/editfns.c (Fsave_excursion): Doc fix. (Bug#30001) + +2018-01-06 Alan Mackenzie + + Fix mark-defun when there's no spaces between successive defuns. + + The problem was a parse-partial-sexp call which tried to use the STOPBEFORE + argument to detect non-syntactic WS. This fails on a "}", which does not + begin a sexp. + + * lisp/emacs-lisp/lisp.el (beginning-of-defun--in-emptyish-line-p): Enhance to + handle BOL being in a string. + (beginning-of-defun-comments): Call the above function in place of the call + to parse-partial-sexp. + +2018-01-06 Eli Zaretskii + + Fix Dired display and operations on file names with raw bytes + + * src/coding.c (decode_coding): When flushing remaining raw bytes + from multibyte text, copy 2-byte forms of eight-bit-* + characters as single characters, not as 2 raw bytes. (Bug#29189) + +2018-01-05 Eli Zaretskii + + Improve documentation of 'gdb-many-windows' + + * doc/emacs/building.texi (GDB User Interface Layout): Add advice + for using a separate frame for 'gdb-many-windows'. + +2018-01-05 Eli Zaretskii + + Fix failures in smerge-mode on MS-Windows + + * lisp/vc/smerge-mode.el (smerge--refine-chopup-region): Use + utf-8-emacs-unix, not emacs-internal, to make the forced EOL + convention explicit. + (smerge-refine-regions): Use utf-8-emacs instead of + emacs-internal, to allow decoding of non-Unix EOL conventions. + (Bug#29916) + +2018-01-04 Stephen Leake + + Fix description of 'struct' generic function specializer + Backport: + + * doc/lispref/functions.texi (Generic Functions): Fix description of + 'struct' specializer; it must be the named struct or a child, not a + parent. + + (cherry picked from commit b6add8c7cfc6d36f9dd8ad99be06bd8ab41cc6f8) + +2018-01-04 Charles A. Roelli + + * etc/DEBUG (Getting control to the debugger): Fix grammar. + +2018-01-03 Stefan Monnier + + * lisp/vc/vc.el (vc-region-history): log-view-vc-fileset holds a list! + +2018-01-03 Noam Postavsky + + Don't bind dframe events on load (Bug#29599) + + * lisp/dframe.el (dframe-setup-hook): New hook. + (dframe-set-special-events): New function, containing previous + top-level key binding code. + (top-level): Add it to dframe-setup-hook. + (dframe-frame-mode): Run the hook. + +2018-01-02 Eli Zaretskii + + * lisp/textmodes/picture.el (picture-mode-exit): Doc fix. (Bug#29949) + + * lisp/textmodes/picture.el (picture-open-line): Doc fix. (Bug#29948) + +2018-01-01 Eli Zaretskii + + Fix description of 'emacs-internal' + + * doc/lispref/nonascii.texi (Coding System Basics): Correct + inaccuracy in description of 'emacs-internal'. (Bug#29916) + +2018-01-01 Eli Zaretskii + + Update PROBLEMS with selection-related issues + + * etc/PROBLEMS: Update the entry about large selections and + klipper. (Bug#29661) + +2018-01-01 Ross Donaldson (tiny change) + + New customization variable for python-mode indentation (Bug#28475) + + * lisp/progmodes/python.el (python-indent-def-block-scale): New variable. + (python-indent--calculate-indentation): Let it control how many indent + levels are inserted for multi-line function signatures. + +2018-01-01 Alan Third + + Fix menu keyboard shortcuts on macOS (Bug#29595) + + * src/nsmenu.m (addItemWithWidgetValue)[NS_IMPL_COCOA]: It looks like + macOS 10.13 no longer ignores long modifier strings, so explicitly use + an empty string. + +2018-01-01 Paul Eggert + + Fix copyright years by hand + + These are dates that admin/update-copyright did not update, or + updated incorrectly. + +2018-01-01 Paul Eggert + + Update copyright year to 2018 + + Run admin/update-copyright. + +2018-01-01 Paul Eggert + + Merge from Gnulib + + This incorporates: + 2018-01-01 maint: Run 'make update-copyright' + 2017-12-29 Add cross-compilation results for GNU/Hurd. + 2017-12-12 explicit_bzero: port to macOS + Clang 9.0.0 + +2017-12-31 Gemini Lasswell + + Don't add empty keyboard macro to macro ring (Bug#24992) + + * lisp/kmacro.el (kmacro-end-call-mouse): Don't save a newly defined + macro if it is empty. + + * test/lisp/kmacro-tests.el (kmacro-tests-end-and-call-macro-mouse): + Remove expected failure tag. + +2017-12-31 Eli Zaretskii + + Allow customization of decoding of "man" command + + * lisp/man.el (Man-coding-system): New defcustom. + (Man-start-calling): Use it, and also pay attention to user + overriding coding-system-for-read. (Bug#29872) + +2017-12-31 Daiki Ueno + + * etc/NEWS: Add security consideration note on passphrase input + +2017-12-29 Eli Zaretskii + + Fix subtle problem with scroll-down when scroll-margin is nonzero + + * src/window.c (window_scroll_pixel_based): Account for + scroll-margin when scrolling down, i.e. moving window-start + towards the beginning of the buffer. Reported by zhang cc + in + http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00894.html. + +2017-12-29 Eli Zaretskii + + Fix problems with indexing in User manual + + * doc/emacs/basic.texi (Continuation Lines, Inserting Text) + (Moving Point): + * doc/emacs/help.texi (Help Echo, Package Keywords, Help Mode): + * doc/emacs/trouble.texi (Quitting): + * doc/emacs/mark.texi (Setting Mark, Disabled Transient Mark): + * doc/emacs/custom.texi (Modifier Keys, Init Examples) + (Creating Custom Themes): + * doc/emacs/programs.texi (Program Modes, Expressions, Hideshow) + (Basic Indent, Info Lookup, Symbol Completion): + * doc/emacs/screen.texi (Echo Area): + * doc/emacs/xresources.texi (Table of Resources, GTK Names in Emacs): + * doc/emacs/display.texi (Line Truncation, Cursor Display): + * doc/emacs/files.texi (File Names, Backup, File Archives): + * doc/emacs/dired.texi (Operating on Files, Dired Enter): + * doc/emacs/commands.texi (User Input): + * doc/emacs/mule.texi (International, Unibyte Mode) + (International Chars): + * doc/emacs/vc1-xtra.texi (RCS and SCCS, Version Headers) + (CVS Options): + * doc/emacs/modes.texi (Major Modes, Minor Modes): + * doc/emacs/indent.texi (Just Spaces): + * doc/emacs/frames.texi (Mouse Avoidance, Mode Line Mouse) + (Frame Commands): + * doc/emacs/cmdargs.texi (Initial Options): + * doc/emacs/abbrevs.texi (Dabbrev Customization): + * doc/emacs/mini.texi (Completion Example, Completion Commands): + * doc/emacs/calendar.texi (Writing Calendar Files, Calendar Unit Motion) + (From Other Calendar): + * doc/emacs/regs.texi (Text Registers, Bookmarks): + * doc/emacs/buffers.texi (Several Buffers, Select Buffer): + * doc/emacs/maintaining.texi (Xref Commands): + * doc/emacs/windows.texi (Pop Up Window): + * doc/emacs/text.texi (Text, Org Mode): + * doc/emacs/killing.texi (Other Kill Commands): + * doc/emacs/misc.texi (Document View, Gnus Group Buffer) + (Gnus Summary Buffer, Shell Mode): + * doc/emacs/cal-xtra.texi (Sexp Diary Entries): Remove or reword + redundant identical index entries. + * doc/emacs/custom.texi (Mouse Buttons) + * doc/emacs/files.texi (Reverting): Fix hyphenation. + * doc/emacs/emacs.texi (Top): Improve wording of Index menu items. + * doc/emacs/files.texi (File Conveniences): + * doc/emacs/programs.texi (MixedCase Words): Make entries that + belong to Concept Index be indexed with @cindex. (Bug#29888) + +2017-12-29 Alan Mackenzie + + * lisp/help.el (describe-key): Only (copy-sequence elt) when elt is a list. + +2017-12-28 Stefan Monnier + + * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 + + Don't mess with the lock file when inhibit_modification_hooks is set, + just like we do in prepare_to_modify_buffer_1. + +2017-12-28 Eli Zaretskii + + Improve documentation of 'inhibit-modification-hooks' and friends + + * src/buffer.c (Fset_buffer_modified_p) + (Frestore_buffer_modified_p): Doc fixes. + * src/insdel.c (syms_of_insdel) : + Document in the doc string that this variable also inhibits file + locks and active region handling. (Bug#29846) + +2017-12-28 David Pathakjee (tiny change) + + Fix doc string of 'enable-recursive-minibuffers' + + * src/minibuf.c (syms_of_minibuf) : + Doc fix. (Bug#29873) + +2017-12-27 Eli Zaretskii + + Fix documentation of delsel and of killing text + + * doc/emacs/killing.texi (Appending Kills): Make sure the text + with 2 spaces is not broken between 2 lines. + * doc/emacs/mark.texi (Using Region): Remove the sentence about + delsel mode that describes behavior which exists even without + delsel mode turned on. Suggested by Petteri Hintsanen + in emacs-manual-bugs@gnu.org. + + * lisp/delsel.el (delete-selection-mode): Doc fix. + +2017-12-27 Glenn Morris + + * doc/lispref/strings.texi (Case Conversion): + Use a TeX font that support ligatures. + +2017-12-27 Charles A. Roelli + + * doc/misc/speedbar.texi (Top): Fix grammar. + + * lisp/subr.el (with-silent-modifications): Doc fixes. + +2017-12-26 Eli Zaretskii + + Fix curved quotes in printed manual + + * doc/emacs/text.texi (Quotation Marks): Fix curved quote + characters in the printed version of the manual. + +2017-12-25 Paul Eggert + + Say that "gnus-cloud" is a parody name + +2017-12-25 Eli Zaretskii + + More improvements for text.texi + + * doc/emacs/text.texi (Outline Motion): Avoid unneeded + repetition. Suggested by Petteri Hintsanen in + emacs-manual-bugs@gnu.org. + +2017-12-24 Eli Zaretskii + + Adjudicate review comments for the "Text" chapter of user manual + + * doc/emacs/text.texi (Text): Rearrange text for clarity. Add + cross-reference to the Org manual. Make the cross-reference to + Outline Mode appear in online manuals as well (the conditional was + a forgotten remnant from time immemoriam). + (Paragraphs): Add a note that 'paragraph-start' and + 'paragraph-separate' should not be anchored. + (Auto Fill): Remove redundant text. Suggested by Petteri + Hintsanen in emacs-manual-bugs@gnu.org. + +2017-12-24 Andreas Schwab + + * lisp/url/url-http.el + (url-http-wait-for-headers-change-function): Change message to + url-http-debug. + +2017-12-24 Alan Mackenzie + + In C-h k , alert user to existence of any matching down-mouse-event + + , and instruct her to hold the mouse button to display its documentation. + + * lisp/help.el (help-downify-mouse-event-type): New function. + (help-read-key-sequence, describe-key): handle double-click-time being nil or + t. + (describe-key): Print out instructions for displaying documentation of + matching mouse down key sequence command when such exists. + +2017-12-23 Andreas Schwab + + * net/eww.el (eww): Handle URLs without host part. + +2017-12-23 Alan Mackenzie + + Make C-h c/k S-mouse-1 display message for mouse-appearance-menu, etc. + + Currently, C-h c/k for S-mouse-1 reports that S-mouse-1 is unbound, ignoring + that S-down-mouse-1 is bound. We fix this by reporting on the "latest" mouse + event of a sequence which is bound. + + * lisp/help.el (help-read-key-sequence): Save all encountered mouse events in + a list. Return the latest one which has a binding. + +2017-12-23 Eli Zaretskii + + Avoid crashes when ':eval' deletes our frame + + * src/xdisp.c (display_mode_element): Signal an error if + ':eval' somehow deletes the frame whose window we are + redisplaying. (Bug#29726) + +2017-12-23 Tak Kunihiro + + Fix scrolling up in pixel-scroll.el + + * lisp/pixel-scroll.el (pixel-scroll-up): Do not try to move cursor + down when EOB is shown at the top. This function is reverted to + commit 1bda71ec3b11eeb4d06c3da094a3cb21bac18d5c. (bug#29737) + +2017-12-23 Eli Zaretskii + + Fix problems with ligatures in PDF version of ELisp manual + + * doc/lispref/strings.texi (Case Conversion): Avoid problems with + ligatures in printed versions of the manual. (Bug#29818) + +2017-12-22 Stefan Monnier + + (elisp-flymake-byte-compile): Handle killed buffer in sentinel + + * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): + Don't burp if the source-buffer has been killed. + +2017-12-22 Glenn Morris + + Avoid some overfull lines in PDF lispref + + * doc/lispref/commands.texi (Reading One Event): + * doc/lispref/display.texi (SVG Images): + * doc/lispref/frames.texi (Size Parameters): + * doc/lispref/syntax.texi (Categories): + * doc/lispref/windows.texi (Frame Layouts with Side Windows): + Avoid overfull lines. + +2017-12-22 Glenn Morris + + Avoid some overfull lines in PDF manual + + * doc/emacs/display.texi (Display Custom): + * doc/emacs/search.texi (Other Repeating Search): + * doc/emacs/text.texi (Quotation Marks): Avoid overfull lines. + +2017-12-22 Glenn Morris + + * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu): + Fix ref. + +2017-12-22 Eli Zaretskii + + * lisp/emacs-lisp/inline.el (define-inline): Add a doc string. + +2017-12-22 Eli Zaretskii + + Fix doc string of 'footnote-style-alist' + + * lisp/mail/footnote.el (footnote-style-alist): Remove a reference + to non-existing files from doc string. (Bug#29759) + +2017-12-22 Eli Zaretskii + + Improve documentation of selecting windows + + * doc/lispref/windows.texi (Basic Windows, Selecting Windows): + Clarify what selecting a window means for keyboard input, and that + input focus may need to be considered when selecting windows on + other frames. See + http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00372.html + for more details. + +2017-12-22 Eli Zaretskii + + Improve documentation of records + + * doc/lispref/Makefile.in (srcs): Add the forgotten records.texi. + * doc/lispref/records.texi (Records): Recommend that record type + names use package-naming conventions. + + * etc/NEWS: Add the naming convention recommendation for record + types. + +2017-12-22 Eli Zaretskii + + * etc/NEWS: Mention the removal of pinentry.el. (Bug#27445) + +2017-12-22 Eli Zaretskii + + Fix interactive spec of 'semantic-ia-show-variants' + + * lisp/cedet/semantic/ia.el (semantic-ia-show-variants): Fix the + interactive spec to match the function's expectations. (Bug#29770) + +2017-12-22 Eli Zaretskii + + Fix documentation of 'mouse-drag-and-drop-region' and friends + + * doc/emacs/frames.texi (Drag and Drop): Index + 'mouse-drag-and-drop-region-cut-when-buffers-differ', + 'mouse-drag-and-drop-region-show-tooltip', and + 'mouse-drag-and-drop-region-show-cursor'. + + * etc/NEWS: Fix the format of the related entries. + +2017-12-22 Eli Zaretskii + + Improve detection of speller version in ispell.el + + * lisp/textmodes/ispell.el (ispell-check-version): Accept more + general forms of version numbers for Aspell, Hunspell, and + Enchant, to include various beta and prereleases. (Bug#29801) + +2017-12-22 Tak Kunihiro + + Document 'mouse-drag-and-drop-region' options and mention them in NEWS + + * doc/emacs/frames.texi (Drag and Drop): + * etc/NEWS (times): Document options for + 'mouse-drag-and-drop-region' and mention them in NEWS. + +2017-12-22 Martin Rudalics + + Fix uses of 'nil' and 'non-nil' in manuals and a few more minor issues + + * doc/emacs/building.texi (Grep Searching): Fix doc of + 'grep-save-buffers'. + (Drag and Drop): Reorder paragraphs. Fix doc of + 'mouse-drag-and-drop-region'. + * doc/emacs/frames.texi (Word and Line Mouse): + * doc/emacs/search.texi (Other Repeating Search): + * doc/lispref/compile.texi (Compilation Functions): + * doc/lispref/files.texi (Directory Names): + * doc/lispref/functions.texi (Advising Named Functions): + * doc/lispref/keymaps.texi (Controlling Active Maps): + * doc/lispref/lists.texi (Association Lists): + * doc/lispref/windows.texi (Quitting Windows): Fix uses of + 'non-nil' and 'nil'. + +2017-12-21 Philipp Stephani + + Document that mode commands should be idempotent. + + * doc/lispref/modes.texi (Major Mode Conventions, Minor Mode + Conventions): Document that the mode commands should be idempotent. + +2017-12-21 Alan Mackenzie + + Fontify a CPP construct correctly when a comment follows without spaces + + Do this by removing a broken optimization in the state cache which put + category text properties on a character between the end of the CPP construct + and the beginning of the comment. This can't work when there's no such + character. + + * lisp/progmodes/cc-defs.el (c-cpp-delimiter, c-set-cpp-delimiters) + (c-clear-cpp-delimiters, c-comment-out-cpps, c-with-cpps-commented-out) + (c-with-all-but-one-cpps-commented-out): Remove. + + * lisp/progmodes/cc-engine.el (c-no-comment-end-of-macro): Return the comment + start position rather than one character before it. + (c-invalidate-state-cache, c-parse-state): Remove the invocations of + c-with-all-but-one-cpps-commented-out and c-with-cpps-commented-out. + + * lisp/progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP): Rename to + c-neutralize-syntax-in-CPP and remove the bits which applied category + properties. + + * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Incorporate the + new name of the function c-neutralize-syntax-in-CPP. + +2017-12-21 Eli Zaretskii + + Prevent infloop in redisplay on TTY frames + + * src/xdisp.c (extend_face_to_end_of_line): Avoid infloop when + filling up display margins with the default face's background. + (Bug#29789) + +2017-12-21 Alan Mackenzie + + Fix loss of documentation face in certain CC Mode doc comment situations + + * lisp/progmodes/cc-fonts.el (c-font-lock-doc-comments): Take into account + the possibility of font-lock-comment-delimiter-face. Test rigorously for + "/**" (etc.) being itself inside a literal, rather than just depending on the + face of the previous character. + +2017-12-21 Daiki Ueno + + Remove pinentry.el + + * lisp/epg.el (epg--start): Remove the use of pinentry.el. + * lisp/net/pinentry.el: Remove (bug#27445). + +2017-12-21 Ted Zlatanov + + Special-case %DUMBFW for GnuTLS between 3.2.5 and 3.5.1 + + * src/gnutls.c: Introduce HAVE_GNUTLS_EXT__DUMBFW for GnuTLS >= 3.2.5. + (Fgnutls_available_p): Use it. + +2017-12-21 Andy Moreton + + Work around GnuTLS version issues with %DUMBFW (tiny change) + + * src/gnutls.c: Introduce HAVE_GNUTLS_EXT_GET_NAME and use it. + (init_gnutls_functions): Use it. + (Fgnutls_available_p): Use it (Bug#25061). Fix Vlibrary_cache bug. + +2017-12-20 Dmitry Gutov + + Merge branch 'widen-less' into emacs-26 + +2017-12-20 Glenn Morris + + * lisp/erc/erc.el (erc-shorten-server-name): Silence compiler warning. + +2017-12-20 Glenn Morris + + Fix some more aliases to user options + + * lisp/cus-edit.el (custom-mode-hook): + * lisp/erc/erc.el (erc-default-coding-system): + * lisp/progmodes/python.el (python-indent, python-guess-indent) + (python-shell-virtualenv-path) + (python-shell-completion-module-string-code) + (python-shell-completion-pdb-string-code, python-use-skeletons): + Define aliases to user options before the options are defined. + +2017-12-20 Glenn Morris + + Fix some flymake aliases + + * lisp/progmodes/flymake-proc.el (flymake-xml-program) + (flymake-compilation-prevents-syntax-check, flymake-master-file-dirs) + (flymake-master-file-count-limit, flymake-allowed-file-name-masks): + * lisp/progmodes/flymake.el (flymake-start-syntax-check-on-find-file): + Define aliases to user options before the options are defined. + +2017-12-20 Glenn Morris + + Unbreak a fileio test on non-Mac OS X systems + + * test/src/fileio-tests.el (fileio-tests--symlink-failure): + Don't use an undefined coding system. + +2017-12-20 Robert Pluim + + Fix updating scrollbar sizes when scaling is in effect + + * src/gtkutil.c (xg_update_scrollbar_pos): Update width of + scrollbar when scaling is in effect. + (xg_update_horizontal_scrollbar_pos): Update scrollbar size + when scaling is in effect. + +2017-12-20 Dmitry Gutov + + Widen in indent-for-tab-command in the normal case, too + + Fixing this obvious omission. + * lisp/indent.el (indent--funcall-widened): New function. + (indent-for-tab-command): Use it. + +2017-12-19 Ted Zlatanov + + Collect GnuTLS extensions and use them to set %DUMBFW if supported + + * lisp/net/gnutls.el (gnutls-boot-parameters): Use it to set %DUMBFW + only when it's supported as "ClientHello Padding" (Bug#25061). + + * src/gnutls.c (Fgnutls_available_p): Get extension names and + put them in the GnuTLS capabilities, using a hard-coded limit + of 100 since GnuTLS MAX_EXT_TYPES is not exported. + +2017-12-18 Stefan Monnier + + * test/lisp/emacs-lisp/derived-tests.el: Fix copy&paste leftovers + +2017-12-18 Stefan Monnier + + * lisp/subr.el (delayed-after-hook-functions): Rename from ...-forms + + (run-mode-hooks): `funcall` the functions instead of `eval`ing the forms. + * lisp/emacs-lisp/derived.el (define-derived-mode): Push functions + rather than forms (bug#29679). + +2017-12-18 Katsumi Yamaoka + + * lisp/net/shr.el (shr-string-pixel-width): Return pixel-width, + not position (bug#29734). + +2017-12-18 Dmitry Gutov + + Replace the mention of c-indent-defun with js-indent-line + + * doc/lispref/text.texi (Mode-Specific Indent): + Avoid mentioning c-indent-defun in the context of multi-mode + indentation. + +2017-12-17 Charles A. Roelli + + python.el doc fixes + + * lisp/progmodes/python.el (python-shell-accept-process-output): + (python-shell-comint-end-of-output-p): + (python-shell-first-prompt-hook): + (python-info-beginning-of-backslash): Doc fixes. + +2017-12-17 Tak Kunihiro + + Make 'mouse-drag-and-drop-region' more robust and customizable + + * lisp/mouse.el + (mouse-drag-and-drop-region-cut-when-buffers-differ): New option + to permit 'mouse-drag-and-drop-region' to cut text also when source + and destination buffers differ. + (mouse-drag-and-drop-region-show-tooltip): New option to toggle + display of tooltip during mouse dragging on graphic displays. + (mouse-drag-and-drop-region-show-cursor): New option to toggle + moving point with mouse cursor during mouse dragging of region. + (mouse-drag-and-drop-region): New face to highlight original + text while dragging. + (mouse-drag-and-drop-region): Make use of new options and face. + Ignore errors during tracking. + +2017-12-17 Oscar Fuentes + + Backport: Don't compare arguments that can be nil (Bug#28039) + + copy-region-as-kill can be called passing nil as `beg' and + `end'. Magit does that, which caused an error when this advice was in + effect. + + * lisp/ses.el (ses--advice-copy-region-as-kill): avoid comparison + unless `beg' and `end' are non-nil. + +2017-12-17 Noam Postavsky + + Don't mess up syntax-ppss cache in electric-pair (Bug#29710) + + In Emacs 25 and above, calling `scan-sexps', `parse-partial-sexp', or + similar may update the syntax-ppss cache if + `parse-sexp-lookup-properties' is non-nil. Therefore, when calling + any of these functions with a different than normal syntax-table, the + cache must be cleaned afterwards. + * lisp/elec-pair.el (electric-pair--with-uncached-syntax): New macro. + (electric-pair--syntax-ppss, electric-pair--balance-info): Use it. + +2017-12-17 Glenn Morris + + * etc/emacs.appdata.xml: Update file format. + +2017-12-16 Alan Third + + Use utf-8-hfs-unix on macOS (Bug#29712) + + This is a quick fix for the Emacs 26 release. Do not merge to master. + + * test/src/fileio-tests.el (fileio-tests--symlink-failure): Override + file-name-coding-system to utf-8-hfs-unix to prevent test failure. + +2017-12-16 Alan Mackenzie + + * lisp/progmodes/cc-defs.el (c-version): Update to 5.33.1. + +2017-12-16 Michael Albinus + + Improve fix for Bug#29712 + + * test/lisp/net/tramp-tests.el + (tramp-test32-environment-variables-and-port-numbers): + Adapt check for systems which do not support "echo -n". (Bug#29712) + +2017-12-16 Eli Zaretskii + + * doc/lispref/sequences.texi (Sequence Functions): Improve indexing. + +2017-12-16 Eli Zaretskii + + Avoid reordering of output in 'shr-insert-document' + + * lisp/net/shr.el (shr-string-pixel-width): Preserve point across + shr-pixel-column invocations. (Bug#29734) + +2017-12-16 Eli Zaretskii + + Improve documentation of 'invisible-p' + + * doc/lispref/display.texi (Invisible Text): Document the return + value of 'invisible-p'. + + * src/xdisp.c (Finvisible_p): Rename the argument POS. Doc fix. + (Bug#29721) + +2017-12-16 Martin Rudalics + + Remove one more check that Vframe_list is non-nil + + * src/dispnew.c (check_glyph_memory): Remove no-longer-needed + check that Vframe_list is non-nil, as FOR_EACH_FRAME no longer + assumes that. + +2017-12-16 Simen Heggestøyl + + Fix off-by-one error in 'css--hex-color' + + * lisp/textmodes/css-mode.el (css--hex-color): Fix off-by-one error. + + * test/lisp/textmodes/css-mode-tests.el (css-test-hex-color): New test + for 'css--hex-color'. + +2017-12-16 Aaron Jensen + + Save and restore text-pixel height and width of frames (Bug#28442) + + * lisp/frameset.el (frameset--record-relationships): Record + text-pixel-height and text-pixel-width of frame. + (frameset--restore-frame): Restore text-pixel-height and + text-pixel-width of frame if available. (Bug#28442) + +2017-12-16 Noam Postavsky + + Partially revert "Mention new strictness for &optional, &rest..." + + The changes to cl argument parsing are not backwards compatible, and + cause inconvenience when writing macros (e.g., instead of doing '&aux + ,@auxargs', some more complicated conditionals would be required). + The `cl-defstruct' macro makes use of this convenience when defining + empty structs (Bug#29728). + * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): + (cl--do-&aux, cl--do-arglist): Undo strict checking of &rest, &key, + and &aux. + * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): Remove + test. + +2017-12-15 Glenn Morris + + * lisp/vc/smerge-mode.el (smerge-refine): Respect font-lock-mode. + + * lisp/vc/smerge-mode.el (smerge-refine): Replace obsolete alias. + +2017-12-15 Paul Eggert + + FOR_EACH_FRAME no longer assumes frame-list + + This cleans up a recent fix related to Bug#29661. + Suggested by Stefan Monnier in: + https://lists.gnu.org/r/emacs-devel/2017-12/msg00544.html + * src/frame.c (next_frame, prev_frame, delete_frame): + Restore debugging checks that Vframe_list is non-nil, + as FOR_EACH_FRAME no longer has these checks. + (delete_frame): Remove no-longer-needed checks that Vframe_list is + non-nil, as FOR_EACH_FRAME no longer assumes that. + * src/frame.h (FOR_EACH_FRAME): Do not assume Vframe_list is non-nil. + +2017-12-15 Eli Zaretskii + + * src/font.c (Ffont_info): Doc fix. (Bug#29682) + +2017-12-15 Basil L. Contovounesios + + Modernise message.el face spec syntax + + * lisp/gnus/message.el (message-header-to, message-header-cc) + (message-header-subject, message-header-newsgroups) + (message-header-other, message-header-name, message-header-xheader) + (message-separator, message-cited-text, message-mml): + Use (DISPLAY . PLIST) face spec syntax as recommended in + `(elisp) Defining Faces'. (Bug#29405) + +2017-12-15 Basil L. Contovounesios + + Update message.el obsolete face aliases + + * lisp/gnus/message.el: (message-header-to, message-header-cc) + (message-header-subject, message-header-newsgroups) + (message-header-other, message-header-name, message-header-xheader) + (message-separator, message-cited-text, message-mml): + Use define-obsolete-face-alias. (Bug#29405) + +2017-12-15 Eli Zaretskii + + Improve documentation of TERM environment variable + + * doc/emacs/trouble.texi (Checklist): + * doc/emacs/building.texi (Compilation Shell): + * doc/emacs/misc.texi (Shell Options): Improve indexing of TERM. + * doc/emacs/building.texi (Compilation Shell): Mention + 'comint-terminfo-terminal' in conjunction with the TERM value. + +2017-12-15 Allen Li + + Add option to configure comint TERM + + * lisp/comint.el (comint-terminfo-terminal): New defcustom. + (comint-term-environment): New function for setting terminal options + (comint-exec-1): Use comint-term-environment. (Bug#29583) + * lisp/progmodes/compile.el (compilation-start): Use comint-term-environment. + + * etc/NEWS: + * doc/emacs/misc.texi (Shell Options): Document the new option. + +2017-12-15 Eli Zaretskii + + Better support utf-8-with-signature and utf-8-hfs in XML/HTML + + * lisp/international/mule.el (sgml-xml-auto-coding-function): + Support UTF-8 with BOM and utf-8-hfs as variants of UTF-8, and + obey the buffer's encoding if it is one of these variants, instead + of re-encoding in UTF-8 proper. (Bug#20623) + +2017-12-15 Eli Zaretskii + + * lisp/menu-bar.el (menu-bar-mode): Doc fix. + +2017-12-15 Michael Albinus + + Fix Bug#29712 in tramp-tests.el + + * test/lisp/net/tramp-tests.el + (tramp-test32-environment-variables-and-port-numbers): + Skip for macOS. (Bug#29712) + +2017-12-15 Martin Rudalics + + Don't run FOR_EACH_FRAME when there's no frame left (Bug#29961) + + This does not fix Bug#29961 but avoids that Emacs segfaults when + trying to shut down because it lost connection to the X server. + + * src/dispnew.c (check_glyph_memory): + * src/frame.c (delete_frame): Don't run FOR_EACH_FRAME when + there's no frame left (Bug#29961). + +2017-12-15 Glenn Morris + + * lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable. + +2017-12-15 Ted Zlatanov + + Remember password change for IMAP in Gnus (Bug#29692) + + Reported by Trey Jackson . + + * lisp/gnus/mail-source.el (mail-source-fetch-imap): Check + `mail-source-password-cache' for password. + +2017-12-15 Ted Zlatanov + + Add %DUMBFW to the default GnuTLS priority strings + + * lisp/net/gnutls.el (gnutls-boot-parameters): Add %DUMBFW to + the default priority strings (Bug#25061). + + * etc/NEWS: Mention it. + + * doc/misc/emacs-gnutls.texi (Help For Users): Point to the + GnuTLS priority string documentation URL. + +2017-12-15 Glenn Morris + + Small fixes prompted by make check-declare + + * lisp/frame.el (x-focus-frame): Update declaration. + (ns-mouse-absolute-pixel-position): Fix declaration. + * lisp/vc/diff-mode.el (diff-refine-hunk): + Use smerge-refine-regions rather than obsolete alias. + (smerge-refine-subst): Remove declaration, no longer relevant. + +2017-12-15 Glenn Morris + + Fix some custom groups + + * lisp/vc/vc-hooks.el (vc-faces): Rename from vc-state-faces. + * lisp/vc/cvs-status.el (cvs-status): Unused, remove. + +2017-12-14 Alan Mackenzie + + Fix fontification of first declaration within a C++ lambda form. + + * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): Cease + spuriously recognizing the braces of a lambda form as a brace list when there + is an "=" preceding the introductory brackets. + +2017-12-14 Charles A. Roelli + + * src/data.c (Fadd_variable_watcher): Doc fix. + +2017-12-14 Alan Mackenzie + + Fix misfontification of C++ member initialization list after "throw" + + * lisp/progmodes/cc-engine.el (c-forward-type): Stop recognizing a "type" + starting with "throw", by using c-opt-type-modifier-prefix-key. + + * lisp/progmodes/cc-langs.el (c-type-modifier-prefix-kwds): New lang const + which, in C++, doesn't contain "throw", otherwise like c-type-modifier-kwds. + (c-opt-type-modifier-prefix-key): New lang const and var, a regexp matching + any keyword in the previous lang const. + +2017-12-14 Dmitry Gutov + + Consolidate 'widen' calls + + * lisp/progmodes/prog-mode.el (prog-indentation-context): + Un-document all elements but the first. + (prog-widen): Remove. + (http://lists.gnu.org/archive/html/emacs-devel/2017-12/msg00321.html) + + * doc/lispref/text.texi (Mode-Specific Indent): Update. + + * lisp/progmodes/ruby-mode.el (ruby-calculate-indent): + Don't call widen. + + * lisp/progmodes/python.el + (python-indent-guess-indent-offset) + (python-info-current-defun): Replace prog-widen with widen; + these functions are not called during indentation. + (python-indent-context) + (python-indent--calculate-indentation) + (python-info-dedenter-opening-block-message) + (python-info-line-ends-backslash-p) + (python-info-beginning-of-backslash) + (python-info-continuation-line-p) + (python-info-current-defun): Remove 'widen' calls. + + * lisp/indent.el (indent-according-to-mode) + (indent-for-tab-command, indent-region): Move them here. + + * lisp/textmodes/mhtml-mode.el (mhtml-indent-line): + Bind prog-indentation-context to one-element list. + +2017-12-14 Martin Rudalics + + Fix doc-string of Fbuffer_list + + * src/buffer.c (Fbuffer_list): Fix doc-string. + +2017-12-14 Basil L. Contovounesios + + Don't raise an extraneous frame (bug#29696) + + * lisp/gnus/gnus-art.el (gnus-article-read-summary-keys): Lookup + summary buffer keys from article buffer without affecting window + configuration (bug#29696). + +2017-12-13 Noam Postavsky + + Mention new strictness for &optional, &rest in arglists (Bug#29165) + + * etc/NEWS: Explain that '&optional' not followed by a variable is now + an error. + * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda, cl--do-&aux) + (cl--do-arglist): Also reject '&optional', '&rest', or '&aux' not + followed by a variable for consistency. + * test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-bad-arglist): New + test. + +2017-12-13 Alan Mackenzie + + Don't misfontify "foo ()" inside C++ initialization parentheses as a type + + Also recognize and handle function names introduced by "extern" inside a + function. + + * lisp/progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add a new element to + the result list which is t when our declaration is, or is to be treated as, + being at top level. + + * lisp/progmodes/cc-fonts.el (c-get-fontification-context): Detect being + inside a C++ uniform initialization and return (not-decl nil) for this case. + (c-font-lock-declarations): Use the new element 4 of the result of + c-forward-decl-or-cast-1. + + * lisp/progmodes/cc-langs.el (c-make-top-level-kwds, c-make-top-level-key): + New lang consts/vars. + +2017-12-13 Glenn Morris + + Fixes for defcustoms, prompted by cus-test-opts + + * lisp/files.el (save-some-buffers-default-predicate): + * lisp/time.el (display-time-world-list): + * lisp/gnus/gnus-art.el (gnus-article-show-cursor): + * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-names): + * lisp/progmodes/verilog-mode.el (verilog-auto-wire-type): + * lisp/textmodes/less-css-mode.el (less-css-output-directory) + (less-css-output-file-name, less-css-input-file-name): + * lisp/vc/emerge.el (emerge-metachars): + * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles): + Fix :types. + * lisp/net/newst-backend.el (newsticker-url-list-defaults): Fix url. + +2017-12-13 Glenn Morris + + * lisp/net/newst-backend.el (newsticker--raw-url-list-defaults): + Update. + + * lisp/htmlfontify.el (hfy-which-etags): Fix it. + +2017-12-13 Glenn Morris + + Add missing :version tags revealed by cusver-check + + * lisp/comint.el (comint-move-point-for-matching-input): + * lisp/epa.el (epa-replace-original-text): + * lisp/image-dired.el (image-dired-cmd-optipng-program) + (image-dired-cmd-optipng-options): + * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): + * lisp/gnus/gnus-cloud.el (gnus-cloud-storage-method) + (gnus-cloud-interactive): + * lisp/net/mailcap.el (mailcap-user-mime-data): + * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag) + (c-noise-macro-names, c-noise-macro-with-parens-names): + * lisp/progmodes/flymake.el (flymake-start-on-flymake-mode) + (flymake-wrap-around): + * lisp/progmodes/grep.el (grep-use-null-filename-separator): + * lisp/progmodes/js.el (js-indent-align-list-continuation): + * lisp/progmodes/perl-mode.el (perl-flymake-command): + * lisp/progmodes/python.el (python-flymake-command) + (python-flymake-command-output-pattern, python-flymake-msg-alist): + * lisp/progmodes/ruby-mode.el (ruby-flymake-use-rubocop-if-available) + (ruby-rubocop-config): + * lisp/textmodes/less-css-mode.el (less-css): + * lisp/textmodes/tex-mode.el (tex-chktex-program) + (tex-chktex-extra-flags): Add missing :version tags. + +2017-12-13 Glenn Morris + + Escape column-zero doc parens + + * lisp/htmlfontify.el (hfy-display-class): + * lisp/calendar/icalendar.el (icalendar--do-create-ical-alarm): + * lisp/net/shr.el (shr-external-rendering-functions): + * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag): + * lisp/textmodes/tildify.el (tildify-tildify): + Escape column-zero doc parens. A shame bug#21871 remains unfixed. + +2017-12-12 Alan Third + + Remove ObjC blocks (Bug#23753) + + * src/macfont.m (macfont_get_glyph_for_character): + (mac_font_get_glyphs_for_variants): Inline Objective-C blocks. + + (cherry picked from commit 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e) + +2017-12-12 Eli Zaretskii + + Import the latest IVD_Sequences.txt + + * admin/unidata/IVD_Sequences.txt: New version from + http://www.unicode.org/ivd/, the 2017-12-12 version of the Unicode + Ideographic Variation Database. + + * src/macuvs.h: Regenerated. + +2017-12-11 Max (tiny change) + + Fix dired-do-compress when tar doesn't default to stdin (Bug#29094) + + * lisp/dired-aux.el (dired-compress-file-suffixes): Use argument '-f-' + to write to stdout rather than relying on the default (the choice of + default is decided when compiling tar, BSD systems usually set it to a + tape drive). Drop '-v', since the output is not used anywhere. + +2017-12-11 Noam Postavsky + + Suppress warnings during elisp completion macroexpansion + + Errors are already suppressed, therefore it is logical to suppress + warnings as well. Some macros (e.g., use-package) may produce + warnings when given the `elisp--witness--lisp' symbol. + * lisp/progmodes/elisp-mode.el (elisp--local-variables): Let-bind + warning-minimum-log-level to :emergency. + +2017-12-11 Chunyang Xu + + * lisp/progmodes/verilog-mode.el (verilog-mode): Fix typo (Bug#24410). + +2017-12-11 Michael Albinus + + Make tramp-interrupt-process more robust + + * lisp/net/tramp.el (tramp-interrupt-process): Fall back to + the default implementation if there's no success. + +2017-12-11 Katsumi Yamaoka + + Make quail-input-method work when inhibit-read-only is non-nil (bug#29504) + + * lisp/international/quail.el (quail-input-method): Work not only + when buffer-read-only is nil but also when inhibit-read-only is non-nil + (bug#29504). + +2017-12-10 Eli Zaretskii + + Fix 'fontset-name-p' + + * lisp/international/fontset.el (fontset-name-p): Make the + function work with full fontset names and fontset alias names. + +2017-12-10 Eli Zaretskii + + Fix fontset documentation inconsistencies for bug#29630 + + * doc/lispref/display.texi (Face Attributes): Don't document + :family as accepting a fontset. Document that :font accepts a + fontset. + + * lisp/faces.el (set-face-attribute): Doc fix. + +2017-12-10 Martin Rudalics + + Remove sentence from child frames section in Elisp manual + + * doc/lispref/frames.texi (Child Frames): Remove one sentence. + Suggested by Bob Weiner . + +2017-12-10 Eli Zaretskii + + Avoid crashes in 'font-at' after 'set-fontset-font' + + * src/fontset.c (free_realized_fontsets): Call + recompute_basic_faces, so that the basic faces are available to + any Lisp that calls this function, e.g. via set-fontset-font. + (Bug#29632) + +2017-12-10 Ted Zlatanov + + * lisp/files-x.el (connection-local-set-profile-variables): Fix docstring. + +2017-12-09 Ted Zlatanov + + Add /etc/ssl/cert.pem to gnutls-trustfiles for macOS + + Problem reported by Mark Ferlatte (Bug#28603). + * lisp/net/gnutls.el (gnutls-trustfiles): Add /etc/ssl/cert.pem for macOS. + +2017-12-09 Eli Zaretskii + + Fix tool-tip display when display margins are non-zero by default + + * src/buffer.h (bset_left_margin_cols, bset_right_margin_cols): + New inline functions. + * src/xfns.c (Fx_show_tip): + * src/w32fns.c (Fx_show_tip): Force display margins of the tip + buffer to zero, as it will be displayed in a pseudo-window, which + doesn't support display margins. (Bug#29627) + +2017-12-09 Eric Abrahamsen + + Handle hash tables and vectors when reading/writing EIEIO objects + + * lisp/emacs-lisp/eieio.el (eieio-override-prin1): EIEIO objects + printed with `prin1' can no longer be read with `read'. Make sure + they are printed with object-write instead, even when they're inside + hash tables and vectors. + * lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): + Check for written representations of objects inside hash tables and + vectors, and reconstruct them. + +2017-12-09 Eli Zaretskii + + Improve interactive debugging commands in xdisp.c + + * src/xdisp.c (Fdump_glyph_row, Fdump_tool_bar_row): Allow to + specify ROW via prefix argument. Fix the doc strings. + +2017-12-09 Eli Zaretskii + + Fix calculation of continuation_pixel_width in display engine + + * src/xdisp.c (display_line): Remove incorrect increment of + it->continuation_pixel_width when word-wrap is used. (Bug#29594) + +2017-12-09 Eli Zaretskii + + Improve documentation of 'save-abbrevs'. + + * doc/emacs/abbrevs.texi (Saving Abbrevs): Document the 'silently' + value of 'save-abbrevs'. Suggested by Alex Branham + in emacs-manual-bugs@gnu.org. + +2017-12-09 Eli Zaretskii + + Improve documentation of Dired + + * doc/emacs/dired.texi (Dired): Mention that the Dired buffer can + be made modifiable in Wdired. Suggested by Alex Branham + in emacs-manual-bugs@gnu.org. + +2017-12-09 Eli Zaretskii + + * lisp/bookmark.el (bookmark-alist): Doc fix. (Bug#29551) + +2017-12-08 Michael Albinus + + Minor Tramp fixes + + * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): + Fix a bug when renaming. + + * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Extend test. + (tramp-test42-delay-load, tramp-test42-remote-load-path): + Skip unless Emacs >= 26. + +2017-12-08 Glenn Morris + + * lisp/help-mode.el (help-function-def): + Allow help-make-xrefs to call with one argument. (Bug#29611) + +2017-12-07 Martin Rudalics + + Fix doc-string of 'display-buffer-in-side-window' + + * lisp/window.el (display-buffer-in-side-window): In doc-string + clarify why the window returned gets dedicated to its buffer. + +2017-12-06 Michael Albinus + + Fix Bug#29579 + + * lisp/files.el (file-name-non-special): + Inhibit `file-name-handler-alist' only for some operations. + Add missing operations. (Bug#29579) + + * lisp/net/tramp-compat.el (tramp-compat-file-name-quote): + Do not quote if it is quoted already. + + * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory): + Use `copy-tree' but `copy-sequence'. + + * lisp/net/tramp.el (tramp-handle-file-truename): Handle several + trailing slashes correctly. + + * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) + (tramp-test12-rename-file, tramp-test24-file-acl) + (tramp-test25-file-selinux, tramp--test-check-files): + Handle also quoted file names. + (tramp-test21-file-links): Fix file name quoting test. + (tramp-test24-file-acl): Be more robust for "smb" method. + (tramp-test35-make-auto-save-file-name): Enable hidden test cases. + +2017-12-06 Rasmus + + Backport: Update Org to v9.1.4 + + Please note this is a bugfix release. See etc/ORG-NEWS for details. + + (cherry picked from commit 567b5efe1f338c10c574758fb968915c5c34c909) + +2017-12-06 Martin Rudalics + + In windows.texi mention special splitting behavior of side and atomic windows + + * doc/lispref/windows.texi (Splitting Windows): Add note about + and links to side and atomic windows. + +2017-12-05 Katsumi Yamaoka + + * lisp/gnus/gnus-group.el (gnus-group-mode-map): + Bind [follow-link] to mouse-face, not 'mouse-face (bug#29538). + +2017-12-04 Eli Zaretskii + + Avoid compilation warning in xterm.c + + * src/xterm.c (x_draw_underwave): Move the declaration of + 'thickness' to the non-USE_CAIRO branch, to avoid compiler + warning. (Bug#29567) + +2017-12-04 Eli Zaretskii + + * README: Document all the top-level directories. (Bug#29558) + +2017-12-04 Glenn Morris + + Don't enable erc modules on simply loading erc.el + + * lisp/erc/erc.el (erc-modules): Use default :initialize. (Bug#29417) + +2017-12-03 Lars Ingebrigtsen + + Allow shr to use data: URLs without encoding + + * lisp/net/shr.el (shr-image-from-data): Don't bug out on + image data: URLs that have no base64 encoding like + (shr-image-from-data + "text/html,%3Ch1%3EHello%2C%20World!%3C%2Fh1%3E"). + +2017-12-03 E. Choroba (tiny change) + + Don't add newlines in minibuffer history + + * lisp/simple.el (next-line-or-history-element): Bind + next-line-add-newlines to nil. (Bug#29529) + +2017-12-03 Syohei YOSHIDA + + modhelp.py: Support Python 3 (Bug#24954) + + * modules/modhelp.py: 'print' statement was removed in Python + 3. 'print' function should be used instead of 'print' statement. + +2017-12-03 Noam Postavsky + + Use forward slashes for python w32 config example (Bug#21656) + + * lisp/progmodes/python.el: Use forward slashes for Windows path + example, it doesn't require doubling of slashes which reduces chances + of confusion. + +2017-12-03 Paul Eggert + + Fix bug in i18n/l10n optimization + + This fixes a off-by-one buffer overrun bug introduced in + 2017-06-04T15:39:37Z!eggert@cs.ucla.edu. Problem uncovered by an + experimental version of Emacs built with -fcheck-pointer-bounds + and running on Intel MPX hardware. + * src/editfns.c (styled_format): Avoid overrunning internal buffers. + +2017-12-02 Noam Postavsky + + Let autoload-compute-prefix be set file-locally (Bug#29471) + + * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): Mark + boolean values as safe. + +2017-12-02 Noam Postavsky + + Improve edit-kbd-macro prompting in case of remapped keys (Bug#29399) + + * lisp/edmacro.el (edit-kbd-macro): Use substitute-command-keys to + present the current bindings in the prompt. Check the the + non-remapped binding of the entered key sequence as well. + +2017-12-02 Lele Gaifax + + Add tests on electric-indentation and Python multiline strings (Bug#29305) + + * test/lisp/progmodes/python-tests.el + (python-indent-electric-comma-inside-multiline-string, + python-indent-electric-comma-after-multiline-string): New tests. + +2017-12-02 Noam Postavsky + + Disable electric indent for python strings (Bug#29305) + + * lisp/progmodes/python.el (python-indent-post-self-insert-function): + Do nothing when point or beginning of line is in string. + +2017-12-02 Yuuki Harano (tiny change) + + Fix buffer overflow in fontname conversion (Bug#29523) + + * src/nsterm.m (ns_xlfd_to_fontname): Fix sscanf format. + +2017-12-02 Eli Zaretskii + + Fix byte compilation of files with leading directories + + * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Pass basename + of target-file to make-temp-file, in case target-file includes a + leading directory that might not exist under TMPDIR. See + http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00680.html + for the details. + +2017-12-02 Michael Albinus + + * lisp/files.el (make-backup-file-name-1): Fix scoping error. + +2017-12-02 Michael Albinus + + Revert Tramp commit from 2017-11-20 + + * lisp/net/tramp.el (tramp-drop-volume-letter) + (tramp-handle-find-backup-file-name): Revert change from + 2017-11-20. Emacs' `make-backup-file-name-1' handles this + case now. + +2017-12-02 Eli Zaretskii + + Improve documentation of buffer-list commands and features + + * doc/emacs/buffers.texi (List Buffers): Add a cross-reference to + "Several Buffers", to establish a relation between the two + sections. + (Buffer Menus): Expand on customizability of alternative buffer + menu offered by bs.el. Mention IBuffer. + Suggested by Alex Branham in + emacs-manual-bugs@gnu.org. + +2017-12-02 Eli Zaretskii + + Fix backing up remote files in local directories on MS-Windows + + * lisp/files.el (make-backup-file-name-1): Support remote file + names correctly when they are backed up into a local directory on + MS-Windows and MS-DOS. (Bug#29440) + +2017-12-02 Glenn Morris + + * doc/emacs/mule.texi (Output Coding): Clarify sendmail coding. + +2017-12-01 John Wiegley + + Revert "Fix backing up remote files in local directories on MS-Windows" + + This reverts commit 8c8b6732882248df4ca3b687e0a4b4e5e4ab3777. + +2017-12-01 Eli Zaretskii + + Fix a typo in ELisp manual + + * doc/lispref/sequences.texi (Sequence Functions): Fix the example + of using 'seq-uniq'. (Bug#29524) + +2017-12-01 Eli Zaretskii + + * lisp/composite.el (find-composition): Fix a typo in the doc string. + +2017-12-01 Eli Zaretskii + + Fix backing up remote files in local directories on MS-Windows + + * lisp/files.el (make-backup-file-name-1): Support remote file + names correctly when they are backed up into a local directory on + MS-Windows and MS-DOS. (Bug#29440) + +2017-12-01 Tak Kunihiro + + Fix vertical cursor motion in pixel-scroll.el + + * lisp/pixel-scroll.el (pixel-scroll-up): Move cursor down + regardless of whether EOB is shown at the top. + (pixel-scroll-down) Move cursor up regardless of whether BOB + is shown at the top. (Bug#29374) + +2017-12-01 Basil L. Contovounesios + + Fix typos in doc strings of message.el + + * lisp/gnus/message.el (message-header-to) + (message-header-subject, message-header-newsgroups) + (message-header-other): Fix typos in doc strings. (Bug#29405) + +2017-12-01 Eli Zaretskii + + Fix a typo in the Emacs manual + + * doc/emacs/abbrevs.texi (Abbrev Concepts): Fix a typo. Reported + by clemens.radermacher@posteo.de in emacs-manual-bugs@gnu.org. + +2017-12-01 Eli Zaretskii + + Improve the documentation of 'table-insert-sequence' + + * doc/emacs/text.texi (Table Misc): Fix the description of + 'table-insert-sequence'. Reported by jack in + emacs-manual-bugs@gnu.org. + +2017-12-01 Paul Eggert + + Port better to QNX + + Problem reported by Elad Lahav on emacs-devel. + * configure.ac: On QNX, default CC to qcc (a GCC wrapper), + and default LDFLAGS to -N2MB so that the initial stack size + is not too small. Also, fix misspelling of ‘qnxnto’. + +2017-11-30 Michael Albinus + + Make tramp-test42-auto-load more robust + + * test/lisp/net/tramp-tests.el (tramp-test42-auto-load): + Make it more robust. Don't skip. + +2017-11-30 Eli Zaretskii + + Avoid assertions in find-composition + + * src/font.c (font_range): If called with STRING non-nil and FACE + a NULL pointer, compute face by calling face_at_string_position. + (Bug#29506) + + * lisp/composite.el (find-composition): Doc fix. + +2017-11-29 Glenn Morris + + Restore obsolete method of changing byte-compile-dest-file + + * lisp/emacs-lisp/bytecomp.el (byte-compile-dest-file): + Restore seven-year obsolete feature that was removed for six months, + since automake uses it. + +2017-11-29 Michael Albinus + + Some minor Tramp corrections + + * lisp/net/tramp.el (tramp-handle-directory-file-name): + Handle several trailing slashes correctly. + (tramp-handle-file-selinux-context): New defun. + + * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Use `tramp-handle-file-selinux-context'. + + * test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name): + Extend test. + (tramp-test17-insert-directory): Make check more robust. + (tramp-test42-auto-load): Combine several let forms. + (tramp-test42-delay-load, tramp-test42-recursive-load) + (tramp-test42-remote-load-path, tramp-test43-unload): Rename. + +2017-11-29 Tino Calancha + + * doc/misc/url.texi (http/https): Fix typo + +2017-11-29 Glenn Morris + + Remove some bogus definition-prefixes from loaddefs + + * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): + Don't register a definition prefix from define-erc-module, + which adds an erc- prefix to its argument. + +2017-11-28 Robert Pluim + + Shell-quote wildcards when invoking 'vc-git-grep' + + * lisp/vc/vc-git.el (vc-git-grep): Apply shell quoting to + filename wildcards to ensure globbing is done by git rather + than the shell. (Bug#29303) + +2017-11-28 Kaushal Modi + + Update documentation of '.dir-locals-2.el' + + See https://lists.gnu.org/r/emacs-devel/2017-11/msg00649.html + for more details. + * lisp/files.el (dir-locals-file-2): Remove unused constant. + * lisp/files.el (dir-locals-file): Mention ".dir-locals-2.el" in + the doc string. + * doc/lispref/variables.texi (Directory Local Variables): Mention + ".dir-locals-2.el". + * etc/NEWS: Replace `dir-locals-file-2' mention with + `dir-locals-file'. + +2017-11-27 Noam Postavsky + + * src/w32heap.c (DUMPED_HEAP_SIZE) [_WIN64]: Bump to 22 MiB. + +2017-11-27 Glenn Morris + + A few small doc fixes for bytecomp.el + + * lisp/emacs-lisp/bytecomp.el (emacs-lisp-file-regexp) + (byte-compile-dest-file-function, byte-compile-dest-file): Doc fixes. + +2017-11-27 Stefan Monnier + + * src/lread.c (syms_of_lread): Fix thinko in commit b1573a97e17b5 + +2017-11-27 Glenn Morris + + * lisp/tree-widget.el (tree-widget-end-guide): Escape it. (Bug#27797) + +2017-11-27 Eli Zaretskii + + Fix ELisp "Warning Tips" + + * doc/lispref/tips.texi (Warning Tips): Clarify when to use + 'require' wrapped by 'eval-when-compile'. (Bug#29462) + +2017-11-27 Michael Albinus + + Fix Bug#29163 + + * lisp/net/tramp.el (tramp-autoload-file-name-regexp): + Do not use "\\'" in regexp. (Bug#29163) + (top) Do not run (tramp-register-autoload-file-name-handlers) + when loading tramp.el. + + * test/lisp/net/tramp-tests.el (tramp--test-mock-p): New defun. + (tramp-test32-environment-variables-and-port-numbers) + (tramp-test41-asynchronous-requests): Use it. + (tramp-test42-auto-load): New test. + (tramp-test43-recursive-load, tramp-test44-remote-load-path) + (tramp-test45-delay-load, tramp-test46-unload): Rename. + +2017-11-27 Paul Eggert + + Harden exec_byte_code against redefining 'error' + + Problem discovered by configuring with --enable-gcc-warnings on + Ubuntu 17.10 x86-64 with gcc (Ubuntu 7.2.0-8ubuntu3). + * src/bytecode.c (exec_byte_code): Call the C error function + instead of the Lisp one, so that the Emacs interpreter does not go + haywire if the user redefines the Lisp error function. + +2017-11-27 Gemini Lasswell + + Fix Edebug specs for if-let* and and-let* (Bug#29236) + + * test/lisp/emacs-lisp/subr-x-tests.el (if-let*, if-let): + Change Edebug spec to cause Edebug to instrument tests the + results of which are not bound to symbols (the (VALUEFORM) + case). + (and-let*): Change Edebug spec to allow empty body. + + *test/lisp/emacs-lisp/subr-x-tests.el: + (subr-x-and-let*-test-group-1): Add missing quote to erroneous + form so Edebug will work on this test. + +2017-11-26 Gemini Lasswell + + Fix Edebug's handling of dotted specs (bug#6415) + + * lisp/emacs-lisp/cl-macs.el (cl-destructuring-bind): Use + cl-macro-list1 instead of cl-macro-list in Edebug spec. + + * lisp/emacs-lisp/edebug.el (edebug-after-dotted-spec): Delete + unused variable. + (edebug-dotted-spec): Add docstring. + (edebug-match-specs): Allow &optional and &rest specs to + match nothing at the tail of a dotted form. Handle matches of + dotted form tails which return non-lists. + + * test/lisp/emacs-lisp/edebug-tests.el (edebug-tests-dotted-forms): + New test. + + * test/lisp/emacs-lisp/edebug-resources/edebug-test-code.el: + (edebug-test-code-use-destructuring-bind): New function. + +2017-11-26 Eli Zaretskii + + Improve documentation of "constant" symbols + + * src/font.c (syms_of_font) + : + * src/data.c (syms_of_data) + : + * src/buffer.c (syms_of_buffer) : + Mention in the doc strings that these variables are read-only. + + * doc/lispref/variables.texi (Creating Buffer-Local): Document + that making a constant variable buffer-local signals an error. + * doc/lispref/variables.texi (Constant Variables): + * doc/lispref/errors.texi (Standard Errors): More accurate and + up-to-date documentation of which symbols cannot be assigned + values. + +2017-11-26 Paul Eggert + + maint: shorten https://lists.gnu.org/archive/html/... links + +2017-11-26 Paul Eggert + + Merge from Gnulib + + This incorporates: + 2017-11-23 stat: work around Solaris bug with tv_nsec < 0 + 2017-11-12 maint: shorten https://lists.gnu.org/archive/html/... links + * build-aux/config.sub, doc/misc/texinfo.tex, lib/allocator.h: + * lib/fstatat.c, lib/intprops.h, lib/lstat.c, lib/signal.in.h: + * lib/stat-time.h, lib/stdio-impl.h, lib/stdio.in.h: + * lib/timespec.h, m4/alloca.m4, m4/extern-inline.m4: + * m4/faccessat.m4, m4/fstatat.m4, m4/gnulib-common.m4: + * m4/lstat.m4, m4/std-gnu11.m4, m4/sys_types_h.m4: + * m4/vararrays.m4: + Copy from Gnulib. + +2017-11-26 Paul Eggert + + Work around GCC bug 80776 on Fedora 27 x86 + + * src/buffer.c (Fgenerate_new_buffer_name): Pacify GCC 7.2.1 + 20170915 (Red Hat 7.2.1-2) on i686 with -Wformat-overflow -O2 by + using XINT rather than XFASTINT and by adding an eassume. This + works around GCC bug 80776. + +2017-11-25 Paul Eggert + + Tweak copy-file, rename-file doc + + * src/fileio.c (Fcopy_file, Frename_file): Tweak the recent change + slightly, as NEWNAME is treated as a directory name depending only + on the contents of the NEWNAME string, and independently of + whether NEWNAME names a directory (i.e., whether the directory + exists) (Bug#29362). + +2017-11-25 Tom Tromey + + Change font-lock-extend-region-multiline handling in mhtml-mode + + Bug#29159 + * lisp/textmodes/mhtml-mode.el (mhtml-mode): Remove + font-lock-extend-region-multiline from + font-lock-extend-region-functions. + (mhtml--extend-font-lock-region): Call font-lock-extend-region-multiline. + +2017-11-25 Michael Albinus + + Minor cleanup in tramp-gvfs-handle-file-local-copy + + * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-local-copy): + Move error message up. + +2017-11-25 Michael Albinus + + Add test for Bug#29423 in Tramp. + + * test/lisp/net/tramp-tests.el (tramp-test17-insert-directory): + Add test for Bug#29423. + +2017-11-25 Eli Zaretskii + + Avoid jumbled order in HTML rendered by shr.el + + * lisp/net/shr.el (shr-render-td): Preserve point, as + shr-render-td-1 might move it as a side effect of + save-window-excursion. (Bug#29348) + +2017-11-25 Eli Zaretskii + + Make sure 'dired-filename' property is always put by ls-lisp + + * lisp/ls-lisp.el (ls-lisp-classify): Do not put the + 'dired-filename' text property on the file name here... + (ls-lisp-classify-file): ...put it here instead. (Bug#29423) + +2017-11-24 Eli Zaretskii + + A better solution for bug#29347 + + * src/thread.c (really_call_select): Don't try to take the global + lock if the same thread is already holding it. (Bug#29347) + +2017-11-24 Eli Zaretskii + + Avoid a hang after C-g while sit-for on a Unix TTY + + * src/thread.c (acquire_global_lock): Don't try to take the global + lock if the same thread is already holding it. (Bug#29347) + +2017-11-24 Eli Zaretskii + + Improve the doc string of 'list-packages' + + * lisp/emacs-lisp/package.el (list-packages): Describe in the doc + string the columns shown by the command. (Bug#29420) + +2017-11-24 Eli Zaretskii + + Improve discoverability of 'defvar' for suppressing warnings + + * doc/lispref/compile.texi (Compiler Errors): Add index entries. + * doc/lispref/variables.texi (Defining Variables): Mention that + defvar with no value is used for suppressing compiler warnings. + (Bug#29400) + +2017-11-24 Eli Zaretskii + + Improve discoverability of 'read-buffer-completion-ignore-case' + + * lisp/window.el (switch-to-buffer) + (switch-to-buffer-other-window, switch-to-buffer-other-frame): + Mention 'read-buffer' in the doc string. (Bug#29389) + + * doc/emacs/buffers.texi (Select Buffer): Add a cross-reference to + where 'read-buffer-completion-ignore-case' is documented. + +2017-11-24 Eli Zaretskii + + Improve documentation of self-insert-uses-region-functions + + * lisp/simple.el (self-insert-uses-region-functions): Clarify the + doc string. + * lisp/delsel.el (delete-selection-uses-region-p): Mention + 'self-insert-command' in the doc string. (Bug#29373) + + * doc/lispref/text.texi (Commands for Insertion): Mention + 'self-insert-uses-region-functions'. + * doc/lispref/modes.texi (Keymaps and Minor Modes): Add a + cross-reference to "Commands for Insertion". + +2017-11-24 Eli Zaretskii + + Reflect changes in copy-file and rename-file in doc strings + + * src/fileio.c (Fcopy_file, Frename_file): Mention in the doc + strings that directory names must end in a slash. (Bug#29362) + +2017-11-24 Eli Zaretskii + + * lisp/progmodes/cc-vars.el (c-offsets-alist): Doc fix. (Bug#29407) + +2017-11-24 Eli Zaretskii + + Reorder type predicates in ELisp manual + + * doc/lispref/objects.texi (Type Predicates): Restore alphabetical + order of listed predicates. (Bug#29411) + +2017-11-23 Eli Zaretskii + + Fix backward scrolling in buffers with header-line + + * src/window.c (window_scroll_pixel_based): Account for the + header-line when comparing Y coordinate with the last_visible_y. + (Bug#29325) + +2017-11-22 Glenn Morris + + * lisp/bindings.el (buffer-file-coding-system): + Add explicit permanent-local mark. + + * src/fns.c (syms_of_fns) : Doc fix. + +2017-11-22 Alan Third + + Fix incorrect interaction of drag/drop and double click (bug#29121) + + * src/nsterm.m (EmacsView::performDragOperation): Drag and drop + doesn't use ns-input-file. + +2017-11-22 Glenn Morris + + * lisp/menu-bar.el (menu-bar-options-save): + Add display-line-numbers-type. + + * lisp/menu-bar.el (menu-bar-options-save): + Add global-display-line-numbers-mode. (Bug#28396) + + * lisp/follow.el (follow-mode): Restore mode line lighter. (Bug#28495) + +2017-11-22 Dmitry Gutov + + Extract the common part of ruby-flymake-simple and ruby-flymake-rubocop + + * lisp/progmodes/ruby-mode.el (ruby-flymake-simple) + (ruby-flymake-rubocop): + Extract the common part as ruby-flymake--helper. + (ruby--rubocop-flymake-proc): Remove. Use the first proc + variable instead. + +2017-11-22 Dmitry Gutov + + Add Rubocop Flymake backend + + * lisp/progmodes/ruby-mode.el (ruby-flymake-command): + Inline the value. There are no known substitutes. + (ruby-flymake): Rename to `ruby-flymake-simple' and simplify + the docstring. + (ruby-flymake-use-rubocop-if-available): New option. + (ruby--rubocop-flymake-proc): New variable. + (ruby-rubocop-config): New option. + (ruby-flymake-rubocop, ruby-flymake-auto): New functions. + (ruby-mode): Use `ruby-flymake-auto'. + +2017-11-21 Noam Postavsky + + Update nt/INSTALL.W64 (Bug#28601) + + * nt/INSTALL.W64 (Download and install MinGW-w64 and MSYS2): Move + suggestion about modifying PATH to... + (Test Emacs): ... here. + (Run configure): Remove the unnecessary setting of PKG_CONFIG_PATH. + (Troubleshooting): New section, includes suggestion to check + PKG_CONFIG_PATH. + +2017-11-21 Charles A. Roelli + + Remove incorrect NEWS item about VC state indicator (Bug#28817) + + * etc/NEWS (VC and related modes): Remove news item about the VC + state indicator. This should have been done with commit 7882dc6 + of 2016-03-06 'Revert "Use colors in the VC mode lines"'. + +2017-11-21 Glenn Morris + + * lisp/emacs-lisp/byte-run.el (defsubst): Doc fix. + +2017-11-21 Alan Mackenzie + + Make c-defun-name analyze more thoroughly a function type which is a struct + + This fixes bug #29293. + + * lisp/progmodes/cc-cmds.el (c-defun-name): When a struct (etc.) type is + encountered, check whether it is the return type of a function rather than a + declaration of the struct itself. Similarly adapt the cond arm which deals + with functions properly to recognize struct return types. + +2017-11-21 Glenn Morris + + Avoid bogus abbreviated file names if HOME changes + + * lisp/files.el (abbreviate-file-name): + If HOME changes, ignore `abbreviated-home-dir'. (Bug#19657#20) + * test/lisp/files-tests.el (files-test-abbreviated-home-dir): New. + +2017-11-21 Glenn Morris + + * lisp/emacs-lisp/byte-run.el (inline): Give it a doc. + +2017-11-21 Jay Kamat (tiny change) + + Fix erc keep-place module with new defaults (Bug#29111) + + * lisp/erc/erc-goodies.el (erc-keep-place): Allow erc + keep-place to continue working with + switch-to-buffer-preserve-window-point set to t, the new default. + +2017-11-20 Alan Third + + Add window divider faces to NS (bug#29353) + + * src/nsterm.m (ns_draw_window_divider): Use + window-divider-first-pixel and window-divider-last-pixel faces. + +2017-11-20 Stefan Monnier + + * src/keyboard.c: Undo last change, meant for master only + +2017-11-20 Michael Albinus + + Fix Bug#29149 + + * lisp/net/tramp.el (tramp-drop-volume-letter): Handle also + backup file names. + (tramp-handle-find-backup-file-name): + Call `tramp-drop-volume-letter' on the results. (Bug#29149) + +2017-11-20 Martin Rudalics + + Fix misbehavior when drawing three-pixel high horizontal dividers (Bug#29353) + + * src/xterm.c (x_draw_window_divider): + * src/w32term.c (w32_draw_window_divider): Fix misbehavior when + drawing three-pixel high horizontal dividers (Bug#29353). + + The misbehavior was noted by Keith David Bershatsky and analyzed by Alan + Third. + +2017-11-19 Mike Kupfer + + MH-E: don't automatically download external-body parts + + * lisp/mh-e/mh-mime.el (mh-mime-display-single): Use + mm-automatic-display-p to verify that a part should be + displayed before doing the inline checks (SF#475). + +2017-11-19 Michael Albinus + + Further fix for Bug#29291 + + * test/lisp/net/tramp-tests.el (tramp-test24-file-acl): + Check for local ACL support. (Bug#29291) + +2017-11-19 Alan Third + + Fix divider frame params on NS (bug#29352) + + * src/nsfns.m (Fx_create_frame): Set right-divider-width and + bottom-divider-width parameters. + +2017-11-19 Paul Eggert + + Spelling fixes + + * lisp/help-fns.el (help-fns--analyze-function): + Rename from help-fns--analyse-function. + All uses changed. + +2017-11-19 Olaf Rogalsky + + * src/keyboard.c: Make xterm-mouse clicks on mode-line work + + (read_key_sequence): Recompute first_event + after replay_sequence, since it might have changed (bug#29104). + +2017-11-18 Martin Rudalics + + Don't let delete_frame select a tooltip frame (Bug#27647) + + * src/frame.c (delete_frame): Don't select a tooltip + frame. (Bug#27647) + +2017-11-18 Alan Mackenzie + + Filter obtrusive events in help-read-key-sequence. + + This fixes most of bug #29272. + + * lisp/help.el (help-read-key-sequence): After a mouse event, pause for 0.01s, + discarding any events (such as ) received in this time, before + polling for the double-click (etc.) events which may follow. This fixes the + infinite loop which occurred whwn events triggered a sit-for + whilst handling menu events. + +2017-11-18 Michael Albinus + + Fix symlink flag in tramp-gvfs-handle-file-attributes + + * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes): + Set proper symlink file mode flag. + +2017-11-18 Michael Albinus + + Fix bug in tramp-handle-file-truename + + * lisp/net/tramp.el (tramp-handle-file-truename): Expand localname. + + * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Check also + relative symbolic links. + +2017-11-18 Eli Zaretskii + + Fix a typo in doc string of electric-indent-functions-without-reindent + + * lisp/electric.el (electric-indent-functions-without-reindent): + Doc fix. (Bug#29304) + +2017-11-18 Eli Zaretskii + + Avoid assertion violations in echo_area_display + + * src/xdisp.c (echo_area_display): Don't try redisplaying the echo + area if the selected-frame's mini-window is nil. (Bug#27647) + +2017-11-18 Eli Zaretskii + + Fix case-folding in Occur + + * lisp/replace.el (occur-engine): Bind case-fold-search in each + buffer we search. (Bug#29254) + +2017-11-18 OGAWA Hirofumi (tiny change) + + Fix quick-calc in C mode with hex values + + * lisp/calc/calc-aent.el (math-read-token): Make sure the match + against "0[xX][0-9a-fA-F]+" is found at math-exp-pos. See + http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00174.html + for the details. + +2017-11-18 Eli Zaretskii + + Improve documentation of dired-next/prev-marked-file + + * lisp/dired.el (dired-next-marked-file, dired-prev-marked-file): + Doc fixes. (Bug#29340) + +2017-11-17 Eli Zaretskii + + Prevent aborts in line-move-visual + + * src/indent.c (line_number_display_width): Avoid assertion + violations in init_iterator when the window's buffer was + temporarily switched without updating window-start. (Bug#29326) + +2017-11-17 Eli Zaretskii + + More fixes in src/.gdbinit + + * src/.gdbinit (pwinx): Update to match 'struct window'. + (pcursorx): Use "." instead of "->" because the argument is a + struct, not a pointer. + +2017-11-17 Robert Pluim + + Document how to enter whitespace when using grep-read-files + + * lisp/progmodes/grep.el (lgrep, rgrep, grep-read-files): Explain + how to enter whitespace when using grep-read-files. (Bug#29303) + * lisp/progmodes/project.el (project-find-regexp): Likewise. + * lisp/vc/vc-git.el (vc-git-grep): Likewise. + +2017-11-17 Eli Zaretskii + + Fix .gdbinit following lisp.h changes + + * src/.gdbinit (xsymname, pwinx, pgx, xbuffer, xcar, xcdr, xlist) + (xprintstr): Adapt to latest changes in Lisp object C structures. + (Bug#29332) + +2017-11-15 Charles A. Roelli + + * lisp/simple.el (shell-command): Doc fixes. + +2017-11-15 Noam Postavsky + + Fix marker adjustment for undo (Bug#29118) + + * lisp/simple.el (primitive-undo): Compare marker against absolute + value of POS, because the sign of POS is irrelevant to markers. + +2017-11-14 Daniel Pittman + + Fix Bug#28139 + + * lisp/net/tramp-sh.el: Set TERM and INSIDE_EMACS environment earlier. + (tramp-remote-process-environment): Remove TERM and INSIDE_EMACS. + (tramp-remote-process-environment): Document their special handling. + (tramp-open-shell): Set TERM and INSIDE_EMACS prior to starting the + initial remote shell, so that it is also aware of the environment + in which it is operating. (Bug#28139) + +2017-11-14 Michael Albinus + + Fix Bug#29291 + + * test/lisp/net/tramp-tests.el (tramp-test24-file-acl): + Preserve permissions when copying. (Bug#29291) + +2017-11-14 Michael Albinus + + Fix Bug#2928 + + * test/lisp/net/tramp-tests.el (tramp-test25-file-selinux): + Enhance test. (Bug#29287) + (tramp-test44-delay-load): Fix for older Emacsen. + +2017-11-14 Martin Rudalics + + Make 'mouse-drag-and-drop-region' work with 'mouse-autoselect-window' non-nil + + * lisp/mouse.el (mouse-drag-and-drop-region): Ignore + 'select-window' events to make it work with + 'mouse-autoselect-window'. + +2017-11-14 Alexander Gramiak + + * etc/PROBLEMS: Remove fixed xterm-mouse-mode problems + + See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29143#26 + +2017-11-14 Katsumi Yamaoka + + Fix cookie handling (bug#29282) + + * lisp/url/url-cookie.el (url-cookie-handle-set-cookie): + Regard a Set-Cookie header as it contains a single cookie; + prefer Max-Age to Expires and convert it to Expires; + remove support for old time string styles (bug#29282). + +2017-11-13 Gemini Lasswell + + Improve documentation of Edebug and macros + + * doc/lispref/edebug.texi (Instrumenting Macro Calls): Improve + discussion of when it might be necessary to find and evaluate macro + specifications before instrumenting. + (Specification List): Clarify what "defining form" means to Edebug + and when 'def-form' or 'def-body' should be used instead of 'form' + or 'body'. + +2017-11-13 Paul Eggert + + Port to IBM xlc 12.01 + + Work around a compiler bug by using a separate enum for alignment. + * src/alloc.c (roundup_size): Declare in a separate enum. + +2017-11-13 Paul Eggert + + Simplify by removing HAVE_STRUCT_ATTRIBUTE_ALIGNED + + * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove. No longer + needed, since we no longer rely on __attribute__ ((aligned (8))). + All uses removed. + * src/emacs-module.c (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Remove. + (lisp_to_value): Simplify now that we no longer need to worry + whether HAVE_STRUCT_ATTRIBUTE_ALIGNED is false. + +2017-11-13 Paul Eggert + + Use alignas to fix GCALIGN-related bugs + + Use alignas and unions to specify alignments of objects needing + addresses that are at least a multiple of GCALIGNMENT. Using + these standard C facilities should be safer than relying on ad hoc + and poorly-understood features like GCC’s __attribute__ + ((aligned (N))), the root cause for recent porting bugs like + Bug#29040. The alignas macro was standardized by C11 and Gnulib + supports alignas for pre-C11 platforms. I have tested this on Sun + Studio 12 sparc (2007) and GCC 4.4.7 x86-64 (2012) as well as on + more recent platforms like GCC 7.2.1 (2017) on Fedora 26 (both + x86-64 and x86). + * lib-src/make-docfile.c (close_emacs_globals): lispsym is now + just an array of struct Lisp_Symbol, since struct Lisp_Symbol is + now properly aligned. All uses changed. + * src/alloc.c (NEXT_FREE_LISP_STRING): Just use the new u.next + member; this is simpler and safer than casting a pointer that + might not be aligned properly. + (aligned_Lisp_Symbol): Remove. No longer needed, now that struct + Lisp_Symbol is aligned properly. All uses replaced with struct + Lisp_Symbol. + * src/lisp.h (GCALIGNED): Remove, as it does not work as expected: + it can cause the natural alignment to be ignored. All uses + replaced by unions with a ‘char alignas (GCALIGNMENT)’ member as + described below. + (struct Lisp_Symbol, struct Lisp_Cons, struct Lisp_String): + Change definition from ‘struct TAG { MEMBERS };’ to + ‘struct TAG { union { struct { MEMBERS } s; char alignas + (GCALIGNMENT) gcaligned; } u; };’. This guarantees ‘struct TAG’ + to have an alignment that at least max (GCALIGNMENT, N) where N is + its old alignment. All uses like ‘PTR->MEMBER’ changed to + ‘PTR->u.s.MEMBER’; these uses were supposed to be mostly private + anyway. Verify that the resulting ‘struct TAG’ is properly + aligned for Emacs. + (union vectorlike_header): New member ‘gcaligned’ to guarantee + that this type, and its containing types like ‘struct Lisp_Subr’, + ‘struct buffer’ and ‘struct thread_state’, are all properly + aligned for Emacs. + (struct Lisp_String): New union member ‘next’, for the benefit + of NEXT_FREE_LISP_STRING. + (union Aligned_Cons, union Aligned_String): Remove. All uses + replaced by struct Lisp_Cons and struct Lisp_String, since they + are now properly aligned. + (USE_STACK_CONS, USE_STACK_STRING): Simplify now that we can + assume struct Lisp_Cons and struct Lisp_String are properly + aligned. + +2017-11-13 Paul Eggert + + Change vectorlike from struct to union + + * src/lisp.h (vectorlike_headed): Change from struct to union. + All uses changed. Since it has only one member, this does not + change semantics. This is designed to simplify future changes + needed to fix bugs like Bug#29040. All uses changed. + +2017-11-12 Tom Tromey + + Don't enable cursor-sensor-mode in mhtml-mode + + * lisp/textmodes/mhtml-mode.el (mhtml--last-submode): Update doc + string. + (mhtml-mode): Don't call cursor-sensor-mode. + +2017-11-12 Eli Zaretskii + + * lisp/files.el (abbreviate-file-name): Doc fix. (Bug#29267) + +2017-11-12 João Távora + + Unbreak interactive run of a flymake test (bug#29267) + + See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19657#20 for the + technique used here. + + * test/lisp/progmodes/flymake-tests.el (ruby-backend): + Let-bind abbreviated-home-dir. + +2017-11-12 Michael Albinus + + Fix Bug#29225 + + * src/fileio.c (Fset_file_acl): Report error only when + acl_errno_valid returns true. (Bug#29225) + + * test/lisp/net/tramp-tests.el (tramp-test24-file-acl) + (tramp-test25-file-selinux): New tests. + (tramp-test26-file-name-completion, tramp-test27-load) + (tramp-test28-process-file, tramp-test29-start-file-process) + (tramp-test30-interrupt-process, tramp-test31-shell-command) + (tramp-test32-environment-variables) + (tramp-test32-environment-variables-and-port-numbers) + (tramp-test33-explicit-shell-file-name) + (tramp-test34-vc-registered) + (tramp-test35-make-auto-save-file-name) + (tramp-test36-find-backup-file-name) + (tramp-test37-make-nearby-temp-file) + (tramp-test38-special-characters) + (tramp-test38-special-characters-with-stat) + (tramp-test38-special-characters-with-perl) + (tramp-test38-special-characters-with-ls, tramp-test39-utf8) + (tramp-test39-utf8-with-stat, tramp-test39-utf8-with-perl) + (tramp-test39-utf8-with-ls, tramp-test40-file-system-info) + (tramp-test41-asynchronous-requests) + (tramp-test42-recursive-load, tramp-test43-remote-load-path) + (tramp-test44-delay-load, tramp-test45-unload): Rename. + +2017-11-12 Alan Mackenzie + + CC Mode: Fix defun-open being recognized as brace-list-open at EOB. + + * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Add handling + for an open brace at EOB and nested braces inside an unclosed brace block. + +2017-11-12 Paul Eggert + + Merge from Gnulib + + This incorporates: + 2017-11-11 faccessat: port to macOS (Bug#29231) + 2017-11-05 fstatat: pacify GCC on unusual platform + * build-aux/config.guess, build-aux/config.sub: + * doc/misc/texinfo.tex, lib/faccessat.c, lib/fstatat.c: + * lib/unistd.in.h, m4/faccessat.m4, m4/unistd_h.m4: + Copy from Gnulib. + * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate. + +2017-11-12 Paul Eggert + + Pacify GCC when configured --with-x-toolkit=no + + Without these changes, Emacs does not build on Fedora 26 x86-64 + when configured --with-x-toolkit=no --enable-gcc-warnings. + * oldXMenu/Activate.c (XMenuActivate): Add FALLTHROUGH. + * src/xterm.c (x_dispatch_event): Define only if + USE_X_TOOLKIT || USE_MOTIF || USE_GTK. + +2017-11-12 Eli Zaretskii + + * lisp/find-dired.el (find-grep-dired): Doc fix. (Bug#29262) + +2017-11-12 João Távora + + Fix more flymake-diag-region eob corner cases and add tests (bug#29201) + + * lisp/progmodes/flymake.el (flymake-diag-region): Correct + more eob corner cases. + + * test/lisp/progmodes/flymake-tests.el + (eob-region-and-trailing-newline): New test. + +2017-11-11 Basil L. Contovounesios + + Keep Man sections in natural order (bug#28998) + + * lisp/man.el (Man-build-section-alist): Reverse sections. + +2017-11-11 Stefan Monnier + + * lisp/minibuffer.el: Install a workaround for bug#16274 + + * lisp/minibuffer.el (completion--nth-completion): Avoid signaling an + error when `md` is applied to another table. + +2017-11-11 Eli Zaretskii + + Fix comparisons with tip_frame in GTK builds + + * src/xterm.c (x_update_begin, x_new_font): + * src/xfns.c (Fx_display_monitor_attributes_list): + * src/frame.c (Fframe_list) [USE_GTK]: Don't consider tip_frame a + tooltip frame unless its 'tooltip' parameter is non-nil. (Bug#26747) + +2017-11-11 Eli Zaretskii + + Improve the documentation of M-n for entering file names + + * lisp/files.el (find-file, find-file-other-window) + (find-file-other-frame): Mention file-name-at-point-functions in + the doc string. Reported by Florian Weimer in + http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00224.html. + + * doc/emacs/mini.texi (Minibuffer History): Document + file-name-at-point-functions and its effect on M-n when typing + file names in the minibuffer. + * doc/emacs/files.texi (File Names): + * doc/emacs/mini.texi (Minibuffer File): Add a cross-reference to + "Minibuffer History", where special features of M-n regarding + files are described. + +2017-11-11 Eli Zaretskii + + Fix desktop auto-save timer when linum-mode is used + + * lisp/desktop.el (desktop-read): Use toplevel value of + window-configuration-change-hook when deciding whether desktop + auto-saving is enabled. Suggested by Peter Neidhardt + . (Bug#28945) + +2017-11-11 Olaf Rogalsky + + Fix "C-h k" in xterm-mouse-mode + + * lisp/help.el (help-read-key-sequence): Support "C-h k" for + xterm-mouse-mode by calling read-key-sequence-vector instead of + read-event. (Bug#29150) + +2017-11-11 Paul Eggert + + Fix off-by-1 bug in --enable-checking=stringbytes + + Evidently nobody builds Emacs with --enable-checking=all, + which is no surprise as it is so slow as to be unusable nowadays. + Perhaps we should remove the slowest checks, or move them into + another category, or speed them up, or something. + * src/alloc.c (SDATA_SIZE) [GC_CHECK_STRING_BYTES]: Fix off-by-one + error in size calculation, which caused a failure when + --enable-checking=stringbytes was used. I introduced this bug in + 2016-09-08T01:08:45!eggert@cs.ucla.edu "Port flexible array + members to GCC + valgrind". + +2017-11-10 Alan Mackenzie + + Correct the indentation of C99's compound literals. + + * lisp/progmodes/cc-engine.el (c-looking-at-statement-block): Amend so that + if there is only syntactic whitespace in a brace block, it is regarded as a + statement block. Also, if there is no semicolon or comma delimiter, treat as + a statement block when there is a keyword. + (c-guess-basic-syntax): CASE 9 test: Regard a brace as starting a brace block + when its contents indicate a brace block. + +2017-11-10 Eli Zaretskii + + Improve the doc string of 'dired-isearch-filter-filenames' + + * lisp/dired-aux.el (dired-isearch-filter-filenames): Doc fix. + (Bug#29215) + +2017-11-10 Eli Zaretskii + + * lisp/isearch.el (search-invisible): Doc fix. (Bug#29222) + +2017-11-10 Eli Zaretskii + + Fix display of line numbers in GTK builds + + * src/xdisp.c (should_produce_line_number) [USE_GTK]: Make sure + tip_frame is indeed a tooltip frame, before disabling line numbers + on it. (Bug#27647) + + * src/dispextern.h (tip_frame): Add commentary describing the + kludgey usage of this variable in GTK builds. + +2017-11-10 João Távora + + Fix previous change to flymake-diag-region (bug#29174) + + * lisp/progmodes/flymake.el (flymake-diag-region): + Pass line and col to commit. + +2017-11-09 João Távora + + flymake-diag-region really returns nil if region is invalid (bug#29174) + + Reported by Lele Gaifax . + + * lisp/progmodes/flymake.el (flymake-diag-region): Really + return nil if the region is invalid. + +2017-11-09 João Távora + + Flymake correctly highlights whole last line if eob (bug#29201) + + If a line/column pair indicates an end-of-buffer position, flymake + should behave like the case where the last line of the buffer is + referenced without a column indication. This behavior is currently + to highlight the whole last line. + + * lisp/progmodes/flymake.el (flymake-diag-region): Correct + conditions of fallback to the fallback-eol local function. + +2017-11-09 João Távora + + Protect Flymake checkdoc backend against checkdoc errors (bug#29176) + + The function checkdoc-current-buffer may error if there are unbalanced + parens, for example, but this shouldn't disable the + elisp-flymake-checkdoc backend. + + * lisp/progmodes/elisp-mode.el (elisp-flymake-checkdoc): Use + ignore-errors. + +2017-11-09 João Távora + + Sort entries of the Flymake diagnostics buffer (bug#29175) + + Reported by Lele Gaifax . + + * lisp/progmodes/flymake.el + (flymake--diagnostics-buffer-entries): Sort results of flymake-diagnostics. + +2017-11-09 Alan Mackenzie + + Correctly indent C++14 brace lists which are a second argument to a function. + + In particular, don't indent contained brace lists in "staircase" fashion. + This fixes bug #28623. + + * lisp/progmodes/cc-engine.el (c-looking-at-or-maybe-in-bracelist): When + testing for being enclosed in parens, recognise also a brace directly + following a comma, as well as a brace being the first thing inside the paren. + Enhance the return value, by indicating when we're directly inside an open + paren. + (c-inside-bracelist-p): Add an extra argument ACCEPT-IN-PARAM which indicates + whether we will accept a bracelist directly inside an open parenthesis. + Simplify the manipulation of PAREN-STATE by dispensing with variable LIM and + using c-pull-open-brace. Enhance the return value, respecting the new argument. + (c-guess-basic-syntax): Save a copy of the initial parse-state in the new + variable STATE-CACHE. Use this variable in place of C-STATE-CACHE throughout + the function. At CASE 7B, call c-inside-bracelist-p with extra argument nil. + At CASE 9, call that function with extra argument t. + +2017-11-09 Eli Zaretskii + + Fix redisplay of overlay-arrows on GUI frames + + * src/xdisp.c (try_window_reusing_current_matrix) + (try_cursor_movement): Disallow these optimizations if the buffer + has overlay arrow(s) shown on the fringe(s). (Bug#29198) + +2017-11-09 João Távora + + Protect Flymake tests against older Ruby and Perl (bug#29187) + + * test/lisp/progmodes/flymake-tests.el (perl-backend): Search + for the error from the bottom. + (ruby-backend): Protect against situation of bug#29187 + +2017-11-09 Paul Eggert + + Fix URL cookie expiration bug + + Problem reported by Damien Cassou (Bug#29223). + * lisp/url/url-cookie.el (url-cookie-expired-p): + Fix typo in previous change, which caused unexpired cookies + to be treated as expired and vice versa. + +2017-11-09 Paul Eggert + + Use GCALIGNED properly for GCC + + Apparently GCC requires that ‘__attribute__ ((aligned (8)))’ must + immediately follow the ‘struct’ keyword when aligning a structure. + The attribute silently does not work if it follows a tag after the + ‘struct’ keyword. Who knew? Anyway, this patch is designed to + fix a SIGSEGV problem reported by John Mastro (Bug#29183). + * lib-src/make-docfile.c (close_emacs_globals): + * src/buffer.c (buffer_defaults, buffer_local_symbols): + * src/lisp.h (DEFUN): + * src/thread.c (main_thread): + Put 'GCALIGNED' immediately after 'struct'. + +2017-11-09 Glenn Morris + + In f90.el, set fill-paragraph-function to a useful value + + * lisp/progmodes/f90.el (f90-mode-map) : Add fill-paragraph. + (f90-mode): Set fill-paragraph-function. + (f90-fill-paragraph): New command. + +2017-11-08 Eric Abrahamsen + + Fix to 2fddfb7ce7 + + * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): + Fix bogus paren wrapping. + +2017-11-08 Glenn Morris + + * admin/gitmerge.el (gitmerge-resolve-unmerged): Fix doc typo. + +2017-11-08 Charles A. Roelli + + Further workaround for faulty localtime() under macOS 10.6 + + * lisp/org/org-clock.el (org-clock--oldest-date): Fix an issue + when compiling on macOS 10.6 with a western time zone (a + continuation of Bug#27736). In particular, see: + + https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27736#74 + + and the first commit that attempted to work around this problem, + "Workaround for faulty localtime() under macOS 10.6", bd49b6f1 of + 2017-09-30. + +2017-11-08 Eric Abrahamsen + + Handle object string name in eieio-persistent-convert-list-object + + * lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): + Starting to phase out the printing of object names in + `object-write', handle either case. + +2017-11-08 Ryan C. Thompson + + Fix handling of nil PRED2 arg for completion-table-with-predicate + + * lisp/minibuffer.el (completion-table-with-predicate): Don't act as + if strict is non-nil when pred2 is nil (Bug#27841). + * test/lisp/minibuffer-tests.el + (completion-table-with-predicate-test): Add a test for Bug#27841. + +2017-11-07 K. Handa + + Describe Lao rendering problem + + * etc/PROBLEMS: Describe a workaround for the problem of Lao rendering + by OpenTyype font. + +2017-11-07 K. Handa + + Fix docstring of arabic-shaper-ZWNJ-handling + + * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Adjusted + the doctstring for addition of :set (bug#28312). + +2017-11-07 Antonin Houska (tiny change) + + Handle single-line comments correctly (Bug#26049) + + * lisp/newcomment.el (comment-region-internal): Previously, the + comment text had to contain at least one line break character for the + ending extra line to be added. Make the behavior more consistent by + looking for end of line instead. + (comment-region-internal): Remove trailing white space from the + comment's initial line. + +2017-11-07 Glenn Morris + + * test/lisp/net/tramp-tests.el (tramp-test16-file-expand-wildcards): + Clean up properly. + +2017-11-06 Stefan Monnier + + * etc/PROBLEMS: Add URL to relevant issues for xterm+evil bug + +2017-11-06 Martin Rudalics + + Document new treatment of 'comment-auto-fill-only-comments' + + * doc/lispref/text.texi (Auto Filling): Add reference to Emacs + manual. Add description of 'comment-auto-fill-only-comments'. + * etc/NEWS: Mention new treatment of + 'comment-auto-fill-only-comments'. + +2017-11-05 Michael Albinus + + Do not load Tramp unless `tramp-mode' is non-nil + + * lisp/net/tramp.el (tramp-autoload-file-name-handler): Load Tramp only if + `tramp-mode' is non-nil. + (tramp-unload-file-name-handlers): Unload also + `tramp-autoload-file-name-handler'. + + * test/lisp/net/tramp-tests.el (tramp-test42-delay-load): Extend test. + +2017-11-05 Michael Albinus + + Prefer `customize-set-variable' in tramp.texi + + * doc/misc/tramp.texi (Configuration, Default Method, Default User) + (Default Host, Remote shell setup, Auto-save and Backup) + (Ad-hoc multi-hops, Frequently Asked Questions): + Prefer `customize-set-variable' over `custom-set-variables'. + +2017-11-05 Eli Zaretskii + + Fix last change in hscroll_window_tree + + * src/xdisp.c (hscroll_window_tree): When hscroll suspension is + being disabled, set the frame's garbaged flag less eagerly. + (Bug#29002) + +2017-11-05 Philipp Stephani + + Ediff: add some missing documentation + + * lisp/vc/ediff.el (ediff-files, ediff-files3, ediff-buffers) + (ediff-buffers3, ediff-merge-directories) + (ediff-merge-directories-with-ancestor) + (ediff-merge-directory-revisions) + (ediff-merge-directory-revisions-with-ancestor) + (ediff-windows-wordwise, ediff-windows-linewise) + (ediff-regions-wordwise, ediff-regions-linewise) + (ediff-merge-files, ediff-merge-files-with-ancestor) + (ediff-merge-buffers, ediff-merge-buffers-with-ancestor) + (ediff-merge-revisions, ediff-merge-revisions-with-ancestor) + (ediff-patch-file, ediff-revision): Document missing arguments. + (ediff-patch-buffer, ediff-revision): Add second space after + period. + (ediff-files-command, ediff3-files-command, ediff-merge-command) + (ediff-merge-with-ancestor-command, ediff-directories-command) + (ediff-directories3-command, ediff-merge-directories-command): Add + documentation for the command line functions. + +2017-11-05 Justin Timmons (tiny change) + + Support python virtualenv on w32 (Bug#24464) + + According to the virtualenv docs only POSIX systems follow the + structure "/path/to/venv/bin/", while windows systems use + "/path/to/venv/Scripts" for the location of the binary files, most + importantly including the python interpreter (see: + https://virtualenv.pypa.io/en/stable/userguide/#windows-notes). + * lisp/progmodes/python.el (python-shell-calculate-exec-path): Use the + "/path/to/venv/Scripts" for `windows-nt' machines. + +2017-11-05 Noam Postavsky + + Improve dired deletion error handling (Bug#28797) + + * lisp/dired.el (dired-internal-do-deletions): Use + `error-message-string' to produce a human readable error message. + +2017-11-05 Noam Postavsky + + Don't replace user input when completion prefix is empty (Bug#18951) + + * lisp/pcomplete.el (pcomplete-parse-arguments): Only replace user + input if we produced a non-empty common completion stub. + +2017-11-05 Eli Zaretskii + + Return non-nil from gnutls-available-p under GnuTLS 2.x + + * doc/misc/emacs-gnutls.texi (Help For Users): Update the + documentation of 'gnutls-available-p'. + + * etc/NEWS (GnuTLS): Mention the change in the value returned by + 'gnutls-available-p'. + + * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS + 2.x is available. (Bug#29147) + +2017-11-05 João Távora + + Fix Flymake help-echo functions across windows (bug#29142) + + * lisp/progmodes/flymake.el (flymake--highlight-line): Use + with-selected-window. + (flymake-goto-next-error): Call help-echo with a window and an + overlay. + +2017-11-05 João Távora + + Add tests for Flymake backends for Ruby and Perl + + * test/lisp/progmodes/flymake-tests.el (perl-backend) + (ruby-backend): New tests. + (warning-predicate-rx-perl, warning-predicate-function-perl): + Delete tests. + + * test/lisp/progmodes/flymake-resources/test.pl: Include an + error the test file. + + * test/lisp/progmodes/flymake-resources/test.rb: file. + +2017-11-05 João Távora + + Add a Flymake backend for Perl + + Define a simple backend in perl-mode.el, which cperl-mode.el also + uses. + + * lisp/progmodes/cperl-mode.el (cperl-mode): Add to + flymake-diagnostic-functions. + + * lisp/progmodes/flymake-proc.el + (flymake-proc-allowed-file-name-masks): Disable legacy backend + for perl files. + + * lisp/progmodes/perl-mode.el (perl-flymake-command): New + defcustom. + (perl--flymake-proc): New buffer-local variable. + (perl-flymake): New function. + (perl-mode): Add to flymake-diagnostic-functions. + +2017-11-05 João Távora + + Add a Flymake backend for Ruby + + * lisp/progmodes/ruby-mode.el (ruby-flymake-command): New + defcustom. + (ruby--flymake-proc): New buffer-local variable. + (ruby-flymake): New function. + (ruby-mode): Add flymake-diagnostic-functions. + +2017-11-05 Lele Gaifax + + Add a Flymake backend for Python (bug#28808) + + Implement new Flymake backend with related customizable settings. + + * lisp/progmodes/python.el (python-flymake-command) + (python-flymake-command-output-pattern) + (python-flymake-msg-alist): New defcustom. + (python--flymake-parse-output): New function, able to parse + python-flymake-command output accordingly to + python-flymake-command-output-pattern. + (python-flymake): New function implementing the backend + interface using python--flymake-parse-output for the real + work. + (python-mode): Add python-flymake to flymake-diagnostic-functions. + +2017-11-05 Michael Albinus + + Allow "%" in Tramp host names + + * lisp/net/tramp-gvfs.el (tramp-gvfs-url-file-name): Hexify also host. + + * lisp/net/tramp.el (tramp-host-regexp): Allow "%" in host names. + +2017-11-04 Noam Postavsky + + Use hybrid malloc for FreeBSD (Bug#28308) + + FreeBSD aarch64 does not provide sbrk, so gmalloc cannot be used; when + using system malloc dumping does not work correctly (allocated data is + invalid after dumping). + * configure.ac: Set hybrid_malloc for freebsd. + * src/gmalloc.c (gdefault_morecore) [!HAVE_SBRK]: Don't call sbrk. + +2017-11-04 Charles A. Roelli + + Add html-, mhtml- and python-mode support to semantic symref + + * lisp/cedet/semantic/symref/grep.el + (semantic-symref-filepattern-alist): Fix the entry for + 'html-mode', which used a regexp-like syntax where only glob + syntax is permitted. As a result, 'xref-find-references' (M-?) + can now find references in HTML files. Also duplicate the same + entry for the sake of 'mhtml-mode', and add a new one for + 'python-mode'. + (semantic-symref-derive-find-filepatterns): In the documentation, + clarify that returned patterns must follow the glob syntax. Fix + an 'if' test that always evaluates to nil. + (semantic-symref-tool-grep): + (semantic-symref-perform-search): Fix typos. + +2017-11-04 Eli Zaretskii + + Improve documentation of 'window-scroll-functions' + + * doc/lispref/windows.texi (Window Hooks): Clarify the values of + arguments of 'window-scroll-functions' functions. + + * src/xdisp.c (syms_of_xdisp) : Doc fix. + +2017-11-04 Eli Zaretskii + + Fix subtle problems in tabulated-list-mode with line numbers + + * lisp/emacs-lisp/tabulated-list.el + (tabulated-list-watch-line-number-width): Call + tabulated-list-init-header instead of tabulated-list-revert. + (tabulated-list-window-scroll-function): New function. + (tabulated-list-mode): Put 'tabulated-list-window-scroll-function' + on the buffer-local 'window-scroll-functions' list. + +2017-11-04 Eli Zaretskii + + Make gdb-non-stop-setting default to nil on MS-Windows + + * lisp/progmodes/gdb-mi.el (gdb-non-stop-setting): Now nil on + MS-Windows. + +2017-11-04 Mike Gulick (tiny change) + + Fix gdb-mi prompt after "attach PID" command + + * lisp/progmodes/gdb-mi.el (gdbmi-bnf-console-stream-output): Set + gdb-first-done-or-error non-nil. (Bug#29020) + +2017-11-04 Eli Zaretskii + + Fix doc string of 'window-configuration-change-hook' + + * src/window.c (syms_of_window) : + Doc fix. (Bug#29049) + +2017-11-04 Eli Zaretskii + + Improve documentation of window hooks + + * doc/lispref/windows.texi (Window Hooks): Fix the description of + window-configuration-change-hook. (Bug#29049) + : + Document these functions. + +2017-11-04 Eli Zaretskii + + Fix hscroll suspension after cursor motion + + * src/xdisp.c (hscroll_window_tree): Trigger a thorough redisplay + of the window when temporary suspension of hscrolling is + disabled. (Bug#29002) + +2017-11-03 Alan Mackenzie + + Introduce a function to CC Mode which displays the current function name + + Remove an erroneous interactive specification from two functions. + + * lisp/progmodes/cc-cmds.el (c-display-defun-name): New command. + (c-defun-name, c-cpp-define-name): Remove interactive specification. + + * lisp/progmodes/cc-mode.el (c-mode-base-map): Add binding C-c C-z for the new + command. + + * doc/misc/cc-mode.texi (Other Commands): Add documentation for the new + command. + +2017-11-03 Eli Zaretskii + + Fix typos in ediff-wind.el + + * lisp/vc/ediff-wind.el (ediff-setup-windows-multiframe-merge): + Fix typos in commentary. (Bug#29138) + +2017-11-03 João Távora + + Examine tex-chktex--process in the correct buffer + + As in other Flymake backends, the process sentinel might run in + arbitrary buffers where this variable's value doesn't make sense. + + For a way to trigger a problem due to this, see discussion starting in + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00645.html + + * lisp/textmodes/tex-mode.el (tex-chktex): Use + with-current-buffer. + +2017-11-03 Stephen Leake + + * nt/INSTALL.W64: Update to current mingw64 install instructions + +2017-11-03 João Távora + + Don't resignal errors in flymake-diag-region + + * lisp/progmodes/flymake.el (flymake-diag-region): Use + flymake-log instead of flymake-error. + +2017-11-03 João Távora + + New xref-quit-and-goto-xref command bound to TAB (bug#28814) + + This is like xref-goto-xref, but quits the *xref* window just before + the user jump to ref. + + * lisp/progmodes/xref.el (xref--show-location): Handle 'quit + value for SELECT. + (xref-goto-xref): Take optional QUIT arg. + (xref-quit-and-goto-xref): New command. + (xref--xref-buffer-mode-map): Bind "Q" and "TAB" to + xref-quit-and-goto-xref. + + * doc/emacs/maintaining.texi (Xref Commands): Describe new bindings in + *xref*. + + * etc/NEWS (Xref): Describe new binding. + +2017-11-03 João Távora + + Allow split-window-sensibly to split threshold in further edge case + + As a fallback, and to avoid creating a frame, split-window-sensibly + would previously disregard split-height-threshold if the window to be + split is the frame's root window. + + This change generalizes that: it disregards the threshold if the + window to be split is the frame's only _usable_ window (it is either + the only one, as before, or all the other windows are dedicated to + some buffer and thus cannot be touched). + + This is required for the fix to bug#28814. + + * lisp/window.el (split-height-threshold): Adjust doc to match + split-window-sensibly. + (split-window-sensibly): Also disregard threshold if all other + windows are dedicated. + +2017-11-03 João Távora + + Honor window-switching intents in xref-find-definitions (bug#28814) + + When there is more than one xref to jump to, and an *xref* window + appears to help the user choose, the original intent to open a + definition in another window or frame is remembered when the choice to + go to or show a reference is finally made. + + * lisp/progmodes/xref.el (xref--show-pos-in-buf): Rewrite. + (xref--original-window-intent): New variable. + (xref--original-window): Rename from xref--window and move up + here for clarity. + (xref--show-pos-in-buf): Rewrite. Don't take SELECT arg here. + (xref--show-location): Handle window selection decision here. + (xref--window): Rename to xref--original-window. + (xref-show-location-at-point): Don't attempt window management here. + (xref--show-xrefs): Ensure display-action intent is saved. + +2017-11-03 Paul Pogonyshev + + * lisp/emacs-lisp/generator.el (iter-do): Add a debug declaration. + +2017-11-03 Stefan Monnier + + * lisp/progmodes/flymake.el (flymake-start): Fix dead buffer case + + Don't try to flymake-start within a buffer that doesn't exist any more. + +2017-11-03 Basil L. Contovounesios + + Fix buffer name comparison in async shell-command + + * lisp/simple.el (shell-command): Keep track of output-buffer + by its name, not by its object. (Bug#28997) + +2017-11-03 Paul Eggert + + Change GCALIGNMENT back to an integer literal + + * src/lisp.h (GCALIGNMENT): Change it back to a macro + that expands to a literal integer constant, for older GCC. + I had mistakenly thought that only MSVC had the problem. + Problem repored by Eli Zaretskii (Bug#29040#69). + +2017-11-03 Paul Eggert + + * src/lisp.h (GCALIGNED): Clarify comment (Bug#29040). + +2017-11-03 Hong Xu + + Improve the doc of eshell-cmpl-* custom variables (Bug#25069) + + * lisp/eshell/em-cmpl.el (eshell-cmpl--custom-variable-docstring): New + function to generate the docstring for custom variables derived from + pcomplete-* variables. + (eshell-cmpl-file-ignore, eshell-cmpl-dir-ignore) + (eshell-cmpl-ignore-case, eshell-cmpl-autolist) + (eshell-cmpl-suffix-list, eshell-cmpl-recexact) + (eshell-cmpl-man-function, eshell-cmpl-compare-entry-function) + (eshell-cmpl-expand-before-complete, eshell-cmpl-cycle-completions) + (eshell-cmpl-cycle-cutoff-length, eshell-cmpl-restore-window-delay) + (eshell-command-completion-function, eshell-cmpl-command-name-function) + (eshell-default-completion-function, eshell-cmpl-use-paring): Use it + to set the docstring. + +2017-11-02 Alan Third + + Fix mouse-scrollbar offset on GNUstep and old macOS (bug#29053) + + * src/nsterm.m (EmacsScroller::mouseDown, + EmacsScroller::mouseDragged): Take scroller buttons into account when + calculating scroller knob position. + +2017-11-02 Paul Eggert + + Merge from Gnulib + + This incorporates: + 2017-10-29 timespec: prefer ‘assume’ to ‘assure’ + 2017-10-27 timespec.h: use "assure" to avoid a spurious warning + 2017-10-09 getopt-posix: Fix build failure if ac_cv_header_getopt_h=no + * build-aux/config.guess, build-aux/config.sub: + * lib/timespec.h, lib/unistd.in.h: + Copy from Gnulib. + +2017-11-02 Paul Eggert + + Fix alignment portability problems + + Do not assume that the natural alignment of Lisp objects is a + multiple of GCALIGNMENT. This improves on the portability of the + recent fix for Bug#29040. + * lib-src/make-docfile.c (close_emacs_globals): + * src/buffer.c (buffer_defaults, buffer_local_symbols): + * src/lisp.h (DEFUN): + * src/thread.c (main_thread): + Use GCALIGNED, not alignas (GCALIGNMENT). + * src/alloc.c (COMMON_MULTIPLE): + Move back here from lisp.h, since it is no longer used elsewhere. + * src/lisp.h (GCALIGNMENT): No longer a macro, since we need not + worry about MSVC. Omit no-longer-needed consistency check. + * src/thread.c (THREAD_ALIGNMENT): Remove. + +2017-11-02 Simen Heggestøyl + + Fix completion of colon after CSS property (Bug#29056) + + * lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert + ": ;" after completing a CSS property unless the rest of the line is + empty. + +2017-11-02 Stefan Monnier + + * src/alloc.c (sweep_symbols): Tweak last change + + Avoid the double-free without the extra check. Add an explanatory comment. + +2017-11-02 Martin Rudalics + + In frame parameters documentation mention desktop saving/restoring + + * doc/lispref/frames.texi (Frame Parameters): Mention that + applications have to care about which parameters they want to + get saved and restored by the desktop library. + +2017-11-02 Martin Rudalics + + Don't have frameset save the 'client' parameter (Bug#29067) + + * lisp/frameset.el (frameset-persistent-filter-alist): Never + save 'client' parameter (Bug#29067). + +2017-11-02 Gemini Lasswell + + Handle generic variables in cl-defgeneric Edebug spec + + *lisp/emacs-lisp/cl-generic.el (cl-defgeneric): Fix Edebug spec to + match (setf name) and replace incorrect cl-lambda-list with listp + (Bug#27747). + +2017-11-02 Noam Postavsky + + Give a more sensible message if file-attributes fails (Bug#29070) + + * lisp/server.el (server-ensure-safe-dir): Don't claim the directory + is a file if we fail to get anything from `file-attributes'. + +2017-11-01 Andreas Schwab + + Avoid wrong value from file-attributes on Linux kernel before 3.6 + + * src/dired.c (file_attributes): Handle unsupported fstat on O_PATH + descriptors. (bug#29070) + +2017-11-01 Noam Postavsky + + Fix customization of debugger-print-function (Bug#29077) + + * lisp/emacs-lisp/debug.el (debugger-print-function): The :options + keyword has no effect for :type 'function, use :type '(choice ...) + instead. + +2017-10-31 Eli Zaretskii + + Avoid duplicate calls to xfree for the same pointer + + * src/alloc.c (sweep_symbols): Avoid freeing an already freed + pointer to a symbol's buffer-local value. (Bug#29066) + +2017-10-31 Phil Sainty + + Don't clobber docstrings of explicitly-defined mode hook variables + + * lisp/emacs-lisp/derived.el (define-derived-mode): + * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): When defining the + mode hook variable, do not clobber pre-existing docstrings. + +2017-10-31 Martin Rudalics + + Avoid fullscreen ediff control frames by default (Bug#29026) + + * lisp/vc/ediff-wind.el (ediff-control-frame-parameters): + Add parameter to avoid fullscreen control frames (Bug#29026). + +2017-10-31 Katsumi Yamaoka + + Fix the bug#24034 change (revno 9eb028f) causing infloop (bug#29047) + + * lisp/net/shr.el (shr-fill-line): Copy only face and image-displayer + properties to gaps (bug#29047). + +2017-10-30 Eli Zaretskii + + Fix a typo in the ELisp manual + + * doc/lispref/functions.texi (Obsolete Functions): Fix a typo. + (Bug#29068) + +2017-10-30 Martin Rudalics + + Fix doc and doc-strings for minibuffer window related functions (Bug#28978) + + These fixes were suggested by Drew Adams. + + * src/window.c (Fminibuffer_selected_window): Disambiguate + doc-string. + * doc/lispref/minibuf.texi (Intro to Minibuffers) + (Minibuffer Windows, Recursive Mini, Minibuffer Misc): Avoid + the term "currently active minibuffer window". Disambiguate + documentation of `minibuffer-selected-window'. + +2017-10-30 Alan Mackenzie + + Fix "Args out of range" error in c-determine-limit. Fixes bug #28598. + + * lisp/progmodes/cc-engine.el (c-determine-limit-get-base): If the candidate + position for BASE is below point-min, scan forward to the end of the current + literal. + (c-determine-limit): Add an extra arm to the final cond form, testing for BASE + being at point-min. + +2017-10-30 Stefan Monnier + + * lisp/progmodes/perl-mode.el: Fix electric indentation with RET + + (perl-electric-noindent-p): The `eolp' check should not apply to RET. + Reported in https://emacs.stackexchange.com/questions/36337. + +2017-10-29 Tom Tromey + + Extend mhtml submode region when in comment + + * lisp/textmodes/mhtml-mode.el (mhtml-syntax-propertize): Extend + submode when start happens to be in a comment. + +2017-10-29 Tom Tromey + + Fix mthml submode lighting at end of buffer + + * lisp/textmodes/mhtml-mode.el (mhtml--submode-lighter): Handle end of + buffer correctly. + +2017-10-29 Tom Tromey + + Remember more variables in mhtml-mode + + * lisp/textmodes/mhtml-mode.el (mhtml--crucial-variable-prefix): Add + "completion-" and "major-mode". + (mhtml--variable-prefix): Remove "major-mode". + +2017-10-29 Thomas Fitzsimmons + + * etc/NEWS (EUDC): Deprecate BBDB 2.x backward compatibility. + +2017-10-29 Martin Rudalics + + Fix minibuffer window related docs and strings (Bug#28978) + + * src/frame.c (Vdefault_minibuffer_frame): Fix doc-string. + * src/window.c (Fminibuffer_selected_window): Fix doc-string. + * doc/lispref/frames.texi (Buffer Parameters): Rewrite + description of `minibuffer' parameter. + * doc/lispref/minibuf.texi (Minibuffer Windows): Reorder + entries and partly rewrite section. + (Minibuffer Misc): Clarify description of + `minibuffer-selected-window'. + * etc/NEWS: Mention new semantics of 'minibuffer' frame + parameter. + +2017-10-29 Mark Oteiza + + Add ChkTeX flymake backend for latex-mode + + * lisp/textmodes/tex-mode.el (tex-flymake): New custom group. + (tex-chktex-program, tex-chktex-extra-flags): New custom variables. + (latex-mode): Add backend to flymake-diagnostic-functions. + (tex-chktex--process): New variable. + (tex-chktex-command, tex-chktex): New functions. + +2017-10-29 Glenn Morris + + Fix doc typos + + * lisp/simple.el (line-move-ignore-invisible): + * lisp/sort.el (sort-regexp-fields): + * lisp/cedet/ede.el (project-add-file): + * lisp/gnus/message.el (message-bogus-recipient-p): + * lisp/international/mule.el (define-coding-system): + * lisp/progmodes/ebrowse.el (ebrowse-member-buffer-object-menu): + * lisp/progmodes/xscheme.el (xscheme-allow-output-p) + (scheme-interaction-mode, scheme-debugger-mode) + (xscheme-yank-pop, xscheme-yank-push): Doc fixes. + +2017-10-29 Glenn Morris + + Fix some duplicate word typos + + * doc/misc/ede.texi (ede-target): + * doc/misc/flymake.texi (Using Flymake): + * doc/misc/gnus.texi (The namazu Engine): Fix typos. + +2017-10-28 Eli Zaretskii + + * doc/lispref/commands.texi (Adjusting Point): Fix wording. (Bug#29042) + +2017-10-28 Eli Zaretskii + + Avoid segfaults in 64-bit Windows builds + + * src/lisp.h (COMMON_MULTIPLE): Move here from alloc.c. + * src/thread.c (THREAD_ALIGNMENT): New macro. + (main_thread): Use THREAD_ALIGNMENT to align propertly. (Bug#29040) + +2017-10-28 Eli Zaretskii + + Fix conversion of pixel coordinates to buffer position + + * src/dispnew.c (buffer_posn_from_coords): Adapt to + auto-hscroll-mode == current-line. + +2017-10-28 Eli Zaretskii + + Fix doc strings in desktop.el + + * lisp/desktop.el (desktop-auto-save-timeout) + (desktop-auto-save-set-timer): Doc fixes. (Bug#28945) + +2017-10-28 Eli Zaretskii + + Add Index to ERT manual + + * doc/misc/ert.texi: Add @syncodeindex directives. + (Index): New node. + (Top): Add Index to the top-level menus. + Add index entries to all nodes. + +2017-10-28 Eli Zaretskii + + Make manuals and NEWS consistent + + * etc/NEWS: Fix markings on several entries, and rearrange others + as needed. + + * doc/emacs/programs.texi (Hideshow): Document the new + outline-like bindings. + * doc/emacs/search.texi (Query Replace): Document 'u' and 'U'. + +2017-10-28 Martin Rudalics + + Don't allow (minibuffer-window-active-p nil) to return t + + * lisp/window.el (minibuffer-window-active-p): Return t + only if WINDOW is a live window. + +2017-10-28 Eli Zaretskii + + Clarify obsolescence message for 'whitespace-tab' + + * lisp/whitespace.el (whitespace-tab): Make the obsolescence + message more clear about the replacement. + +2017-10-28 Glenn Morris + + Fix some duplicate words typos + + * lisp/erc/erc.el (erc-hide-current-message-p): + * lisp/progmodes/flymake-proc.el (flymake-proc-diagnostic-type-pred): + * doc/lispref/display.texi (Bidirectional Display, Delayed Warnings): + * doc/lispref/functions.texi (Defining Functions): + * doc/lispref/os.texi (Terminal-Specific): + * doc/misc/sem-user.texi (Analyzer Debug): + * doc/misc/srecode.texi (Special Variables): Fix typos. + +2017-10-28 Glenn Morris + + * lisp/button.el (button-activate): Fix doc typo. + + * lisp/calendar/todo-mode.el (todo-toggle-mark-item): Fix doc typo. + +2017-10-28 Glenn Morris + + Fix some doc typos + + * lisp/calendar/todo-mode.el (todo-next-item) + (todo-previous-item, todo-toggle-item-header): + * lisp/window.el (move-to-window-group-line): + * src/editfns.c (Fformat): + * test/lisp/calendar/todo-mode-tests.el (todo-test-move-item05): + Fix doc typos. + +2017-10-27 Ken Brown + + Fix startup display on Cygwin + + * src/xterm.c (x_make_frame_visible) [CYGWIN]: Restore code that + forces input to be read. (Bug#24091) + +2017-10-27 Eli Zaretskii + + * src/fileio.c (Fset_default_file_modes): Fix typo in doc string. + + * lisp/dired.el (dired-find-alternate-file): Doc fix. (Bug#28963) + +2017-10-27 Eli Zaretskii + + Improve documentation of how faces are applied to display stings + + * doc/lispref/display.texi (Displaying Faces): Describe how the + faces of the "underlying" text affect overlay and display strings. + (Display Margins): Add a cross-reference to "Displaying Faces". + +2017-10-27 Tak Kunihiro + + Improve pixel-scroll-mode + + Scroll vertically by number of pixels returned by + 'frame-char-height' with or without horizontally scrolled. + (Bug#28922) + + * lisp/pixel-scroll.el (pixel-resolution-fine-flag): When t, scroll + by number of pixels returned by 'frame-char-height'. + (pixel-scroll-up): Scroll by 'frame-char-height'. Fix algorithm to + move cursor to avoid unexpected jump. + (pixel-scroll-down): Scroll by 'frame-char-height'. + (pixel-bob-at-top-p): Consider number of pixels that is about to + scroll. + (pixel-posn-y-at-point): Consider existence of an overlay string. + Return nil when horizontally scrolled. + (pixel-point-at-top-p): Consider number of pixels that is about to + scroll. Use different algorithm when horizontally scrolled. + (pixel-point-at-bottom-p): Consider number of pixels that is about + to scroll. Return nil when horizontally scrolled. + (pixel-scroll-pixel-down): Move cursor when horizontally scrolled. + (pixel--whistlestop-line-up): Change cosmetics and move cursor when + horizontally scrolled. + (pixel-line-height): Call 'pixel-visual-line-height' instead of + 'line-pixel-height'. + (pixel-visual-line-height): New function to return height in pixels + of text line where cursor is with or without horizontally scrolled, + considering response of display engine. + (pixel-visible-pos-in-window): New function to return position of + a char shown on text line where cursor is on screen with or without + horizontally scrolled. + +2017-10-27 Daniel Lublin (tiny change) + + Support Certification Authority Authorization in dns-mode.el + + * lisp/textmodes/dns-mode.el (dns-mode-types): Add "CAA". + (Bug#28911) + +2017-10-27 Eli Zaretskii + + Improve documentation of set-default-file-modes + + * src/fileio.c (Fset_default_file_modes): Doc fix. (Bug#28875) + + * doc/lispref/files.texi (Changing Files): Clarify how the bits in + the argument of set-default-file-modes are used for setting file + permissions. + +2017-10-27 Ulf Jasper + + Fix documentation of `newsticker-new-item-functions' (bug#29023). + + * lisp/net/newst-backend.el (newsticker-new-item-functions), + (newsticker-new-item-functions-sample), + (newsticker-download-enclosures): Fix docstring, rename + variable feed to feedname (bug#29023). + + * doc/misc/newsticker.texi (Automatic Processing) + (Automatic Processing): Fix documentation of + `newsticker-new-item-functions' (bug#29023). + +2017-10-27 Tino Calancha + + Require seq in rmc.el + + * lisp/emacs-lisp/rmc.el: Require seq (Bug#28975). + * test/lisp/emacs-lisp/rmc-tests.el (test-read-multiple-choice): Add test. + +2017-10-27 Katsumi Yamaoka + + Make an example code introduced in the Gnus info work (bug#29008) + + You can find it in the bottom of (info "(gnus)Foreign Groups"). + NOTE: this change is worth being merged to the trunk. + + * lisp/gnus/gnus-group.el (gnus-read-ephemeral-emacs-bug-group): + Allow a string for bug# (bug#29008). + +2017-10-27 Katsumi Yamaoka + + Enable gnus-read-ephemeral-* to run multiple times (bug#29008) + + NOTE: *DO NOT* merge this change to the trunk. + + * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group) + (gnus-read-ephemeral-bug-group): Make it work for any number of times + for the case `url-automatic-caching' is set (bug#29008). + +2017-10-27 Paul Eggert + + Port thread.c to OpenBSD ARM + + Problem reported by Jeremie Courreges-Anglas (Bug#29005). + * src/thread.c (main_thread): Align to GCALIGNMENT. + +2017-10-26 Alan Mackenzie + + Fix another "wrong side of point" error in CC Mode. + + This fixes (a follow-up to) bug #28850. + A internal generated form for scanning text to fontify had a LIMIT parameter. + It also locally bound LIMIT to a value possibly beyond the original LIMIT, + allowing point to move beyond the original LIMIT, and to create the wrong side + error. Fix it by checking point is not beyond LIMIT in the outer context + before using it. + + * lisp/progmodes/cc-fonts.el (c-make-font-lock-search-form): Add a new + parameter CHECK-POINT which, when non-nil, directs the function to generate a + check on point. + (c-make-font-lock-context-search-function): Invoke the above function with new + argument value t. + +2017-10-26 Michael Albinus + + Fix Bug#28959 + + * lisp/net/tramp.el (tramp-handle-find-backup-file-name): + Use `tramp-tramp-file-p' rather than `tramp-file-name-p'. Add + hop to backup file name. (Bug#28959) + + * test/lisp/net/tramp-tests.el (tramp-test34-find-backup-file-name): + New test. + (tramp-test35-make-nearby-temp-file) + (tramp-test36-special-characters) + (tramp-test36-special-characters-with-stat) + (tramp-test36-special-characters-with-perl) + (tramp-test36-special-characters-with-ls, tramp-test37-utf8) + (tramp-test37-utf8-with-stat, tramp-test37-utf8-with-perl) + (tramp-test37-utf8-with-ls, tramp-test38-file-system-info) + (tramp-test39-asynchronous-requests) + (tramp-test40-recursive-load, tramp-test41-remote-load-path) + (tramp-test42-delay-load, tramp-test43-unload): Rename. + +2017-10-26 Paul Eggert + + Fix duplicate .o file on QNX + + * configure.ac (CYGWIN_OBJ): Leave empty on QNX. + Problem reported by Elad Lahav in: + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00750.html + +2017-10-26 Dmitry Gutov + + Fix two js indentation problems + + Fix intentation problems reported in + https://github.com/mooz/js2-mode/issues/463. + * lisp/progmodes/js.el (js--continued-expression-p): + Check syntax state after /. + (js--multi-line-declaration-indentation): + Check syntax state before "const". + +2017-10-25 Phillip Lord + + Update documentation for windows build + + * admin/nt/dist-build/README-scripts: New File. + +2017-10-25 Alan Mackenzie + + Fix a "wrong side of point" error in CC Mode. Fixes bug #28850. + + The cause was a scanning over a bracket pair taking us beyond the supplied + LIMIT parameter in c-forward-declarator. + + * lisp/progmodes/cc-engine.el (c-forward-declarator): Add three checks (< + (point) limit) whilst dealing with tokens after the declared identifier. + + * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Don't supply a LIMIT + argument to `c-forward-declarator' (twice), since we want to fontify up till + the end of a declarator, not an arbitrary jit-lock chunk end. + +2017-10-25 Stefan Monnier + + Fix autoload of flymake from elisp-mode during bootstrap (bug#28994) + + * lisp/loadup.el: add `progmodes` to load-path so we can find flymake.el. + * lisp/kmacro.el: Require `replace` since we use query-replace-map. + * lisp/replace.el: Require `text-mode` since we use text-mode-map. + +2017-10-25 Alan Third + + Fix non-native fullscreen on NS (bug#28872) + + * src/nsterm.m (EmacsView::updateFrameSize): Handle case where + FRAME_TOOLBAR_HEIGHT returns a negative number. Force WM to set size + of frame. + +2017-10-25 Michael Albinus + + Fix Bug#28982 + + * admin/MAINTAINERS: Add test/lisp/url/url-tramp-tests.el. + + * lisp/url/url-tramp.el (url-tramp-convert-url-to-tramp) + (url-tramp-convert-tramp-to-url): Adapt to recent Tramp changes. + + * test/lisp/url/url-tramp-tests.el: New file. (Bug#28982) + +2017-10-25 Phillip Lord + + Fix windows build errors + + * admin/nt/dist-build/build-zips.sh: Correct name of zip file, build + 64 bit first + +2017-10-25 Noam Postavsky + + Fix compile warning for non-w32 builds + + Since 2017-07-25 "ls-lisp: Add an unload function and enable lexical + binding", the non-w32 builds would treat the undeclared + w32-collate-ignore-punctuation variable as lexical. + * lisp/ls-lisp.el (top-level): Declare it as a dynamic variable. + +2017-10-25 David Glasser (tiny change) + + Display commit in package description, if available (Bug#28637) + + MELPA includes a :commit field in its + packages (https://github.com/melpa/package-build/pull/6). You can use + this to tell if MELPA has processed a recently-merged change. This + commit adds that metadata to the package description buffer. + + * lisp/emacs-lisp/package.el: Display commit in package description. + +2017-10-24 Paul Eggert + + Port to QNX + + Simplified version of a patch proposed by Elad Lahav in: + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00716.html + which is based on a previous patch I proposed in: + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00707.html + * configure.ac (opsys, CFLAGS, LIBS_SYSTEM, hybrid_malloc) + (system_alloc, FIRST_PTY_LETTER, CYGWIN_OBJ): + Set appropriately for QNX. + * src/unexelf.c [__QNX__]: Include instead of . + (unexec): Check for sbrk failure, and fall back on old BSS end. + +2017-10-24 Paul Eggert + + * configure.ac: Tweak libcurses diagnostic. + +2017-10-24 Phillip Lord + + Scripts to automate windows binary distribution + + * admin/nt/dist-build/README-windows-binaries, + admin/nt/dist-build/build-dep-zips.py, + admin/nt/dist-build/build-zips.sh: New Files + +2017-10-24 Gemini Lasswell + + Fix Edebug specs for map-let and with-maps-do + + * lisp/emacs-lisp/map.el (map-let): Fix Edebug spec (bug#24777). + * test/lisp/emacs-lisp/map-tests.el (with-maps-do): Fix Edebug spec. + +2017-10-24 Michael Albinus + + * test/lisp/net/tramp-tests.el (tramp-test41-delay-load): New test. + + (tramp-test42-unload): Rename. + +2017-10-24 Glenn Morris + + * admin/authors.el (authors-canonical-author-name): + Ignore name issues in "lax" ChangeLogs. + + * test/lisp/progmodes/sql-tests.el + (sql-tests-postgres-list-databases-error): Silence compiler. + +2017-10-23 Michael Albinus + + Further work on Bug#28889 + + * lisp/net/tramp.el (tramp-set-syntax): New defun. + (tramp-syntax): Use it. Change :package-version. (Bug#28889) + +2017-10-23 Michael Albinus + + Improve Tramp backward compatibility + + * lisp/net/tramp-compat.el (tramp-compat-tramp-file-name-slots): + New defmacro. + * lisp/net/tramp.el (with-parsed-tramp-file-name): Use it. + +2017-10-23 Michael Albinus + + Improve backward compatibility of tramp-tests.el + + * test/lisp/net/tramp-tests.el (tramp--test-emacs26-p): Fix docstring. + (tramp-test41-unload): Skip unless Emacs >= 26. + +2017-10-23 Martin Rudalics + + Fix some ‘window-normalize-’ prefixed functions (Bug#28947) + + * lisp/window.el (window-normalize-buffer): Fix case where + BUFFER-OR-NAME is a string specifying a dead buffer. Fix + doc-string (Bug#28947). + (window-normalize-frame, window-normalize-window): Fix + doc-strings (Bug#28947). + +2017-10-23 Paul Eggert + + Port to OpenIndiana + + Problem reported by Nelson H. F. Beebe (Bug#28893). + Also see Bug#23748, Bug#9736, and Bug#5735. + * configure.ac (tputs_library): Prefer libcurses to libtermcap, + since OpenIndiana libtermcap lacks tparm. + +2017-10-22 Alexander Gramiak + + Don't fill keywords after Emacs Lisp docstring + + This approach does mean that keywords that have spaces before them + inside of docstrings aren't filled, but I think this is should be fine + until Bug#28937 is fixed. + + * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Add a colon to + paragraph-start unconditionally, but require that it follows at least + one space. (Bug#24622) + * test/lisp/emacs-lisp/lisp-tests.el: New tests for Bug#24622 and + Bug#7751. + +2017-10-22 Alan Mackenzie + + Refactor c-forward-token-2 with new function c-forward-over-token-and-ws. + + Use the new function directly in several places where c-forward-token-2 + wouldn't move over the last token in the buffer. This caused an infinite loop + in c-restore-<>-properties. + + * lisp/progmodes/cc-engine.el (c-forward-over-token-and-ws): New function, + extracted from c-forward-token-2. + (c-forward-token-2): Refactor, calling the new function. + (c-restore-<>-properties): Fix infinite loop. + (c-forward-<>-arglist-recur, c-in-knr-argdecl) + (c-looking-at-or-maybe-in-bracelist): Call the new function directly in place + of c-forward-token-2. + + * lisp/progmodes/cc-cmds.el (c-defun-name) Call the new function directly in + place of c-forward-token-2. + + * lisp/progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Call the new + function directly in place of c-forward-token-2. + +2017-10-22 Paul Eggert + + Avoid unnecessary rounding errors in timestamps + + Avoid the rounding errors of float-time when it’s easy. E.g., + replace (< (float-time a) (float-time b)) with (time-less-p a b). + * lisp/desktop.el (desktop-save): + * lisp/ecomplete.el (ecomplete-add-item): + * lisp/epg.el (epg-wait-for-completion): + * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir): + * lisp/image-dired.el (image-dired-get-thumbnail-image) + (image-dired-create-thumb-1): + * lisp/info.el (info-insert-file-contents): + * lisp/ls-lisp.el (ls-lisp-format-time): + * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p) + (ange-ftp-verify-visited-file-modtime): + * lisp/net/rcirc.el (rcirc-ctcp-sender-PING): + * lisp/textmodes/remember.el (remember-store-in-mailbox): + * lisp/url/url-cookie.el (url-cookie-expired-p): + Bypass float-time to avoid rounding errors. + + * lisp/files.el (dir-locals-find-file): + +2017-10-22 Paul Eggert + + Fix xdg timestamp error on 32-bit Emacs + + * lisp/xdg.el (xdg-thumb-mtime): Return an Emacs timestamp, + not an integer. This avoids signaling an error on 32-bit + Emacs, where timestamps typically do not fit into fixnums + (Bug#28921). + +2017-10-22 John Williams (tiny change) + + Test that advice doesn't trigger bytecomp warnings (Bug#28803) + + * test/lisp/emacs-lisp/bytecomp-tests.el + (bytecomp-tests--test-no-warnings-with-advice): New test. + +2017-10-21 Noam Postavsky + + Another fix for unsafe directory error message (Bug#865) + + * lisp/server.el (server-ensure-safe-dir): Put file owner's uid, not + current user's for the wrong owner case. Show expanded file name in + error message. + +2017-10-21 Noam Postavsky + + Handle https url for debbugs mbox (Bug#28831) + + In 2017-09-13 "Prefer HTTPS to FTP and HTTP in documentation", + gnus-bug-group-download-format-alist was updated to use https for the + debbugs.gnu.org mbox links, but gnus-read-ephemeral-bug-group assumed + http links. + * lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use + url-parse functions to get the host name, instead of ad-hoc regexps. + +2017-10-21 Noam Postavsky + + Ignore string properties when saving eshell history (Bug#28700) + + * lisp/eshell/em-hist.el (eshell-write-history): Remove properties + before inserting history strings. + (eshell-read-history): Remove obsolete comment. + * test/lisp/eshell/em-hist-tests.el (eshell-write-readonly-history): + New test. + +2017-10-21 Michael Albinus + + Fix Bug#28889 + + * lisp/net/tramp.el: Change autoload cookie to tramp-autoload cookie. + (tramp-completion-file-name-regexp-default) + (tramp-completion-file-name-handler-alist) + (tramp-completion-file-name-handler): Remove autoload cookie. + (tramp-initial-completion-file-name-regexp): Remove. + (tramp-autoload-file-name-regexp): New defconst. + (tramp-register-autoload-file-name-handlers): Use it. + (with-parsed-tramp-file-name): Adapt docstring. Compute + `tramp-file-name' slots. (Bug#28889) + +2017-10-21 Glenn Morris + + Update describe-function for recent Fdocumentation change + + * lisp/help-fns.el (describe-function-1): + Handle Fdocumentation returning either void or invalid. + +2017-10-21 Charles A. Roelli + + Make flymake's mouse-wheel interaction portable (Bug#28732) + + * lisp/progmodes/flymake.el (flymake--mode-line-format): Bind + 'mouse-wheel-down-event' and 'mouse-wheel-up-event' instead of + 'mouse-4' and 'mouse-5'. Update the tooltip text accordingly, and + remove a stray newline in it. + +2017-10-21 Nick Helm + + Prevent eldoc from changing the mode line + + * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message): Don't + change the mode line if it is not displayed. (Bug#28697) + +2017-10-21 Eli Zaretskii + + Fix doc strings in simple.el + + * lisp/simple.el (shell-command-saved-pos) + (region-extract-function, region-bounds): Doc fixes. (Bug#28609) + +2017-10-21 Phil Sainty + + Avoid creating inconsistent buffer states in term-char-mode + + * lisp/term.el (term-mode, term-char-mode, term-line-mode) + (term-emulate-terminal): Make buffer read-only in 'term-char-mode', + except for the process filter's output. Use 'read-only-mode-hook' to + track and restore the user-set state of 'buffer-read-only' for + 'term-line-mode'. (Bug#24837) + (term-char-mode-buffer-read-only): New user option. + (term-line-mode-buffer-read-only): New buffer-local variable. + (term-line-mode-buffer-read-only-update): New function. + (term-char-mode, term-line-mode): Use 'term-set-goto-process-mark' + in pre-command-hook, and 'term-goto-process-mark-maybe' in + post-command-hook to counter-act unexpected changes to point when + using 'term-char-mode'. + (term-char-mode-point-at-process-mark): New user option. + (term-goto-process-mark): New buffer-local variable. + (term-set-goto-process-mark): New function. + (term-goto-process-mark-maybe): New function. + (term-process-mark): New function. + + * etc/NEWS: Mention the new behavior and user options. + +2017-10-21 Bahodir Mansurov (tiny change) + + New input method 'usbek-cyrillic' + + * lisp/leim/quail/cyrillic.el (uzbek-cyrillic): New input method. + (Bug#28848) + + * etc/NEWS: Mention the new input method. + +2017-10-21 Eli Zaretskii + + Document 'minibuffer-with-setup-hook' + + * doc/lispref/minibuf.texi (Minibuffer Misc): Document + minibuffer-with-setup-hook. (Bug#28877) + +2017-10-21 Paul Eggert + + Simplify make-progress-reporter vs float-time + + * lisp/subr.el (make-progress-reporter): Remove no-longer-needed + doc and code for the case where float-time is not supported, + since float-time is always present now. + +2017-10-21 Paul Eggert + + Fix two more minor Gnus typos + + * lisp/gnus/mail-source.el (mail-source-delete-old-incoming): + The old code had two minor bugs: first, it multiplied by 1/65536 + instead of by 1/86400. Second, it called current-time twice and + glued part of the two results together, resulting in a race. + Fix both bugs by simplifying the code and using + time-to-number-of-days. + +2017-10-21 Paul Eggert + + Fix two minor Gnus typos + + * lisp/gnus/gnus-sum.el (gnus-summary-import-article): + Remove unused local, and fix use of local that was never assigned to. + +2017-10-21 Glenn Morris + + Tweak Fdocumentation's error for an undefined function + + * src/doc.c (Fdocumentation): Restore the pre-25 behavior + of signalling a void-function error for an undefined function. + This seems cleaner than Emacs 25's "invalid-function: nil" error, + which was (probably) an unintended consequence of changes to + Findirect_function. + +2017-10-21 Glenn Morris + + Tweak format of list of old files in NEWS header + + * etc/NEWS: Stop list of old NEWS files growing without limit. + * admin/admin.el (set-version): Handle either NEWS header format. + +2017-10-20 Stefan Monnier + + * lisp/help-fns.el (describe-function-1): + Fix help-fns-test-dangling-alias. (Bug#28918) + + (cherry picked from commit e1d42f8f4a945669ff8b5159a569cb4b18f56e18) + +2017-10-20 Glenn Morris + + Fix flymake's loading of subr-x + + * lisp/progmodes/flymake.el, test/lisp/progmodes/flymake-tests.el: + No need to load subr-x at run-time. + +2017-10-20 Michael Albinus + + Fix Bug#28896 + + * lisp/net/tramp-adb.el (tramp-adb-handle-rename-file): + * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): + * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): Handle FILENAME + being a directory. (Bug#28896) + + * test/lisp/net/tramp-tests.el (tramp-test11-copy-file) + (tramp-test12-rename-file): Test also FILENAME being a directory. + +2017-10-20 João Távora + + Skip a Flymake test for old gcc versions + + Fixes: 28906 + + * test/lisp/progmodes/flymake-tests.el + (different-diagnostic-types): Skip this test for gcc versions + < 5. + +2017-10-20 Eli Zaretskii + + Make :align-to account for display-line-numbers + + These changes also update the various bundled packages to use + new feature, and better support customizations of the line-number + face. + * src/xdisp.c (calc_pixel_width_or_height): Improve commentary. + Make :align-to count from the end of the line-number display when + the offset or the width form reference that of the text area. + (Bug#28855) + + * src/indent.c (Fline_number_display_width): Implement support for + the PIXELWISE argument being 'columns'. Update the doc string. + (syms_of_indent): New symbol 'columns'. + + * lisp/ruler-mode.el (ruler-mode-window-col, ruler-mode-ruler): + Call line-number-display-width with last argument 'columns'. + + * lisp/proced.el (proced-header-line): Call + line-number-display-width with 2nd arg 'columns', which also fixes + a problem when display-line-numbers is nil. + + * lisp/emacs-lisp/tabulated-list.el + (tabulated-list-line-number-width): Call line-number-display-width + with 2nd arg 'columns. + (tabulated-list-entry-lnum-width): Remove unneeded defvar. + (tabulated-list-print, tabulated-list-print-entry): No need to + account for the value of tabulated-list-entry-lnum-width. + (tabulated-list--current-lnum-width): New defvar. + (tabulated-list-watch-line-number-width): New function. + (tabulated-list-mode): Bind tabulated-list--current-lnum-width + locally, and set up tabulated-list-watch-line-number-width as + pre-redisplay-functions hook. + + * doc/lispref/display.texi (Size of Displayed Text): Document the + 'columns' value of the PIXELWISE argument. + (Pixel Specification): Update and improve the documentation of the + supported forms. + +2017-10-20 João Távora + + Augment Flymake API for third-party extensions + + See + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00619.html + + * doc/misc/flymake.texi (Flymake error types): Rewrite + example. + (Flymake utility functions): Augment with new API. + + * lisp/progmodes/flymake.el (flymake-diagnostics): New function. + (flymake--diag-accessor): New helper macro. + (flymake-diagnostic-buffer, flymake-diagnostic-text) + (flymake-diagnostic-beg, flymake-diagnostic-end) + (flymake-diagnostic-backend): Accessors for diagnostic objects. + (flymake--overlays): Use flymake-diagnostic property. + (flymake--highlight-line): Simplify. Only set + flymake-diagnostic property. + (flymake--handle-report, flymake-goto-next-error): Use + flymake-diagnostic property. + (flymake-show-diagnostic): Use diagnostic object. + (flymake--diagnostics-buffer-entries): Use + flymake-diagnostics. + +2017-10-20 Glenn Morris + + Improve treatment of Fortran's "class default" + + * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit): + Handle "class default". (Bug#28786) + * test/automated/f90.el (f90-test-bug25039): Add "class default". + +2017-10-20 João Távora + + Flymake backends must check proc obsoleteness in source buffer + + Flymake backends that rely on sentinels running asynchronously and + checking buffer-local variables that hold running processes should + check for obsoleteness in the correct buffers, otherwise a (harmless) + warning might be triggered. + + * doc/misc/flymake.texi (An annotated example backend): + Check buffer-local proc in the current buffer. + + * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile): + Check buffer-local proc in the current buffer. + +2017-10-19 Michael Albinus + + Skip an rsync test in tramp-tests.el + + * test/lisp/net/tramp-tests.el (tramp-test17-dired-with-wildcards): + Skip for "rsync". + +2017-10-19 Martin Rudalics + + On Windows default a frame's border width to zero (Bug#28873) + + * src/w32fns.c (Fx_create_frame): Default `border-width' to zero + as everywhere else, see Bug#28873. + +2017-10-19 Paul Eggert + + Spelling fixes + + * lisp/cedet/semantic/analyze/refs.el: + (semantic-analyze-proto-impl-toggle): Fix recently-introduced + misspelling of pop-to-buffer-same-window. + +2017-10-19 Bastian Beischer (tiny change) + + Use pop-to-buffer-same-window instead of switch-to-buffer + + * lisp/cedet/semantic/decorate/include.el + (semantic-decoration-include-visit): + Use pop-to-buffer-same-window instead of switch-to-buffer + (bug#28645). + + * lisp/cedet/semantic/analyze/refs.el + (semantic-analyze-proto-impl-toggle): Same. + + * lisp/cedet/semantic/senator.el (senator-go-to-up-reference): + Same. + + * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-visit): + Same. + + * lisp/cedet/semantic/complete.el (semantic-complete-jump): + Same. + +2017-10-18 Eli Zaretskii + + Fix the MSDOS build. + + * msdos/sed1v2.inp (GETADDRINFO_A_LIBS, LIBLCMS2, XDBE_LIBS) + (XDBE_FLAGS, HYBRID_MALLOC, LIBSYSTEMD_CFLAGS) + (LIBSYSTEMD_LIBS): Edit to empty. + (LIBRESOLV, DEPFLAGS, MKDEPDIR, YMF_PASS_LDFLAGS) + (PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS): Remove editing. + Remove editing of lines that are no longer present in + src/Makefile.in. + * msdos/sed2v2.inp (NEED_MKTIME_INTERNAL) + (NEED_MKTIME_WORKING): Define to 1. + (HAVE_STRUCT_DIRENT_D_TYPE): Define to 1 for + DJGPP >= 2.05. + (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 1. + Define PACKAGE_VERSION, not VERSION. + (FLEXIBLE_ARRAY_MEMBER): Define to empty. + (HAVE_DECL_*_UNLOCKED): Define to 0. + (HAVE___BUILTIN_FRAME_ADDRESS): Define to 1. + (PENDING_*): Don't define, as Gnulib no longer supports that. + Instead, define _IOERR as it is in libc/file.h. + * msdos/sed3v2.inp: Use $(CURDIR) instead of $(shell cd) to + determine the current directory. + (UPDATE_MANIFEST, UTILITIES): Don't edit. + * msdos/sedlisp.inp (FIND_DELETE): Edit to "-delete". + * msdos/sedlibmk.inp (AUTO_DEPEND): Define to yes. + (HYBRID_MALLOC): Edit to empty. + (am__cd): Don't edit. + (../config.status): Replaces $(top_builddir)/config.status. + Define OMIT_GNULIB_MODULE_foo = true for modules not built for + MS-DOS. Convert GL_GENERATE_xxx_H_TRUE and + GL_GENERATE_xxx_H_FALSE into values of GL_GENERATE_xxx_H. + * msdos/mainmake.v2 (src): Use 'compile-one-process', and make + the command line shorter to fit into 126-char limit of + command.com. + * config.bat: Generate src/deps/*.d files. Rename more files + like djtar on plain DOS would. + Don't rename src/dir.h: it is long gone. Edit + lib/gnulib.mk.in using the same scripts as for + lib/Makefile.in. + * msdos/depfiles.bat: Create *.d files, not *.Po. + + * src/thread.c (Fmake_thread) [!THREADS_ENABLED]: Improve the + error message. + * src/thread.h [MSDOS]: Include . + * src/sysselect.h (select) [MSDOS]: Undefine, to avoid + compilation errors. + * src/sysdep.c (block_interrupt_signal, restore_signal_mask): + Expose to MSDOS build. + * src/process.c (update_processes_for_thread_death) + [!subprocess]: No-op implementation. + [HAVE_SETRLIMIT]: Move inclusion of sys/resource.h and + declaration of nofile_limit outside "#ifdef subprocesses", as + it's needed for MSDOS. + * src/msdos.c (faccessat): Declare fullname[]. + * src/msdos.h (ENOTSUP): Define to be identical to ENOSYS. + Include termhooks.h. + * src/conf_post.h [WINDOWSNT]: Include ms-w32.h only on + WINDOWSNT, not DOS_NT. + + * admin/admin.el (set-version): Set version on PACKAGE_VERSION. + +2017-10-18 Eli Zaretskii + + Fix line number display after 'widen' + + * src/xdisp.c (maybe_produce_line_number): Don't use data cached + by line-number-mode on the first redisplay after the buffer is + widened. (Bug#28879) + +2017-10-18 Alan Third + + Remove resizable attribute on macOS undecorated frames (bug#28512) + + * src/nsterm.m (FRAME_DECORATED_FLAGS): Remove Cocoa specific #define. + (initFrameFromEmacs): Remove Cocoa specific window style attributes. + +2017-10-18 Martin Rudalics + + Fix handling of `border-width' in `frameset--restore-frame' (Bug#28873) + + * lisp/frameset.el (frameset--restore-frame): Don't process + `border-width' parameter via ‘modify-frame-parameters’ + (Bug#28873). + +2017-10-18 Tino Calancha + + Mention how to send CC to > 1 address in a bug report + + * admin/notes/bugtracker (* More detailed information): + mention how to CC to more than 1 address (Bug#28833). + +2017-10-18 Paul Eggert + + Improve format-time-string doc + + * doc/lispref/os.texi (Time Parsing): Fix some errors in the + documentation for format-time-string. Document ^, #, %s, and %z + with colons. Say that unrecognized sequences are output as-is. + * src/editfns.c (Fformat_time_string): %S can stand for 60. + Also mention unrecognized sequences. + +2017-10-17 Eli Zaretskii + + Improve documentation of 'line-number-display-width' + + * doc/lispref/display.texi (Size of Displayed Text): Document the + additional 2 columns used for line-number display. + + * src/indent.c (Fline_number_display_width): Doc fix. (Bug#28248) + +2017-10-17 İ. Göktuğ Kayaalp + + Implement vc-default-dir-extra-headers for vc-rcs + + Add a do-nothing implementation for vc-rcs to suppress the message which + the default function adds to the vc-dir buffer (Bug#28570). + * lisp/vc/vc-rcs.el (vc-rcs-dir-extra-headers): New function. + +2017-10-17 Martin Rudalics + + In NEWS give advice on use of `switch-to-buffer' (Bug#28645) + + * etc/NEWS: Mention that applications should prefer + `pop-to-buffer-same-window' to `switch-to-buffer'. (Bug#28645) + +2017-10-17 Tino Calancha + Noam Postavsky + + Dont update primary selection with winner-undo + + * lisp/winner.el (winner-set): + Dont update primary selection when select-enable-primary + is non-nil (Bug#28631). + +2017-10-17 Paul Eggert + + Work around ImageMagick bug 825 + + This should fix several bugs reported recently against Emacs + (Bug#28518, Bug#28626, Bug#28632, Bug#28633, Bug#28770). + * src/image.c (imagemagick_load_image): + Do not call MagickWandTerminus. + +2017-10-17 Noam Postavsky + + Document rectangle-preview option more (Bug#27974) + + * lisp/rect.el (string-rectangle): + * etc/NEWS.25: Mention `rectangle-preview'. + +2017-10-17 Paul Eggert + + Do not reject https://gnu.org in commit messages + + * build-aux/git-hooks/commit-msg: Do not reject commit messages + containing http: or ftp: URLs to gnu.org or fsf.org. Instead, + rewrite the messages to use https: URLs. + +2017-10-16 Gemini Lasswell + + Fix Edebug spec for cl-defun (bug#24255) + + * lisp/emacs-lisp/cl-macs.el: Modify the Edebug spec for + `cl-lambda-list' to support destructuring argument lists. + (cl-defun, cl-defmacro): Fix spelling errors in docstrings. + * lisp/textmodes/rst.el: Remove alternate version of Edebug + specs for `cl-lambda-list' and `cl-type-spec'. + +2017-10-16 Eli Zaretskii + + Fix errors in kmacro.el post-command-hook + + * lisp/kmacro.el (kmacro-step-edit-active): Initialize to nil to + avoid 'void-variable' errors. (Bug#28818) + * test/lisp/kmacro-tests.el + (kmacro-tests-step-edit-cleans-up-hook): Now succeeds. (Bug#18708) + +2017-10-16 Eli Zaretskii + + Fix range-error in image-dired.el + + * lisp/image-dired.el (image-dired-create-thumb-1): Avoid + overflowing an Emacs integer on 32-bit hosts. (Bug#28809) + +2017-10-16 Eli Zaretskii + + Fix 'line-number-display-width' in hscrolled windows + + * src/indent.c (line_number_display_width): Make sure a line + number is generated even when the first line of the window is + completely hscrolled out of view. (Bug#28854) + +2017-10-16 Michael Albinus + + Fix error in tramp-smb-handle-insert-directory + + * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory): + Insert size information only when FULL-DIRECTORY-P is non-nil. + +2017-10-16 Andy Moreton + + Don't reject PBM header whitespace unnecessarily + + * lisp/image.el (image-type-header-regexps): + Allow two or more CRs or LFs in initial whitespace sequences. See: + http://netpbm.sourceforge.net/doc/pbm.html + +2017-10-16 Paul Eggert + + Fix regression in display of PPM images + + Problem reported by Roland Winkler (Bug#28824#35). + Based on a patch proposed by Andy Moreton (Bug#28824#38). + * src/image.c (pbm_scan_index): New function. + (pbm_load): Use it to decode raw data correctly when its top bit + is set. + +2017-10-16 Eric Abrahamsen + + Require subr-x when compiling nnimap.el + + * lisp/gnus/nnimap.el (require): For the when-let* macro. + +2017-10-15 Noam Postavsky + + Fix ert-test finding by symbol (Bug#28849) + + In 2017-07-28 "* lisp/subr.el (define-symbol-prop): New function", the + symbol used for ert tests in load-history was changed from + `ert-deftest' to `ert--test', but a couple of other places were not + updated accordingly. + * lisp/emacs-lisp/ert.el (ert-find-test-other-window): Pass + `ert--test' as the TYPE to `find-function-do-it'. + (top-level): Use `ert--test' as the key to the + `find-function-regexp-alist' entry. + +2017-10-15 Noam Postavsky + + Don't remember old debugger window (Bug#17882) + + * lisp/emacs-lisp/debug.el (debug): Unset debugger-previous-window + when `debugger-will-be-back' is nil. + +2017-10-15 Noam Postavsky + + Disable python native completion on w32 (Bug#28580) + + * lisp/progmodes/python.el + (python-shell-completion-native-disabled-interpreters): For windows-nt + systems, put an empty string to match interpreters. + +2017-10-15 Noam Postavsky + + Let select-frame-by-name choose any frame when called from lisp (Bug#25521) + + * lisp/frame.el (select-frame-by-name): Choose from the whole list of + frames in the non-interactive part, if not found on the current + display. + +2017-10-15 Eli Zaretskii + + * lisp/dired-aux.el (dired-create-directory): Doc fix. + +2017-10-15 Eli Zaretskii + + Avoid compilation warnings in optimized builds + + * src/process.c (Fmake_network_process): + * src/image.c (xbm_scan, gif_load): + * src/fileio.c (Frename_file): + * src/data.c (Fmake_local_variable): + * src/buffer.c (fix_start_end_in_overlays): + * lib-src/etags.c (process_file_name): Mark variables with UNINIT + to avoid compiler warnings in optimized builds. + +2017-10-15 K. Handa + + Improve customization of arabic-shaper-ZWNJ-handling. + + Make the effect of customizing arabic-shaper-ZWNJ-handling appear + immediately. + * lisp/language/misc-lang.el (arabic-shaper-ZWNJ-handling): Add :set + value. + * src/composite.c (Fclear_composition_cache): New function. + (syms_of_composite): Defsubr it. + +2017-10-15 Charles A. Roelli + + Improve customization type of 'mouse-drag-and-drop-region' + + * lisp/mouse.el (mouse-drag-and-drop-region): Provide a more + precise customization type. + +2017-10-15 Paul Eggert + + Encourage https: in commit messages + + * CONTRIBUTE: Prefer https: when citing. + * build-aux/git-hooks/commit-msg: + Diagnose http: and ftp: URLs to FSF or GNU hosts. + +2017-10-14 Martin Rudalics + + Fix wording in Elisp manual's child frames section (Bug#28819) + + * doc/lispref/frames.texi (Child Frames): Fix wording (Bug#28819). + +2017-10-14 Eli Zaretskii + + Another fix for C mode fontification of w32 source files + + * .dir-locals.el (c-mode) : Add + "CALLBACK", to correctly fontify functions with this attribute. + +2017-10-14 Eli Zaretskii + + Fix fontification of ALIGN_STACK functions + + * .dir-locals.el (c-mode) : Add + "ALIGN_STACK", to correctly fontify functions with this attribute. + +2017-10-14 Eli Zaretskii + + Make sure thread stack is properly aligned on MS-Windows + + * src/systhread.c: Include w32term.h instead of windows.h. + (w32_beginthread_wrapper): Add ALIGN_STACK attribute, to ensure + the thread's stack is correctly aligned. + * src/w32term.h (ALIGN_STACK): Update commentary. + +2017-10-14 Paul Eggert + + Do not under-align pseudovectors + + Problem reported by Fabrice Popineau in: + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00357.html + Also see diagnosis by Eli Zaretskii in: + https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00476.html + * src/alloc.c (vector_alignment): + Now a multiple of alignof (max_align_t). + +2017-10-13 Simen Heggestøyl + + Fix indentation bug in multi-line CSS selectors + + * lisp/textmodes/css-mode.el (css--colon-inside-selector-p): Fix + indentation of multi-line CSS selectors that include both a + pseudo-class and parenthesis. + + * test/manual/indent/css-mode.css: Add test for the above change. + +2017-10-13 Andreas Schwab + + gnutls_mac_get_nonce_size has been added in gnutls 3.3 + + * src/gnutls.c (HAVE_GNUTLS_MAC_GET_NONCE_SIZE) + [GNUTLS_VERSION_NUMBER >= 0x030300]: Define. + (gnutls_mac_get_nonce_size): Depend on + HAVE_GNUTLS_MAC_GET_NONCE_SIZE. + (Fgnutls_macs): Use 0 for :mac-algorithm-noncesize if + !HAVE_GNUTLS_MAC_GET_NONCE_SIZE. + +2017-10-13 Paul Eggert + + * CONTRIBUTE: Suggest American English. + +2017-10-12 Eli Zaretskii + + Fix this-command-keys for "M-x foo" commands + + * src/keyboard.c (Fset__this_command_keys): Don't assume KEYS is a + unibyte string. (Bug#28798) + +2017-10-12 Paul Eggert + + Let rename-file rename dirs across filesystems + + Problem diagnosed by Andreas Schwab (Bug#28792#65). + This fixes a bug that I introduced in + 2017-09-10T22:39:24@eggert@cs.ucla.edu + "Fix race with rename-file etc. with dir NEWNAME". + * src/fileio.c (Frename_file): Copy a source directory across + file system boundaries even if its name does not end in slash. + +2017-10-12 João Távora + + Simplify Flymake user documentation + + Fix some confusing parts of Flymake user documentation, like a + repeated listing of situations leading to a syntax check. + Documentation is now divided into three chapters only: "Using + Flymake", "Extending Flymake", and a chapter for the legacy backend. + + Obsolete mention of "errors" and "lines" is replaced by + "diagnostics/problems" and "regions" where appropriate. + + * doc/misc/flymake.texi (Overview of Flymake): Delete chapter. + (Using Flymake): Merge with chapter "Overview of Flymake". + (Installing Flymake): Delete chapter. + (Flymake mode, Running the syntax check) + (Navigating to error lines): Delete sections. + (Syntax check statuses): Review and augment with x-references. + (Backend exceptions): Mention shortcut in menu. + + * lisp/progmodes/flymake.el (flymake-menu): Tweak minor mode + menu to not speak of "errors". + (flymake-goto-next-error, flymake-goto-prev-error): Fix + wording. + +2017-10-12 Eli Zaretskii + + * etc/NEWS: Mention the new version of Org. + +2017-10-12 Noam Postavsky + + Don't use (format "%s" ...) for string copying (Bug#28774) + + As of 2017-10-04 'Speed up (format "%s" STRING) and the like', (format + "%s" STRING) no longer produces a new string. + * lisp/ido.el (ido-completions): Use `copy-sequence' to make a new + string, so that we can add text properties to (copies of) symbol + names. + +2017-10-11 Alan Third + + Make frame-list-z-order on NS match Windows behaviour (bug#28788) + + * src/nsfns.m (Fns_frame_list_z_order): If terminal isn't a frame, + ignore it rather than returning nil. + +2017-10-11 Nicolas Petton + + Bump Emacs version to 26.0.90 + + * README: + * configure.ac: + * msdos/sed2v2.inp: + * nt/README.W32: Bump Emacs version. + +2017-10-11 Nicolas Petton + + Update authors.el + + * admin/authors.el (authors-valid-file-names) + (authors-renamed-files-alist): Additions. + +2017-10-11 Nicolas Petton + + * admin/authors.el (authors-aliases): Additions. + + * ChangeLog.3: Update. + +2017-10-11 Radon Rosborough + + Fix docstring style for 'functionp' + + * src/eval.c (functionp): Make docstring start with verb. + (Bug#28781) + 2017-10-11 Michael Albinus Format shell commands in tramp.texi @@ -51289,7 +56068,7 @@ This file records repository revisions from commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to -commit e8a7c41b4e2dc9df18038d2931ed883946a2bb50 (inclusive). +commit bce51bd6f7702dbc70a570e8b905f23db9cdcdcf (inclusive). See ChangeLog.1 for earlier changes. ;; Local Variables: -- 2.39.5