1 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
5 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
6 2015-06-05 stdio: Don't redefine gets when using C++
7 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
8 2015-06-02 file-has-acl: fix build on Mac OS X 10
9 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
10 2015-06-01 pthread_sigmask: discount system version if a simple macro
11 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
12 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
13 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
14 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
15 * lib/gnulib.mk: Regenerate.
17 2015-06-06 Juri Linkov <juri@linkov.net>
19 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
20 before calling grep-compute-defaults because now it affects the
21 command lines computed in grep-compute-defaults. (Bug#20728)
23 2015-06-06 Glenn Morris <rgm@gnu.org>
25 Address some compilation warnings.
26 * lisp/international/mule-cmds.el (w32-get-console-codepage)
27 (w32-get-console-output-codepage):
28 * lisp/progmodes/elisp-mode.el (xref-collect-references):
29 * lisp/version.el (cairo-version-string): Declare.
30 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
32 2015-06-06 Eli Zaretskii <eliz@gnu.org>
34 Fix display when a font claims large values of ascent and descent
36 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
37 coordinate of a hollow cursor glyph when the original glyph's
39 (get_font_ascent_descent, normal_char_ascent_descent)
40 (normal_char_height): New functions.
41 (handle_single_display_spec, append_space_for_newline)
42 (calc_pixel_width_or_height, produce_stretch_glyph)
43 (calc_line_height_property): Use normal_char_ascent_descent and
45 (x_produce_glyphs): When font-global values of ascent and descent
46 are too large, use per-character glyph metrics instead, if
47 possible. But don't allow the glyph row's ascent and descent
48 values become smaller than the values from the metrics of the
49 font's "normal" character.
50 * src/xftfont.c (xftfont_draw):
51 * src/w32font.c (w32font_draw): Correct the values of ascent and
52 descent used to draw glyphless characters' hex code in a box.
53 * src/xterm.c (x_draw_glyph_string_background):
54 * src/xdisp.c (x_produce_glyphs):
55 * src/w32term.c (x_draw_glyph_string_background):
56 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
57 to detect fonts whose global ascent and descent values are too
58 large to be used in layout decision, and redraw the background
60 * src/dispextern.h (FONT_TOO_HIGH): New macro.
61 (get_font_ascent_descent): Add prototype.
62 * src/xterm.c (x_new_font):
63 * src/w32term.c (x_new_font):
64 * src/nsterm.m (x_new_font):
65 * src/font.c (font_open_entity):
66 * src/composite.c (composition_gstring_width): Use
67 get_font_ascent_descent to obtain reasonable values for ascent and
70 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
72 Add assertion in adjust_point_for_property
73 * src/keyboard.c (adjust_point_for_property): Add eassert for
74 current buffer being shown in selected window.
76 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
78 Replace uses of in-string-p; make it obsolete
79 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
80 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
82 2015-06-06 Eli Zaretskii <eliz@gnu.org>
84 Fix Dired display of an explicit list of files by ls-lisp.el
85 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
86 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
87 correct for when displaying individual files separately, not as
88 part of listing a directory, in which case these values are not
89 recomputed by 'ls-lisp-insert-directory', but used verbatim.
91 * lisp/dired.el (dired): Doc fix. (Bug#20739)
93 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
95 Do not adjust point in a non-selected window
96 * src/keyboard.c (command_loop_1): Do not adjust point when
97 current buffer is not shown in selected window (Bug#20590).
99 * etc/DEBUG: Mention 'maybe_call_debugger'
101 2015-06-05 Nicolas Petton <nicolas@petton.fr>
103 Fix a unit test for map.el
104 * test/automated/map-tests.el (test-map-let): Fix the test to work
105 with the new syntax of `map-let'.
107 * lisp/emacs-lisp/map.el (map-let): Better docstring.
109 Better syntax for the map pcase pattern
110 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
111 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
113 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
115 Fix a byte-compiler error in map-put and map-delete
116 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
117 called with a symbol.
119 2015-06-05 Glenn Morris <rgm@gnu.org>
121 * admin/gitmerge.el (gitmerge-commit-message):
122 Revert to including "skipped" messages in ChangeLog once again.
124 2015-06-05 Tassilo Horn <tsdh@gnu.org>
126 Use string> instead of equiv lambda with string<
127 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
130 2015-06-05 Glenn Morris <rgm@gnu.org>
132 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
133 (map--delete-array): Fix typo.
135 * test/automated/map-tests.el: Replace "assert" with "should".
137 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
138 (SUBDIRS_REL): Derive from SUBDIRS.
140 Tweak some build messages.
141 * lisp/Makefile.in ($(lisp)/loaddefs.el):
142 * lisp/cus-dep.el (custom-make-dependencies):
143 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
144 * lisp/international/titdic-cnv.el (batch-titdic-convert):
145 Don't say how to compile.
147 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
149 Omit U+0332 COMBINING LOW LINE in previous change
150 It turns out that it does not work on Ubuntu 15.04.
152 Fix transliteration of Bahá'í months
153 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
154 Improve quality of Latin transliteration of Bahá'í month names.
156 Fix curved quotes in a few places
157 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
158 The strings in question are not doc strings, so this partially
159 undoes the recent change that assumed they were doc strings.
160 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
161 * lisp/info.el (Info-finder-find-node):
163 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
164 Also allow curved quotes in doc strings.
166 2015-06-04 Glenn Morris <rgm@gnu.org>
168 * lisp/Makefile.in (AM_V_at): Add missing definition.
170 * lisp/Makefile.in: Quieten output a bit.
171 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
172 Don't echo directories, since the commands we invoke print them.
174 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
175 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
176 (SUBDIRS_SUBDIRS): New variables.
177 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
179 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
180 (update-subdirs, compile-main, compile-clean):
181 Replace "setwins" usage with new "SUBDIRS" variables.
183 * lisp/vc/compare-w.el (compare-windows-get-window-function):
186 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
188 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
190 Undo removal of x_clear_area call on expose for GTK3 or cairo.
191 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
192 exposed area. (Bug#20677)
194 2015-06-04 Glenn Morris <rgm@gnu.org>
196 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
198 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
200 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
201 Rename from quail-lao-update-translation, since lao.el defines that.
203 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
205 Handle new-style advice in find-funct
206 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
207 Handle new-style advice. Return the symbol's function definition.
209 (find-function-library): Update accordingly.
211 2015-06-04 Nicolas Petton <nicolas@petton.fr>
215 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
217 Add new function string-greaterp
218 * lisp/subr.el (string-greaterp): New function. Also aliased to
220 * test/automated/subr-tests.el (string-comparison-test): Add unit
221 tests for `string>'and `string<'.
222 * src/fns.c (string-lessp): Better docstring.
224 2015-06-04 Eli Zaretskii <eliz@gnu.org>
226 Fix timezone-related functions on MS-Windows
227 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
228 'xputenv', even if no reallocation of tzvalbuf was necessary.
229 This fixes a bug in timezone-related functions on MS-Windows.
230 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
232 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
234 Don't pass raw directory name to 'error'
235 * lisp/files.el (basic-save-buffer-2): Avoid format error if
236 a directory name contains a string like "%s".
238 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
240 Override 'grep --color=always'
241 * lisp/progmodes/xref.el (xref-collect-matches):
242 Override --color=always in grep-find-template.
244 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
246 Fix error introduced recently in file-notify-tests.el
247 * test/automated/file-notify-tests.el
248 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
249 (file-notify--deftest-remote): Revert previous patch, not
252 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
254 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
255 Starting from a display string after a newline, point went to the
256 previous line. Also, fix an inadvertent use of a buffer position
257 with FETCH_BYTE. (Bug#20701)
259 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
261 Instrument file-notify-test.el in order to catch hydra error.
262 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
263 Wrap body by `ignore-case', in order to trap non-local errors.
265 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
267 Undo previous changes in non-toolkit scroll bar drawing.
268 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
269 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
271 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
273 * .gitignore: Also ignore doc/*/*/*.html and .ps.
275 Support quotes 'like this' in info files
276 This is possible when 'makeinfo --disable-encoding' is used
278 * lisp/calc/calc-help.el (calc-describe-thing):
279 * lisp/gnus/gnus-art.el (gnus-button-alist):
280 * lisp/info.el (Info-find-index-name):
281 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
282 Also support quotes 'like this'.
283 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
284 * lisp/finder.el (finder-font-lock-keywords): Remove var that
285 hasn't been used in years, instead of bothering to fix its quoting.
287 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
289 * .gitignore: Remove !test/etags/html-src/*.html.
290 It's no longer needed, since *.html was removed. Sort.
292 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
294 Restore <D> instead of '.' in grep-find-template
295 * lisp/cedet/semantic/symref/grep.el
296 (semantic-symref-grep-use-template): Update a comment.
297 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
298 instead of '.' in grep-find-template (bug#20719).
299 (rgrep): Pass nil as the directory to rgrep-default-command.
300 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
301 default value for DIR.
302 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
305 2015-06-02 Glenn Morris <rgm@gnu.org>
307 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
309 * configure.ac (emacs_config_features): Add Cairo.
311 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
313 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
315 Ensure, that autorevert works for remote files in file-notify-tests.el
316 * test/automated/file-notify-tests.el (file-notify--test-desc):
318 (file-notify--test-remote-enabled)
319 (file-notify-test00-availability, file-notify-test01-add-watch)
320 (file-notify-test02-events): Use it.
321 (file-notify--test-event-test): Check proper descriptor.
322 (file-notify-test03-autorevert): Ensure, that
323 `visited-file-modtime' has changed.
326 2015-06-02 Nicolas Petton <nicolas@petton.fr>
328 Add a pcase pattern for maps and `map-let' based on it
329 * lisp/emacs-lisp/map.el (map-let): New macro.
330 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
331 * test/automated/map-tests.el: New test for `map-let'.
333 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
335 Reuse rgrep mechanics in xref-find-regexp
336 * lisp/progmodes/grep.el (rgrep-default-command):
337 Extract from `rgrep'.
338 * lisp/progmodes/xref.el (xref-collect-references): Split from
339 `xref-collect-matches'. Only handle the case of symbol search.
340 (xref-collect-matches): Instead of Semantic Symref, use
341 `rgrep-default-command', to take advantage of its directory and
342 file ignore settings.
343 (xref--collect-match): Remove the last argument, leaving the
344 regexp construction up to the caller.
345 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
346 Change to take the xref-collect- function to use as an argument.
347 (elisp-xref-find): Update accordingly.
348 * lisp/progmodes/etags.el (etags--xref-find-matches)
349 (etags-xref-find): Same.
351 Move xref-elisp-location to elisp-mode.el
352 * lisp/progmodes/xref.el (xref-elisp-location)
353 (xref-make-elisp-location, xref-location-marker): Remove here.
354 (xref--xref): Don't limit the type of the location slot.
355 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
356 Define as a cl-struct here.
357 (xref-location-marker): Move here.
359 2015-06-02 Eli Zaretskii <eliz@gnu.org>
361 Minor tweaks for .gitignore
362 * .gitignore: Don't ignore versioned *.html and *.ps files. Don't
363 ignore admin/notes/tags that might be ignored as TAGS on
364 case-insensitive filesystems. (Bug#20710)
366 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
368 Generate curved quotes in ert doc
369 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
370 (ert-results-mode-menu)
371 (ert-results-pop-to-backtrace-for-test-at-point)
372 (ert-results-pop-to-messages-for-test-at-point)
373 (ert-results-pop-to-should-forms-for-test-at-point)
375 Quote ‘like this’, not `like this', when generating doc strings
377 * test/automated/ert-x-tests.el (ert-test-describe-test):
378 Allow quoting ‘like this’.
380 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
382 Add test for previous commit
383 * test/automated/replace-tests.el: New file.
384 (query-replace--split-string-tests): Add test for previous commit.
386 Avoid confusion in query-replace history when replacing NUL chars
387 * lisp/replace.el (query-replace--split-string): New function.
388 (query-replace-read-from): Rely on the 'separator' property
389 instead of searching for the NUL character (Bug#20690).
391 2015-06-02 Glenn Morris <rgm@gnu.org>
393 Merge from origin/emacs-24
394 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
396 * admin/gitmerge.el (gitmerge-commit-message):
397 Exclude "skipped" messages from ChangeLog.
399 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
401 Sync with Tramp repository
402 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
404 (tramp-handle-make-auto-save-file-name): When calling
405 `make-auto-save-file-name' internally, make sure it uses Unix-like
406 behavior, not Windows-like behavior.
407 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
408 the local case, because "chown" might fail on w32.
409 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
412 2015-06-01 Eli Zaretskii <eliz@gnu.org>
414 MS-Windows followup for batch stdout/stderr output changes
415 * lisp/international/mule-cmds.el (set-locale-environment): In
416 batch mode, use console codepages for keyboard and terminal
417 encoding. (Bug#20545)
419 Update .gitattributes for DOS EOL files
420 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
421 CRLF end-of-line format.
423 NS equivalents of xterm.c and w32term.c changes
424 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
425 glyph string background also when the font in use claims
426 preposterously large global height value. Helps to remove
427 artifacts left from previous displays when glyphless characters
428 are displayed as hex code in a box.
429 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
430 value for FRAME_LINE_HEIGHT, even when a font claims very large
431 value for its height.
433 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
435 Avoid grave accent quoting in stderr diagnostics
436 A few Emacs diagnostics go directly to stderr, and so can't easily
437 contain curved quotes (as non-UTF-8 locales might mishandle them).
438 Instead of bothering to add support for this rarity, reword the
439 diagnostics so that they don't use grave accent to quote.
440 * src/alloc.c (mark_memory): Fix comment.
441 * src/buffer.c (init_buffer):
442 * src/dispnew.c (init_display):
443 * src/emacs.c (main, sort_args):
444 * src/lread.c (dir_warning):
445 * src/term.c (init_tty):
446 * src/unexmacosx.c (unexec):
447 * src/xfns.c (select_visual):
448 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
449 Reword stderr diagnostics to avoid quoting `like this'.
450 * src/unexmacosx.c: Include errno.h.
451 * src/xfns.c (select_visual): Encode value for locale.
453 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
455 Treat batch stdout/stderr like standard display
456 Calls like (print FOO) could generate improperly encoded or
457 hard-to-read output if FOO contains characters outside the system
458 locale. Fix this by treating batch stdout and stderr like
459 interactive standard display, when it comes to transliterating and
460 encoding characters (Bug#20545).
461 * doc/emacs/mule.texi (Communication Coding):
462 * doc/lispref/display.texi (Active Display Table):
463 * doc/lispref/nonascii.texi (Locales):
465 * src/coding.c (syms_of_coding):
466 * src/dispnew.c (syms_of_display):
468 * src/print.c: Include disptab.h.
469 (printchar_to_stream): New function, with much of the guts of the
470 old Fexternal_debugging_output, except this one also uses the
471 standard display table.
472 (printchar, strout, Fexternal_debugging_output): Use it.
474 2015-05-31 Glenn Morris <rgm@gnu.org>
476 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
478 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
480 Remove unused DEFSYMs
481 Remove DEFSYMs that aren't used at the C level. Also:
482 * src/decompress.c (Qzlib_dll):
483 * src/font.c (Qunicode_sip):
484 * src/frame.c (Qtip_frame):
485 * src/ftfont.c (Qserif):
486 * src/gnutls.c (Qgnutls_dll):
487 * src/xml.c (Qlibxml2_dll):
489 * src/w32fns.c (syms_of_w32fns): ... to here,
490 as these are used only on MS-Windows.
492 2015-05-31 Eli Zaretskii <eliz@gnu.org>
494 Attempt to fix crashes due to accesses beyond glyph matrix end
495 * src/xdisp.c (x_produce_glyphs): When it->ascent and it->descent
496 are determined from per-character metrics, don't let the
497 max_ascent and max_descent become smaller than values returned by
498 normal_char_ascent_descent, to avoid unpleasant dynamic resizing
499 of screen line heights when text changes.
500 * src/xterm.c (x_new_font)
501 * src/w32term.c (x_new_font): Call get_font_ascent_descent to
502 obtain a reasonable value for FRAME_LINE_HEIGHT, even when a font
503 claims very large value for its height.
504 * src/font.c (font_open_entity): Call get_font_ascent_descent to
505 obtain a reasonable value for FRAME_SMALLEST_FONT_HEIGHT, even
506 when a font claims very large value for its height.
508 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
510 Use another default value for tramp-histfile-override
511 * lisp/net/tramp-sh.el (tramp-histfile-override):
512 Use ".tramp_history" as default.
513 Fixes: debbugs:#20446
515 2015-05-30 Eli Zaretskii <eliz@gnu.org>
517 Fix display of composite characters with large fonts
518 * src/xdisp.c (x_produce_glyphs): Call normal_char_ascent_descent
519 for reasonable values of font ascent and descent.
520 (get_font_ascent_descent): New function.
521 * src/composite.c (composition_gstring_width): Call
522 get_font_ascent_descent for reasonable values of font ascent and
524 * dispextern.h: Add prototype for get_font_ascent_descent.
526 Fix display of cursor at end of empty lines
527 * src/xdisp.c (normal_char_ascent_descent): Accept additional
528 argument: the character to use for metrics in case the font
529 declares too large ascent and descent values. Add 1 pixel to
530 ascent and descent values.
531 (normal_char_height): Accept additional argument: the character to
532 use for metrics in case the font declares too large height value.
533 Call normal_char_ascent_descent instead of doing calculations for
534 a different default character.
535 (estimate_mode_line_height, handle_single_display_spec)
536 (calc_pixel_width_or_height, produce_stretch_glyph)
537 (calc_line_height_property, produce_glyphless_glyph): All callers
539 (append_space_for_newline): Make sure the space glyph produced at
540 end of line has correct ascent and descent values, and the glyph
541 row has correct height, even when it's empty.
543 2015-05-29 Eli Zaretskii <eliz@gnu.org>
545 Fix 2 more calculations of line height
546 * src/xdisp.c (estimate_mode_line_height, handle_single_display_spec):
547 Use normal_char_height.
549 Fix line dimensions from line-height property
550 * src/xdisp.c (normal_char_ascent_descent): New function,
551 extracted from produce_glyphless_glyph.
552 (calc_line_height_property, produce_glyphless_glyph): Use it to
553 compute reasonable estimates of ascent and descent for large
556 Fix display of stretch glyphs with large fonts
557 * src/xdisp.c (normal_char_height): New function.
558 (calc_pixel_width_or_height, produce_stretch_glyph): Use it to
559 compute more reasonable estimation of a "normal character height"
560 when the font claims preposterously large height values.
562 2015-05-29 Nicolas Petton <nicolas@petton.fr>
564 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
566 2015-05-28 Eli Zaretskii <eliz@gnu.org>
568 Fix display of glyphless characters with problematic fonts
569 * src/w32term.c (x_draw_glyph_string_background): Force redraw of
570 glyph string background also when the font in use claims
571 preposterously large global height value. Helps to remove
572 artifacts left from previous displays when glyphless characters
573 are displayed as hex code in a box.
574 * src/xterm.c (x_draw_glyph_string_background): Force redraw of
575 glyph string background also when the font in use claims
576 preposterously large global height value. Helps to remove
577 artifacts left from previous displays when glyphless characters
578 are displayed as hex code in a box.
579 * src/w32font.c (w32font_draw): Fix background drawing for
580 glyphless characters that display as acronyms or hex codes in a
582 * src/xftfont.c (xftfont_draw): Fix background drawing for
583 glyphless characters that display as acronyms or hex codes in a
585 * src/xdisp.c (produce_glyphless_glyph): Compute reasonable values
586 for it->ascent and it->descent when the font claims preposterously
588 (FONT_TOO_HIGH): Move from here...
589 * src/dispextern.h (FONT_TOO_HIGH): ...to here.
591 2015-05-27 Eli Zaretskii <eliz@gnu.org>
593 Avoid very high screen lines with some fonts
594 * src/xdisp.c (get_phys_cursor_geometry): Adjust the height of the
595 cursor to avoid weird-looking hollow cursor with fonts that have
596 large ascent values for some glyphs. This avoids having the
597 hollow cursor start too low.
598 (append_space_for_newline): Adjust the ascent value of the newline
599 glyph, so that the hollow cursor at end of line displays
601 (FONT_TOO_HIGH): New macro.
602 (x_produce_glyphs): Use it to detect fonts that claim a
603 preposterously large height, in which case we use per-glyph ascent
604 and descent values. (Bug#20628)
606 2015-05-16 Nicolas Petton <nicolas@petton.fr>
608 * etc/NEWS: Add an entry about map.el
610 Improve the docstring of functions in map.el
611 Since a map is not a data structure but a concept, adding information
612 about the possible types of maps can be useful information.
613 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
614 each public function.
616 2015-04-29 Nicolas Petton <nicolas@petton.fr>
618 Faster implementation of map-empty-p
619 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
620 specific tests depending on the type of the map.
622 * lisp/emacs-lisp/map.el: Better docstrings.
624 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
626 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
628 2015-04-25 Nicolas Petton <nicolas@petton.fr>
630 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
632 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
634 Fix a false negative in `map-elt' with alists and values being nil
635 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
636 found but its associated value is nil, do not return the default
638 * test/automated/map-tests.el: Add a regression test.
640 2015-04-24 Nicolas Petton <nicolas@petton.fr>
642 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
644 Do not signal an error when trying to delete a key from an array
645 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
646 the key is present to avoid signaling an error.
647 * test/automated/map-tests.el: Add a test for deleting non-existing
650 * lisp/emacs-lisp/map.el: Better docstring.
652 Minor improvement in map-elt.
653 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
654 doing a lookup in arrays, but check the boundaries of the array
656 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
657 and a negative integer as key.
659 2015-04-21 Nicolas Petton <nicolas@petton.fr>
661 * test/automated/map-tests.el: Refactoring of test methods.
663 * test/automated/map-tests.el: Renamed from map-test.el.
665 2015-04-18 Nicolas Petton <nicolas@petton.fr>
667 * lisp/emacs-lisp/map.el (map-into): Better error message.
669 * lisp/emacs-lisp/map.el: Removes byte-compilation warnings.
671 Throw an error when converting a map into an unknown map type
672 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
673 * test/automated/map-test.el: Add a regression test.
675 New library map.el similar to seq.el but for mapping data structures.
676 * test/automated/map-test.el: New file.
677 * lisp/emacs-lisp/map.el: New file.
679 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
681 Make sure there's no explicit tag name
682 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
683 there's no explicit tag name (bug#20629).
685 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
688 * src/editfns.c, src/lisp.h (format2): Remove.
689 It is more trouble than it's worth, now that we have CALLN.
690 This is just a minor refactoring.
691 * src/buffer.c (Fkill_buffer):
692 * src/dbusbind.c (XD_OBJECT_TO_STRING):
693 * src/fileio.c (barf_or_query_if_file_exists):
694 Adjust to format2 going away.
696 Don't misencode C-generated messages
697 Also, be more consistent about calls to 'Fmessage' vs 'message'.
698 * src/alloc.c (Fgc_status):
699 Prefer AUTO_STRING to build_string for Fmessage call.
700 * src/data.c (Fmake_variable_buffer_local)
701 (Fmake_local_variable, Fmake_variable_frame_local):
702 * src/doc.c (store_function_docstring):
703 Use Fmessage, not message, since the argument can contain
704 non-ASCII characters, and this can cause the resulting message
705 to be incorrectly encoded for the current environment.
706 * src/fns.c (maybe_resize_hash_table):
707 * src/xselect.c (x_clipboard_manager_save_all):
708 Use message, not Fmessage, since Fmessage's power isn't needed here.
709 * src/process.c (Fmake_network_process): Reword message to avoid %s.
710 * src/xdisp.c (vmessage): Document restrictions on message contents.
711 (message_nolog) [false]: Remove unused code.
713 Use \r rather than ^M in string literals
714 This is less likely to cause problems on platforms that
715 use CRLF (or CR!) termination for lines.
717 Update .gitattributes to match current sources
718 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
719 * .gitattributes: Accommodate tests that insist on DOS format.
720 Remove test/automated/data/decompress/foo-gzipped.
721 Add etc/e/eterm-color.
723 2015-05-30 Eli Zaretskii <eliz@gnu.org>
725 Document 'face-ignored-fonts'
726 * doc/emacs/mule.texi (Modifying Fontsets): Document
727 face-ignored-fonts. (Bug#20628)
729 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
731 Add etags test for the new -Q option
732 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
733 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
734 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
735 test-case changes below.
736 * test/etags/ETAGS.good_6: New file.
737 * test/etags/cp-src/x.cc: New file.
738 * test/etags/Makefile (CPSRC): Add x.cc.
739 (check): Add one more test, for -Q.
741 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
743 Use list for the tags completion table, not obarray
744 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
745 list instead of an obarray
746 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
747 (tags-completion-table): Combine those lists.
748 (tags-completion-table): Update the docstring.
750 2015-05-30 Eli Zaretskii <eliz@gnu.org>
752 Restore EOL format testing in etags
753 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
754 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
755 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
756 test-case changes below.
757 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
758 * test/etags/cp-src/c.C (B): Add back stray CR character.
759 * test/etags/c-src/dostorture.c: Add back.
760 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
762 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
764 Declare Emacs on MS-Windows to be DPI-aware
765 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
766 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
767 This avoids Windows entering compatibility mode for Emacs,
768 which causes fonts to look less nice.
770 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
772 Improve Tramp traces.
773 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
774 * lisp/net/tramp.el (tramp-debug-message): Use it.
776 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
778 backup-buffer minor reworking of internals
779 * lisp/files.el (backup-buffer): Rework to avoid a couple of
780 unused locals inadvertently introduced in the previous change.
782 backup-buffer now reports .emacs.d/%backup% ills
783 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
784 fails due to disk space exhaustion or whatever, do not pretend
785 that it succeeded. More generally, do a better job of checking
786 for I/O failures, and limit the scope of the condition-case to
787 just the operations where file errors should be caught and ignored
788 (Bug#20595). Also, don't bother trying to delete later backups if
789 an earlier deletion fails, as this is a sign of trouble and it's
790 better to stop when there's trouble.
792 copy-file now truncates output after writing
793 * src/fileio.c (Fcopy_file): Truncate output after writing rather
794 than before. This is more likely to work than truncation before
795 writing, if the file system is out of space or the user is over
796 disk quota (Bug#20595). Also, check for read errors.
798 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
800 * lisp/emacs-lisp/package.el: Don't load from parent dir
801 (package-load-all-descriptors): Don't load descriptors from
802 directories above the package directories.
804 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
807 This incorporates the following (Bug#20681):
808 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
809 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
810 * lib/set-permissions.c: Copy from gnulib.
812 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
814 Improve Tramp traces.
815 * lisp/net/tramp.el (tramp-call-process-region): New defun.
816 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
818 2015-05-29 Glenn Morris <rgm@gnu.org>
820 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
822 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
824 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
825 The signature was changed in the cairo branch, merged on 2015-05-23.
826 This oversight broke compiling only the non-toolkit X version.
828 2015-05-29 Samer Masterson <samer@samertm.com>
830 * doc/lispref/os.texi: Update initial-buffer-choice docs.
832 2015-05-29 Glenn Morris <rgm@gnu.org>
834 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
835 Mark as an expected failure.
837 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
839 Change package test to look for curved quotes
840 * test/automated/package-test.el (package-test-describe-package)
841 (package-test-signed): Search for curved single quotes as well as
842 for grave accent and apostrophe.
844 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
846 gnus-art.el: Re-revert last change
847 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
848 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
850 2015-05-28 Samer Masterson <samer@samertm.com>
852 Show files when `initial-buffer-choice' is non-nil
853 * startup.el (command-line-1): When Emacs is given a file as an
854 argument and `initial-buffer-choice' is non-nil, display both the file
855 and `initial-buffer-choice'. For more than one file, show
856 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
857 commands out of the command line arg parser.
858 (initial-buffer-choice): Clarify docstring.
860 2015-05-28 Eli Zaretskii <eliz@gnu.org>
863 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
864 (gnulib module qcopy-acl): Add back, as it is harmless. This
865 minimizes differences wrt lib/gnulib.mk.
867 Fix the MS-Windows build as followup to gnulib update
868 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
869 set-permissions.c, as they don't compile on MinGW.
870 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
872 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
874 Revert my change to gnus-art.el
875 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
876 It wasn't that important, and it caused a Gnus build to fail. See:
877 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
879 New minor mode Electric Quote
880 This lets you easily insert quotes ‘like this’ by typing
881 quotes `like this', and similarly you can easily insert
882 quotes “like this” by typing quotes ``like this'' (Bug#20545).
883 * doc/emacs/basic.texi (Inserting Text):
884 * doc/emacs/modes.texi (Minor Modes):
885 * etc/NEWS: Document it.
886 * doc/emacs/text.texi (Quotation Marks): New section.
887 * lisp/electric.el (electric-quote-comment)
888 (electric-quote-string, electric-quote-paragraph):
890 (electric--insertable-p)
891 (electric-quote-post-self-insert-function): New functions.
892 (electric-quote-mode, electric-quote-local-mode): New minor modes.
893 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
894 Add curved single quotes to electric-pair-text-pairs.
895 Set electric-quote-string in this buffer.
897 A few more doc string fixes (Bug#20385)
899 Accept curved quotes in doc strings
900 * lisp/info-look.el (info-lookup-guess-custom-symbol):
901 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
903 Generate curved quotes in pseudo-info nodes
904 * lisp/info.el (Info-virtual-index-find-node)
905 (Info-virtual-index, Info-apropos-find-node, info-apropos):
906 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
908 Fix minor quoting problems in doc strings
909 Most of these fixes involve escaping grave accents that are
910 actually intended to be grave accents, not left quotes.
913 Support curved quotes in doc strings
914 Emacs's traditional doc string style has been to quote symbols
915 `like this'. This worked well on now-obsolete terminals where
916 ` and ' were symmetric quotes, but nowadays curved quotes
917 ‘like this’ look better. Support quoting the new way too.
919 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
920 ‘like-this’ as well as `like-this'.
921 * etc/NEWS: Mention this.
922 * lisp/cedet/mode-local.el (overload-docstring-extension)
923 (mode-local-print-binding, mode-local-describe-bindings-2):
924 * lisp/cus-theme.el (describe-theme-1):
925 * lisp/descr-text.el (describe-text-properties-1, describe-char):
926 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
927 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
928 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
929 (eieio-help-constructor):
930 * lisp/emacs-lisp/package.el (describe-package-1):
931 * lisp/faces.el (describe-face):
932 * lisp/help-fns.el (help-fns--key-bindings)
933 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
934 (help-fns--interactive-only, describe-function-1):
936 * lisp/help.el (describe-mode):
937 * lisp/international/mule-cmds.el (describe-input-method)
938 (describe-language-environment):
939 * lisp/international/mule-diag.el (describe-character-set)
940 (print-coding-system-briefly, list-input-methods)
941 (list-input-methods-1):
942 Insert curved quotes rather than grave accent and apostrophe.
943 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
944 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
945 (checkdoc-proper-noun-region-engine):
946 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
947 (lisp-cl-font-lock-keywords-2):
948 * lisp/finder.el (finder-font-lock-keywords):
949 * lisp/gnus/gnus-art.el (gnus-button-alist):
950 * lisp/help-fns.el (help-do-arg-highlight)
951 (describe-function-1, describe-variable):
952 * lisp/help-mode.el (help-xref-symbol-regexp)
953 (help-xref-info-regexp, help-xref-url-regexp):
954 * lisp/help.el (describe-mode):
955 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
956 * lisp/wid-edit.el (widget-documentation-link-regexp):
957 Parse symbols quoted ‘like-this’ as well as `like-this'.
958 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
959 Add "‘" and "’" to electric-pair-text-pairs.
960 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
961 (elisp-completion-at-point, elisp--preceding-sexp):
962 Also treat "‘" and "’" as quoting chars.
964 substitute-command-keys now curves quotes
965 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
966 * doc/lispref/help.texi (Keys in Documentation):
967 * etc/NEWS: Document this.
968 * src/doc.c (Fsubstitute_command_keys): Implement it.
970 2015-05-28 Glenn Morris <rgm@gnu.org>
972 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
973 (rmail-summary-by-topic, rmail-summary-by-senders):
974 No longer strip leading/trailing whitespace.
976 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
977 (f90-no-block-limit): Add "enum". (Bug#20680)
978 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
981 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
983 * lisp/isearch.el (isearch--current-buffer): Give a default value.
985 Un-revert changes mistakenly dropped by f9fabb2b
987 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
991 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
992 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
993 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
994 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
995 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
996 2015-05-26 stdio: fix probe on mingw under gcc 5.1
997 * admin/merge-gnulib (GNULIB_MODULES):
998 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
999 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
1000 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
1001 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
1002 Get latest versions from gnulib.
1003 * lib/get-permissions.c, lib/set-permissions.c: New files.
1004 * lib/gnulib.mk, m4/gnulib-comp.m4:
1006 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
1008 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
1010 Delete the old process in vc-setup-buffer
1011 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
1013 (vc-do-command): Rather than here (bug#20608).
1015 2015-05-27 Ivan Shmakov <ivan@siamics.net>
1017 Avoid gratuitous delete-dups in face-at-point.
1018 * lisp/faces.el (face-at-point): Do not compute the properly
1019 ordered, duplicate-free list if only a single value is
1020 requested anyway. (Bug#20519)
1022 Show the exact C-x 8 RET invocation in describe-char.
1023 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
1024 invocation instead of a template. (Bug#20522)
1026 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
1028 * lisp/emacs-lisp/package.el: Don't erase tags on refresh
1029 (package-menu--post-refresh): Call `tabulated-list-print' with the
1030 UPDATE argument. This only affects the refresh action, the revert
1031 action still erases tags.
1032 (package-menu-get-status): Change `assq' to `assoc'.
1033 (package-menu--mark-upgrades-1): New function.
1034 (package-menu--mark-upgrades-pending): New variable.
1035 (package-menu-mark-upgrades): Use them to delay marking until
1036 after refresh is done.
1037 (package-menu--post-refresh): Call mark-upgrades-1 if
1038 mark-upgrades-pending is non-nil.
1040 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
1042 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1046 Fix typo in commit 3953c4be2816537be95520605d45b866dc731f4b
1048 2015-05-27 Eli Zaretskii <eliz@gnu.org>
1050 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
1052 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1054 * lisp/isearch.el (isearch--current-buffer): New var
1055 (isearch-update): Set cursor-sensor-inhibit here.
1056 (isearch-done): Unset cursor-sensor-inhibit in the right buffer (bug#20532).
1058 Change inhibit-point-motion-hooks to t
1059 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
1060 to t and document it as obsolete.
1062 2015-05-27 Eli Zaretskii <eliz@gnu.org>
1064 Support ZIP files that use Zip64 extensions
1065 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
1066 format of central directory offsets used by Zip64 extensions.
1069 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
1071 New test tramp-test30-make-auto-save-file-name
1072 * tramp-tests.el (tramp-test30-make-auto-save-file-name): New test.
1073 (tramp-test31-special-characters)
1074 (tramp-test31-special-characters-with-stat)
1075 (tramp-test31-special-characters-with-perl)
1076 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
1077 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
1078 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
1079 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
1081 Improve tramp-handle-make-auto-save-file-name
1082 * tramp.el (tramp-auto-save-directory): Add :tags.
1083 (tramp-handle-make-auto-save-file-name): Let native
1084 `make-auto-save-file-name' use `auto-save-file-name-transforms',
1085 if `tramp-auto-save-directory' is not set.
1087 2015-05-27 Glenn Morris <rgm@gnu.org>
1089 No longer set dired-directory in eshell. (Bug#16477)
1090 * lisp/eshell/esh-mode.el (eshell-mode):
1091 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
1093 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
1095 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
1096 * lisp/progmodes/cc-mode.el (c-mode-help-address):
1097 Change to submit@debbugs.
1098 (c-mode-bug-package): New constant.
1099 (mail-position-on-field): Declare.
1100 (c-submit-bug-report): Insert X-Debbugs-Package header.
1101 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
1102 Mention debbugs.gnu.org.
1104 2015-05-26 Glenn Morris <rgm@gnu.org>
1106 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
1107 (rmail-summary-by-recipients, rmail-summary-by-topic)
1108 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
1109 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
1111 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
1113 Handle curved quotes in info files
1114 * lisp/calc/calc-help.el (calc-describe-thing):
1115 * lisp/info.el (Info-find-index-name)
1116 (Info-try-follow-nearest-node, Info-fontify-node):
1117 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
1118 In info files, process quotes ‘like this’ the same way we process
1119 quotes `like this'. This catches a few places we missed earlier.
1121 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
1123 xref-prompt-for-identifier: Use a list value
1124 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
1125 value, to be interpreted as a list of commands.
1126 (xref--prompt-p): New function.
1127 (xref--read-identifier): Use it.
1129 2015-05-26 Eli Zaretskii <eliz@gnu.org>
1131 Teach MS-Windows font back-end return per-glyph ascent/descent
1132 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
1134 * src/w32font.c (w32font_text_extents): Compute, cache, and
1135 accumulate per-glyph ascent and descent values, instead of copying
1136 global values from the font. If the values are not available from
1137 the font data, i.e., non-TTF fonts, fall back on font-global values.
1138 (compute_metrics): Compute and return per-glyph ascent and descent
1139 values, if returned by GetGlyphOutlineW, falling back on
1140 font-global values. (Bug#20628)
1141 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
1142 height of rectangle to be drawn, to be compatible with
1143 XDrawRectangle. Fixes glyphless-char display as hex codes in a
1144 box, when per-glyph ascent/descent values are used.
1146 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
1148 * lisp/emacs-lisp/tabulated-list.el: Don't sort without sorter
1149 (tabulated-list-print): Don't sort if sorter is nil
1151 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
1154 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
1155 are major modes which set `auto-save-mode' on their own rules;
1156 Tramp shall not overwrite such settings.
1159 2015-05-26 Glenn Morris <rgm@gnu.org>
1161 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
1162 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
1163 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
1165 (vc-dir-mode): Remove unnecessary autoload.
1167 2015-05-25 Philipp Stephani <phst@google.com>
1169 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52
1170 (xterm--extra-capabilities-type): Add `getSelection'.
1171 (xterm--query): Add `no-async' argument.
1172 (xterm--init-activate-get-selection): New function.
1173 (terminal-init-xterm): Use it.
1174 (xterm--init-modify-other-keys): Rename from
1175 terminal-init-xterm-modify-other-keys.
1176 (xterm--init-bracketed-paste-mode): Rename from
1177 terminal-init-xterm-bracketed-paste-mode.
1178 (xterm--init-activate-set-selection): Rename from
1179 terminal-init-xterm-activate-set-selection.
1180 (xterm--selection-char): New function.
1181 (gui-backend-set-selection): Use it. Use the &context to only apply
1182 this method in terminals where we enabled the feature.
1183 (gui-backend-get-selection): New method.
1185 2015-05-25 Daniel Colascione <dancol@dancol.org>
1187 Add C-language keyword constants to C++
1188 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
1189 keyword constants to C++.
1191 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
1193 Make TAGS files more portable to MS-Windows
1194 * etc/NEWS: Document this.
1195 * lib-src/etags.c (readline_internal) [DOS_NT]:
1196 Don't treat CRs differently from GNUish hosts.
1197 * lisp/progmodes/etags.el (etags-goto-tag-location):
1198 Adjust STARTPOS to account for the skipped CRs in dos-style files.
1200 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
1202 Improve fix of debbugs:20634 in tramp-sh.el
1204 2015-05-25 Eli Zaretskii <eliz@gnu.org>
1206 Fix a typo in last commit
1207 * lib-src/etags.c (C_entries): Fix a typo.
1208 * test/etags/ETAGS.good_1:
1209 * test/etags/ETAGS.good_2:
1210 * test/etags/ETAGS.good_3:
1211 * test/etags/ETAGS.good_4:
1212 * test/etags/ETAGS.good_5:
1213 * test/etags/CTAGS.good: Update due to the change in etags.c.
1215 Fix tagging of class members in C-like OO languages
1216 * lib-src/etags.c (longopts): Add new option --class-qualify and
1218 (print_help): Add help text for --class-qualify.
1219 (main): Add handling of -Q.
1220 (consider_token, C_entries) <omethodparm>: Append argument types
1221 to Objective C methods only if --class-qualify was specified.
1222 Qualify C++, Objective C, and Java class members with their class
1223 names only if --class-qualify was specified.
1224 (C_entries): If --class-qualify was not specified, remove the
1225 namespace and class qualifiers from tag names of C++ methods.
1226 This allows to use etags.el as xref back-end without the
1227 tag-symbol-match-p method, which greatly increases the number of
1228 potentially false positives. (Bug#20629)
1229 * doc/man/etags.1: Update to document the new --class-qualify
1231 * test/etags/ETAGS.good_1:
1232 * test/etags/ETAGS.good_2:
1233 * test/etags/ETAGS.good_3:
1234 * test/etags/ETAGS.good_4:
1235 * test/etags/ETAGS.good_5:
1236 * test/etags/CTAGS.good: Update due to changes in etags.c.
1238 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1240 (cl-generic-define-method): Side effects are evil (bug#20644)
1241 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
1242 cons-cells that might be used as keys in an `equal' hash-table.
1244 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
1246 Make erc timestamps visible again
1247 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec): Make
1248 timestamps visible again (if requested).
1250 2015-05-25 Eli Zaretskii <eliz@gnu.org>
1252 Fix last change in etags.c that broke tagging compresed files
1253 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
1254 quoting of decompression shell command for MS-Windows/MS-DOS.
1256 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist
1261 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
1263 Fix typo in 89035e247591c8d688fce922b7079881aa110f33
1265 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
1267 Fix IPv6 addresses in Tramp
1268 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
1269 Add sqare brackets around host name.
1271 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
1273 Inhibit `epa-file-handler' in Tramp
1275 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1276 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
1279 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring
1282 (pcase-let): Document the behavior in case the pattern doesn't match.
1284 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
1286 * lisp/emacs-lisp/tabulated-list.el: New optional print method
1287 (tabulated-list-print): New optional argument, UPDATE. If
1288 non-nil, the list is printed by only adding and deleting the
1289 changed entries, instead of erasing the whole buffer. This method
1290 is much faster when few or no entries have changed.
1291 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
1292 * etc/NEWS: Document it.
1294 * lisp/emacs-lisp/tabulated-list.el: Improve printing
1295 (tabulated-list--get-sorter): New function.
1296 (tabulated-list-print): Restore window-line when remember-pos is
1297 passed and optimize away the `nreverse'.
1299 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
1301 Simpilify etags TEX mode scanning
1302 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
1304 (TeX_commands): Deduce escapes here instead.
1305 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
1306 This removes the need for a reset_input call.
1308 Improve etags I/O error reporting
1310 Don't include sys/types.h and sys/stat.h; no longer needed.
1311 (infilename): New static var.
1312 (process_file_name): Don't call 'stat'. Instead, just open the
1313 file for reading and report any errors. Don't bother making
1314 a copy of the file argument; it's not needed. Be more careful to
1315 use the failing errno when reporting an error.
1316 Quote the real name better (though no perfectly)
1317 when passing it to the shell.
1318 (reset_input): New function, which reports I/O errors.
1319 All uses of 'rewind' changed to use this function.
1320 (perhaps_more_input): New function, which also checks for
1321 I/O errors. All uses of 'feof' changed to use this function.
1322 (analyze_regex): Report an error if fclose fails.
1323 (readline_internal): Report an error if getc fails.
1324 (etags_mktmp): Return an error if close fails.
1326 etags.c: avoid side effects in 'if'
1327 * lib-src/etags.c (process_file_name, Perl_functions)
1328 (TEX_decode_env): Hoist side effects into previous statement.
1331 * .gitignore: Ignore all *.stamp files. Sort.
1332 Ignore [0-9]*.txt (commonly used name for git patches)
1333 and /vc-dwim-log-* (vc-dwim temporary).
1335 2015-05-24 Eli Zaretskii <eliz@gnu.org>
1337 Fix last change in etags.c, which failed the test suite
1338 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
1339 before the last change.
1341 2015-05-23 Glenn Morris <rgm@gnu.org>
1343 Remove charset map files from repository, generate in first bootstrap
1344 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
1345 (all): Create the stamp file.
1346 (extraclean): Delete the stamp file.
1347 * src/Makefile.in (lispintdir, charsets): New variables.
1348 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
1350 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
1351 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
1352 * etc/charsets/*.map: Remove from repository.
1354 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
1356 Cleanup etags.c to use locale-independent code
1357 Although this doesn't alter behavior (as etags doesn't use
1358 setlocale), the new version is more clearly locale-independent and
1359 the executable is a bit smaller on my platform.
1360 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
1361 Include <c-ctype.h> instead of <ctype.h>.
1362 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
1364 Remove; no longer needed.
1365 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
1366 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
1367 c_islower, c_tolower, respectively.
1368 (notinname, begtoken, intoken, endtoken): Rewrite as functions
1369 instead of macros, and initialize the tables at compile-time
1370 rather than at run-time.
1372 Put default action first in src/Makefile
1373 * src/Makefile.in (all): Put this rule before lisp.mk.
1374 That way, plain 'make' works in the src directory again.
1376 2015-05-23 Glenn Morris <rgm@gnu.org>
1378 * Makefile.in: Fix extraclean rule.
1379 (extraclean_dirs): New.
1380 (extraclean): Use it.
1382 2015-05-23 Eli Zaretskii <eliz@gnu.org>
1384 Avoid compiler warning in image.c on MS-Windows
1385 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
1388 2015-05-23 Glenn Morris <rgm@gnu.org>
1390 Fix --without-toolkit-scroll-bars builds.
1391 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
1392 Add new argument to x_clear_area1.
1393 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
1394 Update x_clear_area arguments.
1396 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
1397 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
1398 Change to included version.
1399 (LOCAL, local, totalclean): Remove.
1400 (extraclean): Delete all generated files.
1402 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1404 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists.
1406 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
1408 tags-completion-at-point-function: Don't trust the find-tag function
1409 * lisp/progmodes/etags.el (tags-completion-at-point-function):
1410 Don't trust the find-tag function.
1412 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
1414 Pacify --enable-gcc-warnings
1415 * src/frame.h (x_query_color): Remove redundant extern decl.
1416 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
1417 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
1418 (ftcrfont_text_extents, ftcrfont_draw):
1419 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
1420 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
1421 (x_ins_del_lines, frame_highlight, frame_unhighlight)
1422 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
1423 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
1424 (x_update_window_begin, x_connection_closed)
1425 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
1426 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
1427 (*x_gc_get_ext_data, x_extension_initialize)
1428 (x_cr_accumulate_data):
1429 Remove redundant static decl. Many of these GCC doesn't complain
1430 about, but we might as well clean out the duplication while we're
1431 in the neighborhood.
1432 * src/xterm.c (x_fill_trapezoid_for_relief):
1433 Remove decl of nonexistent function.
1435 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1437 Replace gui-method macros with cl-generic with &context
1438 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
1439 (gui-method-declare, gui-call): Remove.
1440 (frame-creation-function): Use cl-defgeneric.
1441 (make-frame): Adjust callers.
1442 * lisp/menu-bar.el (menu-bar-edit-menu):
1443 Use gui-backend-selection-exists-p.
1444 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
1445 (gui-backend-get-selection): New cl-generic to replace
1446 gui-get-selection method.
1447 (gui-backend-set-selection): New cl-generic to replace
1448 gui-set-selection method.
1449 (gui-selection-owner-p): New cl-generic to replace
1450 gui-selection-owner-p method.
1451 (gui-backend-selection-exists-p): New cl-generic to replace
1452 gui-selection-exists-p method. Adjust all callers.
1453 * lisp/server.el (server-create-window-system-frame): Don't ignore
1454 window-system spec even when unsupported.
1455 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
1456 * lisp/startup.el (handle-args-function, window-system-initialization):
1458 (command-line): Adjust calls accordingly.
1459 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
1460 a window-system-initialization method.
1461 (handle-args-function, frame-creation-function): Use cl-defmethod.
1462 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
1463 (gui-get-selection): Use cl-defmethod on the new functions instead.
1464 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
1465 a gui-backend-get-selection method.
1466 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
1467 Use cl-defmethod on the new functions instead.
1468 (msdos-window-system-initialization): Turn into
1469 a window-system-initialization method.
1470 (frame-creation-function, handle-args-function): Use cl-defmethod.
1471 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
1472 a window-system-initialization method.
1473 (handle-args-function, frame-creation-function): Use cl-defmethod.
1474 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
1475 (gui-get-selection): Use cl-defmethod on the new functions instead.
1476 * lisp/term/x-win.el (x-window-system-initialization): Turn into
1477 a window-system-initialization method.
1478 (handle-args-function, frame-creation-function): Use cl-defmethod.
1479 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
1480 (gui-get-selection): Use cl-defmethod on the new functions instead.
1481 * lisp/term/xterm.el (xterm--set-selection): Turn into
1482 a gui-backend-set-selection method.
1483 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
1484 (Fns_selection_owner_p): Remove unused arg `terminal'.
1485 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
1487 2015-05-23 Eli Zaretskii <eliz@gnu.org>
1489 Revert "Fix etags Bug#20629 that broke C++ support."
1490 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
1492 2015-05-23 Jan D <jan.h.d@swipnet.se>
1494 Fix etags Bug#20629 that broke C++ support.
1495 * etags.el (etags-xref-find-definitions-tag-order): Revert commit
1496 from Sun May 10 (Bug#20629).
1498 Merge branch 'cairo'.
1499 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
1500 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
1502 Merge branch 'master' into cairo
1504 Fixes to compile cairo branch without cairo.
1505 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
1507 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
1510 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
1512 * lisp/emacs-lisp/package.el: Always update selected-packages
1513 (package--update-selected-packages): New function.
1514 (package-menu-execute): Use it before starting the transaction,
1515 this way the list of selected packages is updated even when the
1517 (package-menu--perform-transaction): Don't edit selected-packages.
1519 2015-05-23 Eli Zaretskii <eliz@gnu.org>
1521 Fix etags reading of compressed files
1522 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
1523 Include fcntl.h, for O_CLOEXEC.
1524 (process_file_name): Don't use 'popen', whose streams cannot be
1525 rewound. Instead, uncompress the file to a temporary file,
1526 created by 'etags_mktmp', and read from that as usual.
1527 (etags_mktmp): New function.
1528 * test/etags/ETAGS.good_1:
1529 * test/etags/ETAGS.good_2:
1530 * test/etags/ETAGS.good_3:
1531 * test/etags/ETAGS.good_4:
1532 * test/etags/ETAGS.good_5: Update to be consistent with latest
1533 changes in etags.c regarding reading compressed files.
1535 Improve documentation of 'set-fontset-font'
1536 * doc/lispref/display.texi (Fontsets): Document the value of nil
1537 for the 3rd argument of 'set-fontset-font'.
1539 Fix documentation of forward-line
1540 * src/cmds.c (Fforward_line): Clarify the return value if the line
1541 at end of accessible portion of the buffer has no newline.
1542 * doc/lispref/positions.texi (Text Lines): Document what happens
1543 if the line at end of accessible portion of buffer has no newline.
1546 2015-05-22 Glenn Morris <rgm@gnu.org>
1548 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
1550 * admin/charsets/mapconv (LC_ALL): Set to C.
1552 * Makefile.in: Add admin/charsets into top-level clean rules.
1553 (clean): Add admin/charsets.
1554 (maybeclean_dirs): New variable.
1555 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
1557 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
1559 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
1561 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc
1563 2015-05-22 Glenn Morris <rgm@gnu.org>
1565 Generate admin/charsets Makefile via configure, and make more portable.
1566 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
1567 (admin/charsets/Makefile): Generate it.
1568 * admin/charsets/Makefile.in: Rename from Makefile.
1569 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
1570 New variables, set by configure.
1571 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
1572 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
1573 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
1574 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
1575 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
1576 (all): Declare PHONY.
1577 (local): New PHONY target.
1578 (map_template): New template. Use to define short PHONY aliases.
1579 (*.map): Add directory prefixes to targets and prerequisites.
1580 Respect make verbosity.
1581 (JISC6226.map): Replace non-portable sed append without newline.
1582 (install): Remove rule.
1583 (clean): Only delete temporary sedscript.
1584 (bootstrap-clean, distclean, maintainer-clean, extraclean)
1585 (totalclean): New PHONY rules.
1586 * admin/charsets/mapconv (BASE): Replace basename with expr.
1587 (FILE): Add "mapfiles" subdirectory.
1588 (AWK): New variable. Use throughout in place of "awk".
1589 (main): Use "gunzip -c" in place of "zcat".
1590 Don't leave whitespace before "p", for older sed.
1591 * admin/charsets/mapfiles/PTCP154: Add final newline,
1592 to make older sed versions happy.
1594 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
1596 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
1597 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
1598 (auto-revert-notify-watch-descriptor): Use defvar-local.
1599 (find-file-hook, auto-revert-tail-mode, )
1600 (auto-revert-notify-add-watch): Use setq-local.
1601 (auto-revert-notify-add-watch): Don't call make-local-variable on
1602 kill-buffer-hook (bug#20601).
1604 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1606 Change defgeneric so it doesn't completely redefine the function
1607 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
1608 previously defined methods.
1609 (cl-generic-define-method): Let-bind purify-flag instead of using `fset'.
1610 (cl--generic-prefill-dispatchers): Only define during compilation.
1611 (cl-method-qualifiers): Remove redundant alias.
1612 (help-fns-short-filename): Silence byte-compiler.
1613 * test/automated/cl-generic-tests.el: Adjust to new defgeneric semantics.
1615 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
1617 (package-menu-execute): Remove reference to remove-dups
1619 2015-05-21 kwhite <kwhite@gnu.org>
1621 * lisp/erc/erc.el: Hide network/channel messages
1622 (erc-network-hide-list, etc-channel-hide-list): New lists to define
1623 message types per network/channel.
1624 (erc-add-targets): New function to parse list of targets
1625 (erc-hide-current-message-p): Modified to check for new targets
1627 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
1629 Don't quote nil and t in doc strings
1630 This is as per "Tips for Documentation Strings" in the elisp manual.
1631 For consistency, do the same in diagnostics and comments.
1633 2015-05-21 Eli Zaretskii <eliz@gnu.org>
1635 Fix a minor problem with mouse-face on mode line
1636 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
1637 mouse face also if the mouse pointer hovers above mode-line glyphs
1638 that don't come from any Lisp string. (Bug#20620)
1640 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
1642 * lisp/emacs-lisp/package.el: Fix selected-package logic
1643 (package-menu-execute): Mark as selected all non-upgrade packages
1645 (package-menu--perform-transaction): Don't mark anything.
1647 * lisp/emacs-lisp/package.el: Mode-line progress report
1648 (package-menu--transaction-status): New variable.
1649 (package-menu-mode, package-menu--perform-transaction): Use it.
1651 * lisp/emacs-lisp/package.el: Better transaction messages
1652 (package-menu--partition-transaction): New function.
1653 (package-menu--prompt-transaction-p, package-menu-execute): Use
1655 (package-menu--perform-transaction): Don't do any messaging.
1657 * lisp/emacs-lisp/package.el: Revert async package transactions
1658 (package-menu-async): Update doc.
1659 (package-install-from-archive, package-download-transaction)
1660 (package-install, package-menu--perform-transaction)
1661 (package-menu-execute): Remove asynchronous functionality.
1663 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
1665 Revert doc string changes to f90.el
1666 Problem reported by Glenn Morris in:
1667 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
1668 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
1669 Revert recent changes to doc strings, as it's intended that they
1670 use grave accent, not quote.
1672 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
1674 Improve parameter name
1676 Add new inline function `hash-table-empty-p'
1678 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
1680 Don't require help-fns when not needed
1681 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
1682 * lisp/emacs-lisp/elint.el:
1683 Don't require help-fns at the top level.
1684 * lisp/emacs-lisp/advice.el (ad-arglist):
1685 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
1686 Don't require help-fns. (Bug#17001)
1688 2015-05-20 Eli Zaretskii <eliz@gnu.org>
1690 Fix slash collapsing in etags on MS-Windows
1691 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
1692 MS-Windows code from the Posix code, and support collapsing both
1693 forward- and back-slashes on MS-Windows. Fixes a regression found
1696 Improve documentation of glyphless-char-display
1697 * doc/lispref/display.texi (Glyphless Chars): Improve
1698 documentation of glyphless character display.
1700 Fix "acronym" display of glyphless characters on w32
1701 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
1702 ignore "acronym" substitutes of 1 character for glyphless characters.
1704 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
1706 Add an automated test for let-when-compile
1707 * test/automated/subr-tests.el (let-when-compile): New test.
1709 Add let-when-compile macro instead of using pcase-let
1710 * lisp/subr.el (let-when-compile): New let-like macro that makes its
1711 bindings known to macros like `eval-when-compile' in the body.
1712 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to a
1713 `let-when-compile'. Also comment out the unused lexical var
1715 The change greatly improves readability, while providing almost the
1716 same (even shorter) byte code: instead of pre-evaluating 10 variables,
1717 tossing them into a list, and destructuring that list a full screen
1718 page later, the variables are simply bound as they are evaluated,
1719 wrapped individually in `eval-when-compile'.
1721 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
1723 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer
1724 (package-delete-button-action): New function.
1725 (describe-package-1): Add Delete button.
1727 * lisp/emacs-lisp/package.el: Better dependency description
1728 (package--used-elsewhere-p): New optional arg, ALL, and return
1729 package-desc objects instead of names.
1730 (package-delete): Update accordingly.
1731 (describe-package-1): Describe which packages require the package.
1733 2015-05-20 Martin Rudalics <rudalics@gmx.at>
1735 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
1736 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
1737 Fix doc-string (Bug#20533).
1739 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
1740 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
1741 (switch-to-buffer): If the selected window is strongly dedicated
1742 to its buffer, signal error before prompting for buffer name. Handle
1743 `switch-to-buffer-in-dedicated-window'. (Bug#20472)
1744 * doc/lispref/windows.texi (Switching Buffers): Document
1745 `switch-to-buffer-in-dedicated-window'.
1747 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1749 Prefer "this" to “this” in doc strings
1750 This mostly just straightens quotes introduced in my previous patch.
1751 Suggested by Dmitry Gutov in:
1752 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
1753 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
1754 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
1755 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
1756 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
1757 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
1758 Prefer straight double quotes to curved double quotes in doc strings.
1760 Fix minor quoting problems in doc strings
1761 These were glitches regardless of how or whether we tackle the
1762 problem of grave accent in doc strings.
1763 * lisp/calc/calc-aent.el (math-restore-placeholders):
1764 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
1765 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
1766 * lisp/leim/quail/hebrew.el ("hebrew-new")
1767 ("hebrew-biblical-sil"):
1768 * lisp/leim/quail/thai.el ("thai-kesmanee"):
1769 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
1770 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
1771 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
1772 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
1773 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
1774 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
1775 (semantic-tag-components):
1776 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
1777 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
1778 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
1779 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
1780 * lisp/emacs-lisp/generator.el (iter-next):
1781 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
1782 (gnus-article-mode-syntax-table):
1783 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
1784 * lisp/net/soap-client.el (soap-wsdl-get):
1785 * lisp/net/telnet.el (telnet-mode):
1786 * lisp/org/org-compat.el (org-number-sequence):
1787 * lisp/org/org.el (org-remove-highlights-with-change)
1788 (org-structure-template-alist):
1789 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
1790 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
1791 (handwrite-12pt, handwrite-13pt):
1792 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
1793 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
1794 * lisp/progmodes/verilog-mode.el (verilog-tool)
1795 (verilog-string-replace-matches, verilog-preprocess)
1796 (verilog-auto-insert-lisp, verilog-auto-insert-last):
1797 * lisp/textmodes/makeinfo.el (makeinfo-options):
1798 * src/font.c (Ffont_spec):
1799 Fix minor quoting problems in doc strings, e.g., missing quote,
1800 ``x'' where `x' was meant, etc.
1801 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
1802 Fix minor quoting problem in other string.
1803 * lisp/leim/quail/ethiopic.el ("ethiopic"):
1804 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
1805 Omit unnecessary quotes.
1806 * lisp/faces.el (set-face-attribute, set-face-underline)
1807 (set-face-inverse-video, x-create-frame-with-faces):
1808 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
1809 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
1810 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
1811 * lisp/net/tramp.el (tramp-methods):
1812 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
1813 * lisp/textmodes/artist.el (artist-ellipse-right-char)
1814 (artist-ellipse-left-char, artist-vaporize-fuzziness)
1815 (artist-spray-chars, artist-mode, artist-replace-string)
1816 (artist-put-pixel, artist-text-see-thru):
1817 * lisp/vc/ediff-util.el (ediff-submit-report):
1818 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
1819 Use double-quotes rather than TeX markup in doc strings.
1820 * lisp/skeleton.el (skeleton-pair-insert-maybe):
1821 Reword to avoid the need for grave accent and apostrophe.
1822 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
1823 Don't use grave and acute accents to quote.
1825 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * emacs-lisp/generator.el (cps--gensym, cps--transform-1): Silence compiler
1829 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1831 Try to port new etags tests to MS-Windows
1832 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
1833 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
1834 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
1835 Adjust to test-case changes below.
1836 * test/etags/Makefile (CSRC): Remove dostorture.c.
1837 Whatever it was trying to test, wasn't working portably.
1838 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
1839 just a line-ending problem.
1840 * test/etags/c-src/dostorture.c: Remove.
1841 * test/etags/cp-src/c.C: Remove stray CR.
1842 * test/etags/html-src/algrthms.html: Remove trailing CRs.
1843 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
1844 but if someone edits it later it should stay UTF-8-compatible.
1846 2015-05-19 Eli Zaretskii <eliz@gnu.org>
1848 Fix display of overlapping window-specific overlays
1849 * src/keyboard.c (adjust_point_for_property): When adjusting point
1850 due to display strings, ignore overlays that are specific to
1851 windows other than the currently selected one.
1852 * src/xdisp.c (handle_single_display_spec): If the display
1853 property comes from an overlay, arrange for buffer iteration to
1854 resume only after the end of that overlay. (Bug#20607)
1856 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
1858 New command icomplete-force-complete-and-exit
1859 * lisp/icomplete.el (icomplete-force-complete-and-exit):
1861 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
1862 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
1863 (icomplete-minibuffer-map): Bind C-j to it.
1864 (icomplete-forward-completions, icomplete-backward-completions):
1865 Mention the new command in the docstring.
1866 * lisp/minibuffer.el (minibuffer-force-complete-and-exit): Revert
1867 the previous fix for bug#17545.
1869 2015-05-19 Martin Rudalics <rudalics@gmx.at>
1873 In Elisp manual explain how to override window manager positioning (Bug#20552)
1874 * doc/lispref/frames.texi (Position Parameters): Give example of
1875 how to override a window manager positioning decision.
1877 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
1878 * src/frame.c (Fdelete_frame): In doc-string mention that frame
1879 can't be deleted if it has a surrogate minibuffer.
1880 * doc/lispref/frames.texi (Minibuffers and Frames)
1881 (Deleting Frames): Explain "surrogate minibuffer frames".
1883 In w32heap.c bump DUMPED_HEAP_SIZE to 19/12 MB
1884 * emacs-git/quick/src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
1886 2015-05-18 Glenn Morris <rgm@gnu.org>
1888 Add option to ignore commit lines matching a pattern in ChangeLog.
1889 * build-aux/gitlog-to-changelog: Add --ignore-line option.
1890 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
1892 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
1894 Don't skip new etags tests on non-UTF-8 hosts
1895 Problem reported by Eli Zaretskii for MS-Windows.
1896 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
1897 (LC_ALL): Set to C if the current locale isn't UTF-8.
1898 (.PHONY): Remove ediff_1 thru ediff_5.
1899 (check): Always run.
1901 2015-05-18 Glenn Morris <rgm@gnu.org>
1903 * lisp/calculator.el (calculator-funcall):
1904 * lisp/textmodes/artist.el (artist-spray-random-points):
1905 Use standard degree/radian conversion utilities.
1907 Further lisp-complete-symbol related cleanup.
1908 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
1909 Unadvertise non-functional argument. Replace obsolete alias.
1911 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
1913 Add a test case for Maven warning ouput
1914 * test/automated/compile-tests.el
1915 (compile-tests--test-regexps-data): Add a case for Maven warning
1917 (compile--test-error-line): Check the compilation message type, if
1918 it's specified in the test data.
1920 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
1922 Update Maven compilation-mode entry to distinguish warnings
1923 * lisp/progmodes/compile.el
1924 (compilation-error-regexp-alist-alist): Update Maven entry to
1925 distinguish warnings (bug#20556).
1927 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
1929 * test/automated/sgml-mode-tests.el: New file.
1931 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
1933 Improve handling of the first Git revision
1934 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
1935 there's no next entry, delete until the end of the buffer.
1936 (log-view-end-of-defun-1): Stop at eob.
1937 * lisp/vc/vc-annotate.el
1938 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
1939 when previous-revision is nil.
1940 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
1941 with `--' to avoid ambiguity.
1942 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
1943 returned revision string.
1944 (vc-git-annotate-time): Expect `^' before the first revision.
1945 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
1946 REV1 is nil, and REV2 is not.
1947 * lisp/vc/vc.el: Update the description of the `diff' function.
1949 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
1951 Allow checkdoc to be called in batch
1952 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
1953 is non-nil, echo the error with `warn'.
1954 How it can be used in -batch:
1955 (with-current-buffer (find-file "checkdoc.el")
1956 (checkdoc-current-buffer t))
1958 2015-05-18 Glenn Morris <rgm@gnu.org>
1960 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
1962 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
1964 * admin/notes/unicode: New section "binary files".
1966 Change new etags test to use UTF-8 encoding
1967 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
1968 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
1969 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
1970 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
1971 * test/etags/html-src/softwarelibero.html:
1972 Switch to UTF-8 encoding.
1973 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
1974 Remove Makefile, as it's too incestuous to have the test input
1975 include the build procedure.
1976 (UTF8_LOCALE, UTF_ENCODING): New macros.
1977 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
1978 (check): Skip if not UTF-8.
1980 (FRC): Remove, as superseded by .PHONY. All uses removed.
1981 (regexfile): Prefer printf to echo when outputting oddball chars.
1982 (.PRECIOUS): Remove, as these files are not built.
1984 Rename 'foo-gzipped' to 'foo.gz'
1985 * test/automated/data/decompress/foo.gz:
1986 Rename from test/automated/data/decompress/foo-gzipped,
1987 to make it easier for other tools to tell that it's compressed.
1988 * test/automated/zlib-tests.el (zlib--decompress):
1989 Adjust to renamed file.
1991 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
1993 Set up default-directory
1994 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
1996 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
1997 appropriate value for default-directory.
1999 2015-05-17 Samer Masterson <samer@samertm.com>
2001 * lisp/eshell/em-term.el (eshell-term-sentinel):
2002 No-op by default, only kills term buffer if
2003 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
2004 (eshell-destroy-buffer-when-process-dies): New custom to preserve
2007 eshell: Introduce new buffer syntax
2008 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
2009 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
2011 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
2012 (eshell-get-target): Remove shorthand-specific code.
2013 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
2016 2015-05-17 Jan D <jan.h.d@swipnet.se>
2018 Merge branch 'master' into cairo
2020 2015-04-26 Jan D <jan.h.d@swipnet.se>
2022 Merge branch 'master' into cairo
2024 Add PBM support for cairo.
2025 * src/image.c (xcolor_to_argb32): New function.
2026 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
2027 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
2028 XImagePtr if ! USE_CAIRO.
2029 (pbm_load): Add cairo support.
2031 2015-04-12 Jan D <jan.h.d@swipnet.se>
2033 x_free_cr_resources: Renamed from x_prepare_for_xlibdraw.
2034 * src/xterm.c (x_free_cr_resources): Renamed from x_prepare_for_xlibdraw.
2035 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
2036 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
2037 x_free_cr_resources.
2039 Handle specified bg in images. Use generic libpng code for PNG:s.
2040 * src/image.c (get_spec_bg_or_alpha_as_argb)
2041 (create_cairo_image_surface): New functions when USE_CAIRO.
2042 (xpm_load): Call the above functions. Handle XPM without mask
2044 (png_load_body): Handle USE_CAIRO case.
2045 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
2047 (jpeg_load_body): Call create_cairo_image_surface.
2048 (gif_load, svg_load_image): Handle specified background, call
2049 create_cairo_image_surface.
2050 * src/xterm.c (x_draw_image_glyph_string): Added missing USE_CAIRO.
2052 2015-04-11 Jan D <jan.h.d@swipnet.se>
2054 Support GIF and Tiff with cairo.
2055 * configure.ac: Allow jpeg with cairo.
2056 Allow tiff and gif with cairo.
2057 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
2058 (tiff_load): Create cairo image surface if USE_CAIRO.
2061 Support JPEG with USE_CAIRO.
2062 * configure.ac: Allow jpeg with cairo.
2063 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
2065 2015-04-05 Jan D <jan.h.d@swipnet.se>
2067 Support RSVG and cairo.
2068 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
2069 * src/dispextern.h (struct image): add cr_data2 if cairo.
2070 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
2071 (x_clear_image): Free cr_data and cr_data2 if set.
2072 (xpm_load): Assign data to cr_data2.
2073 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
2075 2015-04-03 Jan D <jan.h.d@swipnet.se>
2077 Introduce limited Xpm support (32 bit ZPixmap) for Cairo.
2078 * configure.ac (HAVE_RSVG): Move after cairo.
2079 (USE_CAIRO): Disable rsvg, don't disable Xpm.
2080 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
2081 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
2083 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
2084 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
2085 and create a surface.
2087 Tool tips for menus did not show any text.
2088 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
2089 tip frames, the geometry may be wrong.
2091 Merge branch 'master' into cairo, fixes tooltips not shown.
2093 Merge branch 'master' into cairo
2095 Add CAIRO_CFLAGS to lwlib/Makefile.in
2096 * Makefile.in (CAIRO_CFLAGS): Add.
2098 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2100 * ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
2102 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2104 Draw outermost line using black relief and erase corners also for cairo.
2105 * xterm.c [USE_CAIRO]: Include math.h.
2106 (enum corners) [USE_CAIRO]: New enum.
2107 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
2108 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
2109 than 1, draw the outermost line using the black relief.
2111 * xterm.c (x_fill_trapezoid_for_relief): Remove unnecessary cairo_close_path.
2113 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2115 * xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
2117 * xterm.c (x_draw_stretch_glyph_string): Call x_reset_clip_rectangles instead of XSetClipMask.
2119 Use int instead of unsigned int for width and height args.
2120 * xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
2121 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
2122 width and height args.
2124 Modernize k&r cairo-related function declarations.
2125 * gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
2126 (xg_print_frames_dialog): Modernize k&r declarations.
2127 * xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
2128 (Fx_print_frames_dialog): Modernize k&r declarations.
2129 * xterm.c (x_gc_get_ext_data, x_extension_initialize, x_begin_cr_clip)
2130 (x_end_cr_clip, x_set_cr_source_with_gc_foreground)
2131 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
2132 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
2133 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
2134 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
2135 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
2136 (x_clear_area): Modernize k&r declarations.
2138 Implement wave-style variant of underlining for cairo.
2139 * xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
2140 (x_draw_underwave) [USE_CAIRO]: Use it.
2142 * xterm.c (x_draw_window_divider): Use x_fill_rectangle instead of XFillRectangle.
2144 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2146 Fix fringe bitmap initialization for cairo.
2147 * fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap data for
2148 cairo image surface.
2149 * xterm.c (x_cr_define_fringe_bitmap): Call cairo_surface_mark_dirty.
2151 2015-02-11 Jan D <jan.h.d@swipnet.se>
2154 * configure.ac (with-cairo): New option.
2155 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
2156 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
2157 Output "Does Emacs use cairo?".
2158 * lisp/version.el (emacs-version): Add cairo version.
2159 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
2160 (FONT_OBJ): Add comment about ftcrfont.
2161 (ALL_CFLAGS): Add CAIRO_CFLAGS.
2162 (LIBES): Add CAIRO_LIBS.
2163 * src/dispextern.h (struct image): Add cr_data for cairo.
2164 (x_cr_init_fringe): Declare.
2165 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
2166 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
2167 * src/fringe.c (x_cr_init_fringe): New function name that shares code
2168 with w32_init_fringe.
2169 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
2170 * src/ftfont.c (ftfont_info_size); New global variable.
2171 (ftfont_open2): New extern function almost the same as old ftfont_open,
2172 but takes the font_object as argument.
2173 (ftfont_open): Build font object and call ftfont_open2.
2174 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
2175 * src/gtkutil.c (xg_clear_under_internal_border)
2176 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos): Only
2177 queue_draw if not cairo. Change args to x_clear_area.
2178 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
2179 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
2180 (xg_print_frames_dialog): New functions for printing.
2181 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
2182 (xg_print_frames_dialog): Declare.
2183 * src/image.c: Add defined (USE_CAIRO) for PNG.
2184 Add !defined USE_CAIRO for W32 PNG code.
2185 (x_clear_image): If cairo, destroy the surface in cr_data.
2186 (png_load): Add new cairo compatible implementation.
2187 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
2188 * src/xfns.c: New section Printing.
2189 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
2190 (x-print-frames-dialog): New printing functions.
2191 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if
2193 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
2194 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
2195 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
2196 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
2197 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
2198 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
2199 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
2200 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
2202 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
2203 (max_fringe_bmp, fringe_bmp): New variables.
2204 (x_gc_get_ext_data, x_extension_initialize)
2205 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
2206 (x_set_cr_source_with_gc_foreground)
2207 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
2208 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
2209 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
2210 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
2211 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
2212 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
2213 (x_update_begin): Create cairo surface if needed.
2214 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
2215 (x_update_end): Paint cairo drawing surface to xlib surface.
2216 (x_clear_under_internal_border, x_after_update_window_line): Adjust
2217 arguments to x_clear_area.
2218 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
2219 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
2221 (x_set_glyph_string_clipping)
2222 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
2223 instead of XSetClipRectangles.
2224 (x_clear_glyph_string_rect, x_draw_glyph_string_background): Use
2225 x_fill_rectangle instead of XFillRectangle.
2226 (x_draw_glyph_string_foreground)
2227 (x_draw_composite_glyph_string_foreground)
2228 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle instead
2230 (x_draw_relief_rect): Add code for USE_CAIRO.
2231 Call x_reset_clip_rectangles instead of XSetClipMask.
2232 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
2233 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
2234 instead of XSetClipMask.
2235 (x_draw_image_foreground, x_draw_image_foreground_1):
2236 x_draw_rectangle instead of XDrawRectangle.
2237 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
2239 (x_draw_image_glyph_string): If img has cr_data, use it as
2241 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
2242 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
2243 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
2244 x_reset_clip_rectangles instead of XSetClipMask.
2245 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
2246 (x_clear_area1): New function that calls XClearArea.
2247 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
2249 (x_clear_frame): x_clear_window instead of XClearWindow.
2250 (x_scroll_run): Set frame garbaged if cairo.
2251 (XTmouse_position): Initialize *part to 0.
2252 (x_scroll_bar_create): Adjust arguments to x_clear_area.
2253 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
2254 x_fill_rectangle instead of XFillRectangle.
2255 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
2256 arguments to x_clear_area.
2257 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
2258 (handle_one_xevent): Adjust arguments to x_clear_area.
2259 Destroy cairo surface for frame if ConfigureNotify.
2260 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
2261 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
2262 x_reset_clip_rectangles instead of XSetClipMask.
2263 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
2264 x_reset_clip_rectangles instead of XSetClipMask.
2265 (x_clear_frame_area): Adjust arguments to x_clear_area.
2266 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
2267 (x_term_init): Call x_extension_initialize if cairo.
2268 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
2269 x_cr_destroy_fringe_bitmap for cairo.
2270 (x_initialize): Call x_cr_init_fringe for cairo.
2271 * src/xterm.h: Add include of cairo header files.
2272 (x_bitmap_record): Add img if cairo.
2273 (x_gc_ext_data): New struct for cairo.
2274 (x_display_info): Add ext_codes for cairo.
2275 (x_output): Add cr_context and cr_surface for cairo.
2276 (x_clear_area): Change arguments from Display*/Window to frame pointer.
2277 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
2278 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
2279 (x_cr_draw_frame, x_cr_export_frames): Declare.
2281 2015-05-17 Johan Bockgård <bojohan@gnu.org>
2283 Fix integer-valued `mouse-highlight' (Bug#20590)
2284 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
2286 2015-05-17 Eli Zaretskii <eliz@gnu.org>
2288 MS-Windows followup for ASCIIfication of curved quotes
2289 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
2290 test for curved quotes being displayable, after switching the
2291 terminal encoding. (Bug#20545)
2293 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
2297 2015-05-17 Jan D <jan.h.d@swipnet.se>
2299 Add comment that x_shift_glyphs_for_insert is never called.
2300 * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
2301 comment that this function is never called.
2303 2015-05-16 Glenn Morris <rgm@gnu.org>
2305 * src/lisp.mk: Remove from repository and generate at build-time.
2306 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
2307 (shortlisp_filter): New variable.
2308 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
2309 (distclean): Remove lisp.mk.
2310 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
2311 * lisp/loadup.el: Tweak layout to make it easier to parse.
2312 * make-dist: Do not distribute src/lisp.mk.
2314 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
2316 Display shorter dates in Git annotate output
2317 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
2318 format (when not overridden with vc-git-annotate-switches).
2319 (vc-git-annotate-time): Support the short format, as well as ISO
2320 8601 that has been used until now (bug#5428).
2322 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
2324 ASCIIfy curved quotes on displays lacking them
2325 * lisp/international/mule-cmds.el (set-locale-environment):
2326 If curved quotes don't work, display straight ASCII approximations
2329 2015-05-16 Glenn Morris <rgm@gnu.org>
2331 Small src/Makefile simplification.
2332 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
2333 * src/Makefile.in (lisp): Derive from shortlisp.
2334 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
2336 2015-05-16 Eli Zaretskii <eliz@gnu.org>
2338 * lisp/help-mode.el (help-go-forward): Doc fix.
2341 * doc/lispref/debugging.texi (Profiling): Improve indexing.
2344 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
2346 Use `unless' to have one fewer `not'
2347 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
2348 have one fewer `not'.
2350 Remove redundant :group declarations from vc-git.el
2351 * lisp/vc/vc-git.el (vc-git-diff-switches)
2352 (vc-git-annotate-switches, vc-git-resolve-conflicts)
2353 (vc-git-program, vc-git-root-log-format): Remove the redundant
2354 :group declarations.
2356 2015-05-16 Nicolas Petton <nicolas@petton.fr>
2358 Removes the predicate from lisp-complete-symbol (Bug#20456)
2359 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
2360 and remove it from the docstring.
2362 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
2364 Add new option vc-git-resolve-conflicts
2365 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
2366 (vc-git-find-file-hook): Add to after-save-hook only when the
2368 (vc-git-resolve-when-done): Update to honor the new variable.
2371 2015-05-16 Eli Zaretskii <eliz@gnu.org>
2373 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
2375 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
2377 * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
2378 (tabulated-list-init-header): Document new behavior.
2379 (tabulated-list-print-fake-header): No nothing if
2380 `tabulated-list--header-string' is nil.
2381 (tabulated-list--header-string): Add a docstring.
2382 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
2383 * etc/NEWS: Document it.
2385 2015-05-15 Leo Liu <sdl.web@gmail.com>
2387 Revert "Fix cps--gensym"
2388 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
2389 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
2391 2015-05-15 Glenn Morris <rgm@gnu.org>
2393 Replace AC_SUBST_FILE in configure with include in Makefiles.
2394 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
2395 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
2396 (AUTO_DEPEND): New output variable.
2397 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
2398 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
2399 (lwlib_deps_frag): Replace by conditional include.
2400 * lwlib/autodeps.mk: Remove file.
2401 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
2402 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
2403 (oldxmenu_deps_frag): Replace by conditional include.
2404 * oldXMenu/autodeps.mk: Remove file.
2405 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
2406 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
2407 (lisp_frag): Replace by an include.
2408 (deps_frag): Replace by conditional include.
2409 * src/autodeps.mk: Remove file.
2411 Tweak japanese.el's loading of dependencies.
2412 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
2413 * lisp/language/japanese.el: Use require rather than load.
2414 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
2416 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
2417 Provide a feature in the generated file.
2419 2015-05-15 Jan D <jan.h.d@swipnet.se>
2422 * nsmenu.m (ns_popup_dialog)
2423 * nsimage.m (initFromXBM:width:height:fg:bg:)
2424 * nsfns.m (Fx_create_frame): Remove unused variables.
2425 (Fns_read_file_name): Initialize fname, remove ret.
2426 * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
2427 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
2429 (init): Add parantesis in if.
2430 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
2432 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
2434 Fix a enum conversion warning in macfont.m
2435 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
2436 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
2438 2015-05-15 Eli Zaretskii <eliz@gnu.org>
2440 Support de-alt dictionary with Aspell.
2441 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
2442 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
2444 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
2446 cus-start.el: Add ns-confirm-quit.
2447 * cus-start.el: Add ns-confirm-quit.
2449 Fix warnings on OSX 10.10.
2450 * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
2451 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
2452 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
2453 * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
2454 * nsimage.m (allocInitFromFile, setPixmapData): Only call
2455 setScalesWhenResized for OSX < 10.6.
2456 * nsterm.h (EmacsScroller): Declare scrollerWidth.
2457 * nsterm.m (ns_copy_bits): New function that does not use deprecated
2459 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
2460 (runAlertPanel): New function.
2461 (applicationShouldTerminate:): Call runAlertPanel.
2462 (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
2464 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
2465 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
2466 (draggingEntered:): Returns NSDragOperation.
2467 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
2469 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
2471 * lisp/emacs-lisp/package.el: Don't ensure-init during startup
2472 (package--init-file-ensured): New variable.
2473 (package-initialize, package--ensure-init-file): Use it.
2475 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
2477 Honor :fore/background for XBM on NS (Bug#14969).
2478 * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
2479 initFromXBM takes bg, fg args, remove flip arg.
2480 (ns_image_from_XBM): Add bg, fg args.
2481 * image.c (x_create_bitmap_from_data)
2482 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
2483 * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
2485 (initFromSkipXBM): Move code to initFromXBM.
2486 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
2487 Use fg, bg from args (Bug#14969). Remove if (length) section, was always
2489 Remove bit flipping (bitPat, swt), generated incorrect images when
2490 width/height wasn't a multiple of 8.
2491 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
2492 * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
2495 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
2497 * lisp/emacs-lisp/package.el: Be more careful with the init file
2498 (package--ensure-init-file): Check that user-init-file is set,
2499 exists, is readable, and is writable. (Bug#20584)
2500 Also expand the docstring.
2502 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
2504 Sync with upstream verilog-mode revision 6232468
2505 * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
2506 (verilog-highlight-grouping-keywords): Fix use of face when
2507 `verilog-highlight-grouping-keywords' set. Reported by Jeff
2509 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
2510 parent is reset, bug906. Reported by Ken Schmidt.
2511 (verilog-auto-inout-module): Add fourth regexp argument to
2512 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
2513 bug856. Reported by John Tillema.
2514 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
2515 modport if signal attachment is itself a modport. Reported by
2517 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
2518 always_comb and always_latch, bug844. Reported by Greg Hilton.
2519 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
2520 with many curly-bracket pairs, bug663.
2521 (verilog-set-auto-endcomments): Fix end comments for functions of
2522 type void, etc. Reported by Alex Reed.
2523 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
2524 caused by indent-line-to deleting tabls pre 24.5.
2525 (verilog-nameable-item-re): Fix nameable items that can have an
2526 end-identifier to include endchecker, endgroup, endprogram,
2527 endproperty, and endsequence. Reported by Alex Reed.
2528 (verilog-label-be): When auto-commenting a buffer, consider
2529 auto-comments on all known keywords (not just a subset thereof).
2530 Reported by Alex Reed.
2531 (verilog-auto-end-comment-lines-re)
2532 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
2533 Automatically comment property/endproperty blocks to match other
2534 similar blocks like sequence/endsequence, function/endfunction,
2535 etc. Reported by Alex Reed.
2536 (verilog-set-auto-endcomments): Detect the function- or task-name
2537 when auto-commenting blocks that lack an explicit
2538 portlist. Reported by Alex Reed.
2539 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
2540 allow post-AUTO user fixups, bug826. Reported by Dennis
2542 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
2543 is nil, fix indenting initial/final to match always statements,
2544 bug825. Reported by Tim Clapp.
2545 (verilog-extended-complete-re): Fix indentation of DPI-C imports
2546 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
2547 Mao and Jason Forkey.
2548 (verilog-read-decls): Fix parsing typed interfaces. Fix
2549 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
2550 Fix localparam not being ignored in AUTOINSTPARAM,
2551 bug889. Reported by Shannon Hill.
2552 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
2553 bug793. Reported by Pierre-David Pfister.
2554 (verilog-auto-arg-format, verilog-auto-arg-ports): Add
2555 verilog-auto-arg-format to support newlines in AUTOARG. Reported
2557 (verilog-batch-execute-func): Do not batch re-auto files loaded by
2558 Local Variables. Fix printing "no changes to be saved" with
2559 verilog-batch. Reported by Dan Dever.
2560 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2561 interface-only modules, bug721. Reported by Dean Hoyt.
2562 Author: Alex Reed <acreed4@gmail.com>
2563 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
2564 treat '<keyword>:<identifier>' as the start of a labeled
2565 statement, bug905. Reported by Enzo Chi.
2566 (verilog-directive-re, verilog-compiler-directives)
2567 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
2568 directives (plus some extras) when determining indentation, bug
2569 901. Reported by Bernd Beuster.
2570 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
2571 iff expression doesn't start with word-character, bug900.
2572 (verilog-optional-signed-range-re, verilog-optional-signed-re):
2573 Fix incorrect indentation/alignment of unsigned declarations,
2575 (verilog-looking-back, verilog-in-attribute-p): Fix labling of
2576 always constructs, bug895.
2577 (verilog-calc-1): Fix verilog-mode constraint indentation,
2578 bug324. Reported by Eric Mastromarchi.
2579 (verilog-beg-of-statement): Fix indenting for some forms of
2580 constraintsm bug433. Reported by Brad Parker. Fix indentation of
2581 continued assignment incorrect if first line ends with ']',
2582 bug437. Reported by Dan Dever. Fix indention of cover inside an
2583 ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
2585 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
2586 bug859. Reported by Kaushal Modi.
2587 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
2588 (verilog-backward-token): Fix indenting sensitivity lists with
2589 named events, bug840. Reed.
2590 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
2591 nil not honoring 'forever', 'foreach', and 'do' keywords.
2593 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
2595 Check for invalid GTK+ monitor scales
2596 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
2597 INT_MAX for too-large scales. All callers changed to assume the
2598 result is valid (Bug#20432).
2599 (xg_frame_set_char_size, xg_update_scrollbar_pos):
2600 Calculate scale only if needed.
2601 show ASCII approximations instead.
2603 2015-05-14 Eli Zaretskii <eliz@gnu.org>
2605 Fix daemon crashes when linum-mode is turned on early on
2606 * src/window.c (Fwindow_end): Don't try calling display engine
2607 functions on initial-frame frame. (Bug#20565)
2609 Fix selective diff browsing in Ediff
2610 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
2611 beginning of the region before searching for the
2612 ediff-regexp-focus-* regexps. (Bug#20568)
2614 2015-05-14 Jan D <jan.h.d@swipnet.se>
2617 * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
2618 in the main loop, even for Gtk 3 (Bug#20142).
2620 Don't access display after i/o error (Bug#19147).
2621 * xterm.c (x_connection_closed): Add third arg ioerror.
2622 If ioerror, set display to 0 (Bug#19147).
2623 (x_error_quitter): Call x_connection_closed with third arg false.
2624 (x_io_error_quitter): Call x_connection_closed with third arg true.
2626 Handle GTK_SCALE, fixes Bug#20432.
2627 * gtkutil.c (xg_get_gdk_scale): New function.
2628 (xg_frame_set_char_size)
2629 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
2630 (xg_get_default_scrollbar_height)
2631 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
2632 when setting sizes (Bug#20432).
2634 2015-05-13 Leo Liu <sdl.web@gmail.com>
2637 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
2639 2015-05-13 Glenn Morris <rgm@gnu.org>
2641 Fix bootstrap (void function cl-member).
2642 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
2643 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
2645 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
2648 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
2649 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
2650 Avoid defalias for closures which are not immutable.
2651 (cl--generic-prefill-dispatchers): New macro. Use it to prefill the
2652 dispatchers table with various entries.
2653 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
2654 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
2656 2015-05-13 Eli Zaretskii <eliz@gnu.org>
2658 Improve tagging of C bindings in DEFVAR_*
2659 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
2662 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
2664 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
2666 2015-05-12 Glenn Morris <rgm@gnu.org>
2668 * lisp/progmodes/tcl.el (tcl-filter):
2669 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
2671 Add basic VC push support.
2672 * lisp/vc/vc.el (vc-push): New autoloaded command.
2673 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
2674 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
2675 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
2677 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
2678 (vc-git-pull): Reimplement using vc-git--pushpull.
2680 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
2681 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
2682 * doc/emacs/maintaining.texi (Pulling / Pushing):
2683 Rename from "VC Pull". Mention pushing.
2684 (VC With A Merging VCS, VC Change Log): Update xrefs.
2685 (Branches): Update menu.
2686 * doc/emacs/emacs.texi: Update menu.
2687 * etc/NEWS: Mention this.
2689 2015-05-12 Nicolas Petton <nicolas@petton.fr>
2691 Improve the seq pcase pattern and the `seq-let' macro
2692 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
2693 object is a sequence, and binds each element of ARGS to the
2694 corresponding element of the sequence.
2696 2015-05-12 Eli Zaretskii <eliz@gnu.org>
2698 Fix tags created from DEFVAR_* declarations in C
2699 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
2700 to make tags extracted from DEFVAR_* declarations more accurate.
2702 Add a test suite for etags
2703 * test/etags/: New test suite, adapted from
2704 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
2705 whose original author is Francesco Potortì <pot@gnu.org>.
2707 Fix tagging of symbols in C enumerations
2708 * lib-src/etags.c (consider_token): Don't tag symbols in
2709 expressions that assign values to enum constants. See
2710 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
2712 (C_entries): Reset fvdef to fvnone after processing a preprocessor
2713 conditional and after a comma outside of parentheses.
2715 2015-05-12 Glenn Morris <rgm@gnu.org>
2717 * lisp/url/url-handlers.el (url-file-name-completion)
2718 (url-file-name-all-completions): Silence compiler.
2720 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
2722 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
2724 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2726 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
2727 (cl--generic-mandatory-args): Remove.
2728 (cl--generic-split-args): New function.
2729 (cl-generic-define, cl--generic-lambda): Use it.
2730 (cl-generic-define-method): Use it as well, and add support for
2732 (cl--generic-get-dispatcher): Handle &context dispatch.
2733 (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
2734 (cl--generic-dispatchers): Pre-fill.
2735 * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
2737 2015-05-11 Glenn Morris <rgm@gnu.org>
2739 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
2741 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
2744 * lisp/term/rxvt.el: Require term/xterm.
2745 (rxvt-function-map): Use xterm-rxvt-function-map.
2746 (rxvt-standard-colors): Move before first use.
2747 (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
2748 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
2749 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
2750 Move shared bindings between rxvt and xterm to it.
2751 (xterm-function-map): Use it. Move the xterm-paste binding to
2752 xterm-rxvt-function-map (bug#20444).
2753 (xterm-standard-colors): Move before first use.
2754 (xterm--push-map): New function.
2755 (xterm-register-default-colors): Take standard colors as argument.
2756 (terminal-init-xterm): Use it. Adjust call to
2757 xterm-register-default-colors.
2759 2015-05-11 Glenn Morris <rgm@gnu.org>
2761 * lisp/term/x-win.el: Quieten --without-x compilation.
2762 (x-own-selection-internal, x-disown-selection-internal)
2763 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
2766 * Makefile.in (emacslog): Remove srcdir.
2767 (ChangeLog): Update for the above.
2769 2015-05-11 Paul Eggert <eggert@cs.ucla.edu>
2773 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
2775 python.el: better limit for looking-back calls
2776 * lisp/progmodes/python.el (python-shell-accept-process-output):
2777 Use last comint prompt start as limit for looking-back.
2779 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
2781 CEDET (srecode-insert-fcn): Fix use of oref on a class
2782 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
2783 a class. Reported by Pierre Lorenzon.
2784 (srecode-template-inserter-point): Remove declaration.
2786 CEDET (srecode-create-dictionary): Avoid obsolete object name
2787 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
2788 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
2790 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
2792 C-x 8 shorthands for curved quotes, Euro, etc.
2793 Although C-x 8 lets you insert arbitrary Unicode characters,
2794 it's awkward to use this to insert commonly used symbols such as curved
2795 quotes, the Euro symbol, etc. This patch adds simpler sequences for
2796 characters commonly found in English text and in basic math.
2797 For example, assuming the Alt key works on your keyboard and iso-transl
2798 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
2799 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
2801 * doc/emacs/mule.texi (Unibyte Mode):
2802 A few other printing characters now work too.
2803 * etc/NEWS: Document this.
2804 * lisp/international/iso-transl.el (iso-transl-char-map):
2805 Also support the following characters:
2806 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
2808 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
2810 Add xref-find-regexp
2811 * lisp/progmodes/xref.el (xref-find-function): Describe the
2813 (xref-find-regexp): New command, using it.
2814 (xref-collect-references): Rename to xref-collect-matches.
2815 (xref--collect-reference): Rename to xref--collect-match.
2816 (xref-collect-matches, xref--collect-match): Accept new argument,
2817 KIND. Update accordingly.
2818 (xref--regexp-to-extended): New function.
2819 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
2821 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
2822 * lisp/progmodes/etags.el (etags-xref-find):
2823 Support the `matches' action.
2824 (etags--xref-find-matches): New function.
2826 2015-05-10 Glenn Morris <rgm@gnu.org>
2828 * Makefile.in: Fixes for recent change-history changes.
2829 (change-history-nocommit): Update footer regexp.
2830 Ensure output script stays executable.
2832 2015-05-10 Nicolas Petton <nicolas@petton.fr>
2834 New version of `seq-let' based on a pcase pattern
2835 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
2836 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
2838 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
2840 Add basic HTML5 tags and a template
2841 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
2842 (html-tag-alist): Add HTML5 tags.
2843 (html-tag-help): Add new tags descriptions.
2844 (html-navigational-links): Template for nav links.
2845 (html-html5-template): Template for a HTML5 page.
2847 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
2849 semantic/symref/grep: Don't use word boundaries
2850 * lisp/cedet/semantic/symref/grep.el
2851 (semantic-symref-perform-search): Instead of wrapping input in
2852 word boundaries, check that the characters before and after are
2853 not word constituents.
2855 semantic/symref/grep: Support regexp search
2856 * lisp/cedet/semantic/symref.el
2857 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
2858 the search type is regexp.
2859 * lisp/cedet/semantic/symref/grep.el
2860 (semantic-symref-perform-search): Support the regexp search type.
2861 Pass -E to Grep when it's used.
2863 semantic-symref-regexp: Allow to input an arbitrary string
2864 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
2865 Allow to input an arbitrary string interactively.
2867 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
2868 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
2869 Remove tag-symbol-match-p from the default value
2870 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
2872 Declare find-tag obsolete
2873 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
2874 xref-find-definitions.
2876 2015-05-10 Jan D <jan.h.d@swipnet.se>
2878 Draw composite string correctly (Bug#20537).
2879 * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
2880 (ns_draw_glyph_string): Call it (Bug#20537).
2882 2015-05-09 Eli Zaretskii <eliz@gnu.org>
2884 Avoid infloop in ERC
2885 * lisp/simple.el (line-move-to-column): Ignore field boundaries
2886 while computing line beginning position. (Bug#20498)
2888 2015-05-08 Glenn Morris <rgm@gnu.org>
2890 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
2891 * build-aux/gitlog-to-emacslog: Check called from right directory.
2892 (srcprefix): Remove.
2894 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
2895 * Makefile.in (ChangeLog): No longer pass "distprefix".
2896 * make-dist: Update "make ChangeLog" syntax for the above change.
2898 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
2899 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
2901 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
2903 Add command-line option-parsing to gitlog-to-emacslog.
2904 * build-aux/gitlog-to-emacslog: Add command-line options.
2905 By default, refuse to remove an existing output file.
2906 * Makefile.in (CHANGELOG): Update default.
2907 (ChangeLog): Do not test for existing file.
2908 (change-history-nocommit): Ensure temp file does not exist.
2910 Quieten --without-x compilation.
2911 * lisp/term/common-win.el: Provide a feature.
2912 * lisp/term/x-win.el (term/common-win): Require it.
2914 * lisp/dired-aux.el (dired-do-print): Require lpr.
2916 Quieten compilation, eg in --without-x builds.
2917 * lisp/dired-aux.el (lpr-printer-switch):
2918 * lisp/frame.el (tool-bar-height):
2919 * lisp/linum.el (font-info):
2920 * lisp/window.el (font-info, overflow-newline-into-fringe)
2922 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
2923 * lisp/gnus/gnus-util.el (iswitchb-mode):
2924 * lisp/mail/rmailmm.el (libxml-parse-html-region):
2925 * lisp/net/nsm.el (gnutls-peer-status)
2926 (gnutls-peer-status-warning-describe):
2927 * lisp/net/shr.el (libxml-parse-xml-region):
2928 * lisp/url/url-http.el (gnutls-peer-status): Declare.
2930 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2932 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
2933 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
2934 `subclass' since they're never called with a class.
2935 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
2936 srecode-dictionary-child-p.
2938 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2940 help--binding-locus: Document argument POSITION.
2941 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
2943 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
2946 * doc/misc/texinfo.tex: Get latest version.
2948 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
2950 ffap.el (ffap-read-file-or-url): Fix completing-read call
2951 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
2952 `completing-read' should be a symbol.
2954 2015-05-08 Eli Zaretskii <eliz@gnu.org>
2956 Verify file modifications by other programs
2957 * src/filelock.c (lock_file): Check whether the file was modified
2958 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
2960 Fix keyboard macros that include function keys
2961 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
2962 keys in the macro before returning. (Bug#20454)
2964 2015-05-08 Glenn Morris <rgm@gnu.org>
2966 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
2967 "Copyright-paperwork-exempt". (Bug#20324)
2969 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
2970 (log-edit-rewrite-tiny-change): New variable.
2971 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
2972 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
2973 * etc/NEWS: Mention this.
2975 * lisp/calc/calc.el (math-zerop): Declare.
2977 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
2979 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
2981 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
2982 Support the case when BINDINGS is a single tuple. (Bug#20525)
2984 * etc/NEWS: Fix typo in commit 14bb519
2986 2015-05-07 Jan D <jan.h.d@swipnet.se>
2988 Warn for multiple display crash for all Gtk+ versions.
2989 * configure.ac: Warn for multiple display crash for all Gtk+
2990 versions. Output URL to Gtk+ bug (Bug#20452).
2992 ns-win.el (ns-paste-secondary): Use gui-get-selection.
2993 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
2995 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
2997 * lisp/emacs-lisp/package.el: New "external" package status
2998 An external package is any installed package that's not built-in
2999 and not from `package-user-dir', which usually means it's from an
3000 entry in `package-directory-list'. They are treated much like
3001 built-in packages, in that they cannot be through the Package Menu
3002 deleted and are not considered for upgrades.
3003 (package-desc-status): Identify if a package is installed outside
3005 (package-menu--print-info-simple)
3006 (package-menu--status-predicate): Add support for it.
3007 * etc/NEWS: Document it.
3009 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * lisp/mail/rmail.el: Use lexical-binding
3012 (rmail-bury): Remove unused var `buffer-to-bury'.
3013 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
3014 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
3015 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
3016 (rmail-insert-inbox-text): Remove unused var `movemail'.
3017 (rmail-add-mbox-headers): Remove unused var `limit'.
3018 (rmail-undelete-previous-message): Remove unused var `value'.
3019 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
3021 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
3022 (rmail-restore-desktop-buffer): Rename arguments.
3024 2015-05-06 Glenn Morris <rgm@gnu.org>
3026 * Makefile.in (change-history-commit): Add missing piece of previous.
3028 Avoid unnecessary bumping of Makefile.in's timestamp.
3029 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
3030 (emacslog): New variable.
3031 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
3032 (unchanged-history-files): Use $emacslog rather than Makefile.in.
3033 (change-history-nocommit): Store hash in $emacslog.
3034 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
3035 * admin/update_autogen (changelog_files): Update for the above.
3037 * Makefile.in: Don't always insist on removing existing "ChangeLog".
3038 (CHANGELOG): New variable.
3039 (no-ChangeLog): Remove.
3040 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
3041 (change-history-nocommit): Use a temp file rather than insisting
3042 on deletion of any existing "ChangeLog".
3044 * build-aux/gitlog-to-emacslog: Allow specification of output.
3046 * admin/update_autogen: Add option to update ChangeLog.
3047 (usage): Mention -H.
3048 (changelog_flag, changelog_n, changelog_files): New variables.
3049 (main): Check for -H, and maybe run change-history-nocommit.
3051 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3053 * lisp/subr.el (delete-dups): Pre-size the hashtable.
3055 (define-modify-macro): Make sure cl--arglist-args is defined
3056 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
3057 cl--arglist-args is defined (bug#20517).
3059 2015-05-06 Glenn Morris <rgm@gnu.org>
3061 * Makefile.in (change-history-nocommit): New.
3063 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
3065 Only cancel timer when it is non-nil
3066 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
3067 timer when it is non-nil
3068 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
3070 2015-05-06 Glenn Morris <rgm@gnu.org>
3072 Quieten cedet compilation
3073 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
3074 Invert fboundp test to quieten on current Emacs.
3075 * lisp/cedet/ede/config.el (ede-shell-run-something)
3076 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
3077 (semanticdb-refresh-table): Declare.
3078 (ede-preprocessor-map): Require semantic/db.
3080 Quieten cc-mode compilation
3081 * lisp/progmodes/cc-awk.el (c-forward-sws):
3082 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
3085 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
3087 lisp/subr.el (delete-dups): Avoid nreverse.
3089 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
3091 * lisp/subr.el (delete-dups): Make it destructive again.
3093 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
3095 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
3097 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
3100 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
3101 (testcover--read): Rename from testcover-read. Change calling convention.
3102 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
3103 (testcover-start): Use add-function. Move edebug-all-defs binding to
3105 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
3106 (testcover-mark): Remove unused var `item'.
3107 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
3109 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
3111 lisp/subr.el (delete-dups): Use a hash table
3112 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
3113 use a hash table. This can result in ~500 times speed-up for typical
3114 collections of size 5000, like that of `load-library'.
3116 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
3118 CEDET: Avoid `oref' on classes in a few more cases
3119 * lisp/cedet/ede/generic.el (ede-find-target):
3120 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
3121 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
3124 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
3125 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
3126 (semantic-symref-perform-search): Remove unused var `pat'.
3128 CEDET (srecode-compile-inserter): Avoid `oref' on classes
3129 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
3130 Avoid `oref' on classes (bug#20491).
3131 (srecode-compile-split-code): Remove unused var `key'.
3133 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
3135 Clean up pulse.el a little
3136 * lisp/cedet/pulse.el (pulse): Remove.
3137 (pulse-momentary-timer): Save instead of the stop time.
3138 (pulse-momentary-highlight-overlay): Call
3139 pulse-momentary-unhighlight first thing. Treat
3140 pulse-momentary-overlay as a single value, not a list. Save the
3141 created timer. Only pass the stop time to the timer.
3142 (pulse-tick): Update accordingly.
3143 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
3144 single value. Cancel the timer.
3146 2015-05-06 Tassilo Horn <tsdh@gnu.org>
3148 Support the biblatex journaltitle field
3149 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
3150 Support the biblatex journaltitle field.
3152 2015-05-05 Glenn Morris <rgm@gnu.org>
3154 Minor declare-function improvement
3155 * lisp/emacs-lisp/bytecomp.el
3156 (byte-compile-macroexpand-declare-function):
3157 Handle declarations after calls. (Bug#20509)
3159 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
3161 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
3163 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
3166 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
3167 (pulse-momentary-highlight-overlay): Set up the timer instead of
3169 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
3170 (pulse-tick): New function.
3171 (pulse-momentary-unhighlight): Cut off the stop time.
3172 (pulse-delay): Update the docstring WRT to not using sit-for.
3174 Add semantic/symref/grep file patterns for ruby-mode
3175 * lisp/cedet/semantic/symref/grep.el
3176 (semantic-symref-filepattern-alist): Add patterns for
3177 ruby-mode. Clarify the docstring.
3180 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
3181 match. That doesn't work for every command, and some identifier
3182 completion tables are bound to be imperfect anyway.
3184 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
3187 (semantic-grammar--template-expand): New function.
3188 (semantic-grammar-header, semantic-grammar-footer): Use it.
3189 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
3190 (semantic-grammar-file-regexp): Refine regexp.
3191 (semantic-grammar-eldoc-get-macro-docstring):
3192 Use elisp-get-fnsym-args-string when available.
3193 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
3194 instead of the old eldoc-* names.
3195 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
3196 from elisp-mode.el. Tweak calling convention.
3197 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
3198 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
3199 elisp--get-fnsym-args-string.
3200 (elisp--highlight-function-argument): Add `prefix' arg.
3201 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
3202 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
3204 2015-05-05 Glenn Morris <rgm@gnu.org>
3206 * lisp/help-fns.el (describe-function-1):
3207 Handle builtins with advertised calling conventions. (Bug#20479)
3209 2015-05-05 Nicolas Petton <nicolas@petton.fr>
3211 Merge branch 'seq-let'
3213 Update `seq-let' documentation
3214 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
3215 with the support of `&rest'.
3217 Add support for &rest in `seq-let'
3218 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
3219 in the argument list.
3220 * test/automated/seq-tests.el: Add a test for parsing and binding
3221 `&rest' in `seq-let'.
3223 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
3227 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
3229 * eieio-custom.el (eieio-object-value-get): Add missing increment
3232 (eieio-object-value-create): Adjust to new slots representation
3234 * eieio-custom.el (eieio-object-value-create):
3235 Fix missed adjustment to new representation of slots metadata.
3237 2015-05-05 Nicolas Petton <nicolas@petton.fr>
3239 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
3241 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
3243 Work around "Attempt to modify read-only object"
3244 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
3245 elisp--xref-find-definitions, to work around "Attempt to modify
3246 read-only object" error.
3248 Only skip some variables that have function counterparts
3249 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
3250 Only skip minor-mode-named variable if it's defined in a Lisp
3251 file, and it's in minor-mode-list (bug#20506).
3252 * test/automated/elisp-mode-tests.el
3253 (elisp-xref-finds-both-function-and-variable)
3254 (elisp-xref-finds-only-function-for-minor-mode): New tests.
3256 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
3258 Buttonize the whole line, including the number at the beginning
3259 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
3261 (xref--insert-xrefs): Buttonize the whole line, including the
3262 number at the beginning.
3264 Make sure we're inside the let bindings
3265 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
3266 Make sure we're inside the let bindings.
3267 * test/automated/elisp-mode-tests.el
3268 (elisp-completes-functions-after-let-bindings): New test.
3270 2015-05-04 Glenn Morris <rgm@gnu.org>
3272 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
3273 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
3274 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
3275 Remove outdated declarations.
3277 Replace instances of "(eval-when-compile (autoload ...))"
3278 * lisp/gnus/gnus-art.el (nneething-get-file-name):
3279 Declare rather than autoload.
3280 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
3281 Remove pointless autoload.
3282 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
3283 (gnus-topic-create-topic, gnus-topic-enter-dribble):
3284 Declare rather than autoload.
3285 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
3286 (mailcap-extension-to-mime): Autoload at run-time.
3287 * lisp/gnus/mm-util.el (latin-unity-massage-name)
3288 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
3289 (latin-unity-representations-present-region):
3290 Declare rather than autoload.
3291 * lisp/gnus/mml-smime.el (epg-make-context)
3292 (epg-passphrase-callback-function): Autoload at run-time.
3293 (epg-context-set-signers, epg-context-result-for)
3294 (epg-new-signature-digest-algorithm)
3295 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
3296 (epg-sign-string, epg-encrypt-string)
3297 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
3298 (epg-configuration, epg-expand-group, epa-select-keys):
3299 Declare rather than autoload.
3300 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
3301 Autoload at run-time.
3302 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
3303 (gnus-registry-get-id-key, gnus-registry-action):
3304 Declare rather than autoload.
3305 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
3306 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
3307 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
3308 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
3309 (spam-stat-split-fancy): Remove pointless autoloads.
3310 * lisp/net/mairix.el: Load gnus-util when compiling.
3311 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
3312 (message-field-value): Declare rather than autoload.
3313 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
3314 Check gnus-alive-p is fbound.
3315 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
3316 (vm-check-for-killed-summary, vm-error-if-folder-empty)
3317 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
3318 Declare rather than autoload.
3320 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
3322 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
3323 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
3325 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
3327 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
3329 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
3330 * lisp/emacs-lisp/package.el (epg-signature-status):
3333 * lisp/play/gametree.el (gametree-show-children-and-entry)
3334 (gametree-apply-layout, gametree-mouse-show-subtree)
3335 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
3337 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
3338 Handle cl-defgeneric, cl-defmethod.
3340 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
3342 Highlight both type and symbol name
3343 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
3344 Highlight both type and symbol name.
3346 Insert, highlight and align line numbers in xref output
3347 * lisp/progmodes/etags.el (xref-location-line): Specialize for
3348 xref-etags-location.
3349 * lisp/progmodes/xref.el (xref-location-line): New generic method.
3350 (xref-file-location): Add reader for the line slot.
3351 (xref--location-at-point): Skip to the `xref-location' property.
3352 (xref--collect-reference): Drop the line number from description.
3353 (xref--insert-xrefs): Insert, highlight and align line numbers.
3355 2015-05-04 Daniel Colascione <dancol@dancol.org>
3359 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
3361 Don't pulse the indentation, or the newline
3362 * lisp/cedet/pulse.el (pulse-lighten-highlight)
3363 (pulse-reset-face): Fall back to the inherited background
3365 (pulse-momentary-highlight-region): Add autoload cookie.
3366 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
3367 indentation, or the newline, if the line's non-empty
3368 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
3370 2015-05-04 Daniel Colascione <dancol@dancol.org>
3372 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
3373 * doc/lispref/positions.texi (Excursions): Document
3374 `save-mark-and-excursion'.
3375 * lisp/font-lock.el (font-lock-fontify-block): Use
3376 `save-mark-and-excursion' instead of `save-excursion', restoring
3378 * lisp/simple.el (save-mark-and-excursion--save)
3379 (save-mark-and-excursion--restore): New functions.
3380 (save-mark-and-excursion): New user macro.
3381 * src/editfns.c (Fsave_excursion): Mention
3382 `save-mark-and-excursion' in `save-excursion' documentation.
3384 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
3386 Classify lone symbol inside let varlist as variable
3387 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
3388 Classify lone symbol inside let varlist as variable.
3389 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
3392 Add xref-pulse-on-jump
3393 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
3394 Add autoload cookie.
3395 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
3396 (xref--maybe-pulse): New function.
3397 (xref-pop-marker-stack, xref--pop-to-location)
3398 (xref--display-position): Use it.
3399 (xref--location-at-point): Use back-to-indentation.
3401 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
3403 * lisp/org/org-{macs,list}.el: Fix lexical warnings
3404 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
3405 (org-list-get-next-item, org-list-get-prev-item)
3406 (org-list-get-children): Mark unused arg `struct'.
3407 (org-list-use-alpha-bul-p): Remove unused var `bul'.
3408 (org-toggle-checkbox): Mark unused var.
3409 (org-update-checkbox-count): Remove unused var `box-num'.
3410 (org-adapt-indentation): Declare.
3411 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
3412 (org-list-send-list): Remove unused var `txt'.
3413 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
3414 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
3415 * lisp/org/org-macs.el: Use `declare'.
3416 (org-with-limited-levels): Declare dyn-bound vars.
3418 2015-05-04 Eli Zaretskii <eliz@gnu.org>
3420 Fix minor issues with CEDET on MS-Windows
3421 * lisp/cedet/semantic/symref/idutils.el
3422 (semantic-symref-parse-tool-output-one-line): Fix the search
3423 regexp to match MS-Windows file names with drive letters.
3425 * lisp/cedet/semantic/symref/grep.el
3426 (semantic-symref-grep-use-template): Remove "--color=always" from
3427 Grep switches on MS-Windows.
3428 (semantic-symref-grep-shell): Use shell-file-name as the default
3429 value, so this works not only on Posix platforms.
3430 (semantic-symref-perform-search): Use shell-quote-argument instead
3431 of literal '..' for portable quoting of Grep command-line
3432 argument. Use shell-command-switch instead of a literal "-c".
3433 * lisp/cedet/semantic/bovine/gcc.el
3434 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
3435 for an absolute file name in a portable way.
3437 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
3439 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
3440 (package-import-keyring, package-refresh-contents)
3441 (package-compute-transaction, package--save-selected-packages)
3442 (package-install-from-archive, package-delete)
3443 (package-menu--perform-transaction): Use `inhibit-message'
3445 (package--compile): Set `warning-minimum-level' to :error.
3447 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
3449 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
3450 (terminal-init-screen): Use it (bug#20356).
3451 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
3452 (xterm--extra-capabilities-type): New const.
3453 (xterm-extra-capabilities): Use it.
3454 (xterm--version-handler): Lower the pseudo-version for `screen'.
3456 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
3458 xref--insert-xrefs: Tweak the faces
3459 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
3460 Always insert a newline at the end (to avoid mouse-face background
3461 tail at the last line).
3463 elisp-completion-at-point: Prioritize being quoted over funpos
3464 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
3465 Only consider function position when not inside quoted form
3467 * test/automated/elisp-mode-tests.el: New file.
3469 Stop vc-print-log from jumping to the top
3470 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
3471 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
3473 (vc-incoming-outgoing-internal): Always pass nil.
3474 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
3475 call it, and don't set vc-sentinel-movepoint (bug#15322).
3476 (vc-print-root-log): Don't fetch the root working revision, nor
3477 pass it to vc-print-log-internal.
3479 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
3481 Fix display of keyboard layouts for right-to-left scripts
3482 * lisp/international/quail.el (quail-insert-kbd-layout): Force
3483 left-to-right paragraph direction.
3485 2015-05-02 K. Handa <handa@gnu.org>
3487 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
3489 * cmds.c (internal_self_insert): When we insert spaces for
3490 padding, set point before the padding spaces, not after them.
3492 2015-05-02 Nicolas Petton <nicolas@petton.fr>
3494 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
3496 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
3498 Fix etags-xref-find for references
3499 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
3500 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
3501 directory if no tags tables are loaded (bug#19468).
3503 2015-05-02 Philipp Stephani <phst@google.com>
3505 Update the options in whitespace-style defcustom
3506 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
3507 `repeat' because the option is really set-like. Add missing
3508 options. Reorder options to match the order in the
3509 documentation. (Bug#20346)
3511 2015-05-02 Eli Zaretskii <eliz@gnu.org>
3513 Fix error diagnostics of c-macro-expand
3514 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
3515 too early if no start-marker string was found -- that generally
3516 means cpp exited abnormally, and we still want to show its error
3517 messages to the user.
3519 Don't require Texinfo 5.0 for Emacs documentation
3520 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
3521 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
3522 "@codequoteundirected on", respectively, to avoid requiring
3523 Texinfo 5.x for Emacs documentation.
3525 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
3527 * lisp/files.el (pwd):
3528 When called with a prefix argument, insert the current default
3531 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
3534 * lisp/isearch.el (isearch-mode-map): Don't inhibit
3535 function-key-map remapping for backspace (bug#20466).
3537 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
3539 Implement xref-find-references in etags and elisp-mode
3540 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
3541 (elisp-xref-find): Use it.
3542 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
3543 * lisp/progmodes/xref.el (xref-collect-references):
3544 (xref--collect-reference): New functions.
3546 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
3548 Prefer plain characters to Texinfo circumlocutions
3549 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
3550 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
3552 Fix single-quoting style in PDF manuals
3553 The PDF versions of the GNU manuals used curved single quotes to
3554 represent grave accent and apostrophe, which made it a pain to cut
3555 and paste code examples from them. Fix the PDF versions to use
3556 grave accent and apostrophe for Lisp source code, keystrokes, etc.
3557 This change does not affect the info files, nor does it affect
3558 ordinary uses of curved single quotes in PDF.
3559 * doc/emacs/docstyle.texi: New file, which specifies treatment for
3560 grave accent and apostrophe, as well as the document encoding.
3561 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
3562 * doc/lispintro/emacs-lisp-intro.texi:
3563 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
3564 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
3565 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
3566 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
3567 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
3568 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
3569 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
3570 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
3571 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
3572 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
3573 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
3574 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
3575 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
3576 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
3577 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
3578 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
3579 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
3580 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
3581 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
3582 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
3583 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
3584 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
3585 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
3586 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
3587 * doc/misc/woman.texi:
3588 Use it instead of '@documentencoding UTF-8', to lessen the need for
3589 global changes like this in the future.
3590 * doc/emacs/Makefile.in (EMACS_XTRA):
3591 * doc/lispintro/Makefile.in (srcs):
3592 * doc/lispref/Makefile.in (srcs):
3593 Add dependency on docstyle.texi.
3594 * doc/misc/Makefile.in (style): New macro.
3595 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
3596 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
3599 2015-05-01 Glenn Morris <rgm@gnu.org>
3601 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
3603 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
3604 (help-fns--signature): Declare.
3606 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
3608 2015-05-01 Nicolas Petton <nicolas@petton.fr>
3610 New macro seq-let, providing destructuring support to seq.el
3611 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
3612 to `cl-destructuring-bind' but works on all sequence types supported
3613 by `seq.el'. Bump version number to 1.6.
3614 * test/automated/seq-tests.el: Add tests for seq-let.
3615 * doc/lispref/sequences.texi: Add documentation for seq-let.
3617 2015-05-01 Pontus Michael <m.pontus@gmail.com>
3619 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
3621 2015-05-01 Glenn Morris <rgm@gnu.org>
3623 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
3625 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
3627 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
3628 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
3629 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
3630 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
3633 2015-05-01 K. Handa <handa@gnu.org>
3635 * mule-cmds.el (input-method-use-echo-area): Change :type to
3638 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3640 Start using proportional fonts in eww by default
3641 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
3642 it seems to work well.
3644 Fix links in tables in shr
3645 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
3646 makes (some) links in tables not work.
3648 2015-05-01 Jan D <jan.h.d@swipnet.se>
3650 (ns-get-cut-buffer-internal): Remove this alias.
3651 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
3653 2015-04-30 Glenn Morris <rgm@gnu.org>
3655 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
3656 Update for 2015-02-08 change to indirect-function.
3658 * lisp/term/ns-win.el (ns-get-selection-internal):
3659 Remove declaration for function deleted 2014-10-21.
3661 * lisp/dom.el: Load subr-x when compiling, for when-let.
3663 Silence some compilation warnings
3664 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
3665 * lisp/emulation/cua-base.el (delete-active-region):
3666 * lisp/net/net-utils.el (w32-get-console-output-codepage):
3667 * lisp/term/ns-win.el (ns-own-selection-internal)
3668 (ns-disown-selection-internal, ns-selection-owner-p)
3669 (ns-selection-exists-p, ns-get-selection):
3670 Declare for compiler..
3672 Function declaration updates prompted by 'make check-declare'
3673 * lisp/emacs-lisp/package.el (lm-homepage):
3674 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
3675 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
3676 * lisp/gnus/mml.el (libxml-parse-html-region):
3677 * lisp/gnus/nnrss.el (libxml-parse-html-region):
3678 * lisp/net/eww.el (libxml-parse-html-region):
3679 * lisp/net/shr.el (libxml-parse-html-region):
3680 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
3681 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
3682 * lisp/vc/vc-git.el (vc-annotate-convert-time):
3683 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
3684 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
3685 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
3688 Remove compatibility code for 20-year old function renaming
3689 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
3690 Make it an obsolete alias.
3691 (idlwave-shell-filter): Change all uses to comint-output-filter.
3693 2015-04-30 Tassilo Horn <tsdh@gnu.org>
3695 Add ace-window face config
3696 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
3699 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
3701 Unclutter 'make doc' output a bit
3702 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
3703 Use make subst rather than sh IFS to split target string apart.
3704 This makes 'make' output easier to follow.
3707 * doc/misc/texinfo.tex: Update from gnulib.
3709 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
3711 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
3712 (package-menu--print-info): Obsolete.
3713 (package-menu--print-info-simple): New function.
3714 (package-menu--refresh): Use it, simplify code, and improve
3716 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3717 Tiny performance improvement.
3719 * lisp/emacs-lisp/package.el (package--message): inhibit-message
3721 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
3723 Omit -Wstrict-overflow workaround in GCC 5
3724 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
3725 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
3729 2015-04-29 extern-inline: no need for workaround in GCC 5.1
3730 2015-04-26 file-has-acl: port to CentOS 6
3731 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
3733 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
3735 Set next-error-* in xref--xref-buffer-mode
3736 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
3737 `next-error-last-buffer'.
3738 (xref--next-error-function): New function.
3739 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
3741 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
3743 python.el: Fix warnings on looking-back calls missing LIMIT
3744 * lisp/progmodes/python.el (python-shell-accept-process-output):
3745 Pass LIMIT arg to looking-back.
3747 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
3749 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
3750 (package--download-and-read-archives): Use pushnew instead of
3751 append. If something terrible happened during a previous
3752 download, simply refreshing should now make things work again.
3754 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
3756 Introduce etags-xref-find-definitions-tag-order
3757 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
3759 (etags--xref-find-definitions): Use it (bug#19468).
3761 2015-04-29 Eli Zaretskii <eliz@gnu.org>
3763 PATH- and completion-related fixes in Eshell on MS-Windows
3764 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
3765 MS-Windows, prepend "." to list of directories produced from PATH,
3766 as Windows always implicitly searches the current directory first.
3767 (eshell-force-execution): Make it have a non-nil default value on
3768 MS-Windows and MS-DOS.
3769 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
3770 eshell-force-execution is non-nil, complete on readable files and
3771 directories, not only executables. When running on MS-Windows,
3772 prepend "." to list of directories produced from PATH, as Windows
3773 always implicitly searches the current directory first.
3775 2015-04-29 Sam Steingold <sds@gnu.org>
3777 bury RCIRC buffers when there is no activity
3778 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
3779 (rcirc-bury-buffers): new function
3780 (rcirc-next-active-buffer): when there is no new activity, use
3781 `rcirc-bury-buffers' to hide all RCIRC buffers
3783 2015-04-29 Michael Albinus <michael.albinus@gmx.de>
3785 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
3787 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
3789 Fix DBUS query result parsing for secrets-search-items
3790 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
3791 parsing. The function assumed that return value of the
3792 SearchItems method called on a collection is a list of two lists,
3793 however this is true only when no collection is specified. GNOME
3794 had used to incorrectly return a list of two lists in both cases,
3795 but this was already fixed:
3796 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
3797 incorrect information in the secrets-search-items’ docstring.
3800 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
3802 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
3803 (byte-compile--message): Use `inhibit-message' instead of hiding
3804 the previous message with (message nil).
3806 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
3808 Remove the deprecated INTERNAL_FIELD macro by expanding it
3809 * src/lisp.h (INTERNAL_FIELD): Remove.
3810 (DEFVAR_KBOARD): Modify accordingly.
3811 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
3812 * syntax.c: Adjust users.
3813 * src/buffer.c (compact_buffer): Use BVAR.
3815 2015-04-29 Glenn Morris <rgm@gnu.org>
3817 Replace an obsolete function alias
3818 * lisp/isearch.el (isearch-yank-x-selection):
3819 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
3820 (mouse-drag-secondary-moving):
3821 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
3822 Replace obsolete alias x-get-selection with gui-get-selection.
3824 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * lisp/mail/rmailsum.el: Use lexical-binding.
3828 2015-04-29 Glenn Morris <rgm@gnu.org>
3830 * test/automated/package-test.el (package-test-update-archives-async):
3831 Skip test on hydra.nixos.org.
3833 2015-04-28 Glenn Morris <rgm@gnu.org>
3835 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
3836 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
3837 (foldout-mouse-hide-or-exit): Use new names for outline functions.
3839 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
3840 Update for 2014-06-26 hideif.el change.
3842 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
3843 (rmail--decode-and-apply): New function.
3844 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
3846 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
3848 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
3850 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
3851 (package-menu--refresh): Delegate obsolete-hiding to
3852 `package--remove-hidden'.
3853 (package--remove-hidden): Disregard high-priority package if it is
3854 older than the installed one.
3856 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
3858 Update source file encoding list
3859 Update admin/notes/unicode, along with coding system cookies in
3860 other files, so that the two match each other better.
3861 * admin/notes/unicode: lisp/language/ethio-util.el and
3862 lisp/language/ethiopic.el also use utf-8-emacs.
3863 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
3864 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
3865 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
3866 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
3867 * etc/refcards/sk-survival.tex:
3868 Add "coding: utf-8" so that this file is not mishandled in a
3869 Latin-1 or Big-5 locale.
3870 * lisp/international/robin.el, lisp/org/ox-ascii.el:
3871 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
3872 * lisp/language/ethio-util.el: Fix trailer.
3874 2015-04-28 Eli Zaretskii <eliz@gnu.org>
3876 Fix synchronous invocation of Ispell
3877 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
3878 value to ispell-process-directory before calling ispell-init-process.
3879 Don't call set-process-coding-system if ispell-async-processp is nil.
3882 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
3884 * lisp/emacs-lisp/package.el: Skip space and comments in init file
3885 (package--ensure-init-file): Insert snippet at first
3886 non-whitespace non-comments line. Respects local-vars at the top
3889 2015-04-28 Glenn Morris <rgm@gnu.org>
3891 * lisp/mail/rmail.el (rmail-copy-headers):
3892 Handle rmail-nonignored-headers being nil. (Bug#18878)
3894 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
3896 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
3897 Don't get confused by a bzrlib version mismatch warning.
3899 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3901 Change default location of EUDC options file
3902 * NEWS: Document change to EUDC options file's default location.
3903 * lisp/net/eudc-vars.el (eudc-options-file): Use
3904 `locate-user-emacs-file' to change default options file location.
3906 2015-04-27 Glenn Morris <rgm@gnu.org>
3908 * test/automated/package-test.el (package-test-update-archives-async):
3909 Try to handle the test server script dying.
3911 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3913 * lisp/saveplace.el (save-place-mode): New minor mode.
3914 (save-place): Redefine as an obsolete alias.
3916 * lisp/midnight.el: Make it a minor mode. Allow predicates.
3917 * lisp/midnight.el: Use lexical-binding.
3918 (midnight-mode): Make it a proper minor mode.
3919 (midnight-buffer-display-time): Make arg non-optional.
3920 (midnight-find): Remove.
3921 (clean-buffer-list-kill-never-regexps)
3922 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
3923 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
3925 (clean-buffer-list): Use cl-find.
3926 Allow clean-buffer-list-kill-never-regexps to contain functions.
3928 2015-04-27 Nicolas Petton <nicolas@petton.fr>
3930 Bump version of seq.el to 1.5
3931 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
3932 from seq-doseq. Bump version number of seq.el.
3934 2015-04-27 Glenn Morris <rgm@gnu.org>
3936 * lisp/mail/rmail.el (rmail-reply):
3937 Decode subject before matching "Re:" prefix. (Bug#20396)
3939 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
3941 * lisp/emacs-lisp/package.el: Small improvements
3942 (package--with-work-buffer-async): More informative error.
3943 (package-install-user-selected-packages): Rename to
3944 `package-install-selected-packages'.
3946 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
3949 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
3950 (eieio--class-make): Remove leftover `tag'.
3952 2015-04-27 Glenn Morris <rgm@gnu.org>
3954 * lisp/gnus/message.el (gnus-extract-address-components):
3955 Remove bogus declaration that was masking previous problem.
3957 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
3959 * lisp/gnus/message.el (message-insert-formatted-citation-line):
3960 Fix typo. (Bug#20318)
3962 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
3966 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
3967 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
3968 the buffer in yet another frame.
3969 (reftex-toc-visit-location): Make sure toc-window has focus at the end
3970 when `final' is nil.
3971 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
3972 silence warnings. Use `--' to clarify that it's internal.
3973 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
3974 (reftex-toc-promote): Clarify unused argument.
3975 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
3976 Add `reftex--' prefix. Fix all users.
3977 (reftex-toc-promote-prepare): Use _ for dummy variable.
3978 (reftex-toc-restore-region): Rename `m
3980 2015-04-27 Eli Zaretskii <eliz@gnu.org>
3982 Fix a typo in bibtex.el
3983 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
3984 last change. (Bug#20429)
3986 Fix redisplay of frame after loading new fonts
3987 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
3988 frame because new fonts were loaded, disable all redisplay
3989 optimizations on that frame by calling SET_FRAME_GARBAGED.
3992 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * lisp/info.el (Info-menu): Properly provide the `default'
3997 * elisp-mode.el: Catch errors from `documentation'
3999 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
4000 Catch errors from documentation.
4001 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
4003 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4005 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
4006 Remove redundant ":group 'package".
4008 2015-04-26 Eli Zaretskii <eliz@gnu.org>
4010 Fix a typo in rmail.el
4011 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
4012 last commit. (Bug#20429)
4014 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
4016 Introduce xref-prompt-for-identifier
4017 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
4018 (xref--read-identifier): Use it
4019 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
4021 2015-04-26 João Távora <joaotavora@gmail.com>
4023 `tex-insert-quote' after single `'' opens quotes instead of closing
4024 Without this, it's very hard to precede double quotes with the
4025 apostrophe character, i.e. insert the sequence '``
4026 (quote-backquote-backquote), commonly useful in portuguese, for
4028 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
4029 chars making `tex-insert-quote' be in the "opening" context.
4031 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
4033 Pass `id' to `completing-read' as def instead of initial input
4034 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
4035 as the default value instead of initial input
4036 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
4038 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
4040 Don't freeze with unreadable processes
4041 Don't freeze if an exiting process can't be read from. (Bug#19860).
4042 This fixes a bug I introduced in
4043 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
4044 "* process.c: Add sanity checks for file descriptors."
4045 Dmitry Gutov did most of the legwork in finding the problem.
4046 * src/process.c (wait_reading_process_output):
4047 Treat non-running processes that can't be read from
4048 the same as other non-running processes.
4050 2015-04-25 Alan Mackenzie <acm@muc.de>
4052 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
4053 * lisp/subr.el (remove-yank-excluded-properties): put
4054 `with-silent-modifications' around only the last three lines of code.
4056 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
4058 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
4059 (package--all-keywords): Deleted variable.
4061 * etc/NEWS: Document package-hiding functionality
4063 2015-04-25 Eli Zaretskii <eliz@gnu.org>
4065 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
4067 Clarify the doc string of 'replace-regexp-in-string'
4068 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
4070 Improve doc string of 'insert-buffer-substring'
4071 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
4073 MS-Windows followup for the recent gnulib update
4074 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
4077 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
4083 2015-04-24 file-has-acl: new module, split from acl
4084 2015-04-24 manywarnings: add GCC 5.1 warnings
4085 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
4086 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
4087 2015-04-15 acl: On Linux, check for acls without libacl
4088 2015-04-14 tempname: avoid unused parameter warnings (trivial)
4089 * lib/acl-internal.c: New file, from gnulib.
4090 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
4091 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
4092 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
4095 Port --enable-gcc-warnings to GCC 5.1 x86-64
4096 * lib-src/ebrowse.c (dump_sym):
4097 * lib-src/hexl.c (main):
4098 * src/ccl.c (ccl_driver):
4099 * src/character.c (string_escape_byte8):
4100 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
4101 * src/gnutls.c (Fgnutls_boot):
4102 * src/gtkutil.c (xg_check_special_colors):
4103 * src/image.c (x_build_heuristic_mask):
4104 * src/print.c (safe_debug_print, print_object):
4105 * src/term.c (produce_glyphless_glyph):
4106 * src/xdisp.c (get_next_display_element)
4107 (produce_glyphless_glyph):
4108 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
4109 Don't use a signed format to print an unsigned integer, or vice
4110 versa. GCC 5.1's new -Wformat-signedness option warns about this.
4111 * src/image.c (png_load_body, jpeg_load_body):
4112 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
4114 2015-04-24 Tassilo Horn <tsdh@gnu.org>
4116 Add new faces to tsdh-light-theme
4117 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
4118 definitions for Info-quoted, ace-jump-face-foreground,
4119 hl-paren-face, show-paren-match, and show-paren-mismatch.
4121 2015-04-24 Nicolas Petton <nicolas@petton.fr>
4123 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
4125 2015-04-24 Glenn Morris <rgm@gnu.org>
4127 * build-aux/gitlog-to-emacslog:
4128 Use raw log format rather than wrapped one.
4130 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4132 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
4133 (seq-doseq): Fix out-of-scope binding.
4134 Don't call `seq-length at every iteration.
4135 Reduce `if's from 3 to 2 per iteration.
4136 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
4138 2015-04-24 Glenn Morris <rgm@gnu.org>
4140 * lisp/textmodes/text-mode.el (text-mode-hook):
4141 Move text-mode-hook-identify to default.
4143 * lisp/mouse.el (minor-mode-menu-from-indicator):
4144 Handle non-function members of minor-mode-map-alist. (Bug#20201)
4146 * lisp/help-fns.el (describe-function): More type checking.
4147 (describe-function-1): Handle changed symbol-function. (Bug#20201)
4149 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
4152 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
4154 shr: strip leading whitespace when expanding URLs
4155 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
4157 2015-04-24 Eli Zaretskii <eliz@gnu.org>
4159 Clarify "co-authored" some more
4161 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
4163 Clarify doc strings of functions that search for properties
4164 * src/textprop.c (Fnext_char_property_change)
4165 (Fprevious_char_property_change)
4166 (Fnext_single_char_property_change)
4167 (Fprevious_single_char_property_change, Fnext_property_change)
4168 (Fnext_single_property_change, Fprevious_property_change)
4169 (Fprevious_single_property_change): Clarify doc strings wrt return
4170 value and the optional LIMIT argument. (Bug#20411)
4172 2015-04-24 Glenn Morris <rgm@gnu.org>
4174 * test/automated/message-mode-tests.el (message-mode-propertize):
4175 Handle non-writable HOME; eg on hydra.nixos.org.
4177 2015-04-23 Eli Zaretskii <eliz@gnu.org>
4179 Avoid starting threads by w32-shell-execute
4180 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
4181 local file names, before invoking ShellExecute. (Bug#20220)
4183 2015-04-23 Martin Rudalics <rudalics@gmx.at>
4185 Fix following doc-links in `widget-documentation-link-action'
4186 * lisp/wid-edit.el (widget-documentation-link-action): Make
4187 following doc-links less simplistic (Bug#20398).
4189 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4192 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
4194 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
4196 Omit needless "\ " after multibyte then newline
4197 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
4198 (print_object): When print-escape-multibyte is non-nil and a
4199 multibyte character is followed by a newline or formfeed, followed
4200 by a hex digit, don't output a needless "\ " before the hex digit.
4201 * test/automated/print-tests.el (print-hex-backslash): New test.
4203 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
4205 Add a new `inhibit-message' variable
4206 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
4207 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
4208 `inhibit_message' is non-zero.
4209 * etc/NEWS: Add an entry.
4210 * doc/lispref/display.texi: Add an entry for `inhibit-message',
4211 mention it in `message'.
4213 2015-04-22 Martin Rudalics <rudalics@gmx.at>
4215 Fix last fix in `display-buffer-record-window'.
4216 * lisp/window.el (display-buffer-record-window): Fix last fix.
4218 2015-04-22 Eli Zaretskii <eliz@gnu.org>
4220 Minor edits in CONTRIBUTE
4221 * CONTRIBUTE: Rearrange instructions about log messages.
4222 Use "Git" capitalized all over.
4223 Use 2 spaces between sentences.
4225 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
4227 * lisp/files.el (basic-save-buffer): Fix argument
4229 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
4230 In case `(and (null custom-file) init-file-had-error)' do the same
4231 thing we'd do if `(null user-init-file)', which is to either error out
4232 or return nil. This is in line with `custom-save-all' which would
4233 throw an error in that situation. (bug#20355)
4235 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
4236 (package-menu-hide-low-priority): New variable, see its doc.
4237 (package-archive-priorities): Update doc.
4238 (package-desc-priority): New function.
4239 (package-desc-priority-version): Use it.
4240 (package--remove-hidden): New function.
4241 (package-menu--refresh): Use it.
4243 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
4244 (package-menu--hide-obsolete): New variable.
4245 (package--remove-hidden): Use it.
4246 (package-menu-hide-obsolete): New interactive function to toggle
4248 (package--quick-help-keys): Document it.
4249 (package-menu-async): Add :version tag.
4250 (package-menu-mode-map): Bind package-menu-hide-obsolete.
4251 (package-desc-status): Indicate non-installed obsolete packages as
4253 (package-menu-mark-install): Allow installation of avail-obso.
4254 (package-menu--status-predicate): Sort avail-obso with available.
4256 2015-04-22 Alan Mackenzie <acm@muc.de>
4258 On C-y, stop some text property entries being written into buffer-undo-list
4259 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
4260 `with-silent-modifications'.
4262 2015-04-22 Martin Rudalics <rudalics@gmx.at>
4264 In display-buffer-record-window record selected window if necessary.
4265 * lisp/window.el (display-buffer-record-window): Store selected window
4266 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
4268 2015-04-22 Tassilo Horn <tsdh@gnu.org>
4270 Fix reftex-citation bug
4271 * reftex-cite.el (reftex-extract-bib-entries): Fix
4272 `wrong-type-argument stringp nil' error that occurs when AUCTeX
4273 integration is enabled and there are no citations in the document
4276 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
4278 Add or reset based on the presence of MERGE_HEAD
4279 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
4280 `vc-git-resolve-when-done' to `after-save-hook' in either case.
4281 (vc-git-conflicted-files): Add a TODO.
4282 (vc-git-resolve-when-done): Depending on the presence of
4283 MERGE_HEAD, either update the resolved file in the index, or
4284 remove it from there. (Bug#20292)
4286 2015-04-21 Glenn Morris <rgm@gnu.org>
4288 * lisp/custom.el (custom-declare-group): No need to purecopy
4289 custom-current-group-alist members following recent change to set
4290 it to nil before dumping.
4292 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
4295 2015-04-21 Daniel Colascione <dancol@dancol.org>
4297 Unbreak no-op buffer save message
4298 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
4299 (basic-save-buffer): Accept called-interactively as an argument instead of
4300 directly invoking called-interactively-p, which will always yield nil
4303 2015-04-21 Alan Mackenzie <acm@muc.de>
4305 CC Mode: Do nothing in before/after-change-functions for text property changes
4307 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
4308 yank-handled-properties buffer local, and remove 'category from it.
4309 (c-called-from-text-property-change-p): New function.
4310 (c-before-change): Don't do anything if a call of the new function
4312 (c-after-change): Don't do much if a call of the new function returns
4314 (c-extend-after-change-region): Put changes to text property 'fontified
4315 inside c-save-buffer-state.
4317 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4319 Fix byte-compiler warnings about looking-back.
4320 * lisp/vc/log-view.el (log-view-end-of-defun-1):
4321 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
4322 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
4323 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
4324 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
4325 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
4326 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
4327 * lisp/org/org.el (org-insert-heading, org-sort-entries):
4328 * lisp/org/org-mouse.el (org-mouse-end-headline)
4329 (org-mouse-context-menu):
4330 * lisp/org/org-clock.el (org-clock-cancel):
4331 * lisp/man.el (Man-default-man-entry):
4332 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
4333 (rmail-ensure-blank-line):
4334 * lisp/mail/footnote.el (Footnote-delete-footnote):
4335 * lisp/mail/emacsbug.el (report-emacs-bug):
4336 * lisp/info.el (Info-follow-reference, Info-fontify-node):
4337 * lisp/info-look.el (info-lookup-guess-custom-symbol):
4338 * lisp/help-fns.el (help-fns--key-bindings):
4339 * lisp/files.el (hack-local-variables):
4340 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
4341 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
4342 (viper-complete-filename-or-exit):
4343 * lisp/emulation/viper-cmd.el (viper-backward-indent):
4344 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4345 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
4346 * lisp/cus-edit.el (custom-face-edit-value-create):
4347 * lisp/calendar/todo-mode.el (todo-set-item-priority)
4348 (todo-filter-items-1, todo-convert-legacy-files)
4349 (todo-prefix-overlays): Add explicit second arg to looking-back.
4351 2015-04-20 Glenn Morris <rgm@gnu.org>
4353 Avoid non-nil current-load-list at startup
4354 * src/process.c (init_process_emacs): Move Fprovide statement...
4355 (syms_of_process): ... to here.
4357 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
4359 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
4361 2015-04-20 Ludovic Courtès <ludo@gnu.org>
4363 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
4366 2015-04-20 Glenn Morris <rgm@gnu.org>
4368 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
4370 Tweak exec-path in uninstalled case
4371 * src/callproc.c (init_callproc): If running uninstalled, do not
4372 include eventual installation libexec directory in exec-path.
4374 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
4376 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
4377 (package-menu-filter): Accept a list of keywords.
4378 (package--all-keywords): New variable to cache known keywords.
4379 (package-all-keywords): Populate it if necessary.
4380 (package-refresh-contents): Reset it.
4382 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
4383 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
4384 as special keywords which match agains package archive and status
4386 * etc/NEWS: Document it.
4388 2015-04-20 Eli Zaretskii <eliz@gnu.org>
4390 Describe and index "empty overlays".
4391 * doc/lispref/display.texi (Overlays): Improve indexing.
4392 (Managing Overlays): Describe "empty" overlays.
4393 (Overlay Properties, Finding Overlays): Add cross-reference to
4394 where empty overlays are described.
4396 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4400 Quote 'like this' in top-level files
4401 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
4402 Prefer to single-quote 'like this' (instead of the older style
4404 * configure.ac: Fix some space-before-tab problems that 'git commit'
4407 Use bool for boolean in textprop.c, undo.c
4408 * src/textprop.c (soft, hard): Now constants instead of macros.
4409 (validate_plist): Rewrite to avoid need for boolean local.
4410 (interval_has_all_properties, interval_has_some_properties)
4411 (interval_has_some_properties_list, add_properties)
4412 (remove_properties, get_char_property_and_overlay)
4413 (Fnext_single_char_property_change)
4414 (Fprevious_single_char_property_change, add_text_properties_1)
4415 (Fremove_text_properties, Fremove_list_of_text_properties)
4416 (copy_text_properties):
4417 * src/tparam.c (tparam1):
4418 * src/undo.c (record_change, record_property_change)
4420 Use 'true' and 'false' for booleans.
4422 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
4424 Call `smerge-start-session' even when dealing with a stash conflict
4425 * lisp/vc/vc-git.el (vc-git-find-file-hook):
4426 Call `smerge-start-session' even when dealing with a stash
4427 conflict (bug#20292).
4429 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
4431 Add option to eshell/clear to clear scrollback.
4432 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
4433 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
4434 scrollback contents are cleared.
4435 * etc/NEWS: Describe change.
4436 * doc/misc/eshell.texi: Add entry for `clear'.
4438 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4440 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
4441 where either will do.
4443 2015-04-19 Steve Purcell <steve@sanityinc.com>
4445 Assume package archive-contents are UTF8-encoded
4446 * lisp/emacs-lisp/package.el (package--read-archive-file):
4447 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
4448 downloaded and cached archive-contents files, so that non-ASCII
4449 characters in package descriptions are displayed correctly in the
4450 `list-packages' menu. (Bug#20231)
4452 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
4454 Abort when looking at stashed changes
4455 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
4456 stashed changes (bug#20292).
4458 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4460 Refactor low-level printing for simplicity
4461 * src/print.c (PRINTDECLARE): Remove. Move its contents into
4462 PRINTPREPARE; doable now that we assume C99. All callers changed.
4463 (PRINTCHAR): Remove, as it adds more mystery than clarity.
4464 All callers changed.
4465 (strout): Assume that caller computes length. All callers changed.
4466 (print_c_string): New function.
4467 (write_string, write_string_1): Compute length instead of asking
4468 the caller to compute it. All callers changed.
4469 (write_string): Simplify by using write_string_1.
4470 (write_string_1): Simplify by using print_c_string.
4471 (Fterpri): Compute default val more clearly.
4472 (Fprin1_to_string, print_object):
4473 Assume C99 to avoid unnecessary nesting.
4474 (print_object): Prefer print_c_string to multiple printchar, or
4475 to calling strout with -1 length. Coalesce into sprintf when
4478 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
4480 Prefer "Bug#1234" in commit messages (Bug#20325)
4481 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
4482 as this isn't useful for Git.
4483 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
4485 2015-04-18 Glenn Morris <rgm@gnu.org>
4487 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
4490 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
4492 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
4495 2015-04-18 Glenn Morris <rgm@gnu.org>
4497 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
4499 * doc/emacs/misc.texi (Sorting): Small edit.
4502 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
4504 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
4506 css-mode.el: Support multi-line comment filling
4508 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
4510 (css-adaptive-fill): New function.
4511 (css-mode): Set `adaptive-fill-function'.
4512 (scss-mode): Set `comment-continue'.
4514 2015-04-18 Nicolas Petton <nicolas@petton.fr>
4516 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
4518 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
4520 Minor improvements in Bulgarian input methods
4521 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
4522 Replace U+042C with U+045D, as the former character is not used in
4523 the modern Bulgarian language.
4526 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4529 * eudc.texi (LDAP Configuration): Mention simple and SASL
4530 authentication schemes. Add index items. Shorten example server
4533 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
4535 Don't show both feature and function with the same name
4536 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
4537 Don't show both feature and function with the same name.
4539 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
4540 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
4541 Avoid returning both the variable and the function for the same
4544 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
4546 Fix fontification of keywords clobbered by the prompt.
4547 * lisp/comint.el (comint-output-filter): Remove the uses of
4548 with-silent-modifications I introduced as part of the last change.
4549 This fixes, e.g., erratically missing highlighting when running
4550 ./configure --help; ./configure in a shell-mode buffer with
4551 compilation-shell-minor-mode turned on.
4553 2015-04-17 Glenn Morris <rgm@gnu.org>
4555 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
4557 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
4559 * lisp/indent.el (indent-region): Don't deactivate the mark
4562 2015-04-17 Sam Steingold <sds@gnu.org>
4564 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
4566 2015-04-16 Leo Liu <sdl.web@gmail.com>
4568 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
4570 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
4572 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
4574 2015-04-16 Glenn Morris <rgm@gnu.org>
4576 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
4578 2015-04-16 Eli Zaretskii <eliz@gnu.org>
4580 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
4581 * configure.ac (LIBJPEG): Leave it empty for MinGW.
4583 2015-04-16 Glenn Morris <rgm@gnu.org>
4585 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
4586 to avoid rogue setting after startup.
4588 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
4590 Pre-4.6 GCC succeeds with unknown option
4591 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
4594 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
4596 '[:graph:]' now excludes whitespace, not just ' '
4597 * doc/lispref/searching.texi (Char Classes):
4598 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
4599 sans whitespace (not sans space).
4600 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
4602 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
4604 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4606 (looking-back): Make the second arg non-optional.
4607 * lisp/subr.el (substitute-key-definition-key, special-form-p)
4608 (macrop): Drop deprecated second arg to indirect-function.
4609 (looking-back): Make the second arg non-optional.
4611 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
4612 command is actually sent to the shell.
4614 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
4616 Port jpeg configuration to Solaris 10 with Sun C
4617 * configure.ac: Check for jpeglib 6b by trying to link it, instead
4618 of relying on cpp magic that has problems in practice. Check for
4619 both jpeglib.h and jerror.h features. Remove special case for
4620 mingw32, which should no longer be needed (and if it were needed,
4621 should now be addressable by hotwiring emacs_cv_jpeglib).
4624 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4626 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
4627 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
4628 Move to elisp-mode.el.
4629 (lisp-mode-variables): (Re)move elisp-specific settings.
4630 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
4631 from lisp-mode-variables.
4632 (elisp--font-lock-flush-elisp-buffers): New function, moved from
4635 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
4636 Avoid pathological slowdown at top-level in large file.
4638 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
4640 Standardize names of ChangeLog history files
4641 Suggested by Glenn Morris in:
4642 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
4643 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
4644 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
4645 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
4646 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
4647 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
4648 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
4651 Split top-level entries into pre- and post-April 7
4652 This more clearly distingiushes pre-April-7 ChangeLog entries (which
4653 are for top-level files only) from post-April-7 entries (which are
4654 about files at all levels. Problem reported by Glenn Morris in:
4655 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
4656 * ChangeLog.1: Move post-April-7 entries from here ...
4657 * ChangeLog.2: ... to this new file.
4658 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
4660 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4662 Fix recent cus-start changes that added customize-rogues
4663 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
4665 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
4667 2015-04-15 Nicolas Petton <nicolas@petton.fr>
4669 Define cl-concatenate as an alias to seq-concatenate
4670 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
4671 code by making cl-concatenate an alias to seq-concatenate.
4673 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
4675 * src/lread.c (intern_1): Make sure we'd find the symbol we add
4677 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
4679 2015-04-15 Glenn Morris <rgm@gnu.org>
4681 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
4683 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4685 Clean up gnus-uu saving code slightly
4686 * gnus-uu.el (gnus-uu-save-article): Make the
4687 save-restriction/widen calls make more sense.
4689 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
4691 Make [:graph:] act like [:print:] sans space
4692 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
4693 [:graph:] so that it matches everything that [:print:] does,
4695 * doc/lispref/searching.texi (Char Classes):
4697 * lisp/emacs-lisp/rx.el (rx):
4698 Document [:graph:] to be [:print:] sans ' '.
4699 * src/character.c, src/character.h (graphicp): New function.
4700 * src/regex.c (ISGRAPH) [emacs]: Use it.
4701 (BIT_GRAPH): New macro.
4702 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
4703 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
4704 Return BIT_GRAPH for RECC_GRAPH.
4705 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
4706 and ISPRINT if BIT_PRINT.
4708 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4710 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
4711 Don't use call-next-method in a cl-defmethod.
4713 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
4714 (eieio--class-p): Remove, provided by cl-defstruct.
4716 2015-04-14 Nicolas Petton <nicolas@petton.fr>
4718 Add seq-intersection and seq-difference to the seq library
4719 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
4721 * test/automated/seq-tests.el: Add tests for seq-intersection and
4723 * doc/lispref/sequences.texi: Add documentation for seq-intersection
4726 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
4728 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
4730 2015-04-14 Sam Steingold <sds@gnu.org>
4732 package--ensure-init-file: widen requires save-restriction
4734 2015-04-14 Eli Zaretskii <eliz@gnu.org>
4736 Improve the commit-msg Git hook for unibyte environments
4737 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
4738 in unibyte environments. (Suggested by Paul Eggert
4739 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
4740 [:print:], based on UTF-8 sequences of the unprintable characters.
4742 Describe problems with cursor caused by Windows Magnifier
4743 * etc/PROBLEMS: Describe the problem with cursor shape on
4744 MS-Windows due to Windows Magnifier.
4747 Make [:print:] support non-ASCII characters correctly
4748 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
4749 (BIT_PRINT): New bit mask.
4750 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
4751 * src/character.c (printablep): New function.
4752 * src/character.h (printablep): Add prototype.
4753 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
4754 of 'print', 'alnum', and 'alphabetic'.
4755 * doc/lispref/searching.texi (Char Classes): Document the new
4756 behavior of [:print:].
4757 * etc/NEWS: Mention the new behavior of [:print:].
4759 Assign correct general-category and names to surrogates
4760 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
4761 surrogates. This avoids assigning them the default
4762 general-category of 'Cn', i.e. unassigned codepoints.
4763 (unidata-get-name): Give surrogates synthetic names.
4765 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
4767 Assume C89 offsetof in xterm.c, xlwmenu.c
4768 * lwlib/xlwmenu.c (offset):
4769 * src/xterm.c (cvt_string_to_pixel_args):
4770 Use offsetof, not XtOffset.
4772 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
4774 Assume C89 offsetof in widget.c
4775 * src/widget.c (XtOffset): Remove; no longer needed.
4776 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
4778 Fix think-o in previous patch
4779 * src/window.c (count_windows, get_leaf_windows):
4780 Don't optimize count_windows incorrectly.
4782 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
4784 Avoid some int overflows in window.c
4785 * src/print.c (print_object):
4786 * src/window.c (sequence_number):
4787 * src/window.h (struct window.sequence_number):
4788 Don't assume window sequence number fits in int.
4789 * src/window.c (window_select_count):
4790 * src/window.h (struct window.use_time, window_select_count):
4791 Don't assume window use time fits in int.
4792 * src/window.c (Fsplit_window_internal):
4793 Don't assume user-supplied integer, or sum, fits in int.
4794 (Fset_window_configuration, count_windows, get_leaf_windows)
4795 (save_window_save, Fcurrent_window_configuration):
4796 Use ptrdiff_t for object counts.
4797 (Fset_window_configuration): Omit unused local 'n'.
4798 (count_windows): Simplify by writing in terms of get_leaf_windows.
4799 (get_leaf_windows): Don't store through FLAT if it's null.
4800 (extract_dimension): New static function.
4801 (set_window_margins, set_window_fringes, set_window_scroll_bars):
4802 Use it to avoid undefined behavior when converting user-supplied
4805 2015-04-13 Glenn Morris <rgm@gnu.org>
4808 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
4809 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
4811 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
4813 [Gnus] Catch the invalid-operation that idna.el will issue
4814 * lisp/gnus/gnus-art.el (gnus-use-idna):
4815 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
4816 * lisp/gnus/message.el (message-use-idna):
4817 Catch the invalid-operation that idna.el will issue.
4819 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
4821 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
4823 2015-04-13 Sam Steingold <sds@gnu.org>
4825 package--ensure-init-file: widen before looking for "(package-initialize)"
4827 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
4829 Change diff-switches default to `-u'
4831 * doc/emacs/files.texi (Comparing Files): Document the new default
4832 value of `diff-switches'.
4833 * doc/emacs/trouble.texi (Sending Patches): Document the preference
4834 for unified diff format. Escape the plus in the suggested `-F' regexp
4836 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
4838 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4840 (gnus-group--setup-tool-bar-update): Fix last change
4841 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
4842 cursor-sensor-functions should be a list of functions.
4844 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
4846 Use gmm-called-interactively-p in Gnus
4847 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
4849 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
4853 * lisp/cus-start.el (read-buffer-function): Don't advertize
4854 iswitchb-read-buffer any more.
4855 (iswitchb): Don't tweak this obsolete group any more.
4857 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
4859 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
4861 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
4862 Adding a string after a constructor's argument list will use
4863 that string as the constructor function docstring. If this string
4864 is absent but the struct itself was given a docstring, use that as
4865 the constructor's docstring.
4868 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4870 Deprecate `intangible' and `point-entered' properties
4871 * lisp/emacs-lisp/cursor-sensor.el: New file.
4872 * lisp/simple.el (pre-redisplay-functions): New hook.
4873 (redisplay--pre-redisplay-functions): New function.
4874 (pre-redisplay-function): Use it.
4875 (minibuffer-avoid-prompt): Mark obsolete.
4876 (redisplay--update-region-highlight): Adapt it to work as a function on
4877 pre-redisplay-functions.
4878 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
4879 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
4880 than point-entered to make the prompt intangible.
4881 * lisp/forms.el: Move `provide' calls to the end.
4882 (forms-mode): Don't use `run-hooks' on a local var.
4883 (forms--make-format, forms--make-format-elt-using-text-properties):
4884 Use cursor-intangible rather than `intangible'.
4885 (forms-mode): Enable cursor-intangible-mode.
4886 * lisp/isearch.el (isearch-mode): Use defvar-local.
4887 (cursor-sensor-inhibit): Declare.
4888 (isearch-mode): Set cursor-sensor-inhibit.
4889 (isearch-done): Set it back.
4890 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
4891 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
4893 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
4894 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
4896 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
4897 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
4898 inhibit-point-motion-hooks any more.
4899 (ses--cell-at-pos, ses--curcell): New functions, extracted from
4901 (ses-set-curcell): Use them.
4902 (ses-print-cell, ses-setup): Use cursor-intangible instead of
4903 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
4904 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
4905 Use ses--cell-at-pos.
4906 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
4907 extracted from ses-command-hook. Make them work with multiple windows
4908 displaying the same buffer.
4909 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
4910 Enable cursor-intangible-mode.
4911 (ses-command-hook): Remove cell highlight and mode-line update code.
4912 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
4913 Update for new name of text-property holding the cell name.
4914 (ses-rename-cell): Don't mess with mode-line-process.
4915 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
4916 cursor-sensor-functions property instead of point-entered.
4917 (erc-insert-timestamp-right, erc-format-timestamp):
4918 Use cursor-intangible rather than `intangible'.
4919 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
4920 remove-from-invisibility-spec. Enable cursor-intangible-mode and
4921 cursor-sensor-mode if needed.
4922 (erc-echo-timestamp): Adapt to calling convention of
4923 cursor-sensor-functions.
4924 (erc-insert-timestamp-right): Remove unused vars `current-window' and
4926 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
4927 (gnus-update-group-mark-positions): Remove unused `topic' var.
4928 (gnus-group-insert-group-line): Remove unused var `header'.
4929 (gnus-group--setup-tool-bar-update): New function.
4930 (gnus-group-insert-group-line): Use it.
4931 (gnus-group-update-eval-form): Declare local
4932 dynamically-bound variables.
4933 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
4934 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
4935 (gnus-group-prepare-topics, gnus-topic-update-topic)
4936 (gnus-topic-change-level, gnus-topic-catchup-articles)
4937 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
4938 Use inhibit-read-only.
4939 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
4940 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
4941 * lisp/textmodes/reftex-index.el (reftex-display-index):
4942 Use cursor-intangible-mode if available.
4943 (reftex-index-post-command-hook): Check cursor-intangible.
4944 * lisp/textmodes/reftex-toc.el (reftex-toc):
4945 Use cursor-intangible-mode if available.
4946 (reftex-toc-recenter, reftex-toc-post-command-hook):
4947 Check cursor-intangible.
4948 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
4949 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
4950 (sgml-tags-invisible): Use with-silent-modifications and
4951 inhibit-read-only. Enable cursor-sensor-mode.
4952 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
4953 calling convention of cursor-sensor-functions.
4954 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
4955 (table-point-entered-cell-hook, table-point-left-cell-hook):
4957 (table-cell-entered-state): Remove var.
4958 (table--put-cell-point-entered/left-property)
4959 (table--remove-cell-properties):
4960 Use cursor-sensor-functions rather than point-entered/left.
4961 (table--point-entered/left-cell-function): Merge
4962 table--point-entered-cell-function and table--point-left-cell-function
4963 and adjust to calling convention of cursor-sensor-functions.
4965 Update ldef-boots.el
4967 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
4969 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
4971 Collapse successive char deletions in the undo log
4972 * src/cmds.c (remove_excessive_undo_boundaries): New function,
4973 extracted from Fself_insert_command.
4974 (Fdelete_char, Fself_insert_command): Use it.
4975 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
4976 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
4978 xterm and OSC 52: Add NEWS entry, and tweak the code
4979 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
4981 (terminal-init-xterm-activate-set-selection): Set a terminal property.
4982 (xterm--set-selection): Use it instead of checking the value of
4983 `terminal-initted'. Don't use string-bytes.
4985 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
4987 xterm.el: Implement OSC-52 functionality for setting the X selection
4988 * lisp/term/xterm.el (xterm-max-cut-length): New var.
4989 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
4990 (terminal-init-xterm, xterm--version-handler): Use them.
4992 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
4994 Remove left over code from when we used an obsolete/loaddefs.el file
4995 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
4996 we used an obsolete/loaddefs.el file.
4998 * cedet/semantic/fw.el: Use declare.
4999 * cedet/semantic/fw.el (semantic-exit-on-input)
5000 (semanticdb-without-unloaded-file-searches): Use declare.
5001 (semantic-fw-add-edebug-spec): Remove.
5003 (completion-lisp-mode-hook): Use completion-separator-chars
5004 * lisp/completion.el (completion-lisp-mode-hook):
5005 Use completion-separator-chars rather than local key binding.
5007 * src/*.c: Set deactivate_mark buffer-locally
5009 * src/insdel.c (prepare_to_modify_buffer_1):
5010 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
5013 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5015 python.el: Keep symmetry on sexp navigation with parens
5017 * lisp/progmodes/python.el
5018 (python-nav--forward-sexp): Add argument skip-parens-p.
5019 (python-nav-forward-sexp, python-nav-backward-sexp)
5020 (python-nav-forward-sexp-safe)
5021 (python-nav-backward-sexp-safe): Use it.
5022 * test/automated/python-tests.el
5023 (python-nav-forward-sexp-1): Fix test.
5025 2015-04-12 João Távora <joaotavora@gmail.com>
5027 Don't use `setq-local' in Gnus code
5028 This might break upstream builds with older Emacsen
5029 * lisp/gnus/message.el (message-mode): Use `set' and
5030 `make-local-variable' instead of `setq-local'.
5032 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
5034 Update Makefile.in's .PHONY dependencies
5035 * Makefile.in (change-history-commit, master-branch-is-current)
5036 (no-ChangeLog): Now phony.
5038 Remove configure's --with-mmdf option
5039 * configure.ac (MAIL_USE_MMDF): Remove.
5040 * etc/NEWS: Document this.
5041 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
5044 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
5045 That way, 'make install' won't think it's a man page.
5046 Reported by Ashish SHUKLA in:
5047 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
5049 Improve 'make change-history' prereq tests
5050 * Makefile.in (gen_origin): Fix to match what's in the master branch.
5051 (no-ChangeLog, master-branch-is-current): New rules.
5052 (change-history): Depend on them, to avoid similar future problems.
5053 Escape the local-variables string to pacify Emacs when editing
5056 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
5058 * test/automated/package-test.el (with-package-test): Kill Packages buffer
5060 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
5061 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
5062 "Upgrade" last, and use capitalized instead of all-caps.
5064 * lisp/emacs-lisp/package.el: Completely silence async operations
5065 (package--make-autoloads-and-stuff): Silence autoloads.
5066 (package--save-selected-packages): New function, silences
5067 `customize-save-variable'.
5068 (package--user-selected-p, package-install-from-buffer)
5069 (package-delete, package-install): Use it.
5070 (package-install-from-archive)
5071 (package-menu--perform-transaction): Silence.
5072 (package-menu-execute): Feedback when operation starts.
5074 Use delay-mode-hooks when visiting the init-file
5075 * lisp/emacs-lisp/package.el (package--ensure-init-file):
5077 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
5079 * lisp/files.el: Only message when saving if save-silently is nil
5080 (save-silently): New variable.
5081 (files--message): New function.
5082 (find-file-noselect, save-buffer, basic-save-buffer)
5083 (basic-save-buffer-2, save-some-buffers, not-modified)
5084 (append-to-file): Use them.
5086 2015-04-12 Johan Bockgård <bojohan@gnu.org>
5088 Support debug declarations in pcase macros
5089 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
5090 (pcase-UPAT): Use it. Remove "`".
5091 (pcase--edebug-match-macro): New function.
5092 (pcase-defmacro): Support debug declarations.
5093 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
5094 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
5095 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
5097 pcase.el: Edebug support for `app' and vector patterns
5098 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
5099 (pcase-UPAT): Use it. Support `app' patterns.
5100 (pcase-QPAT): Support vector patterns.
5102 edebug.el: Disambiguate vector specifications
5103 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
5104 `(vector ...)' as a vector specification, not as a sublist.
5106 (gnus-summary-refer-thread): Don't clobber unread articles
5107 This fixes a bug where `A T' causes "random" articles to become marked
5109 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
5110 gnus-newsgroup-unreads remains sorted.
5112 mouse-sel.el: Fix mouse-sel-get-selection-function
5113 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
5114 Use gui--last-selected-text-primary instead of no longer existing
5115 gui-last-selected-text.
5117 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
5119 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
5121 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
5123 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
5125 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
5127 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
5128 (byte-compile--interactive): New var.
5129 (byte-compile--message): New function.
5130 (byte-compile-log-1, byte-force-recompile)
5131 (byte-recompile-directory, byte-recompile-file)
5132 (byte-compile-file, compile-defun)
5133 (byte-compile-file-form-defmumble, byte-compile)
5134 (byte-compile-file-form-defalias, display-call-tree): Use it.
5136 * lisp/files.el: Don't message when nothing happened
5137 (save-some-buffers, basic-save-buffer): Before messaging to say
5138 "nothing was saved" check if (called-interactively-p 'any).
5140 2015-04-12 João Távora <joaotavora@gmail.com>
5142 Summary: Improve sexp-based movement in message-mode
5143 Works by giving citations and smileys a different syntax. This helps
5144 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
5145 sexp-based movement.
5146 * lisp/gnus/message.el (message--syntax-propertize): New function.
5147 (message-mode): Set syntax-related vars.
5148 (message-smileys): New variable.
5149 * test/automated/message-mode-tests.el: New file
5151 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
5153 Use bool for boolean in window.c
5154 * src/window.c: Omit unnecessary static function decls.
5155 (adjust_window_count, select_window, Fselect_window)
5156 (window_body_width, Fwindow_body_height, Fwindow_body_width)
5157 (set_window_hscroll, check_window_containing, Fwindow_at)
5158 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
5159 (unshow_buffer, replace_window, recombine_windows)
5160 (add_window_to_list, candidate_window_p, next_window)
5161 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
5162 (Fget_buffer_window, Fdelete_other_windows_internal)
5163 (replace_buffer_in_windows_safely, set_window_buffer)
5164 (Fset_window_buffer, Fforce_window_update)
5165 (temp_output_buffer_show, make_parent_window)
5166 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
5167 (resize_frame_windows, Fsplit_window_internal)
5168 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
5169 (Fresize_mini_window_internal, mark_window_cursors_off)
5170 (window_scroll, window_scroll_pixel_based)
5171 (window_scroll_line_based, scroll_command, Fscroll_other_window)
5172 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
5173 (Fmove_to_window_line, Fset_window_configuration)
5174 (delete_all_child_windows, apply_window_adjustment)
5175 (set_window_fringes, set_window_scroll_bars)
5176 (Fset_window_vscroll, foreach_window, foreach_window_1)
5177 (compare_window_configurations, Fcompare_window_configurations):
5178 Prefer 'bool', 'true', and 'false' for booleans.
5179 * src/window.h (WINDOW_MODE_LINE_LINES)
5180 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
5182 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
5184 Speed up byte-compilation and autoload generation by avoiding mode-hooks
5185 This prevents emacs-lisp-mode-hook from being run everytime an
5186 autoload file is generated, which can account for a fraction of
5187 package installation time depending on the hooks the user has
5189 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
5190 * lisp/emacs-lisp/autoload.el (autoload-find-file)
5191 (autoload-find-generated-file): Use delay-mode-hooks.
5193 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
5194 (package-menu-refresh): Respect async and do new package checking.
5195 (list-packages): Use `package-menu-refresh' instead of repeating code.
5197 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
5198 (package--quick-help-keys): New variable.
5199 (package--prettify-quick-help-key): New function.
5200 (package-menu-quick-help): Use it.
5202 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
5203 (package--build-compatibility-table): require finder
5205 * test/automated/package-test.el: Fix new test
5207 * lisp/emacs-lisp/package.el: Silence async operations
5208 (package--silence): New variable.
5209 (package--message): New function.
5210 (package-import-keyring, package-refresh-contents)
5211 (package-compute-transaction, package-install, package-delete)
5212 (package-menu--perform-transaction, package-menu-execute): Use it.
5214 * test/automated/package-test.el: Test async functionality
5215 (package-test-update-archives-async): New test
5217 2015-04-11 Daiki Ueno <ueno@gnu.org>
5219 Utilize `make-process' in epg.el
5220 * lisp/epg.el (epg-error-output): Abolish.
5221 (epg-context): New slot `error-buffer'.
5222 (epg--start): Use `make-process' and `make-pipe-process'.
5223 (epg--process-filter): Remove code separating stderr from stdout.
5224 (epg-wait-for-completion): Simplify `error-output' handling.
5225 (epg-reset): Dispose error buffer.
5227 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
5229 * .gitignore: Ignore doc temps and outputs.
5231 Port commit-msg to MSYS Bash+Gawk
5232 See Eli Zaretskii in:
5233 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
5234 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
5235 (cent_sign, print_at_sign, at_sign): Revert previous change.
5236 (print_at_sign): Prepend "BEGIN".
5237 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
5239 Port commit-msg to broken MS-Windows shell
5240 * build-aux/git-hooks/commit-msg (cent_sign):
5241 Just use UTF-8 here rather than ASCII + printf, as the latter fails
5242 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
5243 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
5245 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
5247 Support GnuTLS v3.4 and later on MS-Windows
5248 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
5249 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
5250 GnuTLS DLL to load according to value of libgnutls-version.
5253 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
5255 Minor quoting etc. fixes to misc manuals
5256 Fix some minor quoting and spacing issues. Distinguish more
5257 clearly among grave accent and apostrophe (which are ASCII) and
5258 single quote (which is not). Prefer the standard terms
5259 "apostrophe" and "grave accent" to alternative names that can be
5260 confusing. Use apostrophes to single-quote ASCII text.
5261 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
5262 rather than approximating it in ASCII with grave accent.
5264 2015-04-11 Daiki Ueno <ueno@gnu.org>
5266 Respect more keyword args in `make-process'
5267 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
5268 keywords as documented.
5270 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
5272 Extract ChangeLog entries when committing a directory
5273 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
5274 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
5275 Add a FIXME comment.
5276 (log-edit-changelog-entries): Extract from
5277 `log-edit-changelog-entries', handle FILE being a directory
5278 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
5280 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
5282 Fix problems found by --enable-gcc-warnings
5283 * src/process.c (create_process, Fmake_pipe_process)
5284 (Fmake_network_process): Omit unused locals.
5286 Fix commit-msg to handle scissors lines
5287 * build-aux/git-hooks/commit-msg:
5288 Ignore every line after a scissors line, such as a line generated
5289 by 'git commit -v'. Problem reported by Johan Bockgård in:
5290 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
5292 port commit-msg to Gawk 3.0.4 (1999)
5293 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
5294 (print_at_sign, at_sign): New vars. Use them to avoid problems
5295 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
5296 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
5298 Have commit-msg report commit failure
5299 * build-aux/git-hooks/commit-msg: If the commit is aborted,
5300 say so. Simplify by doing this at the end. Problem reported
5301 by Eli Zaretskii in:
5302 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
5304 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
5306 Clean up LDAP Configuration section of EUDC manual
5307 * doc/misc/eudc.texi: Combine indices.
5308 (LDAP Configuration): Use command markup. Add index entries.
5309 Change formatting. Wrap long lines. Add noindent markup.
5311 2015-04-10 Daiki Ueno <ueno@gnu.org>
5313 Add facility to collect stderr of async subprocess
5314 * src/w32.h (register_aux_fd): New function declaration.
5315 * src/w32.c (register_aux_fd): New function.
5316 * src/process.h (struct Lisp_Process): New member stderrproc.
5317 * src/process.c (PIPECONN_P): New macro.
5318 (PIPECONN1_P): New macro.
5319 (Fdelete_process, Fprocess_status, Fset_process_buffer)
5320 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
5321 (Fcontinue_process): Handle pipe process specially.
5322 (create_process): Respect p->stderrproc.
5323 (Fmake_pipe_process): New function.
5324 (Fmake_process): Add new keyword argument :stderr.
5325 (wait_reading_process_output): Specially handle a pipe process when
5327 (syms_of_process): Register Qpipe and Smake_pipe_process.
5328 * doc/lispref/processes.texi (Asynchronous Processes): Document
5329 `make-pipe-process' and `:stderr' keyword of `make-process'.
5330 * lisp/subr.el (start-process): Suggest to use `make-process' handle
5331 standard error separately.
5332 * test/automated/process-tests.el (process-test-stderr-buffer)
5333 (process-test-stderr-filter): New tests.
5334 * etc/NEWS: Mention new process type `pipe' and its usage with the
5335 `:stderr' keyword of `make-process'.
5337 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
5339 Minor quoting etc. fixes to lispref manual
5340 * doc/lispref/tips.texi (Documentation Tips):
5341 Distinguish more clearly among grave accent, apostrophe,
5343 * doc/lispref/README, doc/lispref/buffers.texi:
5344 * doc/lispref/commands.texi, doc/lispref/control.texi:
5345 * doc/lispref/customize.texi, doc/lispref/display.texi:
5346 * doc/lispref/elisp.texi, doc/lispref/files.texi:
5347 * doc/lispref/frames.texi, doc/lispref/hash.texi:
5348 * doc/lispref/help.texi, doc/lispref/internals.texi:
5349 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
5350 * doc/lispref/markers.texi, doc/lispref/modes.texi:
5351 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
5352 * doc/lispref/os.texi, doc/lispref/positions.texi:
5353 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
5354 * doc/lispref/text.texi, doc/lispref/tips.texi:
5355 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
5356 Use American-style double quoting in ordinary text,
5357 and quote 'like this' when single-quoting in ASCII text.
5358 Also, fix some minor spacing issues.
5360 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
5362 Handle symlinked test directory in tramp-tests.el
5363 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
5364 (tramp--test-check-files): Use `file-truename' for directories.
5366 2015-04-10 Eli Zaretskii <eliz@gnu.org>
5368 Fix 'recenter' when visual-line-mode is turned on
5369 * src/window.c (Frecenter): Use the same code for GUI and TTY
5370 frames alike; use vmotion only for "initial" frames. This is
5371 because vmotion doesn't support visual-line-mode. Rewrite the
5372 'iarg >= 0' case to use move_it_* functions instead of using
5373 vmotion, for the same reason. Fix the clipping of the argument
5374 value to support scroll-margin in all cases and avoid unwarranted
5375 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
5376 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
5379 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5381 * abbrev.el (define-abbrev-table): Refine last change.
5383 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
5384 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
5385 use of c[ad]+r", so as to keep the "cl-" prefix on all
5388 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
5390 * lisp/cedet/semantic: Remove some dead code
5391 * lisp/cedet/semantic/util-modes.el
5392 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
5394 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
5395 not supported any more.
5396 (semantic-safe): Use `declare'.
5397 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
5398 (semantic-tag-intangible-p): Remove unused functions.
5399 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
5400 Remove unused function.
5402 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
5403 (gnus-article-hide-text, gnus-article-unhide-text)
5404 (gnus-article-unhide-text-type): Remove special handling of
5405 `intangible' since that property is not used any more.
5406 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
5408 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
5410 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
5412 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
5414 Use the VC root in `log-edit-listfun'
5415 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
5418 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
5420 Fix description of Unix time, mention new function.
5421 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
5423 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
5424 (Basic Operations on Units): Mention `calc-convert-exact-units'.
5426 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
5428 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
5430 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
5432 (log-edit-insert-changelog-entries): Don't add newline after the last entry
5433 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
5434 Don't add newline after the last entry.
5436 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
5438 css-mode.el: Add "not" pseudo-class
5440 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
5441 list of CSS pseudo-classes.
5443 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5445 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
5447 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
5449 Stop messing with the EMACS env var
5450 * misc.texi (Interactive Shell): Remove description of EMACS env var.
5452 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
5454 Adapt 'make change-history' to coding cookie
5455 * Makefile.in (change-history): Adjust to change of format of
5456 ChangeLog file, which now has a coding cookie before an indented
5459 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
5461 Adapt 'make change-history' to coding cookie
5462 * Makefile.in (change-history): Adjust to change of format of
5463 ChangeLog file, which now has a coding cookie before an indented
5466 gitlog-to-changelog coding cookie and mv -i
5467 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
5468 for copyright notice prototype, so that we get a proper "coding:"
5469 cookie. Use 'mv -i' to avoid unconditionally overwriting an
5470 existing ChangeLog. Problems reported by Eli Zaretskii in:
5471 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
5474 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
5475 2015-04-09 gitlog-to-changelog: port to MS-Windows
5477 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
5479 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
5482 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
5484 Stop messing with the EMACS env var
5486 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
5487 * lisp/comint.el (comint-exec-1):
5488 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
5489 * lisp/progmodes/compile.el (compilation-start): Same and bring
5490 INSIDE_EMACS's format in line with other users.
5492 css-mode.el (css-smie-rules): Fix indentation after complex selectors
5494 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
5495 inner structure of selectors.
5497 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
5499 python.el: Indent docstring lines to base-indent
5501 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
5503 * lisp/progmodes/python.el
5504 (python-indent-context): Add :inside-docstring context.
5505 (python-indent--calculate-indentation): Handle :inside-docstring.
5506 (python-indent-region): Re-indent docstrings.
5507 * test/automated/python-tests.el (python-indent-region-5)
5508 (python-indent-inside-string-2): Fix tests.
5510 python.el: Increase native completion robustness
5512 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
5513 this and providing useful ideas.
5514 * lisp/progmodes/python.el
5515 (python-shell-completion-native-output-timeout): Increase value.
5516 (python-shell-completion-native-try-output-timeout): New var.
5517 (python-shell-completion-native-try): Use it.
5518 (python-shell-completion-native-setup): New readline setup avoids
5519 polluting current context, ensures output when no-completions are
5520 available and includes output end marker.
5521 (python-shell-completion-native-get-completions): Trigger with one
5522 tab only. Call accept-process-output until output end is found or
5523 python-shell-completion-native-output-timeout is exceeded.
5525 2015-04-08 Samer Masterson <samer@samertm.com>
5527 * lisp/eshell: Make backslash a no-op in front of normal chars
5529 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
5530 (eshell-parse-backslash): Return escaped character after backslash
5531 if it is special. Otherwise, if the backslash is not in a quoted
5532 string, ignore the backslash and return the character after; if
5533 the backslash is in a quoted string, return the backslash and the
5535 * test/automated/eshell.el (eshell-test/escape-nonspecial)
5536 (eshell-test/escape-nonspecial-unicode)
5537 (eshell-test/escape-nonspecial-quoted)
5538 (eshell-test/escape-special-quoted): Add tests for new
5539 `eshell-parse-backslash' behavior.
5541 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
5543 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
5544 after the file name.
5547 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
5549 Minor quoting etc. fixes to Emacs manual
5550 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
5551 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
5552 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
5553 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
5554 * doc/emacs/indent.texi, doc/emacs/macos.texi:
5555 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
5556 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
5557 * doc/emacs/search.texi, doc/emacs/trouble.texi:
5558 * doc/emacs/vc1-xtra.texi:
5559 Use American-style double quoting in ordinary text,
5560 and quote 'like this' when single-quoting in ASCII text.
5561 Also, fix some minor spacing issues.
5563 Minor quoting etc. fixes to elisp intro
5564 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
5565 American-style double quoting in ordinary text. In ASCII text,
5566 consistently quote 'like this' instead of `like this', unless
5567 Emacs requires the latter.
5569 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
5571 * CONTRIBUTE: Mention log-edit-insert-changelog.
5573 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
5575 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
5577 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
5579 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5581 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
5583 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
5584 Fix inheritance of initargs.
5586 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
5588 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
5589 while dowloading information.
5591 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
5592 (package--ensure-init-file): Check file contents before visiting.
5593 (package-initialize): Call it.
5594 (package-install-from-buffer, package-install): Don't call it.
5596 2015-04-08 Eli Zaretskii <eliz@gnu.org>
5598 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
5601 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
5603 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
5605 Fix nasty scoping bug in tramp-cache.el
5606 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
5608 2015-04-08 Tassilo Horn <tsdh@gnu.org>
5610 Add notice to visual commands section
5611 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
5612 such as git call less with its -F option which omits pagination if
5613 the contents is less than one page long. This interferes with
5614 eshell's visual (sub-)commands.
5616 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
5618 ffap: Support environment variable expansion in file names
5620 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
5621 environment variable expansion in file names.
5623 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
5625 Prefer double-quote to accent-grave in man pages
5627 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
5632 2015-04-07 Ivan Shmakov <ivan@siamics.net>
5634 Update etc/PROBLEMS.
5635 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
5636 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
5637 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
5638 respectively); other minor updates and tweaks. (Bug#20011)
5640 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
5642 Add doc strings for some Isearch state vars
5643 * lisp/misearch.el (multi-isearch-buffer-list)
5644 (multi-isearch-file-list): Add doc strings.
5647 2015-04-07 Alan Mackenzie <acm@muc.de>
5649 Always mark "<" and ">" in #include directives with text properties.
5650 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
5651 matcher" with an invocation of c-make-font-lock-search-function to allow
5652 fontification when there's no trailing space on an "#include <..>" line.
5654 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
5656 Generate a ChangeLog file from commit logs
5657 * .gitignore: Add 'ChangeLog'.
5658 * build-aux/gitlog-to-changelog: New file, from Gnulib.
5659 * build-aux/gitlog-to-emacslog: New file.
5660 * CONTRIBUTE: Document the revised workflow.
5661 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
5662 instead of just special cases.
5663 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
5664 (ChangeLog, unchanged-history-files, change-history)
5665 (change-history-commit): New rules.
5666 * admin/admin.el (make-manuals-dist--1):
5667 Don't worry about doc/ChangeLog.
5668 * admin/authors.el: Add a FIXME.
5669 * admin/make-tarball.txt:
5670 * lisp/calendar/icalendar.el:
5671 * lisp/gnus/deuglify.el:
5672 * lisp/obsolete/gulp.el:
5674 Adjust to renamed ChangeLog history files.
5675 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
5676 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
5677 Remove obsolete discussion of merging ChangeLog files.
5678 New section "Maintaining ChangeLog history".
5679 * build-aux/git-hooks/pre-commit:
5680 Reject attempts to commit files named 'ChangeLog'.
5681 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
5682 * make-dist: Make and distribute top-level ChangeLog if there's a
5683 .git directory. Distribute the new ChangeLog history files
5684 instead of scattered ChangeLog files. Distribute the new files
5685 gitlog-to-changelog and gitlog-to-emacslog.
5688 Rename ChangeLogs for gitlog-to-changelog
5689 This patch was implemented via the following shell commands:
5690 find * -name ChangeLog |
5691 sed 's,.*,git mv & &.1,
5692 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
5693 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
5694 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
5695 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
5696 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
5698 git commit -am"[this commit message]"
5700 This file records repository revisions from
5701 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
5702 commit 325bf192ae281046834884b12705d6c522871b24 (inclusive).
5703 See ChangeLog.1 for earlier changes.
5709 Copyright (C) 2015 Free Software Foundation, Inc.
5711 This file is part of GNU Emacs.
5713 GNU Emacs is free software: you can redistribute it and/or modify
5714 it under the terms of the GNU General Public License as published by
5715 the Free Software Foundation, either version 3 of the License, or
5716 (at your option) any later version.
5718 GNU Emacs is distributed in the hope that it will be useful,
5719 but WITHOUT ANY WARRANTY; without even the implied warranty of
5720 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5721 GNU General Public License for more details.
5723 You should have received a copy of the GNU General Public License
5724 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.