Fix last commit
[emacs.git] / ChangeLog.2
blobb612b525b218793714bd97b832912d99fbd94c10
1 2015-05-24  Eli Zaretskii  <eliz@gnu.org>
3         Fix last change in etags.c, which failed the test suite
4         * lib-src/etags.c (intoken): Add '$' to the set, as it was there
5         before the last change.
7 2015-05-23  Glenn Morris  <rgm@gnu.org>
9         Remove charset map files from repository, generate in first bootstrap
10         * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
11         (all): Create the stamp file.
12         (extraclean): Delete the stamp file.
13         * src/Makefile.in (lispintdir, charsets): New variables.
14         (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
15         New rules.
16         (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
17         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
18         * etc/charsets/*.map: Remove from repository.
20 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
22         Cleanup etags.c to use locale-independent code
23         Although this doesn't alter behavior (as etags doesn't use
24         setlocale), the new version is more clearly locale-independent and
25         the executable is a bit smaller on my platform.
26         * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
27         Include <c-ctype.h> instead of <ctype.h>.
28         (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
29         (begtk, midtk):
30         Remove; no longer needed.
31         (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
32         All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
33         c_islower, c_tolower, respectively.
34         (notinname, begtoken, intoken, endtoken): Rewrite as functions
35         instead of macros, and initialize the tables at compile-time
36         rather than at run-time.
38         Put default action first in src/Makefile
39         * src/Makefile.in (all): Put this rule before lisp.mk.
40         That way, plain 'make' works in the src directory again.
42 2015-05-23  Glenn Morris  <rgm@gnu.org>
44         * Makefile.in: Fix extraclean rule.
45         (extraclean_dirs): New.
46         (extraclean): Use it.
48 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
50         Avoid compiler warning in image.c on MS-Windows
51         * src/w32term.h (x_query_color): Add prototype, to avoid compiler
52         warning in image.c.
54 2015-05-23  Glenn Morris  <rgm@gnu.org>
56         Fix --without-toolkit-scroll-bars builds.
57         * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
58         Add new argument to x_clear_area1.
59         (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
60         Update x_clear_area arguments.
62         * admin/charsets/glibc/: New directory, imported from glibc 2.21.
63         * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
64         Change to included version.
65         (LOCAL, local, totalclean): Remove.
66         (extraclean): Delete all generated files.
68 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
70         * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists.
72         * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
74         tags-completion-at-point-function: Don't trust the find-tag function
75         * lisp/progmodes/etags.el (tags-completion-at-point-function):
76         Don't trust the find-tag function.
78 2015-05-23  Paul Eggert  <eggert@cs.ucla.edu>
80         Pacify --enable-gcc-warnings
81         * src/frame.h (x_query_color): Remove redundant extern decl.
82         * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
83         (ftcrfont_match, ftcrfont_open, ftcrfont_close)
84         (ftcrfont_text_extents, ftcrfont_draw):
85         * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
86         (XTframe_up_to_date, x_clear_area1, x_clear_frame)
87         (x_ins_del_lines, frame_highlight, frame_unhighlight)
88         (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
89         (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
90         (x_update_window_begin, x_connection_closed)
91         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
92         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
93         (*x_gc_get_ext_data, x_extension_initialize)
94         (x_cr_accumulate_data):
95         Remove redundant static decl.  Many of these GCC doesn't complain
96         about, but we might as well clean out the duplication while we're
97         in the neighborhood.
98         * src/xterm.c (x_fill_trapezoid_for_relief):
99         Remove decl of nonexistent function.
101 2015-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
103         Replace gui-method macros with cl-generic with &context
104         * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
105         (gui-method-declare, gui-call): Remove.
106         (frame-creation-function): Use cl-defgeneric.
107         (make-frame): Adjust callers.
108         * lisp/menu-bar.el (menu-bar-edit-menu):
109         Use gui-backend-selection-exists-p.
110         * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
111         (gui-backend-get-selection): New cl-generic to replace
112         gui-get-selection method.
113         (gui-backend-set-selection): New cl-generic to replace
114         gui-set-selection method.
115         (gui-selection-owner-p): New cl-generic to replace
116         gui-selection-owner-p method.
117         (gui-backend-selection-exists-p): New cl-generic to replace
118         gui-selection-exists-p method.  Adjust all callers.
119         * lisp/server.el (server-create-window-system-frame): Don't ignore
120         window-system spec even when unsupported.
121         * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
122         * lisp/startup.el (handle-args-function, window-system-initialization):
123         Use cl-defgeneric.
124         (command-line): Adjust calls accordingly.
125         * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
126         a window-system-initialization method.
127         (handle-args-function, frame-creation-function): Use cl-defmethod.
128         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
129         (gui-get-selection): Use cl-defmethod on the new functions instead.
130         * lisp/term/pc-win.el (w16-get-selection-value): Turn into
131         a gui-backend-get-selection method.
132         (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
133         Use cl-defmethod on the new functions instead.
134         (msdos-window-system-initialization): Turn into
135         a window-system-initialization method.
136         (frame-creation-function, handle-args-function): Use cl-defmethod.
137         * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
138         a window-system-initialization method.
139         (handle-args-function, frame-creation-function): Use cl-defmethod.
140         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
141         (gui-get-selection): Use cl-defmethod on the new functions instead.
142         * lisp/term/x-win.el (x-window-system-initialization): Turn into
143         a window-system-initialization method.
144         (handle-args-function, frame-creation-function): Use cl-defmethod.
145         (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
146         (gui-get-selection): Use cl-defmethod on the new functions instead.
147         * lisp/term/xterm.el (xterm--set-selection): Turn into
148         a gui-backend-set-selection method.
149         * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
150         (Fns_selection_owner_p): Remove unused arg `terminal'.
151         (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
153 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
155         Revert "Fix etags Bug#20629 that broke C++ support."
156         This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
158 2015-05-23  Jan D  <jan.h.d@swipnet.se>
160         Fix etags Bug#20629 that broke C++ support.
161         * etags.el (etags-xref-find-definitions-tag-order): Revert commit
162         from Sun May 10 (Bug#20629).
164         Merge branch 'cairo'.
165         Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
166         Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
168         Merge branch 'master' into cairo
170         Fixes to compile cairo branch without cairo.
171         * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
172         first argument.
173         * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
174         USE_CAIRO.
176 2015-05-23  Artur Malabarba  <bruce.connor.am@gmail.com>
178         * lisp/emacs-lisp/package.el: Always update selected-packages
179         (package--update-selected-packages): New function.
180         (package-menu-execute): Use it before starting the transaction,
181         this way the list of selected packages is updated even when the
182         transaction fails.
183         (package-menu--perform-transaction): Don't edit selected-packages.
185 2015-05-23  Eli Zaretskii  <eliz@gnu.org>
187         Fix etags reading of compressed files
188         * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
189         Include fcntl.h, for O_CLOEXEC.
190         (process_file_name): Don't use 'popen', whose streams cannot be
191         rewound.  Instead, uncompress the file to a temporary file,
192         created by 'etags_mktmp', and read from that as usual.
193         (etags_mktmp): New function.
194         * test/etags/ETAGS.good_1:
195         * test/etags/ETAGS.good_2:
196         * test/etags/ETAGS.good_3:
197         * test/etags/ETAGS.good_4:
198         * test/etags/ETAGS.good_5: Update to be consistent with latest
199         changes in etags.c regarding reading compressed files.
201         Improve documentation of 'set-fontset-font'
202         * doc/lispref/display.texi (Fontsets): Document the value of nil
203         for the 3rd argument of 'set-fontset-font'.
205         Fix documentation of forward-line
206         * src/cmds.c (Fforward_line): Clarify the return value if the line
207         at end of accessible portion of the buffer has no newline.
208         * doc/lispref/positions.texi (Text Lines): Document what happens
209         if the line at end of accessible portion of buffer has no newline.
210         (Bug#20587)
212 2015-05-22  Glenn Morris  <rgm@gnu.org>
214         * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
216         * admin/charsets/mapconv (LC_ALL): Set to C.
218         * Makefile.in: Add admin/charsets into top-level clean rules.
219         (clean): Add admin/charsets.
220         (maybeclean_dirs): New variable.
221         (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
223         * admin/charsets/Makefile.in (LOCAL, local): Fix members.
225 2015-05-22  Artur Malabarba  <bruce.connor.am@gmail.com>
227         * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc
229 2015-05-22  Glenn Morris  <rgm@gnu.org>
231         Generate admin/charsets Makefile via configure, and make more portable.
232         * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
233         (admin/charsets/Makefile): Generate it.
234         * admin/charsets/Makefile.in: Rename from Makefile.
235         (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
236         New variables, set by configure.
237         (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
238         (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
239         (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
240         (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
241         (TRANS_TABLE, CHARSETS): Add directory prefix to value.
242         (all): Declare PHONY.
243         (local): New PHONY target.
244         (map_template): New template.  Use to define short PHONY aliases.
245         (*.map): Add directory prefixes to targets and prerequisites.
246         Respect make verbosity.
247         (JISC6226.map): Replace non-portable sed append without newline.
248         (install): Remove rule.
249         (clean): Only delete temporary sedscript.
250         (bootstrap-clean, distclean, maintainer-clean, extraclean)
251         (totalclean): New PHONY rules.
252         * admin/charsets/mapconv (BASE): Replace basename with expr.
253         (FILE): Add "mapfiles" subdirectory.
254         (AWK): New variable.  Use throughout in place of "awk".
255         (main): Use "gunzip -c" in place of "zcat".
256         Don't leave whitespace before "p", for older sed.
257         * admin/charsets/mapfiles/PTCP154: Add final newline,
258         to make older sed versions happy.
260 2015-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
262         * lisp/autorevert.el: Use lexical-binding.  Fix hook usage.
263         (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
264         (auto-revert-notify-watch-descriptor): Use defvar-local.
265         (find-file-hook, auto-revert-tail-mode, )
266         (auto-revert-notify-add-watch): Use setq-local.
267         (auto-revert-notify-add-watch): Don't call make-local-variable on
268         kill-buffer-hook (bug#20601).
270 2015-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
272         Change defgeneric so it doesn't completely redefine the function
273         * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
274         previously defined methods.
275         (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
276         (cl--generic-prefill-dispatchers): Only define during compilation.
277         (cl-method-qualifiers): Remove redundant alias.
278         (help-fns-short-filename): Silence byte-compiler.
279         * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
281 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
283         (package-menu-execute): Remove reference to remove-dups
285 2015-05-21  kwhite  <kwhite@gnu.org>
287         * lisp/erc/erc.el: Hide network/channel messages
288         (erc-network-hide-list, etc-channel-hide-list): New lists to define
289         message types per network/channel.
290         (erc-add-targets): New function to parse list of targets
291         (erc-hide-current-message-p): Modified to check for new targets
293 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
295         Don't quote nil and t in doc strings
296         This is as per "Tips for Documentation Strings" in the elisp manual.
297         For consistency, do the same in diagnostics and comments.
299 2015-05-21  Eli Zaretskii  <eliz@gnu.org>
301         Fix a minor problem with mouse-face on mode line
302         * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
303         mouse face also if the mouse pointer hovers above mode-line glyphs
304         that don't come from any Lisp string.  (Bug#20620)
306 2015-05-21  Artur Malabarba  <bruce.connor.am@gmail.com>
308         * lisp/emacs-lisp/package.el: Fix selected-package logic
309         (package-menu-execute): Mark as selected all non-upgrade packages
310         being installed.
311         (package-menu--perform-transaction): Don't mark anything.
313         * lisp/emacs-lisp/package.el: Mode-line progress report
314         (package-menu--transaction-status): New variable.
315         (package-menu-mode, package-menu--perform-transaction): Use it.
317         * lisp/emacs-lisp/package.el: Better transaction messages
318         (package-menu--partition-transaction): New function.
319         (package-menu--prompt-transaction-p, package-menu-execute): Use
320         it.
321         (package-menu--perform-transaction): Don't do any messaging.
323         * lisp/emacs-lisp/package.el: Revert async package transactions
324         (package-menu-async): Update doc.
325         (package-install-from-archive, package-download-transaction)
326         (package-install, package-menu--perform-transaction)
327         (package-menu-execute): Remove asynchronous functionality.
329 2015-05-21  Paul Eggert  <eggert@cs.ucla.edu>
331         Revert doc string changes to f90.el
332         Problem reported by Glenn Morris in:
333         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
334         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
335         Revert recent changes to doc strings, as it's intended that they
336         use grave accent, not quote.
338 2015-05-20  Bozhidar Batsov  <bozhidar@batsov.com>
340         Improve parameter name
342         Add new inline function `hash-table-empty-p'
344 2015-05-20  Paul Eggert  <eggert@cs.ucla.edu>
346         Don't require help-fns when not needed
347         * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
348         * lisp/emacs-lisp/elint.el:
349         Don't require help-fns at the top level.
350         * lisp/emacs-lisp/advice.el (ad-arglist):
351         * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
352         Don't require help-fns.  (Bug#17001)
354 2015-05-20  Eli Zaretskii  <eliz@gnu.org>
356         Fix slash collapsing in etags on MS-Windows
357         * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
358         MS-Windows code from the Posix code, and support collapsing both
359         forward- and back-slashes on MS-Windows.  Fixes a regression found
360         by the test suite.
362         Improve documentation of glyphless-char-display
363         * doc/lispref/display.texi (Glyphless Chars): Improve
364         documentation of glyphless character display.
366         Fix "acronym" display of glyphless characters on w32
367         * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
368         ignore "acronym" substitutes of 1 character for glyphless characters.
370 2015-05-20  Oleh Krehel  <ohwoeowho@gmail.com>
372         Add an automated test for let-when-compile
373         * test/automated/subr-tests.el (let-when-compile): New test.
375         Add let-when-compile macro instead of using pcase-let
376         * lisp/subr.el (let-when-compile): New let-like macro that makes its
377         bindings known to macros like `eval-when-compile' in the body.
378         * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a
379           `let-when-compile'. Also comment out the unused lexical var
380           `el-kws-re'.
381         The change greatly improves readability, while providing almost the
382         same (even shorter) byte code: instead of pre-evaluating 10 variables,
383         tossing them into a list, and destructuring that list a full screen
384         page later, the variables are simply bound as they are evaluated,
385         wrapped individually in `eval-when-compile'.
387 2015-05-20  Artur Malabarba  <bruce.connor.am@gmail.com>
389         * lisp/emacs-lisp/package.el: "Delete" button in Help buffer
390         (package-delete-button-action): New function.
391         (describe-package-1): Add Delete button.
393         * lisp/emacs-lisp/package.el: Better dependency description
394         (package--used-elsewhere-p): New optional arg, ALL, and return
395         package-desc objects instead of names.
396         (package-delete): Update accordingly.
397         (describe-package-1): Describe which packages require the package.
399 2015-05-20  Martin Rudalics  <rudalics@gmx.at>
401         Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
402         * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
403         Fix doc-string (Bug#20533).
405         Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
406         * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
407         (switch-to-buffer): If the selected window is strongly dedicated
408         to its buffer, signal error before prompting for buffer name.  Handle
409         `switch-to-buffer-in-dedicated-window'.  (Bug#20472)
410         * doc/lispref/windows.texi (Switching Buffers): Document
411         `switch-to-buffer-in-dedicated-window'.
413 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
415         Prefer "this" to “this” in doc strings
416         This mostly just straightens quotes introduced in my previous patch.
417         Suggested by Dmitry Gutov in:
418         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
419         * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
420         * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
421         * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
422         * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
423         * lisp/vc/log-edit.el, lisp/xt-mouse.el:
424         Prefer straight double quotes to curved double quotes in doc strings.
426         Fix minor quoting problems in doc strings
427         These were glitches regardless of how or whether we tackle the
428         problem of grave accent in doc strings.
429         * lisp/calc/calc-aent.el (math-restore-placeholders):
430         * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
431         * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
432         * lisp/leim/quail/hebrew.el ("hebrew-new")
433         ("hebrew-biblical-sil"):
434         * lisp/leim/quail/thai.el ("thai-kesmanee"):
435         * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
436         Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
437         * lisp/calendar/calendar.el (calendar-month-abbrev-array):
438         * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
439         * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
440         * lisp/cedet/semantic/tag.el (semantic-tag-copy)
441         (semantic-tag-components):
442         * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
443         * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
444         * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
445         * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
446         * lisp/emacs-lisp/generator.el (iter-next):
447         * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
448         (gnus-article-mode-syntax-table):
449         * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
450         * lisp/net/soap-client.el (soap-wsdl-get):
451         * lisp/net/telnet.el (telnet-mode):
452         * lisp/org/org-compat.el (org-number-sequence):
453         * lisp/org/org.el (org-remove-highlights-with-change)
454         (org-structure-template-alist):
455         * lisp/org/ox-html.el (org-html-link-org-files-as-html):
456         * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
457         (handwrite-12pt, handwrite-13pt):
458         * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
459         * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
460         * lisp/progmodes/verilog-mode.el (verilog-tool)
461         (verilog-string-replace-matches, verilog-preprocess)
462         (verilog-auto-insert-lisp, verilog-auto-insert-last):
463         * lisp/textmodes/makeinfo.el (makeinfo-options):
464         * src/font.c (Ffont_spec):
465         Fix minor quoting problems in doc strings, e.g., missing quote,
466         ``x'' where `x' was meant, etc.
467         * lisp/erc/erc-backend.el (erc-process-sentinel-2):
468         Fix minor quoting problem in other string.
469         * lisp/leim/quail/ethiopic.el ("ethiopic"):
470         * lisp/term/tvi970.el (tvi970-set-keypad-mode):
471         Omit unnecessary quotes.
472         * lisp/faces.el (set-face-attribute, set-face-underline)
473         (set-face-inverse-video, x-create-frame-with-faces):
474         * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
475         * lisp/mail/supercite.el (sc-attribs-%@-addresses)
476         (sc-attribs-!-addresses, sc-attribs-<>-addresses):
477         * lisp/net/tramp.el (tramp-methods):
478         * lisp/recentf.el (recentf-show-file-shortcuts-flag):
479         * lisp/textmodes/artist.el (artist-ellipse-right-char)
480         (artist-ellipse-left-char, artist-vaporize-fuzziness)
481         (artist-spray-chars, artist-mode, artist-replace-string)
482         (artist-put-pixel, artist-text-see-thru):
483         * lisp/vc/ediff-util.el (ediff-submit-report):
484         * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
485         Use double-quotes rather than TeX markup in doc strings.
486         * lisp/skeleton.el (skeleton-pair-insert-maybe):
487         Reword to avoid the need for grave accent and apostrophe.
488         * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
489         Don't use grave and acute accents to quote.
491 2015-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
493         * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler
495 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
497         Try to port new etags tests to MS-Windows
498         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
499         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
500         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
501         Adjust to test-case changes below.
502         * test/etags/Makefile (CSRC): Remove dostorture.c.
503         Whatever it was trying to test, wasn't working portably.
504         (LC_ALL): Remove.  Apparently there wasn't an encoding problem,
505         just a line-ending problem.
506         * test/etags/c-src/dostorture.c: Remove.
507         * test/etags/cp-src/c.C: Remove stray CR.
508         * test/etags/html-src/algrthms.html: Remove trailing CRs.
509         State UTF-8 as the encoding.  The file is ASCII so it doesn't matter,
510         but if someone edits it later it should stay UTF-8-compatible.
512 2015-05-19  Eli Zaretskii  <eliz@gnu.org>
514         Fix display of overlapping window-specific overlays
515         * src/keyboard.c (adjust_point_for_property): When adjusting point
516         due to display strings, ignore overlays that are specific to
517         windows other than the currently selected one.
518         * src/xdisp.c (handle_single_display_spec): If the display
519         property comes from an overlay, arrange for buffer iteration to
520         resume only after the end of that overlay.  (Bug#20607)
522 2015-05-19  Dmitry Gutov  <dgutov@yandex.ru>
524         New command icomplete-force-complete-and-exit
525         * lisp/icomplete.el (icomplete-force-complete-and-exit):
526         New command
527         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
528         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
529         (icomplete-minibuffer-map): Bind C-j to it.
530         (icomplete-forward-completions, icomplete-backward-completions):
531         Mention the new command in the docstring.
532         * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
533         the previous fix for bug#17545.
535 2015-05-19  Martin Rudalics  <rudalics@gmx.at>
537         Fix last commit
539         In Elisp manual explain how to override window manager positioning (Bug#20552)
540         * doc/lispref/frames.texi (Position Parameters): Give example of
541         how to override a window manager positioning decision.
543         Clarify concept of "surrogate minibuffer frames" (Bug#20538)
544         * src/frame.c (Fdelete_frame): In doc-string mention that frame
545         can't be deleted if it has a surrogate minibuffer.
546         * doc/lispref/frames.texi (Minibuffers and Frames)
547         (Deleting Frames): Explain "surrogate minibuffer frames".
549         In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB
550         * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
552 2015-05-18  Glenn Morris  <rgm@gnu.org>
554         Add option to ignore commit lines matching a pattern in ChangeLog.
555         * build-aux/gitlog-to-changelog: Add --ignore-line option.
556         * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
558 2015-05-18  Paul Eggert  <eggert@cs.ucla.edu>
560         Don't skip new etags tests on non-UTF-8 hosts
561         Problem reported by Eli Zaretskii for MS-Windows.
562         * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
563         (LC_ALL): Set to C if the current locale isn't UTF-8.
564         (.PHONY): Remove ediff_1 thru ediff_5.
565         (check): Always run.
567 2015-05-18  Glenn Morris  <rgm@gnu.org>
569         * lisp/calculator.el (calculator-funcall):
570         * lisp/textmodes/artist.el (artist-spray-random-points):
571         Use standard degree/radian conversion utilities.
573         Further lisp-complete-symbol related cleanup.
574         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
575         Unadvertise non-functional argument.  Replace obsolete alias.
577 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
579         Add a test case for Maven warning ouput
580         * test/automated/compile-tests.el
581         (compile-tests--test-regexps-data): Add a case for Maven warning
582         ouput.
583         (compile--test-error-line): Check the compilation message type, if
584         it's specified in the test data.
586 2015-05-18  Paul Pogonyshev  <pogonyshev@gmail.com>
588         Update Maven compilation-mode entry to distinguish warnings
589         * lisp/progmodes/compile.el
590         (compilation-error-regexp-alist-alist): Update Maven entry to
591         distinguish warnings (bug#20556).
593 2015-05-18  Przemysław Wojnowski  <esperanto@cumego.com>
595         * test/automated/sgml-mode-tests.el: New file.
597 2015-05-18  Dmitry Gutov  <dgutov@yandex.ru>
599         Improve handling of the first Git revision
600         * lisp/vc/log-view.el (log-view-toggle-entry-display): When
601         there's no next entry, delete until the end of the buffer.
602         (log-view-end-of-defun-1): Stop at eob.
603         * lisp/vc/vc-annotate.el
604         (vc-annotate-show-diff-revision-at-line-internal): Don't give up
605         when previous-revision is nil.
606         * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
607         with `--' to avoid ambiguity.
608         (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
609         returned revision string.
610         (vc-git-annotate-time): Expect `^' before the first revision.
611         * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
612         REV1 is nil, and REV2 is not.
613         * lisp/vc/vc.el: Update the description of the `diff' function.
615 2015-05-18  Oleh Krehel  <ohwoeowho@gmail.com>
617         Allow checkdoc to be called in batch
618         * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
619           is non-nil, echo the error with `warn'.
620         How it can be used in -batch:
621         (with-current-buffer (find-file "checkdoc.el")
622           (checkdoc-current-buffer t))
624 2015-05-18  Glenn Morris  <rgm@gnu.org>
626         * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
628 2015-05-17  Paul Eggert  <eggert@cs.ucla.edu>
630         * admin/notes/unicode: New section "binary files".
632         Change new etags test to use UTF-8 encoding
633         * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
634         * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
635         * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
636         * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
637         * test/etags/html-src/softwarelibero.html:
638         Switch to UTF-8 encoding.
639         * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
640         Remove Makefile, as it's too incestuous to have the test input
641         include the build procedure.
642         (UTF8_LOCALE, UTF_ENCODING): New macros.
643         (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
644         (check): Skip if not UTF-8.
645         (.PHONY): New rule.
646         (FRC): Remove, as superseded by .PHONY.  All uses removed.
647         (regexfile): Prefer printf to echo when outputting oddball chars.
648         (.PRECIOUS): Remove, as these files are not built.
650         Rename 'foo-gzipped' to 'foo.gz'
651         * test/automated/data/decompress/foo.gz:
652         Rename from test/automated/data/decompress/foo-gzipped,
653         to make it easier for other tools to tell that it's compressed.
654         * test/automated/zlib-tests.el (zlib--decompress):
655         Adjust to renamed file.
657 2015-05-17  Dmitry Gutov  <dgutov@yandex.ru>
659         Set up default-directory
660         * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
661         binding for `v'.
662         (vc-annotate-show-changeset-diff-revision-at-line): Set up an
663         appropriate value for default-directory.
665 2015-05-17  Samer Masterson  <samer@samertm.com>
667         * lisp/eshell/em-term.el (eshell-term-sentinel):
668         No-op by default, only kills term buffer if
669         `eshell-destroy-buffer-when-process-dies' is non-nil.  (Bug#18108)
670         (eshell-destroy-buffer-when-process-dies): New custom to preserve
671         previous behavior.
673         eshell: Introduce new buffer syntax
674         The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
675         buffer-name>'.  Remove `eshell-buffer-shorthand', as it is no longer
676         needed (Bug#19319).
677         * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
678         (eshell-get-target): Remove shorthand-specific code.
679         * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
680         '#<buffer-name>'.
682 2015-05-17  Jan D  <jan.h.d@swipnet.se>
684         Merge branch 'master' into cairo
686 2015-04-26  Jan D  <jan.h.d@swipnet.se>
688         Merge branch 'master' into cairo
690         Add PBM support for cairo.
691         * src/image.c (xcolor_to_argb32): New function.
692         (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
693         (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
694         XImagePtr if ! USE_CAIRO.
695         (pbm_load): Add cairo support.
697 2015-04-12  Jan D  <jan.h.d@swipnet.se>
699         x_free_cr_resources: Renamed from x_prepare_for_xlibdraw.
700         * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
701         (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
702         (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
703         x_free_cr_resources.
705         Handle specified bg in images.  Use generic libpng code for PNG:s.
706         * src/image.c (get_spec_bg_or_alpha_as_argb)
707         (create_cairo_image_surface): New functions when USE_CAIRO.
708         (xpm_load): Call the above functions.  Handle XPM without mask
709         when USE_CAIRO.
710         (png_load_body): Handle USE_CAIRO case.
711         (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
712         instead.
713         (jpeg_load_body): Call create_cairo_image_surface.
714         (gif_load, svg_load_image): Handle specified background, call
715         create_cairo_image_surface.
716         * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
718 2015-04-11  Jan D  <jan.h.d@swipnet.se>
720         Support GIF and Tiff with cairo.
721         * configure.ac: Allow jpeg with cairo.
722         Allow tiff and gif with cairo.
723         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
724         (tiff_load): Create cairo image surface if USE_CAIRO.
725         (gif_load): Ditto.
727         Support JPEG with USE_CAIRO.
728         * configure.ac: Allow jpeg with cairo.
729         * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
731 2015-04-05  Jan D  <jan.h.d@swipnet.se>
733         Support RSVG and cairo.
734         * configure.ac: Allow rsvg with cairo.  Move back HAVE_RSVG.
735         * src/dispextern.h (struct image): add cr_data2 if cairo.
736         * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
737         (x_clear_image): Free cr_data and cr_data2 if set.
738         (xpm_load): Assign data to cr_data2.
739         (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
741 2015-04-03  Jan D  <jan.h.d@swipnet.se>
743         Introduce limited Xpm support (32 bit ZPixmap) for Cairo.
744         * configure.ac (HAVE_RSVG): Move after cairo.
745         (USE_CAIRO): Disable rsvg, don't disable Xpm.
746         * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
747         (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
748         don't return early.
749         (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
750         (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
751         and create a surface.
753         Tool tips for menus did not show any text.
754         * src/xterm.c (x_update_begin): Don't create any surface for non-visible
755         tip frames, the geometry may be wrong.
757         Merge branch 'master' into cairo, fixes tooltips not shown.
759         Merge branch 'master' into cairo
761         Add CAIRO_CFLAGS to lwlib/Makefile.in
762         * Makefile.in (CAIRO_CFLAGS): Add.
764 2015-02-19  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
766         * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
768 2015-02-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
770         Draw outermost line using black relief and erase corners also for cairo.
771         * xterm.c [USE_CAIRO]: Include math.h.
772         (enum corners) [USE_CAIRO]: New enum.
773         (x_erase_corners_for_relief) [USE_CAIRO]: New function.
774         (x_draw_relief_rect) [USE_CAIRO]: Use it.  If box width is larger
775         than 1, draw the outermost line using the black relief.
777         * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
779 2015-02-15  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
781         * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
783         * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask.
785         Use int instead of unsigned int for width and height args.
786         * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
787         (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
788         width and height args.
790         Modernize k&r cairo-related function declarations.
791         * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
792         (xg_print_frames_dialog): Modernize k&r declarations.
793         * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
794         (Fx_print_frames_dialog): Modernize k&r declarations.
795         * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
796         (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
797         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
798         (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
799         (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
800         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
801         (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
802         (x_clear_area): Modernize k&r declarations.
804         Implement wave-style variant of underlining for cairo.
805         * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
806         (x_draw_underwave) [USE_CAIRO]: Use it.
808         * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle.
810 2015-02-13  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
812         Fix fringe bitmap initialization for cairo.
813         * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
814         cairo image surface.
815         * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
817 2015-02-11  Jan D  <jan.h.d@swipnet.se>
819         Add cairo drawing.
820         * configure.ac (with-cairo): New option.
821         (USE_CAIRO): Default to yes for Gtk+ 3.  Add code to test for cairo,
822         set CAIRO_CFLAGS, CAIRO_LIBS.  Add ftcrfonto to FONT_OBJ if cairo.
823         Output "Does Emacs use cairo?".
824         * lisp/version.el (emacs-version): Add cairo version.
825         * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
826         (FONT_OBJ): Add comment about ftcrfont.
827         (ALL_CFLAGS): Add CAIRO_CFLAGS.
828         (LIBES): Add CAIRO_LIBS.
829         * src/dispextern.h (struct image): Add cr_data for cairo.
830         (x_cr_init_fringe): Declare.
831         * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
832         * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
833         * src/fringe.c (x_cr_init_fringe): New function name that shares code
834         with w32_init_fringe.
835         * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
836         * src/ftfont.c (ftfont_info_size); New global variable.
837         (ftfont_open2): New extern function almost the same as old ftfont_open,
838         but takes the font_object as argument.
839         (ftfont_open): Build font object and call ftfont_open2.
840         * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
841         * src/gtkutil.c (xg_clear_under_internal_border)
842         (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
843         queue_draw if not cairo.  Change args to x_clear_area.
844         (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
845         (xg_page_setup_dialog, xg_get_page_setup, draw_page)
846         (xg_print_frames_dialog): New functions for printing.
847         * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
848         (xg_print_frames_dialog): Declare.
849         * src/image.c: Add defined (USE_CAIRO) for PNG.
850         Add !defined USE_CAIRO for W32 PNG code.
851         (x_clear_image): If cairo, destroy the surface in cr_data.
852         (png_load): Add new cairo compatible implementation.
853         (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
854         * src/xfns.c: New section Printing.
855         (x-export-frames, x-page-setup-dialog, x-get-page-setup)
856         (x-print-frames-dialog): New printing functions.
857         (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
858         cairo.
859         (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
860         Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
861         (syms_of_xfns): Provide cairo and defvar cairo-version-string.
862         defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
863         * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
864         (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
865         (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
866         (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
867         Declare.
868         (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
869         (max_fringe_bmp, fringe_bmp): New variables.
870         (x_gc_get_ext_data, x_extension_initialize)
871         (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
872         (x_set_cr_source_with_gc_foreground)
873         (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
874         (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
875         (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
876         (x_prepare_for_xlibdraw, x_set_clip_rectangles)
877         (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
878         (x_clear_window, x_fill_trapezoid_for_relief): New functions.
879         (x_update_begin): Create cairo surface if needed.
880         (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
881         (x_update_end): Paint cairo drawing surface to xlib surface.
882         (x_clear_under_internal_border, x_after_update_window_line): Adjust
883         arguments to x_clear_area.
884         (x_draw_fringe_bitmap): Call x_fill_rectangle.  Get GC values and
885         call x_cr_draw_image for cairo.  Call x_reset_clip_rectangles instead
886         of XSetClipMask.
887         (x_set_glyph_string_clipping)
888         (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
889         instead of XSetClipRectangles.
890         (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
891         x_fill_rectangle instead of XFillRectangle.
892         (x_draw_glyph_string_foreground)
893         (x_draw_composite_glyph_string_foreground)
894         (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
895         of XDrawRectangle.
896         (x_draw_relief_rect): Add code for USE_CAIRO.
897         Call x_reset_clip_rectangles instead of XSetClipMask.
898         (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
899         x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
900         instead of XSetClipMask.
901         (x_draw_image_foreground, x_draw_image_foreground_1):
902         x_draw_rectangle instead of XDrawRectangle.
903         (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
904         XFillRectangle.
905         (x_draw_image_glyph_string): If img has cr_data, use it as
906         a cairo surface.
907         (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
908         XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
909         (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
910         x_reset_clip_rectangles instead of XSetClipMask.
911         (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
912         (x_clear_area1): New function that calls XClearArea.
913         (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
914         non-cairo.
915         (x_clear_frame): x_clear_window instead of XClearWindow.
916         (x_scroll_run): Set frame garbaged if cairo.
917         (XTmouse_position): Initialize *part to 0.
918         (x_scroll_bar_create): Adjust arguments to x_clear_area.
919         (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
920         x_fill_rectangle instead of XFillRectangle.
921         (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
922         arguments to x_clear_area.
923         (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
924         (handle_one_xevent): Adjust arguments to x_clear_area.
925         Destroy cairo surface for frame if ConfigureNotify.
926         (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
927         (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
928         x_reset_clip_rectangles instead of XSetClipMask.
929         (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
930         x_reset_clip_rectangles instead of XSetClipMask.
931         (x_clear_frame_area): Adjust arguments to x_clear_area.
932         (x_free_frame_resources): Call x_prepare_for_xlibdraw.
933         (x_term_init): Call x_extension_initialize if cairo.
934         (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
935         x_cr_destroy_fringe_bitmap for cairo.
936         (x_initialize): Call x_cr_init_fringe for cairo.
937         * src/xterm.h: Add include of cairo header files.
938         (x_bitmap_record): Add img if cairo.
939         (x_gc_ext_data): New struct for cairo.
940         (x_display_info): Add ext_codes for cairo.
941         (x_output): Add cr_context and cr_surface for cairo.
942         (x_clear_area): Change arguments from Display*/Window to frame pointer.
943         (x_query_color, x_begin_cr_clip, x_end_cr_clip)
944         (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
945         (x_cr_draw_frame, x_cr_export_frames): Declare.
947 2015-05-17  Johan Bockgård  <bojohan@gnu.org>
949         Fix integer-valued `mouse-highlight' (Bug#20590)
950         * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
952 2015-05-17  Eli Zaretskii  <eliz@gnu.org>
954         MS-Windows followup for ASCIIfication of curved quotes
955         * lisp/term/w32console.el (terminal-init-w32console): Repeat the
956         test for curved quotes being displayable, after switching the
957         terminal encoding.  (Bug#20545)
959 2015-05-17  Paul Eggert  <eggert@cs.ucla.edu>
961         Spelling fixes
963 2015-05-17  Jan D  <jan.h.d@swipnet.se>
965         Add comment that x_shift_glyphs_for_insert is never called.
966         * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
967         comment that this function is never called.
969 2015-05-16  Glenn Morris  <rgm@gnu.org>
971         * src/lisp.mk: Remove from repository and generate at build-time.
972         * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
973         (shortlisp_filter): New variable.
974         (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
975         (distclean): Remove lisp.mk.
976         * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
977         * lisp/loadup.el: Tweak layout to make it easier to parse.
978         * make-dist: Do not distribute src/lisp.mk.
980 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
982         Display shorter dates in Git annotate output
983         * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
984         format (when not overridden with vc-git-annotate-switches).
985         (vc-git-annotate-time): Support the short format, as well as ISO
986         8601 that has been used until now (bug#5428).
988 2015-05-16  Paul Eggert  <eggert@cs.ucla.edu>
990         ASCIIfy curved quotes on displays lacking them
991         * lisp/international/mule-cmds.el (set-locale-environment):
992         If curved quotes don't work, display straight ASCII approximations
993         (Bug#20545).
995 2015-05-16  Glenn Morris  <rgm@gnu.org>
997         Small src/Makefile simplification.
998         * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
999         * src/Makefile.in (lisp): Derive from shortlisp.
1000         ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
1002 2015-05-16  Eli Zaretskii  <eliz@gnu.org>
1004         * lisp/help-mode.el (help-go-forward): Doc fix.
1005         (Bug#20577)
1007         * doc/lispref/debugging.texi (Profiling): Improve indexing.
1008         (Bug#20576)
1010 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
1012         Use `unless' to have one fewer `not'
1013         * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
1014         have one fewer `not'.
1016         Remove redundant :group declarations from vc-git.el
1017         * lisp/vc/vc-git.el (vc-git-diff-switches)
1018         (vc-git-annotate-switches, vc-git-resolve-conflicts)
1019         (vc-git-program, vc-git-root-log-format): Remove the redundant
1020         :group declarations.
1022 2015-05-16  Nicolas Petton  <nicolas@petton.fr>
1024         Removes the predicate from lisp-complete-symbol (Bug#20456)
1025         * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
1026         and remove it from the docstring.
1028 2015-05-16  Dmitry Gutov  <dgutov@yandex.ru>
1030         Add new option vc-git-resolve-conflicts
1031         * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
1032         (vc-git-find-file-hook): Add to after-save-hook only when the
1033         above is non-nil.
1034         (vc-git-resolve-when-done): Update to honor the new variable.
1035         (Bug#20292)
1037 2015-05-16  Eli Zaretskii  <eliz@gnu.org>
1039         Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
1041 2015-05-16  Artur Malabarba  <bruce.connor.am@gmail.com>
1043         * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
1044         (tabulated-list-init-header): Document new behavior.
1045         (tabulated-list-print-fake-header): No nothing if
1046         `tabulated-list--header-string' is nil.
1047         (tabulated-list--header-string): Add a docstring.
1048         * doc/lispref/modes.texi (Tabulated List Mode): Document it.
1049         * etc/NEWS: Document it.
1051 2015-05-15  Leo Liu  <sdl.web@gmail.com>
1053         Revert "Fix cps--gensym"
1054         * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
1055           fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
1057 2015-05-15  Glenn Morris  <rgm@gnu.org>
1059         Replace AC_SUBST_FILE in configure with include in Makefiles.
1060         * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
1061         (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
1062         (AUTO_DEPEND): New output variable.
1063         * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
1064         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
1065         (lwlib_deps_frag): Replace by conditional include.
1066         * lwlib/autodeps.mk: Remove file.
1067         * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
1068         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
1069         (oldxmenu_deps_frag): Replace by conditional include.
1070         * oldXMenu/autodeps.mk: Remove file.
1071         * src/Makefile.in (AUTO_DEPEND): New, set by configure.
1072         (DEPFLAGS, MKDEPDIR): Set directly via conditional.
1073         (lisp_frag): Replace by an include.
1074         (deps_frag): Replace by conditional include.
1075         * src/autodeps.mk: Remove file.
1077         Tweak japanese.el's loading of dependencies.
1078         * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
1079         * lisp/language/japanese.el: Use require rather than load.
1080         * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
1081         Provide a feature.
1082         * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
1083         Provide a feature in the generated file.
1085 2015-05-15  Jan D  <jan.h.d@swipnet.se>
1087         Fix NS warnings.
1088         * nsmenu.m (ns_popup_dialog)
1089         * nsimage.m (initFromXBM:width:height:fg:bg:)
1090         * nsfns.m (Fx_create_frame): Remove unused variables.
1091         (Fns_read_file_name): Initialize fname, remove ret.
1092         * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
1093         (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
1094         variable.
1095         (init): Add parantesis in if.
1096         (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
1098 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
1100         Fix a enum conversion warning in macfont.m
1101         * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
1102         (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
1104 2015-05-15  Eli Zaretskii  <eliz@gnu.org>
1106         Support de-alt dictionary with Aspell.
1107         * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
1108         Support Aspell dictionaries with names like "de-alt".  (Bug#20581)
1110 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
1112         cus-start.el: Add ns-confirm-quit.
1113         * cus-start.el: Add ns-confirm-quit.
1115         Fix warnings on OSX 10.10.
1116         * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
1117         (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
1118         (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
1119         * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
1120         * nsimage.m (allocInitFromFile, setPixmapData): Only call
1121         setScalesWhenResized for OSX < 10.6.
1122         * nsterm.h (EmacsScroller): Declare scrollerWidth.
1123         * nsterm.m (ns_copy_bits): New function that does not use deprecated
1124         NSCopyBits.
1125         (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
1126         (runAlertPanel): New function.
1127         (applicationShouldTerminate:): Call runAlertPanel.
1128         (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
1129         for OSX < 10.10.
1130         (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
1131         (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
1132         (draggingEntered:): Returns NSDragOperation.
1133         (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
1135 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
1137         * lisp/emacs-lisp/package.el: Don't ensure-init during startup
1138         (package--init-file-ensured): New variable.
1139         (package-initialize, package--ensure-init-file): Use it.
1141 2015-05-15  Jan Djärv  <jan.h.d@swipnet.se>
1143         Honor :fore/background for XBM on NS (Bug#14969).
1144         * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
1145         initFromXBM takes bg, fg args, remove flip arg.
1146         (ns_image_from_XBM): Add bg, fg args.
1147         * image.c (x_create_bitmap_from_data)
1148         (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
1149         * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
1150         Remove flip arg.
1151         (initFromSkipXBM): Move code to initFromXBM.
1152         (initFromXBM): Actually set fg and bg, instead of playing alpha games.
1153         Use fg, bg from args (Bug#14969).  Remove if (length) section, was always
1154         false.
1155         Remove bit flipping (bitPat, swt), generated incorrect images when
1156         width/height wasn't a multiple of 8.
1157         (setXBMColor:): Modify planes by comparing to saved xbm_fg.
1158         * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
1159         flip arg.
1161 2015-05-15  Artur Malabarba  <bruce.connor.am@gmail.com>
1163         * lisp/emacs-lisp/package.el: Be more careful with the init file
1164         (package--ensure-init-file): Check that user-init-file is set,
1165         exists, is readable, and is writable.  (Bug#20584)
1166         Also expand the docstring.
1168 2015-05-14  Wilson Snyder  <wsnyder@wsnyder.org>
1170         Sync with upstream verilog-mode revision 6232468
1171         * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
1172         (verilog-highlight-grouping-keywords): Fix use of face when
1173         `verilog-highlight-grouping-keywords' set.  Reported by Jeff
1174         Pompa.
1175         (verilog-auto-reset): Fix AUTORESET to ignore member resets if
1176         parent is reset, bug906. Reported by Ken Schmidt.
1177         (verilog-auto-inout-module): Add fourth regexp argument to
1178         AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
1179         bug856. Reported by John Tillema.
1180         (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1181         modport if signal attachment is itself a modport.  Reported by
1182         Matthew Lovell.
1183         (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
1184         always_comb and always_latch, bug844.  Reported by Greg Hilton.
1185         (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
1186         with many curly-bracket pairs, bug663.
1187         (verilog-set-auto-endcomments): Fix end comments for functions of
1188         type void, etc.  Reported by Alex Reed.
1189         (verilog-do-indent): Fix electric tab deleting form-feeds.  Note
1190         caused by indent-line-to deleting tabls pre 24.5.
1191         (verilog-nameable-item-re): Fix nameable items that can have an
1192         end-identifier to include endchecker, endgroup, endprogram,
1193         endproperty, and endsequence.  Reported by Alex Reed.
1194         (verilog-label-be): When auto-commenting a buffer, consider
1195         auto-comments on all known keywords (not just a subset thereof).
1196         Reported by Alex Reed.
1197         (verilog-auto-end-comment-lines-re)
1198         (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
1199         Automatically comment property/endproperty blocks to match other
1200         similar blocks like sequence/endsequence, function/endfunction,
1201         etc. Reported by Alex Reed.
1202         (verilog-set-auto-endcomments): Detect the function- or task-name
1203         when auto-commenting blocks that lack an explicit
1204         portlist. Reported by Alex Reed.
1205         (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
1206         allow post-AUTO user fixups, bug826. Reported by Dennis
1207         Muhlestein.
1208         (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
1209         is nil, fix indenting initial/final to match always statements,
1210         bug825. Reported by Tim Clapp.
1211         (verilog-extended-complete-re): Fix indentation of DPI-C imports
1212         with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
1213         Mao and Jason Forkey.
1214         (verilog-read-decls): Fix parsing typed interfaces.  Fix
1215         AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
1216         Fix localparam not being ignored in AUTOINSTPARAM,
1217         bug889. Reported by Shannon Hill.
1218         (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
1219         bug793.  Reported by Pierre-David Pfister.
1220         (verilog-auto-arg-format, verilog-auto-arg-ports): Add
1221         verilog-auto-arg-format to support newlines in AUTOARG. Reported
1222         by Jie Xiao.
1223         (verilog-batch-execute-func): Do not batch re-auto files loaded by
1224         Local Variables. Fix printing "no changes to be saved" with
1225         verilog-batch. Reported by Dan Dever.
1226         (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
1227         interface-only modules, bug721.  Reported by Dean Hoyt.
1228         Author: Alex Reed <acreed4@gmail.com>
1229         * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
1230         treat '<keyword>:<identifier>' as the start of a labeled
1231         statement, bug905.  Reported by Enzo Chi.
1232         (verilog-directive-re, verilog-compiler-directives)
1233         (verilog-keywords): Match full set of IEEE 2012-1800 compiler
1234         directives (plus some extras) when determining indentation, bug
1235         901.  Reported by Bernd Beuster.
1236         (verilog-at-constraint-p): Fix indentation of coverpoint bins if
1237         iff expression doesn't start with word-character, bug900.
1238         (verilog-optional-signed-range-re, verilog-optional-signed-re):
1239         Fix incorrect indentation/alignment of unsigned declarations,
1240         bug897.
1241         (verilog-looking-back, verilog-in-attribute-p): Fix labling of
1242         always constructs, bug895.
1243         (verilog-calc-1): Fix verilog-mode constraint indentation,
1244         bug324. Reported by Eric Mastromarchi.
1245         (verilog-beg-of-statement): Fix indenting for some forms of
1246         constraintsm bug433.  Reported by Brad Parker.  Fix indentation of
1247         continued assignment incorrect if first line ends with ']',
1248         bug437. Reported by Dan Dever.  Fix indention of cover inside an
1249         ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
1250         blocks, bug842.
1251         (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
1252         bug859. Reported by Kaushal Modi.
1253         (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
1254         (verilog-backward-token): Fix indenting sensitivity lists with
1255         named events, bug840.  Reed.
1256         (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
1257         nil not honoring 'forever', 'foreach', and 'do' keywords.
1259 2015-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1261         Check for invalid GTK+ monitor scales
1262         * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
1263         INT_MAX for too-large scales.  All callers changed to assume the
1264         result is valid (Bug#20432).
1265         (xg_frame_set_char_size, xg_update_scrollbar_pos):
1266         Calculate scale only if needed.
1267         show ASCII approximations instead.
1269 2015-05-14  Eli Zaretskii  <eliz@gnu.org>
1271         Fix daemon crashes when linum-mode is turned on early on
1272         * src/window.c (Fwindow_end): Don't try calling display engine
1273         functions on initial-frame frame.  (Bug#20565)
1275         Fix selective diff browsing in Ediff
1276         * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
1277         beginning of the region before searching for the
1278         ediff-regexp-focus-* regexps.  (Bug#20568)
1280 2015-05-14  Jan D  <jan.h.d@swipnet.se>
1282         Fixes Bug#20142.
1283         * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
1284         in the main loop, even for Gtk 3 (Bug#20142).
1286         Don't access display after i/o error (Bug#19147).
1287         * xterm.c (x_connection_closed): Add third arg ioerror.
1288         If ioerror, set display to 0 (Bug#19147).
1289         (x_error_quitter): Call x_connection_closed with third arg false.
1290         (x_io_error_quitter): Call x_connection_closed with third arg true.
1292         Handle GTK_SCALE, fixes Bug#20432.
1293         * gtkutil.c (xg_get_gdk_scale): New function.
1294         (xg_frame_set_char_size)
1295         (x_wm_set_size_hint, xg_get_default_scrollbar_width)
1296         (xg_get_default_scrollbar_height)
1297         (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
1298         when setting sizes (Bug#20432).
1300 2015-05-13  Leo Liu  <sdl.web@gmail.com>
1302         Fix cps--gensym
1303         * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
1305 2015-05-13  Glenn Morris  <rgm@gnu.org>
1307         Fix bootstrap (void function cl-member).
1308         * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
1309         * lisp/emacs-lisp/cl-seq.el: Provide a feature.
1311 2015-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1313         * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
1314         * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
1315         * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
1316         Avoid defalias for closures which are not immutable.
1317         (cl--generic-prefill-dispatchers): New macro.  Use it to prefill the
1318         dispatchers table with various entries.
1319         * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
1320         * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
1322 2015-05-13  Eli Zaretskii  <eliz@gnu.org>
1324         Improve tagging of C bindings in DEFVAR_*
1325         * src/Makefile.in (TAGS): Add --regex options to tag the C binding
1326         from DEFVAR_*.
1328 2015-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1330         * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
1332 2015-05-12  Glenn Morris  <rgm@gnu.org>
1334         * lisp/progmodes/tcl.el (tcl-filter):
1335         Handle comint-prompt-read-only like gud.el does.  (Bug#20549)
1337         Add basic VC push support.
1338         * lisp/vc/vc.el (vc-push): New autoloaded command.
1339         * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
1340         * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
1341         (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
1342         (vc-bzr-push): New.
1343         * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
1344         (vc-git-pull): Reimplement using vc-git--pushpull.
1345         (vc-git-push): New.
1346         * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
1347         (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
1348         * doc/emacs/maintaining.texi (Pulling / Pushing):
1349         Rename from "VC Pull".  Mention pushing.
1350         (VC With A Merging VCS, VC Change Log): Update xrefs.
1351         (Branches): Update menu.
1352         * doc/emacs/emacs.texi: Update menu.
1353         * etc/NEWS: Mention this.
1355 2015-05-12  Nicolas Petton  <nicolas@petton.fr>
1357         Improve the seq pcase pattern and the `seq-let' macro
1358         * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
1359         object is a sequence, and binds each element of ARGS to the
1360         corresponding element of the sequence.
1362 2015-05-12  Eli Zaretskii  <eliz@gnu.org>
1364         Fix tags created from DEFVAR_* declarations in C
1365         * src/Makefile.in (TAGS): Improve the --regex argument to etags,
1366         to make tags extracted from DEFVAR_* declarations more accurate.
1368         Add a test suite for etags
1369         * test/etags/: New test suite, adapted from
1370         http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
1371         whose original author is Francesco Potortì <pot@gnu.org>.
1373         Fix tagging of symbols in C enumerations
1374         * lib-src/etags.c (consider_token): Don't tag symbols in
1375         expressions that assign values to enum constants.  See
1376         http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
1377         for details.
1378         (C_entries): Reset fvdef to fvnone after processing a preprocessor
1379         conditional and after a comma outside of parentheses.
1381 2015-05-12  Glenn Morris  <rgm@gnu.org>
1383         * lisp/url/url-handlers.el (url-file-name-completion)
1384         (url-file-name-all-completions): Silence compiler.
1386         * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
1388         * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time.  (Bug#20554)
1390 2015-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1392         * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
1393         (cl--generic-mandatory-args): Remove.
1394         (cl--generic-split-args): New function.
1395         (cl-generic-define, cl--generic-lambda): Use it.
1396         (cl-generic-define-method): Use it as well, and add support for
1397         context args.
1398         (cl--generic-get-dispatcher): Handle &context dispatch.
1399         (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
1400         (cl--generic-dispatchers): Pre-fill.
1401         * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
1403 2015-05-11  Glenn Morris  <rgm@gnu.org>
1405         * make-dist: Abort if "make ChangeLog" fails.  Add "--no-changelog".
1407 2015-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1409         * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
1410         * lisp/term/rxvt.el: Require term/xterm.
1411         (rxvt-function-map): Use xterm-rxvt-function-map.
1412         (rxvt-standard-colors): Move before first use.
1413         (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
1414         (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
1415         * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
1416         Move shared bindings between rxvt and xterm to it.
1417         (xterm-function-map): Use it.  Move the xterm-paste binding to
1418         xterm-rxvt-function-map (bug#20444).
1419         (xterm-standard-colors): Move before first use.
1420         (xterm--push-map): New function.
1421         (xterm-register-default-colors): Take standard colors as argument.
1422         (terminal-init-xterm): Use it.  Adjust call to
1423         xterm-register-default-colors.
1425 2015-05-11  Glenn Morris  <rgm@gnu.org>
1427         * lisp/term/x-win.el: Quieten --without-x compilation.
1428         (x-own-selection-internal, x-disown-selection-internal)
1429         (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
1430         Declare.
1432         * Makefile.in (emacslog): Remove srcdir.
1433         (ChangeLog): Update for the above.
1435 2015-05-11  Paul Eggert  <eggert@cs.ucla.edu>
1437         Spelling fix
1439 2015-05-10  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1441         python.el: better limit for looking-back calls
1442         * lisp/progmodes/python.el (python-shell-accept-process-output):
1443         Use last comint prompt start as limit for looking-back.
1445 2015-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1447         CEDET (srecode-insert-fcn): Fix use of oref on a class
1448         * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
1449         a class.  Reported by Pierre Lorenzon.
1450         (srecode-template-inserter-point): Remove declaration.
1452         CEDET (srecode-create-dictionary): Avoid obsolete object name
1453         * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
1454         Don't use a symbol as an object name.  Reported by Pierre Lorenzon.
1456 2015-05-10  Paul Eggert  <eggert@cs.ucla.edu>
1458         C-x 8 shorthands for curved quotes, Euro, etc.
1459         Although C-x 8 lets you insert arbitrary Unicode characters,
1460         it's awkward to use this to insert commonly used symbols such as curved
1461         quotes, the Euro symbol, etc.  This patch adds simpler sequences for
1462         characters commonly found in English text and in basic math.
1463         For example, assuming the Alt key works on your keyboard and iso-transl
1464         is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
1465         to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
1466         (Bug#20499)
1467         * doc/emacs/mule.texi (Unibyte Mode):
1468         A few other printing characters now work too.
1469         * etc/NEWS: Document this.
1470         * lisp/international/iso-transl.el (iso-transl-char-map):
1471         Also support the following characters:
1472         ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
1474 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
1476         Add xref-find-regexp
1477         * lisp/progmodes/xref.el (xref-find-function): Describe the
1478         `matches' action.
1479         (xref-find-regexp): New command, using it.
1480         (xref-collect-references): Rename to xref-collect-matches.
1481         (xref--collect-reference): Rename to xref--collect-match.
1482         (xref-collect-matches, xref--collect-match): Accept new argument,
1483         KIND.  Update accordingly.
1484         (xref--regexp-to-extended): New function.
1485         * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
1486         `matches' action.
1487         (elisp--xref-find-matches): Accept new argument.  Resolve a FIXME.
1488         * lisp/progmodes/etags.el (etags-xref-find):
1489         Support the `matches' action.
1490         (etags--xref-find-matches): New function.
1492 2015-05-10  Glenn Morris  <rgm@gnu.org>
1494         * Makefile.in: Fixes for recent change-history changes.
1495         (change-history-nocommit): Update footer regexp.
1496         Ensure output script stays executable.
1498 2015-05-10  Nicolas Petton  <nicolas@petton.fr>
1500         New version of `seq-let' based on a pcase pattern
1501         * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
1502         pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
1504 2015-05-10  Przemysław Wojnowski  <esperanto@cumego.com>
1506         Add basic HTML5 tags and a template
1507         * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
1508         (html-tag-alist): Add HTML5 tags.
1509         (html-tag-help): Add new tags descriptions.
1510         (html-navigational-links): Template for nav links.
1511         (html-html5-template): Template for a HTML5 page.
1513 2015-05-10  Dmitry Gutov  <dgutov@yandex.ru>
1515         semantic/symref/grep: Don't use word boundaries
1516         * lisp/cedet/semantic/symref/grep.el
1517         (semantic-symref-perform-search): Instead of wrapping input in
1518         word boundaries, check that the characters before and after are
1519         not word constituents.
1521         semantic/symref/grep: Support regexp search
1522         * lisp/cedet/semantic/symref.el
1523         (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
1524         the search type is regexp.
1525         * lisp/cedet/semantic/symref/grep.el
1526         (semantic-symref-perform-search): Support the regexp search type.
1527         Pass -E to Grep when it's used.
1529         semantic-symref-regexp: Allow to input an arbitrary string
1530         * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
1531         Allow to input an arbitrary string interactively.
1533         Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
1534         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
1535         Remove tag-symbol-match-p from the default value
1536         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
1538         Declare find-tag obsolete
1539         * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
1540         xref-find-definitions.
1542 2015-05-10  Jan D  <jan.h.d@swipnet.se>
1544         Draw composite string correctly (Bug#20537).
1545         * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
1546         (ns_draw_glyph_string): Call it (Bug#20537).
1548 2015-05-09  Eli Zaretskii  <eliz@gnu.org>
1550         Avoid infloop in ERC
1551         * lisp/simple.el (line-move-to-column): Ignore field boundaries
1552         while computing line beginning position.  (Bug#20498)
1554 2015-05-08  Glenn Morris  <rgm@gnu.org>
1556         * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
1557         * build-aux/gitlog-to-emacslog: Check called from right directory.
1558         (srcprefix): Remove.
1560         * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
1561         * Makefile.in (ChangeLog): No longer pass "distprefix".
1562         * make-dist: Update "make ChangeLog" syntax for the above change.
1564         * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
1565         * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
1567         * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
1569         Add command-line option-parsing to gitlog-to-emacslog.
1570         * build-aux/gitlog-to-emacslog: Add command-line options.
1571         By default, refuse to remove an existing output file.
1572         * Makefile.in (CHANGELOG): Update default.
1573         (ChangeLog): Do not test for existing file.
1574         (change-history-nocommit): Ensure temp file does not exist.
1576         Quieten --without-x compilation.
1577         * lisp/term/common-win.el: Provide a feature.
1578         * lisp/term/x-win.el (term/common-win): Require it.
1580         * lisp/dired-aux.el (dired-do-print): Require lpr.
1582         Quieten compilation, eg in --without-x builds.
1583         * lisp/dired-aux.el (lpr-printer-switch):
1584         * lisp/frame.el (tool-bar-height):
1585         * lisp/linum.el (font-info):
1586         * lisp/window.el (font-info, overflow-newline-into-fringe)
1587         (tool-bar-height):
1588         * lisp/emacs-lisp/package-x.el (tar-data-buffer):
1589         * lisp/gnus/gnus-util.el (iswitchb-mode):
1590         * lisp/mail/rmailmm.el (libxml-parse-html-region):
1591         * lisp/net/nsm.el (gnutls-peer-status)
1592         (gnutls-peer-status-warning-describe):
1593         * lisp/net/shr.el (libxml-parse-xml-region):
1594         * lisp/url/url-http.el (gnutls-peer-status): Declare.
1596 2015-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1598         CEDET (srecode-pop, srecode-peek): Don't use `subclass'
1599         * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
1600         `subclass' since they're never called with a class.
1601         (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
1602         srecode-dictionary-child-p.
1604 2015-05-08  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
1606         help--binding-locus: Document argument POSITION.
1607         * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
1609 2015-05-08  Paul Eggert  <eggert@cs.ucla.edu>
1611         Merge from gnulib.
1612         * doc/misc/texinfo.tex: Get latest version.
1614 2015-05-08  Oleh Krehel  <ohwoeowho@gmail.com>
1616         ffap.el (ffap-read-file-or-url): Fix completing-read call
1617         * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
1618           `completing-read' should be a symbol.
1620 2015-05-08  Eli Zaretskii  <eliz@gnu.org>
1622         Verify file modifications by other programs
1623         * src/filelock.c (lock_file): Check whether the file was modified
1624         since it was visited even if 'create-lockfiles' is nil.  (Bug#18828)
1626         Fix keyboard macros that include function keys
1627         * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
1628         keys in the macro before returning.  (Bug#20454)
1630 2015-05-08  Glenn Morris  <rgm@gnu.org>
1632         * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
1633         "Copyright-paperwork-exempt".  (Bug#20324)
1635         * lisp/vc/log-edit.el: Handle "(tiny change)".  (Bug#20324)
1636         (log-edit-rewrite-tiny-change): New variable.
1637         (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
1638         (log-edit-changelog-ours-p): Set log-edit-author to a cons.
1639         * etc/NEWS: Mention this.
1641         * lisp/calc/calc.el (math-zerop): Declare.
1643         * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
1645 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
1647         * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
1648         Support the case when BINDINGS is a single tuple.  (Bug#20525)
1650         * etc/NEWS: Fix typo in commit 14bb519
1652 2015-05-07  Jan D  <jan.h.d@swipnet.se>
1654         Warn for multiple display crash for all Gtk+ versions.
1655         * configure.ac: Warn for multiple display crash for all Gtk+
1656         versions.  Output URL to Gtk+ bug (Bug#20452).
1658         ns-win.el (ns-paste-secondary): Use gui-get-selection.
1659         * ns-win.el (ns-paste-secondary): Use gui-get-selection.
1661 2015-05-07  Artur Malabarba  <bruce.connor.am@gmail.com>
1663         * lisp/emacs-lisp/package.el: New "external" package status
1664         An external package is any installed package that's not built-in
1665         and not from `package-user-dir', which usually means it's from an
1666         entry in `package-directory-list'.  They are treated much like
1667         built-in packages, in that they cannot be through the Package Menu
1668         deleted and are not considered for upgrades.
1669         (package-desc-status): Identify if a package is installed outside
1670         `package-user-dir'.
1671         (package-menu--print-info-simple)
1672         (package-menu--status-predicate): Add support for it.
1673         * etc/NEWS: Document it.
1675 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1677         * lisp/mail/rmail.el: Use lexical-binding
1678         (rmail-bury): Remove unused var `buffer-to-bury'.
1679         (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
1680         (rmail-parse-url): Remove unused var `proto', `user', and `host'.
1681         (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
1682         (rmail-insert-inbox-text): Remove unused var `movemail'.
1683         (rmail-add-mbox-headers): Remove unused var `limit'.
1684         (rmail-undelete-previous-message): Remove unused var `value'.
1685         (rmail-reply): Remove unused vars `resent-to', `resent-cc',
1686         `resent-reply-to'.
1687         (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
1688         (rmail-restore-desktop-buffer): Rename arguments.
1690 2015-05-06  Glenn Morris  <rgm@gnu.org>
1692         * Makefile.in (change-history-commit): Add missing piece of previous.
1694         Avoid unnecessary bumping of Makefile.in's timestamp.
1695         * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
1696         (emacslog): New variable.
1697         (ChangeLog): Use $emacslog.  Don't pass $gen_origin.
1698         (unchanged-history-files): Use $emacslog rather than Makefile.in.
1699         (change-history-nocommit): Store hash in $emacslog.
1700         * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
1701         * admin/update_autogen (changelog_files): Update for the above.
1703         * Makefile.in: Don't always insist on removing existing "ChangeLog".
1704         (CHANGELOG): New variable.
1705         (no-ChangeLog): Remove.
1706         (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
1707         (change-history-nocommit): Use a temp file rather than insisting
1708         on deletion of any existing "ChangeLog".
1710         * build-aux/gitlog-to-emacslog: Allow specification of output.
1712         * admin/update_autogen: Add option to update ChangeLog.
1713         (usage): Mention -H.
1714         (changelog_flag, changelog_n, changelog_files): New variables.
1715         (main): Check for -H, and maybe run change-history-nocommit.
1717 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1719         * lisp/subr.el (delete-dups): Pre-size the hashtable.
1721         (define-modify-macro): Make sure cl--arglist-args is defined
1722         * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
1723         cl--arglist-args is defined (bug#20517).
1725 2015-05-06  Glenn Morris  <rgm@gnu.org>
1727         * Makefile.in (change-history-nocommit): New.
1729 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
1731         Only cancel timer when it is non-nil
1732         * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
1733         timer when it is non-nil
1734         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
1736 2015-05-06  Glenn Morris  <rgm@gnu.org>
1738         Quieten cedet compilation
1739         * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
1740         Invert fboundp test to quieten on current Emacs.
1741         * lisp/cedet/ede/config.el (ede-shell-run-something)
1742         (semanticdb-file-table-object, semanticdb-needs-refresh-p)
1743         (semanticdb-refresh-table): Declare.
1744         (ede-preprocessor-map): Require semantic/db.
1746         Quieten cc-mode compilation
1747         * lisp/progmodes/cc-awk.el (c-forward-sws):
1748         * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
1749         Declare.
1751 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
1753         lisp/subr.el (delete-dups): Avoid nreverse.
1755 2015-05-06  Artur Malabarba  <bruce.connor.am@gmail.com>
1757         * lisp/subr.el (delete-dups): Make it destructive again.
1759 2015-05-06  Paul Eggert  <eggert@cs.ucla.edu>
1761         * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
1763 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1765         * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
1766         * lisp/emacs-lisp/testcover.el: Use lexical-binding.
1767         (testcover--read): Rename from testcover-read.  Change calling convention.
1768         Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
1769         (testcover-start): Use add-function.  Move edebug-all-defs binding to
1770         testcover--read.
1771         (testcover-this-defun): Tighten scope of edebug-all-defs binding.
1772         (testcover-mark): Remove unused var `item'.
1773         * src/lread.c (syms_of_lread): Default load-read-function to `read'.
1775 2015-05-06  Oleh Krehel  <ohwoeowho@gmail.com>
1777         lisp/subr.el (delete-dups): Use a hash table
1778         * lisp/subr.el (delete-dups): When there are more than 100 candidates,
1779           use a hash table. This can result in ~500 times speed-up for typical
1780           collections of size 5000, like that of `load-library'.
1782 2015-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1784         CEDET: Avoid `oref' on classes in a few more cases
1785         * lisp/cedet/ede/generic.el (ede-find-target):
1786         * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
1787         * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
1788         var `prefix'.
1790         * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
1791         * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
1792         (semantic-symref-perform-search): Remove unused var `pat'.
1794         CEDET (srecode-compile-inserter): Avoid `oref' on classes
1795         * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
1796         Avoid `oref' on classes (bug#20491).
1797         (srecode-compile-split-code): Remove unused var `key'.
1799 2015-05-06  Dmitry Gutov  <dgutov@yandex.ru>
1801         Clean up pulse.el a little
1802         * lisp/cedet/pulse.el (pulse): Remove.
1803         (pulse-momentary-timer): Save instead of the stop time.
1804         (pulse-momentary-highlight-overlay): Call
1805         pulse-momentary-unhighlight first thing. Treat
1806         pulse-momentary-overlay as a single value, not a list. Save the
1807         created timer. Only pass the stop time to the timer.
1808         (pulse-tick): Update accordingly.
1809         (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
1810         single value. Cancel the timer.
1812 2015-05-06  Tassilo Horn  <tsdh@gnu.org>
1814         Support the biblatex journaltitle field
1815         * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
1816         Support the biblatex journaltitle field.
1818 2015-05-05  Glenn Morris  <rgm@gnu.org>
1820         Minor declare-function improvement
1821         * lisp/emacs-lisp/bytecomp.el
1822         (byte-compile-macroexpand-declare-function):
1823         Handle declarations after calls.  (Bug#20509)
1825         * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
1827         * lisp/w32-fns.el (w32-shell-name): Silence compiler.
1829 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1831         Pulse using a timer
1832         * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
1833         (pulse-momentary-highlight-overlay): Set up the timer instead of
1834         calling `pulse'
1835         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
1836         (pulse-tick): New function.
1837         (pulse-momentary-unhighlight): Cut off the stop time.
1838         (pulse-delay): Update the docstring WRT to not using sit-for.
1840         Add semantic/symref/grep file patterns for ruby-mode
1841         * lisp/cedet/semantic/symref/grep.el
1842         (semantic-symref-filepattern-alist): Add patterns for
1843         ruby-mode. Clarify the docstring.
1845         Don't require match
1846         * lisp/progmodes/xref.el (xref--read-identifier): Don't require
1847         match. That doesn't work for every command, and some identifier
1848         completion tables are bound to be imperfect anyway.
1850 2015-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1852         * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
1853         (semantic-grammar--template-expand): New function.
1854         (semantic-grammar-header, semantic-grammar-footer): Use it.
1855         (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
1856         (semantic-grammar-file-regexp): Refine regexp.
1857         (semantic-grammar-eldoc-get-macro-docstring):
1858         Use elisp-get-fnsym-args-string when available.
1859         (semantic-idle-summary-current-symbol-info): Use new elisp-* names
1860         instead of the old eldoc-* names.
1861         * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
1862         from elisp-mode.el.  Tweak calling convention.
1863         * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
1864         (elisp-get-fnsym-args-string): Add `prefix' argument.  Rename from
1865         elisp--get-fnsym-args-string.
1866         (elisp--highlight-function-argument): Add `prefix' arg.
1867         (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
1868         (elisp--docstring-format-sym-doc): Move back to eldoc.el.
1870 2015-05-05  Glenn Morris  <rgm@gnu.org>
1872         * lisp/help-fns.el (describe-function-1):
1873         Handle builtins with advertised calling conventions.  (Bug#20479)
1875 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
1877         Merge branch 'seq-let'
1879         Update `seq-let' documentation
1880         * doc/lispref/sequences.texi: Update the documentation of `seq-let'
1881         with the support of  `&rest'.
1883         Add support for &rest in `seq-let'
1884         * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
1885         in the argument list.
1886         * test/automated/seq-tests.el: Add a test for parsing and binding
1887         `&rest' in `seq-let'.
1889 2015-05-05  Paul Eggert  <eggert@cs.ucla.edu>
1891         Spelling fixes
1893 2015-05-05  (tiny change) Pierre Lorenzon  <devel@pollock-nageoire.net>
1895         * eieio-custom.el (eieio-object-value-get): Add missing increment
1896         (Bug#20467)
1898         (eieio-object-value-create): Adjust to new slots representation
1899         (Bug#20467)
1900         * eieio-custom.el (eieio-object-value-create):
1901         Fix missed adjustment to new representation of slots metadata.
1903 2015-05-05  Nicolas Petton  <nicolas@petton.fr>
1905         * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
1907 2015-05-05  Dmitry Gutov  <dgutov@yandex.ru>
1909         Work around "Attempt to modify read-only object"
1910         * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
1911         elisp--xref-find-definitions, to work around "Attempt to modify
1912         read-only object" error.
1914         Only skip some variables that have function counterparts
1915         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
1916         Only skip minor-mode-named variable if it's defined in a Lisp
1917         file, and it's in minor-mode-list (bug#20506).
1918         * test/automated/elisp-mode-tests.el
1919         (elisp-xref-finds-both-function-and-variable)
1920         (elisp-xref-finds-only-function-for-minor-mode): New tests.
1922 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
1924         Buttonize the whole line, including the number at the beginning
1925         * lisp/progmodes/xref.el (xref--location-at-point): Revert the
1926         previous change.
1927         (xref--insert-xrefs): Buttonize the whole line, including the
1928         number at the beginning.
1930         Make sure we're inside the let bindings
1931         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
1932         Make sure we're inside the let bindings.
1933         * test/automated/elisp-mode-tests.el
1934         (elisp-completes-functions-after-let-bindings): New test.
1936 2015-05-04  Glenn Morris  <rgm@gnu.org>
1938         * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
1939         (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
1940         (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
1941         Remove outdated declarations.
1943         Replace instances of "(eval-when-compile (autoload ...))"
1944         * lisp/gnus/gnus-art.el (nneething-get-file-name):
1945         Declare rather than autoload.
1946         * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
1947         Remove pointless autoload.
1948         * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
1949         (gnus-topic-create-topic, gnus-topic-enter-dribble):
1950         Declare rather than autoload.
1951         * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
1952         (mailcap-extension-to-mime): Autoload at run-time.
1953         * lisp/gnus/mm-util.el (latin-unity-massage-name)
1954         (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
1955         (latin-unity-representations-present-region):
1956         Declare rather than autoload.
1957         * lisp/gnus/mml-smime.el (epg-make-context)
1958         (epg-passphrase-callback-function): Autoload at run-time.
1959         (epg-context-set-signers, epg-context-result-for)
1960         (epg-new-signature-digest-algorithm)
1961         (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
1962         (epg-sign-string, epg-encrypt-string)
1963         (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
1964         (epg-configuration, epg-expand-group, epa-select-keys):
1965         Declare rather than autoload.
1966         * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
1967         Autoload at run-time.
1968         (gnus-group-topic-name, nnimap-buffer, nnimap-command)
1969         (gnus-registry-get-id-key, gnus-registry-action):
1970         Declare rather than autoload.
1971         * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
1972         * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
1973         (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
1974         (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
1975         (spam-stat-split-fancy): Remove pointless autoloads.
1976         * lisp/net/mairix.el: Load gnus-util when compiling.
1977         (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
1978         (message-field-value): Declare rather than autoload.
1979         (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
1980         Check gnus-alive-p is fbound.
1981         (vm-quit, vm-visit-folder, vm-select-folder-buffer)
1982         (vm-check-for-killed-summary, vm-error-if-folder-empty)
1983         (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
1984         Declare rather than autoload.
1986         * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
1988         * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1989         (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
1991         * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
1993         * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
1995         * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
1996         * lisp/emacs-lisp/package.el (epg-signature-status):
1997         Fix declarations.
1999         * lisp/play/gametree.el (gametree-show-children-and-entry)
2000         (gametree-apply-layout, gametree-mouse-show-subtree)
2001         (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
2003         * lisp/emacs-lisp/check-declare.el (check-declare-verify):
2004         Handle cl-defgeneric, cl-defmethod.
2006 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
2008         Highlight both type and symbol name
2009         * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
2010         Highlight both type and symbol name.
2012         Insert, highlight and align line numbers in xref output
2013         * lisp/progmodes/etags.el (xref-location-line): Specialize for
2014         xref-etags-location.
2015         * lisp/progmodes/xref.el (xref-location-line): New generic method.
2016         (xref-file-location): Add reader for the line slot.
2017         (xref--location-at-point): Skip to the `xref-location' property.
2018         (xref--collect-reference): Drop the line number from description.
2019         (xref--insert-xrefs): Insert, highlight and align line numbers.
2021 2015-05-04  Daniel Colascione  <dancol@dancol.org>
2023         Fix previous commit
2025 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
2027         Don't pulse the indentation, or the newline
2028         * lisp/cedet/pulse.el (pulse-lighten-highlight)
2029         (pulse-reset-face): Fall back to the inherited background
2030         attribute in FACE.
2031         (pulse-momentary-highlight-region): Add autoload cookie.
2032         * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
2033         indentation, or the newline, if the line's non-empty
2034         (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
2036 2015-05-04  Daniel Colascione  <dancol@dancol.org>
2038         Add `save-mark-and-excursion', which has the old `save-excursion' behavior
2039         * doc/lispref/positions.texi (Excursions): Document
2040         `save-mark-and-excursion'.
2041         * lisp/font-lock.el (font-lock-fontify-block): Use
2042         `save-mark-and-excursion' instead of `save-excursion', restoring
2043         Emacs 24 behavior.
2044         * lisp/simple.el (save-mark-and-excursion--save)
2045         (save-mark-and-excursion--restore): New functions.
2046         (save-mark-and-excursion): New user macro.
2047         * src/editfns.c (Fsave_excursion): Mention
2048         `save-mark-and-excursion' in `save-excursion' documentation.
2050 2015-05-04  Dmitry Gutov  <dgutov@yandex.ru>
2052         Classify lone symbol inside let varlist as variable
2053         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
2054         Classify lone symbol inside let varlist as variable.
2055         * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
2056         New test.
2058         Add xref-pulse-on-jump
2059         * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
2060         Add autoload cookie.
2061         * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
2062         (xref--maybe-pulse): New function.
2063         (xref-pop-marker-stack, xref--pop-to-location)
2064         (xref--display-position): Use it.
2065         (xref--location-at-point): Use back-to-indentation.
2067 2015-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2069         * lisp/org/org-{macs,list}.el: Fix lexical warnings
2070         * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
2071         (org-list-get-next-item, org-list-get-prev-item)
2072         (org-list-get-children): Mark unused arg `struct'.
2073         (org-list-use-alpha-bul-p): Remove unused var `bul'.
2074         (org-toggle-checkbox): Mark unused var.
2075         (org-update-checkbox-count): Remove unused var `box-num'.
2076         (org-adapt-indentation): Declare.
2077         (org-list-parse-list): Declare var instead of adding a dummy duplicate.
2078         (org-list-send-list): Remove unused var `txt'.
2079         (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
2080         (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
2081         * lisp/org/org-macs.el: Use `declare'.
2082         (org-with-limited-levels): Declare dyn-bound vars.
2084 2015-05-04  Eli Zaretskii  <eliz@gnu.org>
2086         Fix minor issues with CEDET on MS-Windows
2087         * lisp/cedet/semantic/symref/idutils.el
2088         (semantic-symref-parse-tool-output-one-line): Fix the search
2089         regexp to match MS-Windows file names with drive letters.
2090         (Bug#19468)
2091         * lisp/cedet/semantic/symref/grep.el
2092         (semantic-symref-grep-use-template): Remove "--color=always" from
2093         Grep switches on MS-Windows.
2094         (semantic-symref-grep-shell): Use shell-file-name as the default
2095         value, so this works not only on Posix platforms.
2096         (semantic-symref-perform-search): Use shell-quote-argument instead
2097         of literal '..' for portable quoting of Grep command-line
2098         argument.  Use shell-command-switch instead of a literal "-c".
2099         * lisp/cedet/semantic/bovine/gcc.el
2100         (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
2101         for an absolute file name in a portable way.
2103 2015-05-04  Artur Malabarba  <bruce.connor.am@gmail.com>
2105         * lisp/emacs-lisp/package.el: Remove `package--silence' variable
2106         (package-import-keyring, package-refresh-contents)
2107         (package-compute-transaction, package--save-selected-packages)
2108         (package-install-from-archive, package-delete)
2109         (package-menu--perform-transaction): Use `inhibit-message'
2110         instead.
2111         (package--compile): Set `warning-minimum-level' to :error.
2113 2015-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2115         * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
2116         (terminal-init-screen): Use it (bug#20356).
2117         * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
2118         (xterm--extra-capabilities-type): New const.
2119         (xterm-extra-capabilities): Use it.
2120         (xterm--version-handler): Lower the pseudo-version for `screen'.
2122 2015-05-03  Dmitry Gutov  <dgutov@yandex.ru>
2124         xref--insert-xrefs: Tweak the faces
2125         * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
2126         Always insert a newline at the end (to avoid mouse-face background
2127         tail at the last line).
2129         elisp-completion-at-point: Prioritize being quoted over funpos
2130         * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
2131         Only consider function position when not inside quoted form
2132         (bug#20425).
2133         * test/automated/elisp-mode-tests.el: New file.
2135         Stop vc-print-log from jumping to the top
2136         * lisp/vc/vc.el (vc-print-log-internal): Pass nil
2137         GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
2138         is not specified.
2139         (vc-incoming-outgoing-internal): Always pass nil.
2140         (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
2141         call it, and don't set vc-sentinel-movepoint (bug#15322).
2142         (vc-print-root-log): Don't fetch the root working revision, nor
2143         pass it to vc-print-log-internal.
2145 2015-05-02  Michael Vehrs  <Michael.Burschik@gmx.de>
2147         Fix display of keyboard layouts for right-to-left scripts
2148         * lisp/international/quail.el (quail-insert-kbd-layout): Force
2149         left-to-right paragraph direction.
2151 2015-05-02  K. Handa  <handa@gnu.org>
2153         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2155         * cmds.c (internal_self_insert): When we insert spaces for
2156         padding, set point before the padding spaces, not after them.
2158 2015-05-02  Nicolas Petton  <nicolas@petton.fr>
2160         * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
2162 2015-05-02  Dmitry Gutov  <dgutov@yandex.ru>
2164         Fix etags-xref-find for references
2165         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
2166         * lisp/progmodes/etags.el (etags-xref-find): Ditto.  Prompt for
2167         directory if no tags tables are loaded (bug#19468).
2169 2015-05-02  Philipp Stephani  <phst@google.com>
2171         Update the options in whitespace-style defcustom
2172         * lisp/whitespace.el (whitespace-style): Use `set' instead of a
2173         `repeat' because the option is really set-like.  Add missing
2174         options.  Reorder options to match the order in the
2175         documentation.  (Bug#20346)
2177 2015-05-02  Eli Zaretskii  <eliz@gnu.org>
2179         Fix error diagnostics of c-macro-expand
2180         * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
2181         too early if no start-marker string was found -- that generally
2182         means cpp exited abnormally, and we still want to show its error
2183         messages to the user.
2185         Don't require Texinfo 5.0 for Emacs documentation
2186         * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
2187         "@set txicodequotebacktick" instead of "@codequotebacktick on" and
2188         "@codequoteundirected on", respectively, to avoid requiring
2189         Texinfo 5.x for Emacs documentation.
2191 2015-05-01  Simen Heggestøyl  <simenheg@gmail.com>
2193         * lisp/files.el (pwd):
2194         When called with a prefix argument, insert the current default
2195         directory at point.
2197 2015-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2199         * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
2200         * lisp/isearch.el (isearch-mode-map): Don't inhibit
2201         function-key-map remapping for backspace (bug#20466).
2203 2015-05-01  Dmitry Gutov  <dgutov@yandex.ru>
2205         Implement xref-find-references in etags and elisp-mode
2206         * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
2207         (elisp-xref-find): Use it.
2208         * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
2209         * lisp/progmodes/xref.el (xref-collect-references):
2210         (xref--collect-reference): New functions.
2212 2015-05-01  Paul Eggert  <eggert@cs.ucla.edu>
2214         Prefer plain characters to Texinfo circumlocutions
2215         For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
2216         'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
2218         Fix single-quoting style in PDF manuals
2219         The PDF versions of the GNU manuals used curved single quotes to
2220         represent grave accent and apostrophe, which made it a pain to cut
2221         and paste code examples from them.  Fix the PDF versions to use
2222         grave accent and apostrophe for Lisp source code, keystrokes, etc.
2223         This change does not affect the info files, nor does it affect
2224         ordinary uses of curved single quotes in PDF.
2225         * doc/emacs/docstyle.texi: New file, which specifies treatment for
2226         grave accent and apostrophe, as well as the document encoding.
2227         * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
2228         * doc/lispintro/emacs-lisp-intro.texi:
2229         * doc/lispref/back.texi, doc/lispref/book-spine.texi:
2230         * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
2231         * doc/misc/ada-mode.texi, doc/misc/auth.texi:
2232         * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
2233         * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
2234         * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
2235         * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
2236         * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
2237         * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
2238         * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
2239         * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
2240         * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
2241         * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
2242         * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
2243         * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
2244         * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
2245         * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
2246         * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
2247         * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
2248         * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
2249         * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
2250         * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
2251         * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
2252         * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
2253         * doc/misc/woman.texi:
2254         Use it instead of '@documentencoding UTF-8', to lessen the need for
2255         global changes like this in the future.
2256         * doc/emacs/Makefile.in (EMACS_XTRA):
2257         * doc/lispintro/Makefile.in (srcs):
2258         * doc/lispref/Makefile.in (srcs):
2259         Add dependency on docstyle.texi.
2260         * doc/misc/Makefile.in (style): New macro.
2261         (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
2262         (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
2263         Use it.
2265 2015-05-01  Glenn Morris  <rgm@gnu.org>
2267         * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
2269         * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
2270         (help-fns--signature): Declare.
2272         * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
2274 2015-05-01  Nicolas Petton  <nicolas@petton.fr>
2276         New macro seq-let, providing destructuring support to seq.el
2277         * lisp/emacs-lisp/seq.el (seq-let): New macro.  `seq-let' is similar
2278         to `cl-destructuring-bind' but works on all sequence types supported
2279         by `seq.el'.  Bump version number to 1.6.
2280         * test/automated/seq-tests.el: Add tests for seq-let.
2281         * doc/lispref/sequences.texi: Add documentation for seq-let.
2283 2015-05-01  Pontus Michael  <m.pontus@gmail.com>
2285         * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
2287 2015-05-01  Glenn Morris  <rgm@gnu.org>
2289         * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
2291 2015-05-01  Artur Malabarba  <bruce.connor.am@gmail.com>
2293         * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
2294         This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
2295         This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
2296         With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
2297         (Bug#20445).
2299 2015-05-01  K. Handa  <handa@gnu.org>
2301         * mule-cmds.el (input-method-use-echo-area): Change :type to
2302         'boolean.
2304 2015-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2306         Start using proportional fonts in eww by default
2307         * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
2308         it seems to work well.
2310         Fix links in tables in shr
2311         * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
2312         makes (some) links in tables not work.
2314 2015-05-01  Jan D  <jan.h.d@swipnet.se>
2316         (ns-get-cut-buffer-internal): Remove this alias.
2317         * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
2319 2015-04-30  Glenn Morris  <rgm@gnu.org>
2321         * lisp/emacs-lisp/ert.el (ert--special-operator-p):
2322         Update for 2015-02-08 change to indirect-function.
2324         * lisp/term/ns-win.el (ns-get-selection-internal):
2325         Remove declaration for function deleted 2014-10-21.
2327         * lisp/dom.el: Load subr-x when compiling, for when-let.
2329         Silence some compilation warnings
2330         * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
2331         * lisp/emulation/cua-base.el (delete-active-region):
2332         * lisp/net/net-utils.el (w32-get-console-output-codepage):
2333         * lisp/term/ns-win.el (ns-own-selection-internal)
2334         (ns-disown-selection-internal, ns-selection-owner-p)
2335         (ns-selection-exists-p, ns-get-selection):
2336         Declare for compiler..
2338         Function declaration updates prompted by 'make check-declare'
2339         * lisp/emacs-lisp/package.el (lm-homepage):
2340         * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
2341         * lisp/gnus/mm-decode.el (libxml-parse-html-region):
2342         * lisp/gnus/mml.el (libxml-parse-html-region):
2343         * lisp/gnus/nnrss.el (libxml-parse-html-region):
2344         * lisp/net/eww.el (libxml-parse-html-region):
2345         * lisp/net/shr.el (libxml-parse-html-region):
2346         * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
2347         * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
2348         * lisp/vc/vc-git.el (vc-annotate-convert-time):
2349         * lisp/vc/vc-hg.el (vc-annotate-convert-time):
2350         * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
2351         * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
2352         Update declaration.
2354         Remove compatibility code for 20-year old function renaming
2355         * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
2356         Make it an obsolete alias.
2357         (idlwave-shell-filter): Change all uses to comint-output-filter.
2359 2015-04-30  Tassilo Horn  <tsdh@gnu.org>
2361         Add ace-window face config
2362         * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
2363         configuration.
2365 2015-04-30  Paul Eggert  <eggert@cs.ucla.edu>
2367         Unclutter 'make doc' output a bit
2368         * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
2369         Use make subst rather than sh IFS to split target string apart.
2370         This makes 'make' output easier to follow.
2372         Merge from gnulib
2373         * doc/misc/texinfo.tex: Update from gnulib.
2375 2015-04-30  Artur Malabarba  <bruce.connor.am@gmail.com>
2377         * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
2378         (package-menu--print-info): Obsolete.
2379         (package-menu--print-info-simple): New function.
2380         (package-menu--refresh): Use it, simplify code, and improve
2381         performance.
2382         * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2383         Tiny performance improvement.
2385         * lisp/emacs-lisp/package.el (package--message): inhibit-message
2387 2015-04-29  Paul Eggert  <eggert@cs.ucla.edu>
2389         Omit -Wstrict-overflow workaround in GCC 5
2390         * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
2391         if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
2393         Merge from gnulib
2394         This incorporates:
2395         2015-04-29 extern-inline: no need for workaround in GCC 5.1
2396         2015-04-26 file-has-acl: port to CentOS 6
2397         * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
2399 2015-04-29  Helmut Eller  <eller.helmut@gmail.com>
2401         Set next-error-* in xref--xref-buffer-mode
2402         * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
2403         `next-error-last-buffer'.
2404         (xref--next-error-function): New function.
2405         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
2407 2015-04-29  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2409         python.el: Fix warnings on looking-back calls missing LIMIT
2410         * lisp/progmodes/python.el (python-shell-accept-process-output):
2411         Pass LIMIT arg to looking-back.
2413 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
2415         * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
2416         (package--download-and-read-archives): Use pushnew instead of
2417         append.  If something terrible happened during a previous
2418         download, simply refreshing should now make things work again.
2420 2015-04-29  Dmitry Gutov  <dgutov@yandex.ru>
2422         Introduce etags-xref-find-definitions-tag-order
2423         * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
2424         New variable.
2425         (etags--xref-find-definitions): Use it (bug#19468).
2427 2015-04-29  Eli Zaretskii  <eliz@gnu.org>
2429         PATH- and completion-related fixes in Eshell on MS-Windows
2430         * lisp/eshell/esh-ext.el (eshell-search-path): When running on
2431         MS-Windows, prepend "." to list of directories produced from PATH,
2432         as Windows always implicitly searches the current directory first.
2433         (eshell-force-execution): Make it have a non-nil default value on
2434         MS-Windows and MS-DOS.
2435         * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
2436         eshell-force-execution is non-nil, complete on readable files and
2437         directories, not only executables.  When running on MS-Windows,
2438         prepend "." to list of directories produced from PATH, as Windows
2439         always implicitly searches the current directory first.
2441 2015-04-29  Sam Steingold  <sds@gnu.org>
2443         bury RCIRC buffers when there is no activity
2444         lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
2445         (rcirc-bury-buffers): new function
2446         (rcirc-next-active-buffer): when there is no new activity, use
2447         `rcirc-bury-buffers' to hide all RCIRC buffers
2449 2015-04-29  Michael Albinus  <michael.albinus@gmx.de>
2451         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2453 2015-04-29  Krzysztof Jurewicz  <krzysztof.jurewicz@gmail.com>  (tiny change)
2455         Fix DBUS query result parsing for secrets-search-items
2456         * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
2457         parsing.  The function assumed that return value of the
2458         SearchItems method called on a collection is a list of two lists,
2459         however this is true only when no collection is specified.  GNOME
2460         had used to incorrectly return a list of two lists in both cases,
2461         but this was already fixed:
2462         https://bugzilla.gnome.org/show_bug.cgi?id=695115 .  Also fix an
2463         incorrect information in the secrets-search-items’ docstring.
2464         (Bug#20449)
2466 2015-04-29  Artur Malabarba  <bruce.connor.am@gmail.com>
2468         * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
2469         (byte-compile--message): Use `inhibit-message' instead of hiding
2470         the previous message with (message nil).
2472 2015-04-29  Oleh Krehel  <ohwoeowho@gmail.com>
2474         Remove the deprecated INTERNAL_FIELD macro by expanding it
2475         * src/lisp.h (INTERNAL_FIELD): Remove.
2476         (DEFVAR_KBOARD): Modify accordingly.
2477         * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
2478         * syntax.c: Adjust users.
2479         * src/buffer.c (compact_buffer): Use BVAR.
2481 2015-04-29  Glenn Morris  <rgm@gnu.org>
2483         Replace an obsolete function alias
2484         * lisp/isearch.el (isearch-yank-x-selection):
2485         * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
2486         (mouse-drag-secondary-moving):
2487         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2488         Replace obsolete alias x-get-selection with gui-get-selection.
2490 2015-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2492         * lisp/mail/rmailsum.el: Use lexical-binding.
2494 2015-04-29  Glenn Morris  <rgm@gnu.org>
2496         * test/automated/package-test.el (package-test-update-archives-async):
2497         Skip test on hydra.nixos.org.
2499 2015-04-28  Glenn Morris  <rgm@gnu.org>
2501         * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
2502         (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
2503         (foldout-mouse-hide-or-exit): Use new names for outline functions.
2505         * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
2506         Update for 2014-06-26 hideif.el change.
2508         * lisp/mail/rmailsum.el: Fix search for encoded subjects.  (Bug#19088)
2509         (rmail--decode-and-apply): New function.
2510         (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
2512         * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
2514 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
2516         * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
2517         (package-menu--refresh): Delegate obsolete-hiding to
2518         `package--remove-hidden'.
2519         (package--remove-hidden): Disregard high-priority package if it is
2520         older than the installed one.
2522 2015-04-28  Paul Eggert  <eggert@cs.ucla.edu>
2524         Update source file encoding list
2525         Update admin/notes/unicode, along with coding system cookies in
2526         other files, so that the two match each other better.
2527         * admin/notes/unicode: lisp/language/ethio-util.el and
2528         lisp/language/ethiopic.el also use utf-8-emacs.
2529         * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
2530         * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
2531         * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
2532         * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
2533         * etc/refcards/sk-survival.tex:
2534         Add "coding: utf-8" so that this file is not mishandled in a
2535         Latin-1 or Big-5 locale.
2536         * lisp/international/robin.el, lisp/org/ox-ascii.el:
2537         Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
2538         * lisp/language/ethio-util.el: Fix trailer.
2540 2015-04-28  Eli Zaretskii  <eliz@gnu.org>
2542         Fix synchronous invocation of Ispell
2543         * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
2544         value to ispell-process-directory before calling ispell-init-process.
2545         Don't call set-process-coding-system if ispell-async-processp is nil.
2546         (Bug#20448)
2548 2015-04-28  Artur Malabarba  <bruce.connor.am@gmail.com>
2550         * lisp/emacs-lisp/package.el: Skip space and comments in init file
2551         (package--ensure-init-file): Insert snippet at first
2552         non-whitespace non-comments line.  Respects local-vars at the top
2553         of the file.
2555 2015-04-28  Glenn Morris  <rgm@gnu.org>
2557         * lisp/mail/rmail.el (rmail-copy-headers):
2558         Handle rmail-nonignored-headers being nil.  (Bug#18878)
2560         * lisp/subr.el (delay-mode-hooks): Fix doc typo.
2562         * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
2563         Don't get confused by a bzrlib version mismatch warning.
2565 2015-04-27  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2567         Change default location of EUDC options file
2568         * NEWS: Document change to EUDC options file's default location.
2569         * lisp/net/eudc-vars.el (eudc-options-file): Use
2570         `locate-user-emacs-file' to change default options file location.
2572 2015-04-27  Glenn Morris  <rgm@gnu.org>
2574         * test/automated/package-test.el (package-test-update-archives-async):
2575         Try to handle the test server script dying.
2577 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2579         * lisp/saveplace.el (save-place-mode): New minor mode.
2580         (save-place): Redefine as an obsolete alias.
2582         * lisp/midnight.el: Make it a minor mode.  Allow predicates.
2583         * lisp/midnight.el: Use lexical-binding.
2584         (midnight-mode): Make it a proper minor mode.
2585         (midnight-buffer-display-time): Make arg non-optional.
2586         (midnight-find): Remove.
2587         (clean-buffer-list-kill-never-regexps)
2588         (clean-buffer-list-kill-regexps): Tweak type for new function choice.
2589         (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
2590         contain functions.
2591         (clean-buffer-list): Use cl-find.
2592         Allow clean-buffer-list-kill-never-regexps to contain functions.
2594 2015-04-27  Nicolas Petton  <nicolas@petton.fr>
2596         Bump version of seq.el to 1.5
2597         * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
2598           from seq-doseq.  Bump version number of seq.el.
2600 2015-04-27  Glenn Morris  <rgm@gnu.org>
2602         * lisp/mail/rmail.el (rmail-reply):
2603         Decode subject before matching "Re:" prefix.  (Bug#20396)
2605 2015-04-27  Artur Malabarba  <bruce.connor.am@gmail.com>
2607         * lisp/emacs-lisp/package.el: Small improvements
2608         (package--with-work-buffer-async): More informative error.
2609         (package-install-user-selected-packages): Rename to
2610         `package-install-selected-packages'.
2612 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2614         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
2615         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
2616         (eieio--class-make): Remove leftover `tag'.
2618 2015-04-27  Glenn Morris  <rgm@gnu.org>
2620         * lisp/gnus/message.el (gnus-extract-address-components):
2621         Remove bogus declaration that was masking previous problem.
2623 2015-04-27  Nicolas Graner  <nicolas.graner@u-psud.fr>  (tiny change)
2625         * lisp/gnus/message.el (message-insert-formatted-citation-line):
2626         Fix typo.  (Bug#20318)
2628 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2630         * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
2632         * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
2633         * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
2634         the buffer in yet another frame.
2635         (reftex-toc-visit-location): Make sure toc-window has focus at the end
2636         when `final' is nil.
2637         (reftex--rebuilding-toc): Defvar to avoid `boundp' and
2638         silence warnings.  Use `--' to clarify that it's internal.
2639         (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
2640         (reftex-toc-promote): Clarify unused argument.
2641         (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
2642         Add `reftex--' prefix.  Fix all users.
2643         (reftex-toc-promote-prepare): Use _ for dummy variable.
2644         (reftex-toc-restore-region): Rename `m
2646 2015-04-27  Eli Zaretskii  <eliz@gnu.org>
2648         Fix a typo in bibtex.el
2649         * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
2650         last change.  (Bug#20429)
2652         Fix redisplay of frame after loading new fonts
2653         * src/xdisp.c (redisplay_internal): When retrying redisplay of a
2654         frame because new fonts were loaded, disable all redisplay
2655         optimizations on that frame by calling SET_FRAME_GARBAGED.
2656         (Bug#20410)
2658 2015-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2660         * lisp/info.el (Info-menu): Properly provide the `default'
2661         (Bug#20391)
2663         * elisp-mode.el: Catch errors from `documentation'
2664         (Bug#20418)
2665         * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
2666         Catch errors from documentation.
2667         (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
2669 2015-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2671         lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
2672         Remove redundant ":group 'package".
2674 2015-04-26  Eli Zaretskii  <eliz@gnu.org>
2676         Fix a typo in rmail.el
2677         * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
2678         last commit.  (Bug#20429)
2680 2015-04-26  Dmitry Gutov  <dgutov@yandex.ru>
2682         Introduce xref-prompt-for-identifier
2683         * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
2684         (xref--read-identifier): Use it
2685         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
2687 2015-04-26  João Távora  <joaotavora@gmail.com>
2689         `tex-insert-quote' after single `'' opens quotes instead of closing
2690         Without this, it's very hard to precede double quotes with the
2691         apostrophe character, i.e. insert the sequence '``
2692         (quote-backquote-backquote), commonly useful in portuguese, for
2693         instance.
2694         * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
2695         chars making `tex-insert-quote' be in the "opening" context.
2697 2015-04-25  Dmitry Gutov  <dgutov@yandex.ru>
2699         Pass `id' to `completing-read' as def instead of initial input
2700         * xref.el (xref--read-identifier): Pass `id' to `completing-read'
2701         as the default value instead of initial input
2702         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
2704 2015-04-25  Paul Eggert  <eggert@cs.ucla.edu>
2706         Don't freeze with unreadable processes
2707         Don't freeze if an exiting process can't be read from. (Bug#19860).
2708         This fixes a bug I introduced in
2709         2014-07-08T07:24:07Z@eggert@cs.ucla.edu
2710         "* process.c: Add sanity checks for file descriptors."
2711         Dmitry Gutov did most of the legwork in finding the problem.
2712         * src/process.c (wait_reading_process_output):
2713         Treat non-running processes that can't be read from
2714         the same as other non-running processes.
2716 2015-04-25  Alan Mackenzie  <acm@muc.de>
2718         Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
2719         * lisp/subr.el (remove-yank-excluded-properties): put
2720         `with-silent-modifications' around only the last three lines of code.
2722 2015-04-25  Artur Malabarba  <bruce.connor.am@gmail.com>
2724         * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
2725         (package--all-keywords): Deleted variable.
2727         * etc/NEWS: Document package-hiding functionality
2729 2015-04-25  Eli Zaretskii  <eliz@gnu.org>
2731         lisp/window.el (recenter-last-op): Doc fix.  (Bug#20419)
2733         Clarify the doc string of 'replace-regexp-in-string'
2734         * lisp/subr.el (replace-regexp-in-string): Doc fix.  (Bug#20395)
2736         Improve doc string of 'insert-buffer-substring'
2737         * src/editfns.c (Finsert_buffer_substring): Doc fix.  (Bug#20421)
2739         MS-Windows followup for the recent gnulib update
2740         * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
2741         acl-internal.c.
2743 2015-04-24  Paul Eggert  <eggert@cs.ucla.edu>
2745         Spelling fixes
2747         Merge from gnulib
2748         This incorporates:
2749         2015-04-24 file-has-acl: new module, split from acl
2750         2015-04-24 manywarnings: add GCC 5.1 warnings
2751         2015-04-21 lstat: fix cross-compilation 'ln -s' problem
2752         2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
2753         2015-04-15 acl: On Linux, check for acls without libacl
2754         2015-04-14 tempname: avoid unused parameter warnings (trivial)
2755         * lib/acl-internal.c: New file, from gnulib.
2756         * lib/file-has-acl.c: Remove; no longer imported from gnulib.
2757         * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
2758         * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
2759         Update from gnulib.
2761         Port --enable-gcc-warnings to GCC 5.1 x86-64
2762         * lib-src/ebrowse.c (dump_sym):
2763         * lib-src/hexl.c (main):
2764         * src/ccl.c (ccl_driver):
2765         * src/character.c (string_escape_byte8):
2766         * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
2767         * src/gnutls.c (Fgnutls_boot):
2768         * src/gtkutil.c (xg_check_special_colors):
2769         * src/image.c (x_build_heuristic_mask):
2770         * src/print.c (safe_debug_print, print_object):
2771         * src/term.c (produce_glyphless_glyph):
2772         * src/xdisp.c (get_next_display_element)
2773         (produce_glyphless_glyph):
2774         * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
2775         Don't use a signed format to print an unsigned integer, or vice
2776         versa.  GCC 5.1's new -Wformat-signedness option warns about this.
2777         * src/image.c (png_load_body, jpeg_load_body):
2778         Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
2780 2015-04-24  Tassilo Horn  <tsdh@gnu.org>
2782         Add new faces to tsdh-light-theme
2783         * etc/themes/tsdh-light-theme.el (tsdh-light): New face
2784         definitions for Info-quoted, ace-jump-face-foreground,
2785         hl-paren-face, show-paren-match, and show-paren-mismatch.
2787 2015-04-24  Nicolas Petton  <nicolas@petton.fr>
2789         * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
2791 2015-04-24  Glenn Morris  <rgm@gnu.org>
2793         * build-aux/gitlog-to-emacslog:
2794         Use raw log format rather than wrapped one.
2796 2015-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2798         * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
2799         (seq-doseq): Fix out-of-scope binding.
2800         Don't call `seq-length at every iteration.
2801         Reduce `if's from 3 to 2 per iteration.
2802         (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
2804 2015-04-24  Glenn Morris  <rgm@gnu.org>
2806         * lisp/textmodes/text-mode.el (text-mode-hook):
2807         Move text-mode-hook-identify to default.
2809         * lisp/mouse.el (minor-mode-menu-from-indicator):
2810         Handle non-function members of minor-mode-map-alist.  (Bug#20201)
2812         * lisp/help-fns.el (describe-function): More type checking.
2813         (describe-function-1): Handle changed symbol-function.  (Bug#20201)
2815         * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
2816         (Bug#20325)
2818 2015-04-24  Andreas Schwab  <schwab@linux-m68k.org>
2820         shr: strip leading whitespace when expanding URLs
2821         * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
2823 2015-04-24  Eli Zaretskii  <eliz@gnu.org>
2825         Clarify "co-authored" some more
2827         * CONTRIBUTE: Clarify "co-authored-by".  (Bug#20400)
2829         Clarify doc strings of functions that search for properties
2830         * src/textprop.c (Fnext_char_property_change)
2831         (Fprevious_char_property_change)
2832         (Fnext_single_char_property_change)
2833         (Fprevious_single_char_property_change, Fnext_property_change)
2834         (Fnext_single_property_change, Fprevious_property_change)
2835         (Fprevious_single_property_change): Clarify doc strings wrt return
2836         value and the optional LIMIT argument.  (Bug#20411)
2838 2015-04-24  Glenn Morris  <rgm@gnu.org>
2840         * test/automated/message-mode-tests.el (message-mode-propertize):
2841         Handle non-writable HOME; eg on hydra.nixos.org.
2843 2015-04-23  Eli Zaretskii  <eliz@gnu.org>
2845         Avoid starting threads by w32-shell-execute
2846         * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
2847         local file names, before invoking ShellExecute.  (Bug#20220)
2849 2015-04-23  Martin Rudalics  <rudalics@gmx.at>
2851         Fix following doc-links in `widget-documentation-link-action'
2852         * lisp/wid-edit.el (widget-documentation-link-action): Make
2853         following doc-links less simplistic (Bug#20398).
2855 2015-04-22  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
2857         Improve EUDC manual
2858         * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
2860 2015-04-22  Paul Eggert  <eggert@cs.ucla.edu>
2862         Omit needless "\ " after multibyte then newline
2863         * src/print.c: Include <c-ctype.h>, for c_isxdigit.
2864         (print_object): When print-escape-multibyte is non-nil and a
2865         multibyte character is followed by a newline or formfeed, followed
2866         by a hex digit, don't output a needless "\ " before the hex digit.
2867         * test/automated/print-tests.el (print-hex-backslash): New test.
2869 2015-04-22  Oleh Krehel  <ohwoeowho@gmail.com>
2871         Add a new `inhibit-message' variable
2872         * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
2873         (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
2874         `inhibit_message' is non-zero.
2875         * etc/NEWS: Add an entry.
2876         * doc/lispref/display.texi: Add an entry for `inhibit-message',
2877           mention it in `message'.
2879 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
2881         Fix last fix in `display-buffer-record-window'.
2882         * lisp/window.el (display-buffer-record-window): Fix last fix.
2884 2015-04-22  Eli Zaretskii  <eliz@gnu.org>
2886         Minor edits in CONTRIBUTE
2887         * CONTRIBUTE: Rearrange instructions about log messages.
2888         Use "Git" capitalized all over.
2889         Use 2 spaces between sentences.
2891 2015-04-22  Artur Malabarba  <bruce.connor.am@gmail.com>
2893         * lisp/files.el (basic-save-buffer): Fix argument
2895         * lisp/cus-edit.el (custom-file): Consider init-file-had-error
2896         In case `(and (null custom-file) init-file-had-error)' do the same
2897         thing we'd do if `(null user-init-file)', which is to either error out
2898         or return nil.  This is in line with `custom-save-all' which would
2899         throw an error in that situation. (bug#20355)
2901         * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
2902         (package-menu-hide-low-priority): New variable, see its doc.
2903         (package-archive-priorities): Update doc.
2904         (package-desc-priority): New function.
2905         (package-desc-priority-version): Use it.
2906         (package--remove-hidden): New function.
2907         (package-menu--refresh): Use it.
2909         * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
2910         (package-menu--hide-obsolete): New variable.
2911         (package--remove-hidden): Use it.
2912         (package-menu-hide-obsolete): New interactive function to toggle
2913         the variable.
2914         (package--quick-help-keys): Document it.
2915         (package-menu-async): Add :version tag.
2916         (package-menu-mode-map): Bind package-menu-hide-obsolete.
2917         (package-desc-status): Indicate non-installed obsolete packages as
2918         avail-obso.
2919         (package-menu-mark-install): Allow installation of avail-obso.
2920         (package-menu--status-predicate): Sort avail-obso with available.
2922 2015-04-22  Alan Mackenzie  <acm@muc.de>
2924         On C-y, stop some text property entries being written into buffer-undo-list
2925         lisp/subr.el (remove-yank-excluded-properties): enclose the code in
2926         `with-silent-modifications'.
2928 2015-04-22  Martin Rudalics  <rudalics@gmx.at>
2930         In display-buffer-record-window record selected window if necessary.
2931         * lisp/window.el (display-buffer-record-window): Store selected window
2932         if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
2934 2015-04-22  Tassilo Horn  <tsdh@gnu.org>
2936         Fix reftex-citation bug
2937         * reftex-cite.el (reftex-extract-bib-entries): Fix
2938         `wrong-type-argument stringp nil' error that occurs when AUCTeX
2939         integration is enabled and there are no citations in the document
2940         so far.
2942 2015-04-21  Dmitry Gutov  <dgutov@yandex.ru>
2944         Add or reset based on the presence of MERGE_HEAD
2945         * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
2946         `vc-git-resolve-when-done' to `after-save-hook' in either case.
2947         (vc-git-conflicted-files): Add a TODO.
2948         (vc-git-resolve-when-done): Depending on the presence of
2949         MERGE_HEAD, either update the resolved file in the index, or
2950         remove it from there.  (Bug#20292)
2952 2015-04-21  Glenn Morris  <rgm@gnu.org>
2954         * lisp/custom.el (custom-declare-group): No need to purecopy
2955         custom-current-group-alist members following recent change to set
2956         it to nil before dumping.
2958         * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
2959         (Bug#20399)
2961 2015-04-21  Daniel Colascione  <dancol@dancol.org>
2963         Unbreak no-op buffer save message
2964         * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
2965         (basic-save-buffer): Accept called-interactively as an argument instead of
2966         directly invoking called-interactively-p, which will always yield nil
2967         in that context.
2969 2015-04-21  Alan Mackenzie  <acm@muc.de>
2971         CC Mode: Do nothing in before/after-change-functions for text property changes
2972         Fixes bug#20266.
2973         lisp/progmodes/cc-mode.el (c-basic-common-init): Make
2974         yank-handled-properties buffer local, and remove 'category from it.
2975         (c-called-from-text-property-change-p): New function.
2976         (c-before-change): Don't do anything if a call of the new function
2977         returns non-nil.
2978         (c-after-change): Don't do much if a call of the new function returns
2979         non-nil.
2980         (c-extend-after-change-region): Put changes to text property 'fontified
2981         inside c-save-buffer-state.
2983 2015-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2985         Fix byte-compiler warnings about looking-back.
2986         * lisp/vc/log-view.el (log-view-end-of-defun-1):
2987         * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
2988         * lisp/textmodes/reftex-ref.el (reftex-goto-label):
2989         * lisp/textmodes/bibtex.el (bibtex-insert-kill):
2990         * lisp/progmodes/sh-script.el (sh--maybe-here-document):
2991         * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
2992         * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
2993         * lisp/org/org.el (org-insert-heading, org-sort-entries):
2994         * lisp/org/org-mouse.el (org-mouse-end-headline)
2995         (org-mouse-context-menu):
2996         * lisp/org/org-clock.el (org-clock-cancel):
2997         * lisp/man.el (Man-default-man-entry):
2998         * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
2999         (rmail-ensure-blank-line):
3000         * lisp/mail/footnote.el (Footnote-delete-footnote):
3001         * lisp/mail/emacsbug.el (report-emacs-bug):
3002         * lisp/info.el (Info-follow-reference, Info-fontify-node):
3003         * lisp/info-look.el (info-lookup-guess-custom-symbol):
3004         * lisp/help-fns.el (help-fns--key-bindings):
3005         * lisp/files.el (hack-local-variables):
3006         * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
3007         (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
3008         (viper-complete-filename-or-exit):
3009         * lisp/emulation/viper-cmd.el (viper-backward-indent):
3010         * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3011         * lisp/emacs-lisp/elint.el (elint-get-top-forms):
3012         * lisp/cus-edit.el (custom-face-edit-value-create):
3013         * lisp/calendar/todo-mode.el (todo-set-item-priority)
3014         (todo-filter-items-1, todo-convert-legacy-files)
3015         (todo-prefix-overlays): Add explicit second arg to looking-back.
3017 2015-04-20  Glenn Morris  <rgm@gnu.org>
3019         Avoid non-nil current-load-list at startup
3020         * src/process.c (init_process_emacs): Move Fprovide statement...
3021         (syms_of_process): ... to here.
3023         * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
3025         * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
3027 2015-04-20  Ludovic Courtès  <ludo@gnu.org>
3029         * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
3030         (Bug#20330)
3032 2015-04-20  Glenn Morris  <rgm@gnu.org>
3034         * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
3036         Tweak exec-path in uninstalled case
3037         * src/callproc.c (init_callproc): If running uninstalled, do not
3038         include eventual installation libexec directory in exec-path.
3040 2015-04-20  Artur Malabarba  <bruce.connor.am@gmail.com>
3042         * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
3043         (package-menu-filter): Accept a list of keywords.
3044         (package--all-keywords): New variable to cache known keywords.
3045         (package-all-keywords): Populate it if necessary.
3046         (package-refresh-contents): Reset it.
3048         * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
3049         (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
3050         as special keywords which match agains package archive and status
3051         respectively.
3052         * etc/NEWS: Document it.
3054 2015-04-20  Eli Zaretskii  <eliz@gnu.org>
3056         Describe and index "empty overlays".
3057         * doc/lispref/display.texi (Overlays): Improve indexing.
3058         (Managing Overlays): Describe "empty" overlays.
3059         (Overlay Properties, Finding Overlays): Add cross-reference to
3060         where empty overlays are described.
3062 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3064         Spelling fixes
3066         Quote 'like this' in top-level files
3067         * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
3068         Prefer to single-quote 'like this' (instead of the older style
3069         `like this').
3070         * configure.ac: Fix some space-before-tab problems that 'git commit'
3071         complained about.
3073         Use bool for boolean in textprop.c, undo.c
3074         * src/textprop.c (soft, hard): Now constants instead of macros.
3075         (validate_plist): Rewrite to avoid need for boolean local.
3076         (interval_has_all_properties, interval_has_some_properties)
3077         (interval_has_some_properties_list, add_properties)
3078         (remove_properties, get_char_property_and_overlay)
3079         (Fnext_single_char_property_change)
3080         (Fprevious_single_char_property_change, add_text_properties_1)
3081         (Fremove_text_properties, Fremove_list_of_text_properties)
3082         (copy_text_properties):
3083         * src/tparam.c (tparam1):
3084         * src/undo.c (record_change, record_property_change)
3085         (syms_of_undo):
3086         Use 'true' and 'false' for booleans.
3088 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
3090         Call `smerge-start-session' even when dealing with a stash conflict
3091         * lisp/vc/vc-git.el (vc-git-find-file-hook):
3092         Call `smerge-start-session' even when dealing with a stash
3093         conflict (bug#20292).
3095 2015-04-19  Vibhav Pant  <vibhavp@gmail.com>
3097         Add option to eshell/clear to clear scrollback.
3098         * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
3099         (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
3100         scrollback contents are cleared.
3101         * etc/NEWS: Describe change.
3102         * doc/misc/eshell.texi: Add entry for `clear'.
3104 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3106         * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
3107         where either will do.
3109 2015-04-19  Steve Purcell  <steve@sanityinc.com>
3111         Assume package archive-contents are UTF8-encoded
3112         * lisp/emacs-lisp/package.el (package--read-archive-file):
3113         Set `coding-system-for-read' explicitly to 'utf-8 when reading the
3114         downloaded and cached archive-contents files, so that non-ASCII
3115         characters in package descriptions are displayed correctly in the
3116         `list-packages' menu. (Bug#20231)
3118 2015-04-19  Dmitry Gutov  <dgutov@yandex.ru>
3120         Abort when looking at stashed changes
3121         * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
3122         stashed changes (bug#20292).
3124 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3126         Refactor low-level printing for simplicity
3127         * src/print.c (PRINTDECLARE): Remove.  Move its contents into
3128         PRINTPREPARE; doable now that we assume C99.  All callers changed.
3129         (PRINTCHAR): Remove, as it adds more mystery than clarity.
3130         All callers changed.
3131         (strout): Assume that caller computes length.  All callers changed.
3132         (print_c_string): New function.
3133         (write_string, write_string_1): Compute length instead of asking
3134         the caller to compute it.  All callers changed.
3135         (write_string): Simplify by using write_string_1.
3136         (write_string_1): Simplify by using print_c_string.
3137         (Fterpri): Compute default val more clearly.
3138         (Fprin1_to_string, print_object):
3139         Assume C99 to avoid unnecessary nesting.
3140         (print_object): Prefer print_c_string to multiple printchar, or
3141         to calling strout with -1 length.  Coalesce into sprintf when
3142         this is easy.
3144 2015-04-18  Paul Eggert  <eggert@cs.ucla.edu>
3146         Prefer "Bug#1234" in commit messages (Bug#20325)
3147         * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
3148         as this isn't useful for Git.
3149         * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
3151 2015-04-18  Glenn Morris  <rgm@gnu.org>
3153         * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
3154         (Bug#19506)
3156 2015-04-18  Tom Willemse  <tom@ryuslash.org>  (tiny change)
3158         * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
3159         (Bug#19505)
3161 2015-04-18  Glenn Morris  <rgm@gnu.org>
3163         * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
3165         * doc/emacs/misc.texi (Sorting): Small edit.
3166         (Bug#19896)
3168         * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
3170 2015-04-18  Simen Heggestøyl  <simenheg@gmail.com>
3172         css-mode.el: Support multi-line comment filling
3173         (Bug#20256)
3174         * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
3175         comment filling.
3176         (css-adaptive-fill): New function.
3177         (css-mode): Set `adaptive-fill-function'.
3178         (scss-mode): Set `comment-continue'.
3180 2015-04-18  Nicolas Petton  <nicolas@petton.fr>
3182         * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
3184 2015-04-18  Ivan Radanov Ivanov  <ivanradanov@yahoo.co.uk>  (tiny change)
3186         Minor improvements in Bulgarian input methods
3187         * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
3188         Replace U+042C with U+045D, as the former character is not used in
3189         the modern Bulgarian language.
3190         (Bug#20350)
3192 2015-04-17  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
3194         Improve EUDC manual
3195         * eudc.texi (LDAP Configuration): Mention simple and SASL
3196         authentication schemes.  Add index items.  Shorten example server
3197         name.
3199 2015-04-17  Dmitry Gutov  <dgutov@yandex.ru>
3201         Don't show both feature and function with the same name
3202         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
3203         Don't show both feature and function with the same name.
3205         (elisp--xref-identifier-location): Skip variable, if it's also a functiong
3206         * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
3207         Avoid returning both the variable and the function for the same
3208         minor mode.
3210 2015-04-17  Wolfgang Jenkner  <wjenkner@inode.at>
3212         Fix fontification of keywords clobbered by the prompt.
3213         * lisp/comint.el (comint-output-filter): Remove the uses of
3214         with-silent-modifications I introduced as part of the last change.
3215         This fixes, e.g., erratically missing highlighting when running
3216         ./configure --help; ./configure in a shell-mode buffer with
3217         compilation-shell-minor-mode turned on.
3219 2015-04-17  Glenn Morris  <rgm@gnu.org>
3221         * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
3223 2015-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3225         * lisp/indent.el (indent-region): Don't deactivate the mark
3226         (Bug#20357)
3228 2015-04-17  Sam Steingold  <sds@gnu.org>
3230         lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
3232 2015-04-16  Leo Liu  <sdl.web@gmail.com>
3234         * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
3236 2015-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3238         * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
3240 2015-04-16  Glenn Morris  <rgm@gnu.org>
3242         * admin/authors.el (authors-lax-changelogs): Update for erc changes.
3244 2015-04-16  Eli Zaretskii  <eliz@gnu.org>
3246         Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
3247         * configure.ac (LIBJPEG): Leave it empty for MinGW.
3249 2015-04-16  Glenn Morris  <rgm@gnu.org>
3251         * lisp/replace.el (query-replace-from-to-separator): Delay initialization
3252         to avoid rogue setting after startup.
3254 2015-04-16  Paul Eggert  <eggert@cs.ucla.edu>
3256         Pre-4.6 GCC succeeds with unknown option
3257         * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
3258         (Bug#20338)
3260 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
3262         '[:graph:]' now excludes whitespace, not just ' '
3263         * doc/lispref/searching.texi (Char Classes):
3264         * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
3265         sans whitespace (not sans space).
3266         * src/character.c (graphicp): Exclude all Unicode whitespace chars,
3267         not just space.
3268         * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
3270 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         (looking-back): Make the second arg non-optional.
3273         * lisp/subr.el (substitute-key-definition-key, special-form-p)
3274         (macrop): Drop deprecated second arg to indirect-function.
3275         (looking-back): Make the second arg non-optional.
3277         * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
3278         command is actually sent to the shell.
3280 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
3282         Port jpeg configuration to Solaris 10 with Sun C
3283         * configure.ac: Check for jpeglib 6b by trying to link it, instead
3284         of relying on cpp magic that has problems in practice.  Check for
3285         both jpeglib.h and jerror.h features.  Remove special case for
3286         mingw32, which should no longer be needed (and if it were needed,
3287         should now be addressable by hotwiring emacs_cv_jpeglib).
3288         (Bug#20332)
3290 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3292         Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
3293         * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
3294         Move to elisp-mode.el.
3295         (lisp-mode-variables): (Re)move elisp-specific settings.
3296         * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
3297         from lisp-mode-variables.
3298         (elisp--font-lock-flush-elisp-buffers): New function, moved from
3299         lisp-mode.el.
3301         * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
3302         Avoid pathological slowdown at top-level in large file.
3304 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
3306         Standardize names of ChangeLog history files
3307         Suggested by Glenn Morris in:
3308         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
3309         * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
3310         * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
3311         * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
3312         * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
3313         * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
3314         * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
3315         Remove.
3317         Split top-level entries into pre- and post-April 7
3318         This more clearly distingiushes pre-April-7 ChangeLog entries (which
3319         are for top-level files only) from post-April-7 entries (which are
3320         about files at all levels.  Problem reported by Glenn Morris in:
3321         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
3322         * ChangeLog.1: Move post-April-7 entries from here ...
3323         * ChangeLog.2: ... to this new file.
3324         * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
3326 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3328         Fix recent cus-start changes that added customize-rogues
3329         * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
3330         vars early.
3331         * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
3333 2015-04-15  Nicolas Petton  <nicolas@petton.fr>
3335         Define cl-concatenate as an alias to seq-concatenate
3336         * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
3337           code by making cl-concatenate an alias to seq-concatenate.
3339 2015-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3341         * src/lread.c (intern_1): Make sure we'd find the symbol we add
3342         (Bug#20334)
3343         * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
3345 2015-04-15  Glenn Morris  <rgm@gnu.org>
3347         * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
3349 2015-04-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3351         Clean up gnus-uu saving code slightly
3352         * gnus-uu.el (gnus-uu-save-article): Make the
3353         save-restriction/widen calls make more sense.
3355 2015-04-15  Paul Eggert  <eggert@cs.ucla.edu>
3357         Make [:graph:] act like [:print:] sans space
3358         In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
3359         [:graph:] so that it matches everything that [:print:] does,
3360         except for space.
3361         * doc/lispref/searching.texi (Char Classes):
3362         * etc/NEWS:
3363         * lisp/emacs-lisp/rx.el (rx):
3364         Document [:graph:] to be [:print:] sans ' '.
3365         * src/character.c, src/character.h (graphicp): New function.
3366         * src/regex.c (ISGRAPH) [emacs]: Use it.
3367         (BIT_GRAPH): New macro.
3368         (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
3369         (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
3370         Return BIT_GRAPH for RECC_GRAPH.
3371         (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
3372         and ISPRINT if BIT_PRINT.
3374 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3376         automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
3377         Don't use call-next-method in a cl-defmethod.
3379         * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
3380         (eieio--class-p): Remove, provided by cl-defstruct.
3382 2015-04-14  Nicolas Petton  <nicolas@petton.fr>
3384         Add seq-intersection and seq-difference to the seq library
3385         * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
3386         functions.
3387         * test/automated/seq-tests.el: Add tests for seq-intersection and
3388         seq-difference.
3389         * doc/lispref/sequences.texi: Add documentation for seq-intersection
3390         and seq-difference.
3392 2015-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3394         * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
3396 2015-04-14  Sam Steingold  <sds@gnu.org>
3398         package--ensure-init-file: widen requires save-restriction
3400 2015-04-14  Eli Zaretskii  <eliz@gnu.org>
3402         Improve the commit-msg Git hook for unibyte environments
3403         * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
3404         in unibyte environments.  (Suggested by Paul Eggert
3405         <eggert@cs.ucla.edu>.)  Use a more accurate approximation to
3406         [:print:], based on UTF-8 sequences of the unprintable characters.
3408         Describe problems with cursor caused by Windows Magnifier
3409         * etc/PROBLEMS: Describe the problem with cursor shape on
3410         MS-Windows due to Windows Magnifier.
3411         (Bug#20271)
3413         Make [:print:] support non-ASCII characters correctly
3414         * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
3415         (BIT_PRINT): New bit mask.
3416         (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
3417         * src/character.c (printablep): New function.
3418         * src/character.h (printablep): Add prototype.
3419         * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
3420         of 'print', 'alnum', and 'alphabetic'.
3421         * doc/lispref/searching.texi (Char Classes): Document the new
3422         behavior of [:print:].
3423         * etc/NEWS: Mention the new behavior of [:print:].
3425         Assign correct general-category and names to surrogates
3426         * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
3427         surrogates.  This avoids assigning them the default
3428         general-category of 'Cn', i.e. unassigned codepoints.
3429         (unidata-get-name): Give surrogates synthetic names.
3431 2015-04-14  Paul Eggert  <eggert@cs.ucla.edu>
3433         Assume C89 offsetof in xterm.c, xlwmenu.c
3434         * lwlib/xlwmenu.c (offset):
3435         * src/xterm.c (cvt_string_to_pixel_args):
3436         Use offsetof, not XtOffset.
3438 2015-04-14  Paul Eggert  <eggert@Penguin.CS.UCLA.EDU>
3440         Assume C89 offsetof in widget.c
3441         * src/widget.c (XtOffset): Remove; no longer needed.
3442         (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
3444         Fix think-o in previous patch
3445         * src/window.c (count_windows, get_leaf_windows):
3446         Don't optimize count_windows incorrectly.
3448 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
3450         Avoid some int overflows in window.c
3451         * src/print.c (print_object):
3452         * src/window.c (sequence_number):
3453         * src/window.h (struct window.sequence_number):
3454         Don't assume window sequence number fits in int.
3455         * src/window.c (window_select_count):
3456         * src/window.h (struct window.use_time, window_select_count):
3457         Don't assume window use time fits in int.
3458         * src/window.c (Fsplit_window_internal):
3459         Don't assume user-supplied integer, or sum, fits in int.
3460         (Fset_window_configuration, count_windows, get_leaf_windows)
3461         (save_window_save, Fcurrent_window_configuration):
3462         Use ptrdiff_t for object counts.
3463         (Fset_window_configuration): Omit unused local 'n'.
3464         (count_windows): Simplify by writing in terms of get_leaf_windows.
3465         (get_leaf_windows): Don't store through FLAT if it's null.
3466         (extract_dimension): New static function.
3467         (set_window_margins, set_window_fringes, set_window_scroll_bars):
3468         Use it to avoid undefined behavior when converting user-supplied
3469         integer to 'int'.
3471 2015-04-13  Glenn Morris  <rgm@gnu.org>
3473         Minor doc copyedits
3474         * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
3475         * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
3477 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
3479         [Gnus] Catch the invalid-operation that idna.el will issue
3480         * lisp/gnus/gnus-art.el (gnus-use-idna):
3481         * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
3482         * lisp/gnus/message.el (message-use-idna):
3483         Catch the invalid-operation that idna.el will issue.
3485 2015-04-13  Paul Eggert  <eggert@cs.ucla.edu>
3487         * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
3489 2015-04-13  Sam Steingold  <sds@gnu.org>
3491         package--ensure-init-file: widen before looking for "(package-initialize)"
3493 2015-04-13  Dmitry Gutov  <dgutov@yandex.ru>
3495         Change diff-switches default to `-u'
3496         (Bug#20290)
3497         * doc/emacs/files.texi (Comparing Files): Document the new default
3498         value of `diff-switches'.
3499         * doc/emacs/trouble.texi (Sending Patches): Document the preference
3500         for unified diff format.  Escape the plus in the suggested `-F' regexp
3501         value.
3502         * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
3504 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3506         (gnus-group--setup-tool-bar-update): Fix last change
3507         * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
3508         cursor-sensor-functions should be a list of functions.
3510 2015-04-13  Katsumi Yamaoka  <yamaoka@jpl.org>
3512         Use gmm-called-interactively-p in Gnus
3513         * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
3515 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3517         * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
3518         (Bug#20321)
3519         * lisp/cus-start.el (read-buffer-function): Don't advertize
3520         iswitchb-read-buffer any more.
3521         (iswitchb): Don't tweak this obsolete group any more.
3523 2015-04-13  Artur Malabarba  <bruce.connor.am@gmail.com>
3525         * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
3527         * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
3528         Adding a string after a constructor's argument list will use
3529         that string as the constructor function docstring.  If this string
3530         is absent but the struct itself was given a docstring, use that as
3531         the constructor's docstring.
3532         Fixes (bug#17284).
3534 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3536         Deprecate `intangible' and `point-entered' properties
3537         * lisp/emacs-lisp/cursor-sensor.el: New file.
3538         * lisp/simple.el (pre-redisplay-functions): New hook.
3539         (redisplay--pre-redisplay-functions): New function.
3540         (pre-redisplay-function): Use it.
3541         (minibuffer-avoid-prompt): Mark obsolete.
3542         (redisplay--update-region-highlight): Adapt it to work as a function on
3543         pre-redisplay-functions.
3544         * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
3545         (minibuffer-prompt-properties): Use it.  Use cursor-intangible rather
3546         than point-entered to make the prompt intangible.
3547         * lisp/forms.el: Move `provide' calls to the end.
3548         (forms-mode): Don't use `run-hooks' on a local var.
3549         (forms--make-format, forms--make-format-elt-using-text-properties):
3550         Use cursor-intangible rather than `intangible'.
3551         (forms-mode): Enable cursor-intangible-mode.
3552         * lisp/isearch.el (isearch-mode): Use defvar-local.
3553         (cursor-sensor-inhibit): Declare.
3554         (isearch-mode): Set cursor-sensor-inhibit.
3555         (isearch-done): Set it back.
3556         (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
3557         (isearch-close-unnecessary-overlays): Don't bother with `intangible'
3558         any more.
3559         * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
3560         (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
3561         Add Edebug spec.
3562         (ses-goto-print, ses-print-cell, ses-adjust-print-width)
3563         (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
3564         inhibit-point-motion-hooks any more.
3565         (ses--cell-at-pos, ses--curcell): New functions, extracted from
3566         ses-set-curcell.
3567         (ses-set-curcell): Use them.
3568         (ses-print-cell, ses-setup): Use cursor-intangible instead of
3569         `intangible'.  Make sure cursor-intangible isn't sticky at BOB.
3570         (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
3571         Use ses--cell-at-pos.
3572         (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
3573         extracted from ses-command-hook.  Make them work with multiple windows
3574         displaying the same buffer.
3575         (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
3576         Enable cursor-intangible-mode.
3577         (ses-command-hook): Remove cell highlight and mode-line update code.
3578         (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
3579         Update for new name of text-property holding the cell name.
3580         (ses-rename-cell): Don't mess with mode-line-process.
3581         * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
3582         cursor-sensor-functions property instead of point-entered.
3583         (erc-insert-timestamp-right, erc-format-timestamp):
3584         Use cursor-intangible rather than `intangible'.
3585         (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
3586         remove-from-invisibility-spec.  Enable cursor-intangible-mode and
3587         cursor-sensor-mode if needed.
3588         (erc-echo-timestamp): Adapt to calling convention of
3589         cursor-sensor-functions.
3590         (erc-insert-timestamp-right): Remove unused vars `current-window' and
3591         `indent'.
3592         * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
3593         (gnus-update-group-mark-positions): Remove unused `topic' var.
3594         (gnus-group-insert-group-line): Remove unused var `header'.
3595         (gnus-group--setup-tool-bar-update): New function.
3596         (gnus-group-insert-group-line): Use it.
3597         (gnus-group-update-eval-form): Declare local
3598         dynamically-bound variables.
3599         (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
3600         * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
3601         (gnus-group-prepare-topics, gnus-topic-update-topic)
3602         (gnus-topic-change-level, gnus-topic-catchup-articles)
3603         (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
3604         Use inhibit-read-only.
3605         (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
3606         (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
3607         * lisp/textmodes/reftex-index.el (reftex-display-index):
3608         Use cursor-intangible-mode if available.
3609         (reftex-index-post-command-hook): Check cursor-intangible.
3610         * lisp/textmodes/reftex-toc.el (reftex-toc):
3611         Use cursor-intangible-mode if available.
3612         (reftex-toc-recenter, reftex-toc-post-command-hook):
3613         Check cursor-intangible.
3614         * lisp/textmodes/sgml-mode.el: Use lexical-binding.
3615         (sgml-tag): Use cursor-sensor-functions instead of point-entered.
3616         (sgml-tags-invisible): Use with-silent-modifications and
3617         inhibit-read-only.  Enable cursor-sensor-mode.
3618         (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
3619         calling convention of cursor-sensor-functions.
3620         * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
3621         (table-point-entered-cell-hook, table-point-left-cell-hook):
3622         Don't autoload.
3623         (table-cell-entered-state): Remove var.
3624         (table--put-cell-point-entered/left-property)
3625         (table--remove-cell-properties):
3626         Use cursor-sensor-functions rather than point-entered/left.
3627         (table--point-entered/left-cell-function): Merge
3628         table--point-entered-cell-function and table--point-left-cell-function
3629         and adjust to calling convention of cursor-sensor-functions.
3631         Update ldef-boots.el
3633         * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
3635         * doc/misc/eieio.texi: Don't advertize now obsolete constructs
3637         Collapse successive char deletions in the undo log
3638         * src/cmds.c (remove_excessive_undo_boundaries): New function,
3639         extracted from Fself_insert_command.
3640         (Fdelete_char, Fself_insert_command): Use it.
3641         * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
3642         * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
3644         xterm and OSC 52: Add NEWS entry, and tweak the code
3645         * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
3646         top-level.
3647         (terminal-init-xterm-activate-set-selection): Set a terminal property.
3648         (xterm--set-selection): Use it instead of checking the value of
3649         `terminal-initted'.  Don't use string-bytes.
3651 2015-04-13  Philipp Stephani  <p.stephani2@gmail.com>
3653         xterm.el: Implement OSC-52 functionality for setting the X selection
3654         * lisp/term/xterm.el (xterm-max-cut-length): New var.
3655         (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
3656         (terminal-init-xterm, xterm--version-handler): Use them.
3658 2015-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3660         Remove left over code from when we used an obsolete/loaddefs.el file
3661         * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
3662         we used an obsolete/loaddefs.el file.
3664         * cedet/semantic/fw.el: Use declare.
3665         * cedet/semantic/fw.el (semantic-exit-on-input)
3666         (semanticdb-without-unloaded-file-searches): Use declare.
3667         (semantic-fw-add-edebug-spec): Remove.
3669         (completion-lisp-mode-hook): Use completion-separator-chars
3670         * lisp/completion.el (completion-lisp-mode-hook):
3671         Use completion-separator-chars rather than local key binding.
3673         * src/*.c: Set deactivate_mark buffer-locally
3674         (Bug#20260)
3675         * src/insdel.c (prepare_to_modify_buffer_1):
3676         * src/fileio.c (Finsert_file_contents): Set deactivate_mark
3677         buffer-locally.
3679 2015-04-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3681         python.el: Keep symmetry on sexp navigation with parens
3682         (Bug#19954)
3683         * lisp/progmodes/python.el
3684         (python-nav--forward-sexp): Add argument skip-parens-p.
3685         (python-nav-forward-sexp, python-nav-backward-sexp)
3686         (python-nav-forward-sexp-safe)
3687         (python-nav-backward-sexp-safe): Use it.
3688         * test/automated/python-tests.el
3689         (python-nav-forward-sexp-1): Fix test.
3691 2015-04-12  João Távora  <joaotavora@gmail.com>
3693         Don't use `setq-local' in Gnus code
3694         This might break upstream builds with older Emacsen
3695         * lisp/gnus/message.el (message-mode): Use `set' and
3696         `make-local-variable' instead of `setq-local'.
3698 2015-04-12  Paul Eggert  <eggert@cs.ucla.edu>
3700         Update Makefile.in's .PHONY dependencies
3701         * Makefile.in (change-history-commit, master-branch-is-current)
3702         (no-ChangeLog): Now phony.
3704         Remove configure's --with-mmdf option
3705         * configure.ac (MAIL_USE_MMDF): Remove.
3706         * etc/NEWS: Document this.
3707         * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
3708         (Bug#20308)
3710         * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
3711         That way, 'make install' won't think it's a man page.
3712         Reported by Ashish SHUKLA in:
3713         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
3715         Improve 'make change-history' prereq tests
3716         * Makefile.in (gen_origin): Fix to match what's in the master branch.
3717         (no-ChangeLog, master-branch-is-current): New rules.
3718         (change-history): Depend on them, to avoid similar future problems.
3719         Escape the local-variables string to pacify Emacs when editing
3720         Makefile.in.
3722 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
3724         * test/automated/package-test.el (with-package-test): Kill Packages buffer
3726         * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
3727         (package-menu--prompt-transaction-p): Prompt for "Delete" first,
3728         "Upgrade" last, and use capitalized instead of all-caps.
3730         * lisp/emacs-lisp/package.el: Completely silence async operations
3731         (package--make-autoloads-and-stuff): Silence autoloads.
3732         (package--save-selected-packages): New function, silences
3733         `customize-save-variable'.
3734         (package--user-selected-p, package-install-from-buffer)
3735         (package-delete, package-install): Use it.
3736         (package-install-from-archive)
3737         (package-menu--perform-transaction): Silence.
3738         (package-menu-execute): Feedback when operation starts.
3740         Use delay-mode-hooks when visiting the init-file
3741         * lisp/emacs-lisp/package.el (package--ensure-init-file):
3742         delay-mode-hooks
3743         * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
3745         * lisp/files.el: Only message when saving if save-silently is nil
3746         (save-silently): New variable.
3747         (files--message): New function.
3748         (find-file-noselect, save-buffer, basic-save-buffer)
3749         (basic-save-buffer-2, save-some-buffers, not-modified)
3750         (append-to-file): Use them.
3752 2015-04-12  Johan Bockgård  <bojohan@gnu.org>
3754         Support debug declarations in pcase macros
3755         * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
3756         (pcase-UPAT): Use it.  Remove "`".
3757         (pcase--edebug-match-macro): New function.
3758         (pcase-defmacro): Support debug declarations.
3759         * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
3760         * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
3761         * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
3763         pcase.el: Edebug support for `app' and vector patterns
3764         * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
3765         (pcase-UPAT): Use it. Support `app' patterns.
3766         (pcase-QPAT): Support vector patterns.
3768         edebug.el: Disambiguate vector specifications
3769         * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
3770         `(vector ...)' as a vector specification, not as a sublist.
3772         (gnus-summary-refer-thread): Don't clobber unread articles
3773         This fixes a bug where `A T' causes "random" articles to become marked
3774         as read.
3775         * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
3776         gnus-newsgroup-unreads remains sorted.
3778         mouse-sel.el: Fix mouse-sel-get-selection-function
3779         * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3780         Use gui--last-selected-text-primary instead of no longer existing
3781         gui-last-selected-text.
3783         * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
3785         * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
3787 2015-04-12  Artur Malabarba  <bruce.connor.am@gmail.com>
3789         * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
3791         * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
3793         * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
3794         (byte-compile--interactive): New var.
3795         (byte-compile--message): New function.
3796         (byte-compile-log-1, byte-force-recompile)
3797         (byte-recompile-directory, byte-recompile-file)
3798         (byte-compile-file, compile-defun)
3799         (byte-compile-file-form-defmumble, byte-compile)
3800         (byte-compile-file-form-defalias, display-call-tree): Use it.
3802         * lisp/files.el: Don't message when nothing happened
3803         (save-some-buffers, basic-save-buffer): Before messaging to say
3804         "nothing was saved" check if (called-interactively-p 'any).
3806 2015-04-12  João Távora  <joaotavora@gmail.com>
3808         Summary: Improve sexp-based movement in message-mode
3809         Works by giving citations and smileys a different syntax.  This helps
3810         modes like `show-paren-mode', `electric-pair-mode', and C-M-*
3811         sexp-based movement.
3812         * lisp/gnus/message.el (message--syntax-propertize): New function.
3813         (message-mode): Set syntax-related vars.
3814         (message-smileys): New variable.
3815         * test/automated/message-mode-tests.el: New file
3817 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
3819         Use bool for boolean in window.c
3820         * src/window.c: Omit unnecessary static function decls.
3821         (adjust_window_count, select_window, Fselect_window)
3822         (window_body_width, Fwindow_body_height, Fwindow_body_width)
3823         (set_window_hscroll, check_window_containing, Fwindow_at)
3824         (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
3825         (unshow_buffer, replace_window, recombine_windows)
3826         (add_window_to_list, candidate_window_p, next_window)
3827         (Fnext_window, Fprevious_window, window_loop, check_all_windows)
3828         (Fget_buffer_window, Fdelete_other_windows_internal)
3829         (replace_buffer_in_windows_safely, set_window_buffer)
3830         (Fset_window_buffer, Fforce_window_update)
3831         (temp_output_buffer_show, make_parent_window)
3832         (window_resize_check, window_resize_apply, Fwindow_resize_apply)
3833         (resize_frame_windows, Fsplit_window_internal)
3834         (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
3835         (Fresize_mini_window_internal, mark_window_cursors_off)
3836         (window_scroll, window_scroll_pixel_based)
3837         (window_scroll_line_based, scroll_command, Fscroll_other_window)
3838         (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
3839         (Fmove_to_window_line, Fset_window_configuration)
3840         (delete_all_child_windows, apply_window_adjustment)
3841         (set_window_fringes, set_window_scroll_bars)
3842         (Fset_window_vscroll, foreach_window, foreach_window_1)
3843         (compare_window_configurations, Fcompare_window_configurations):
3844         Prefer 'bool', 'true', and 'false' for booleans.
3845         * src/window.h (WINDOW_MODE_LINE_LINES)
3846         (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
3848 2015-04-11  Artur Malabarba  <bruce.connor.am@gmail.com>
3850         Speed up byte-compilation and autoload generation by avoiding mode-hooks
3851         This prevents emacs-lisp-mode-hook from being run everytime an
3852         autoload file is generated, which can account for a fraction of
3853         package installation time depending on the hooks the user has
3854         configured.
3855         * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
3856         * lisp/emacs-lisp/autoload.el (autoload-find-file)
3857         (autoload-find-generated-file): Use delay-mode-hooks.
3859         * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
3860         (package-menu-refresh): Respect async and do new package checking.
3861         (list-packages): Use `package-menu-refresh' instead of repeating code.
3863         * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
3864         (package--quick-help-keys): New variable.
3865         (package--prettify-quick-help-key): New function.
3866         (package-menu-quick-help): Use it.
3868         * lisp/emacs-lisp/package.el: Fix initially wrong compat table
3869         (package--build-compatibility-table): require finder
3871         * test/automated/package-test.el: Fix new test
3873         * lisp/emacs-lisp/package.el: Silence async operations
3874         (package--silence): New variable.
3875         (package--message): New function.
3876         (package-import-keyring, package-refresh-contents)
3877         (package-compute-transaction, package-install, package-delete)
3878         (package-menu--perform-transaction, package-menu-execute): Use it.
3880         * test/automated/package-test.el: Test async functionality
3881         (package-test-update-archives-async): New test
3883 2015-04-11  Daiki Ueno  <ueno@gnu.org>
3885         Utilize `make-process' in epg.el
3886         * lisp/epg.el (epg-error-output): Abolish.
3887         (epg-context): New slot `error-buffer'.
3888         (epg--start): Use `make-process' and `make-pipe-process'.
3889         (epg--process-filter): Remove code separating stderr from stdout.
3890         (epg-wait-for-completion): Simplify `error-output' handling.
3891         (epg-reset): Dispose error buffer.
3893 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
3895         * .gitignore: Ignore doc temps and outputs.
3897         Port commit-msg to MSYS Bash+Gawk
3898         See Eli Zaretskii in:
3899         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
3900         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
3901         (cent_sign, print_at_sign, at_sign): Revert previous change.
3902         (print_at_sign): Prepend "BEGIN".
3903         (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
3905         Port commit-msg to broken MS-Windows shell
3906         * build-aux/git-hooks/commit-msg (cent_sign):
3907         Just use UTF-8 here rather than ASCII + printf, as the latter fails
3908         on a broken MS-Windows shell.  Reported by Eli Zaretskii in:
3909         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
3911 2015-04-11  Chris Zheng  <chriszheng99@gmail.com>  (tiny change)
3913         Support GnuTLS v3.4 and later on MS-Windows
3914         * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
3915         * lisp/term/w32-win.el (dynamic-library-alist): Determine which
3916         GnuTLS DLL to load according to value of libgnutls-version.
3917         (Bug#20294)
3919 2015-04-11  Paul Eggert  <eggert@cs.ucla.edu>
3921         Minor quoting etc. fixes to misc manuals
3922         Fix some minor quoting and spacing issues.  Distinguish more
3923         clearly among grave accent and apostrophe (which are ASCII) and
3924         single quote (which is not).  Prefer the standard terms
3925         "apostrophe" and "grave accent" to alternative names that can be
3926         confusing.  Use apostrophes to single-quote ASCII text.
3927         * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
3928         rather than approximating it in ASCII with grave accent.
3930 2015-04-11  Daiki Ueno  <ueno@gnu.org>
3932         Respect more keyword args in `make-process'
3933         * process.c (Fmake_process): Respect `:sentinel' and `:filter'
3934         keywords as documented.
3936 2015-04-10  Dmitry Gutov  <dgutov@yandex.ru>
3938         Extract ChangeLog entries when committing a directory
3939         * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
3940         * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
3941         Add a FIXME comment.
3942         (log-edit-changelog-entries): Extract from
3943         `log-edit-changelog-entries', handle FILE being a directory
3944         (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
3946 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
3948         Fix problems found by --enable-gcc-warnings
3949         * src/process.c (create_process, Fmake_pipe_process)
3950         (Fmake_network_process): Omit unused locals.
3952         Fix commit-msg to handle scissors lines
3953         * build-aux/git-hooks/commit-msg:
3954         Ignore every line after a scissors line, such as a line generated
3955         by 'git commit -v'.  Problem reported by Johan Bockgård in:
3956         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
3958         port commit-msg to Gawk 3.0.4 (1999)
3959         * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
3960         (print_at_sign, at_sign): New vars.  Use them to avoid problems
3961         Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS.  See:
3962         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
3964         Have commit-msg report commit failure
3965         * build-aux/git-hooks/commit-msg: If the commit is aborted,
3966         say so.  Simplify by doing this at the end.  Problem reported
3967         by Eli Zaretskii in:
3968         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
3970 2015-04-10  Thomas Fitzsimmons  <fitzsim@fitzsim.org>
3972         Clean up LDAP Configuration section of EUDC manual
3973         * doc/misc/eudc.texi: Combine indices.
3974         (LDAP Configuration): Use command markup.  Add index entries.
3975         Change formatting.  Wrap long lines.  Add noindent markup.
3977 2015-04-10  Daiki Ueno  <ueno@gnu.org>
3979         Add facility to collect stderr of async subprocess
3980         * src/w32.h (register_aux_fd): New function declaration.
3981         * src/w32.c (register_aux_fd): New function.
3982         * src/process.h (struct Lisp_Process): New member stderrproc.
3983         * src/process.c (PIPECONN_P): New macro.
3984         (PIPECONN1_P): New macro.
3985         (Fdelete_process, Fprocess_status, Fset_process_buffer)
3986         (Fset_process_filter, Fset_process_sentinel, Fstop_process)
3987         (Fcontinue_process): Handle pipe process specially.
3988         (create_process): Respect p->stderrproc.
3989         (Fmake_pipe_process): New function.
3990         (Fmake_process): Add new keyword argument :stderr.
3991         (wait_reading_process_output): Specially handle a pipe process when
3992         it gets an EOF.
3993         (syms_of_process): Register Qpipe and Smake_pipe_process.
3994         * doc/lispref/processes.texi (Asynchronous Processes): Document
3995         `make-pipe-process' and `:stderr' keyword of `make-process'.
3996         * lisp/subr.el (start-process): Suggest to use `make-process' handle
3997         standard error separately.
3998         * test/automated/process-tests.el (process-test-stderr-buffer)
3999         (process-test-stderr-filter): New tests.
4000         * etc/NEWS: Mention new process type `pipe' and its usage with the
4001         `:stderr' keyword of `make-process'.
4003 2015-04-10  Paul Eggert  <eggert@cs.ucla.edu>
4005         Minor quoting etc. fixes to lispref manual
4006         * doc/lispref/tips.texi (Documentation Tips):
4007         Distinguish more clearly among grave accent, apostrophe,
4008         and single quote.
4009         * doc/lispref/README, doc/lispref/buffers.texi:
4010         * doc/lispref/commands.texi, doc/lispref/control.texi:
4011         * doc/lispref/customize.texi, doc/lispref/display.texi:
4012         * doc/lispref/elisp.texi, doc/lispref/files.texi:
4013         * doc/lispref/frames.texi, doc/lispref/hash.texi:
4014         * doc/lispref/help.texi, doc/lispref/internals.texi:
4015         * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
4016         * doc/lispref/markers.texi, doc/lispref/modes.texi:
4017         * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
4018         * doc/lispref/os.texi, doc/lispref/positions.texi:
4019         * doc/lispref/strings.texi, doc/lispref/syntax.texi:
4020         * doc/lispref/text.texi, doc/lispref/tips.texi:
4021         * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
4022         Use American-style double quoting in ordinary text,
4023         and quote 'like this' when single-quoting in ASCII text.
4024         Also, fix some minor spacing issues.
4026 2015-04-10  Michael Albinus  <michael.albinus@gmx.de>
4028         Handle symlinked test directory in tramp-tests.el
4029         * test/automated/tramp-tests.el (tramp-test18-file-attributes)
4030         (tramp--test-check-files): Use `file-truename' for directories.
4032 2015-04-10  Eli Zaretskii  <eliz@gnu.org>
4034         Fix 'recenter' when visual-line-mode is turned on
4035         * src/window.c (Frecenter): Use the same code for GUI and TTY
4036         frames alike; use vmotion only for "initial" frames.  This is
4037         because vmotion doesn't support visual-line-mode.  Rewrite the
4038         'iarg >= 0' case to use move_it_* functions instead of using
4039         vmotion, for the same reason.  Fix the clipping of the argument
4040         value to support scroll-margin in all cases and avoid unwarranted
4041         recentering.  Reported by Milan Stanojević <milanst@gmail.com> in
4042         http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
4043         which see.
4045 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4047         * abbrev.el (define-abbrev-table): Refine last change.
4049         cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
4050         * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
4051         use of c[ad]+r", so as to keep the "cl-" prefix on all
4052         cl-lib definitions.
4054         * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
4056         * lisp/cedet/semantic: Remove some dead code
4057         * lisp/cedet/semantic/util-modes.el
4058         (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
4059         any more.
4060         * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
4061         not supported any more.
4062         (semantic-safe): Use `declare'.
4063         * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
4064         (semantic-tag-intangible-p): Remove unused functions.
4065         * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
4066         Remove unused function.
4068         * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
4069         (gnus-article-hide-text, gnus-article-unhide-text)
4070         (gnus-article-unhide-text-type): Remove special handling of
4071         `intangible' since that property is not used any more.
4072         (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
4074 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
4076         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
4078 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
4080         Use the VC root in `log-edit-listfun'
4081         * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
4082         `log-edit-listfun'.
4084 2015-04-09  Jay Belanger  <jay.p.belanger@gmail.com>
4086         Fix description of Unix time, mention new function.
4087         * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
4088         Unix time.
4089         * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
4090         (Basic Operations on Units): Mention `calc-convert-exact-units'.
4092 2015-04-09  Artur Malabarba  <bruce.connor.am@gmail.com>
4094         * lisp/emacs-lisp/package.el: Use mode-line-process for notification
4096 2015-04-09  Dmitry Gutov  <dgutov@yandex.ru>
4098         (log-edit-insert-changelog-entries): Don't add newline after the last entry
4099         * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
4100         Don't add newline after the last entry.
4102 2015-04-09  Simen Heggestøyl  <simenheg@gmail.com>
4104         css-mode.el: Add "not" pseudo-class
4105         (Bug#20267)
4106         * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
4107         list of CSS pseudo-classes.
4109 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4111         etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
4113 2015-04-09  Michael Albinus  <michael.albinus@gmx.de>
4115         Stop messing with the EMACS env var
4116         * misc.texi (Interactive Shell): Remove description of EMACS env var.
4118 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
4120         Adapt 'make change-history' to coding cookie
4121         * Makefile.in (change-history): Adjust to change of format of
4122         ChangeLog file, which now has a coding cookie before an indented
4123         copyright notice.
4125 2015-04-09  Paul Eggert  <eggert@cs.ucla.edu>
4127         Adapt 'make change-history' to coding cookie
4128         * Makefile.in (change-history): Adjust to change of format of
4129         ChangeLog file, which now has a coding cookie before an indented
4130         copyright notice.
4132         gitlog-to-changelog coding cookie and mv -i
4133         * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
4134         for copyright notice prototype, so that we get a proper "coding:"
4135         cookie.  Use 'mv -i' to avoid unconditionally overwriting an
4136         existing ChangeLog.  Problems reported by Eli Zaretskii in:
4137         http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
4139         Merge from gnulib
4140         * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
4141         2015-04-09 gitlog-to-changelog: port to MS-Windows
4143 2015-04-09  Boruch Baum  <boruch_baum@gmx.com>  (tiny change)
4145         * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
4146         (Bug#20212)
4148 2015-04-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4150         Stop messing with the EMACS env var
4151         (Bug#20202)
4152         * lisp/net/tramp-sh.el (tramp-remote-process-environment):
4153         * lisp/comint.el (comint-exec-1):
4154         * lisp/term.el (term-exec-1): Don't set EMACS envvar.
4155         * lisp/progmodes/compile.el (compilation-start): Same and bring
4156         INSIDE_EMACS's format in line with other users.
4158         css-mode.el (css-smie-rules): Fix indentation after complex selectors
4159         (Bug#20282)
4160         * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
4161         inner structure of selectors.
4163 2015-04-08  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4165         python.el: Indent docstring lines to base-indent
4166         (Bug#19595)
4167         Thanks to immerrr <immerrr@gmail.com> for reporting and providing
4168         an initial patch.
4169         * lisp/progmodes/python.el
4170         (python-indent-context): Add :inside-docstring context.
4171         (python-indent--calculate-indentation): Handle :inside-docstring.
4172         (python-indent-region): Re-indent docstrings.
4173         * test/automated/python-tests.el (python-indent-region-5)
4174         (python-indent-inside-string-2): Fix tests.
4176         python.el: Increase native completion robustness
4177         (Bug#19755)
4178         Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
4179         this and providing useful ideas.
4180         * lisp/progmodes/python.el
4181         (python-shell-completion-native-output-timeout): Increase value.
4182         (python-shell-completion-native-try-output-timeout): New var.
4183         (python-shell-completion-native-try): Use it.
4184         (python-shell-completion-native-setup): New readline setup avoids
4185         polluting current context, ensures output when no-completions are
4186         available and includes output end marker.
4187         (python-shell-completion-native-get-completions): Trigger with one
4188         tab only.  Call accept-process-output until output end is found or
4189         python-shell-completion-native-output-timeout is exceeded.
4191 2015-04-08  Samer Masterson  <samer@samertm.com>
4193         * lisp/eshell: Make backslash a no-op in front of normal chars
4194         (Bug#8531)
4195         * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
4196         (eshell-parse-backslash): Return escaped character after backslash
4197         if it is special.  Otherwise, if the backslash is not in a quoted
4198         string, ignore the backslash and return the character after; if
4199         the backslash is in a quoted string, return the backslash and the
4200         character after.
4201         * test/automated/eshell.el (eshell-test/escape-nonspecial)
4202         (eshell-test/escape-nonspecial-unicode)
4203         (eshell-test/escape-nonspecial-quoted)
4204         (eshell-test/escape-special-quoted): Add tests for new
4205         `eshell-parse-backslash' behavior.
4207 2015-04-08  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
4209         * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
4210         after the file name.
4211         (Bug#20276)
4213 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
4215         Minor quoting etc. fixes to Emacs manual
4216         * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
4217         * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
4218         * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
4219         * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
4220         * doc/emacs/indent.texi, doc/emacs/macos.texi:
4221         * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
4222         * doc/emacs/programs.texi, doc/emacs/rmail.texi:
4223         * doc/emacs/search.texi, doc/emacs/trouble.texi:
4224         * doc/emacs/vc1-xtra.texi:
4225         Use American-style double quoting in ordinary text,
4226         and quote 'like this' when single-quoting in ASCII text.
4227         Also, fix some minor spacing issues.
4229         Minor quoting etc. fixes to elisp intro
4230         * doc/lispintro/emacs-lisp-intro.texi: Consistently use
4231         American-style double quoting in ordinary text.  In ASCII text,
4232         consistently quote 'like this' instead of `like this', unless
4233         Emacs requires the latter.
4235 2015-04-08  Dmitry Gutov  <dgutov@yandex.ru>
4237         * CONTRIBUTE: Mention log-edit-insert-changelog.
4239         * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
4241 2015-04-08  Paul Eggert  <eggert@cs.ucla.edu>
4243         * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
4245 2015-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4247         (eieio-copy-parents-into-subclass): Fix inheritance of initargs
4248         (Bug#20270)
4249         * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
4250         Fix inheritance of initargs.
4252 2015-04-08  Artur Malabarba  <bruce.connor.am@gmail.com>
4254         * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
4255         while dowloading information.
4257         * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
4258         (package--ensure-init-file): Check file contents before visiting.
4259         (package-initialize): Call it.
4260         (package-install-from-buffer, package-install): Don't call it.
4262 2015-04-08  Eli Zaretskii  <eliz@gnu.org>
4264         * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
4265         (Bug#17517)
4267 2015-04-08  Michael Albinus  <michael.albinus@gmx.de>
4269         Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
4271         Fix nasty scoping bug in tramp-cache.el
4272         * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
4274 2015-04-08  Tassilo Horn  <tsdh@gnu.org>
4276         Add notice to visual commands section
4277         * doc/misc/eshell.texi (Input/Output): Add notice that some tools
4278         such as git call less with its -F option which omits pagination if
4279         the contents is less than one page long.  This interferes with
4280         eshell's visual (sub-)commands.
4282 2015-04-07  Dmitry Gutov  <dgutov@yandex.ru>
4284         ffap: Support environment variable expansion in file names
4285         (Bug#19839)
4286         * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
4287         environment variable expansion in file names.
4289 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4291         Prefer double-quote to accent-grave in man pages
4293 2015-04-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4295         (Bug#20257)
4296         * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
4298 2015-04-07  Ivan Shmakov  <ivan@siamics.net>
4300         Update etc/PROBLEMS.
4301         * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
4302         ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
4303         'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
4304         respectively); other minor updates and tweaks.  (Bug#20011)
4306 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4308         Add doc strings for some Isearch state vars
4309         * lisp/misearch.el (multi-isearch-buffer-list)
4310         (multi-isearch-file-list): Add doc strings.
4311         (Bug#20232)
4313 2015-04-07  Alan Mackenzie  <acm@muc.de>
4315         Always mark "<" and ">" in #include directives with text properties.
4316         * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
4317         matcher" with an invocation of c-make-font-lock-search-function to allow
4318         fontification when there's no trailing space on an "#include <..>" line.
4320 2015-04-07  Paul Eggert  <eggert@cs.ucla.edu>
4322         Generate a ChangeLog file from commit logs
4323         * .gitignore: Add 'ChangeLog'.
4324         * build-aux/gitlog-to-changelog: New file, from Gnulib.
4325         * build-aux/gitlog-to-emacslog: New file.
4326         * CONTRIBUTE: Document the revised workflow.
4327         * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
4328         instead of just special cases.
4329         (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
4330         (ChangeLog, unchanged-history-files, change-history)
4331         (change-history-commit): New rules.
4332         * admin/admin.el (make-manuals-dist--1):
4333         Don't worry about doc/ChangeLog.
4334         * admin/authors.el: Add a FIXME.
4335         * admin/make-tarball.txt:
4336         * lisp/calendar/icalendar.el:
4337         * lisp/gnus/deuglify.el:
4338         * lisp/obsolete/gulp.el:
4339         * lwlib/README:
4340         Adjust to renamed ChangeLog history files.
4341         * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
4342         * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
4343         Remove obsolete discussion of merging ChangeLog files.
4344         New section "Maintaining ChangeLog history".
4345         * build-aux/git-hooks/pre-commit:
4346         Reject attempts to commit files named 'ChangeLog'.
4347         * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
4348         * make-dist: Make and distribute top-level ChangeLog if there's a
4349         .git directory.  Distribute the new ChangeLog history files
4350         instead of scattered ChangeLog files.  Distribute the new files
4351         gitlog-to-changelog and gitlog-to-emacslog.
4352         (Bug#19113)
4354         Rename ChangeLogs for gitlog-to-changelog
4355         This patch was implemented via the following shell commands:
4356         find * -name ChangeLog |
4357         sed 's,.*,git mv & &.1,
4358         s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
4359         s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
4360         s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
4361         s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
4362         s, src/ChangeLog\.1$, src/ChangeLog.13,' |
4363         sh
4364         git commit -am"[this commit message]"
4366 See ChangeLog.1 for earlier changes.
4368 ;; Local Variables:
4369 ;; coding: utf-8
4370 ;; End:
4372   Copyright (C) 2015 Free Software Foundation, Inc.
4374   This file is part of GNU Emacs.
4376   GNU Emacs is free software: you can redistribute it and/or modify
4377   it under the terms of the GNU General Public License as published by
4378   the Free Software Foundation, either version 3 of the License, or
4379   (at your option) any later version.
4381   GNU Emacs is distributed in the hope that it will be useful,
4382   but WITHOUT ANY WARRANTY; without even the implied warranty of
4383   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4384   GNU General Public License for more details.
4386   You should have received a copy of the GNU General Public License
4387   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.