1 2015-05-17 Johan Bockgård <bojohan@gnu.org>
3 Fix integer-valued `mouse-highlight' (Bug#20590)
4 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
6 2015-05-17 Eli Zaretskii <eliz@gnu.org>
8 MS-Windows followup for ASCIIfication of curved quotes
9 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
10 test for curved quotes being displayable, after switching the
11 terminal encoding. (Bug#20545)
13 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
17 2015-05-17 Jan D <jan.h.d@swipnet.se>
19 Add comment that x_shift_glyphs_for_insert is never called.
20 * xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface): Add
21 comment that this function is never called.
23 2015-05-16 Glenn Morris <rgm@gnu.org>
25 * src/lisp.mk: Remove from repository and generate at build-time.
26 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
27 (shortlisp_filter): New variable.
28 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
29 (distclean): Remove lisp.mk.
30 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
31 * lisp/loadup.el: Tweak layout to make it easier to parse.
32 * make-dist: Do not distribute src/lisp.mk.
34 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
36 Display shorter dates in Git annotate output
37 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
38 format (when not overridden with vc-git-annotate-switches).
39 (vc-git-annotate-time): Support the short format, as well as ISO
40 8601 that has been used until now (bug#5428).
42 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
44 ASCIIfy curved quotes on displays lacking them
45 * lisp/international/mule-cmds.el (set-locale-environment):
46 If curved quotes don't work, display straight ASCII approximations
49 2015-05-16 Glenn Morris <rgm@gnu.org>
51 Small src/Makefile simplification.
52 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
53 * src/Makefile.in (lisp): Derive from shortlisp.
54 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
56 2015-05-16 Eli Zaretskii <eliz@gnu.org>
58 * lisp/help-mode.el (help-go-forward): Doc fix.
61 * doc/lispref/debugging.texi (Profiling): Improve indexing.
64 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
66 Use `unless' to have one fewer `not'
67 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
70 Remove redundant :group declarations from vc-git.el
71 * lisp/vc/vc-git.el (vc-git-diff-switches)
72 (vc-git-annotate-switches, vc-git-resolve-conflicts)
73 (vc-git-program, vc-git-root-log-format): Remove the redundant
76 2015-05-16 Nicolas Petton <nicolas@petton.fr>
78 Removes the predicate from lisp-complete-symbol (Bug#20456)
79 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
80 and remove it from the docstring.
82 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
84 Add new option vc-git-resolve-conflicts
85 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
86 (vc-git-find-file-hook): Add to after-save-hook only when the
88 (vc-git-resolve-when-done): Update to honor the new variable.
91 2015-05-16 Eli Zaretskii <eliz@gnu.org>
93 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
95 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
97 * lisp/emacs-lisp/tabulated-list.el: Don't error on nil header-string
98 (tabulated-list-init-header): Document new behavior.
99 (tabulated-list-print-fake-header): No nothing if
100 `tabulated-list--header-string' is nil.
101 (tabulated-list--header-string): Add a docstring.
102 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
103 * etc/NEWS: Document it.
105 2015-05-15 Leo Liu <sdl.web@gmail.com>
107 Revert "Fix cps--gensym"
108 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
109 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
111 2015-05-15 Glenn Morris <rgm@gnu.org>
113 Replace AC_SUBST_FILE in configure with include in Makefiles.
114 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
115 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
116 (AUTO_DEPEND): New output variable.
117 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
118 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
119 (lwlib_deps_frag): Replace by conditional include.
120 * lwlib/autodeps.mk: Remove file.
121 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
122 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
123 (oldxmenu_deps_frag): Replace by conditional include.
124 * oldXMenu/autodeps.mk: Remove file.
125 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
126 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
127 (lisp_frag): Replace by an include.
128 (deps_frag): Replace by conditional include.
129 * src/autodeps.mk: Remove file.
131 Tweak japanese.el's loading of dependencies.
132 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
133 * lisp/language/japanese.el: Use require rather than load.
134 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
136 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
137 Provide a feature in the generated file.
139 2015-05-15 Jan D <jan.h.d@swipnet.se>
142 * nsmenu.m (ns_popup_dialog)
143 * nsimage.m (initFromXBM:width:height:fg:bg:)
144 * nsfns.m (Fx_create_frame): Remove unused variables.
145 (Fns_read_file_name): Initialize fname, remove ret.
146 * nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
147 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
149 (init): Add parantesis in if.
150 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
152 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
154 Fix a enum conversion warning in macfont.m
155 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
156 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
158 2015-05-15 Eli Zaretskii <eliz@gnu.org>
160 Support de-alt dictionary with Aspell.
161 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
162 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
164 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
166 cus-start.el: Add ns-confirm-quit.
167 * cus-start.el: Add ns-confirm-quit.
169 Fix warnings on OSX 10.10.
170 * nsfns.m (MODAL_OK_RESPONSE): New define for different OSX versions.
171 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
172 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
173 * nsmenu.m (initWithContentRect:styleMask:backing:defer:)
174 * nsimage.m (allocInitFromFile, setPixmapData): Only call
175 setScalesWhenResized for OSX < 10.6.
176 * nsterm.h (EmacsScroller): Declare scrollerWidth.
177 * nsterm.m (ns_copy_bits): New function that does not use deprecated
179 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
180 (runAlertPanel): New function.
181 (applicationShouldTerminate:): Call runAlertPanel.
182 (initFrameFromEmacs, toggleFullScreen:): Only call useOptimizedDrawing
184 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
185 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
186 (draggingEntered:): Returns NSDragOperation.
187 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
189 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
191 * lisp/emacs-lisp/package.el: Don't ensure-init during startup
192 (package--init-file-ensured): New variable.
193 (package-initialize, package--ensure-init-file): Use it.
195 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
197 Honor :fore/background for XBM on NS (Bug#14969).
198 * nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
199 initFromXBM takes bg, fg args, remove flip arg.
200 (ns_image_from_XBM): Add bg, fg args.
201 * image.c (x_create_bitmap_from_data)
202 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
203 * nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to initFromXBM.
205 (initFromSkipXBM): Move code to initFromXBM.
206 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
207 Use fg, bg from args (Bug#14969). Remove if (length) section, was always
209 Remove bit flipping (bitPat, swt), generated incorrect images when
210 width/height wasn't a multiple of 8.
211 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
212 * nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args, remove
215 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
217 * lisp/emacs-lisp/package.el: Be more careful with the init file
218 (package--ensure-init-file): Check that user-init-file is set,
219 exists, is readable, and is writable. (Bug#20584)
220 Also expand the docstring.
222 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
224 Sync with upstream verilog-mode revision 6232468
225 * lisp/progmodes/verilog-mode.el (verilog-font-lock-grouping-keywords-face)
226 (verilog-highlight-grouping-keywords): Fix use of face when
227 `verilog-highlight-grouping-keywords' set. Reported by Jeff
229 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
230 parent is reset, bug906. Reported by Ken Schmidt.
231 (verilog-auto-inout-module): Add fourth regexp argument to
232 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match,
233 bug856. Reported by John Tillema.
234 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
235 modport if signal attachment is itself a modport. Reported by
237 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
238 always_comb and always_latch, bug844. Reported by Greg Hilton.
239 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
240 with many curly-bracket pairs, bug663.
241 (verilog-set-auto-endcomments): Fix end comments for functions of
242 type void, etc. Reported by Alex Reed.
243 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
244 caused by indent-line-to deleting tabls pre 24.5.
245 (verilog-nameable-item-re): Fix nameable items that can have an
246 end-identifier to include endchecker, endgroup, endprogram,
247 endproperty, and endsequence. Reported by Alex Reed.
248 (verilog-label-be): When auto-commenting a buffer, consider
249 auto-comments on all known keywords (not just a subset thereof).
250 Reported by Alex Reed.
251 (verilog-auto-end-comment-lines-re)
252 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
253 Automatically comment property/endproperty blocks to match other
254 similar blocks like sequence/endsequence, function/endfunction,
255 etc. Reported by Alex Reed.
256 (verilog-set-auto-endcomments): Detect the function- or task-name
257 when auto-commenting blocks that lack an explicit
258 portlist. Reported by Alex Reed.
259 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
260 allow post-AUTO user fixups, bug826. Reported by Dennis
262 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
263 is nil, fix indenting initial/final to match always statements,
264 bug825. Reported by Tim Clapp.
265 (verilog-extended-complete-re): Fix indentation of DPI-C imports
266 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
267 Mao and Jason Forkey.
268 (verilog-read-decls): Fix parsing typed interfaces. Fix
269 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
270 Fix localparam not being ignored in AUTOINSTPARAM,
271 bug889. Reported by Shannon Hill.
272 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
273 bug793. Reported by Pierre-David Pfister.
274 (verilog-auto-arg-format, verilog-auto-arg-ports): Add
275 verilog-auto-arg-format to support newlines in AUTOARG. Reported
277 (verilog-batch-execute-func): Do not batch re-auto files loaded by
278 Local Variables. Fix printing "no changes to be saved" with
279 verilog-batch. Reported by Dan Dever.
280 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
281 interface-only modules, bug721. Reported by Dean Hoyt.
282 Author: Alex Reed <acreed4@gmail.com>
283 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement): Don't
284 treat '<keyword>:<identifier>' as the start of a labeled
285 statement, bug905. Reported by Enzo Chi.
286 (verilog-directive-re, verilog-compiler-directives)
287 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
288 directives (plus some extras) when determining indentation, bug
289 901. Reported by Bernd Beuster.
290 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
291 iff expression doesn't start with word-character, bug900.
292 (verilog-optional-signed-range-re, verilog-optional-signed-re):
293 Fix incorrect indentation/alignment of unsigned declarations,
295 (verilog-looking-back, verilog-in-attribute-p): Fix labling of
296 always constructs, bug895.
297 (verilog-calc-1): Fix verilog-mode constraint indentation,
298 bug324. Reported by Eric Mastromarchi.
299 (verilog-beg-of-statement): Fix indenting for some forms of
300 constraintsm bug433. Reported by Brad Parker. Fix indentation of
301 continued assignment incorrect if first line ends with ']',
302 bug437. Reported by Dan Dever. Fix indention of cover inside an
303 ifdef, bug 862. Reported by Bernd Beuster Fix labeling do-while
305 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning,
306 bug859. Reported by Kaushal Modi.
307 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
308 (verilog-backward-token): Fix indenting sensitivity lists with
309 named events, bug840. Reed.
310 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
311 nil not honoring 'forever', 'foreach', and 'do' keywords.
313 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
315 Check for invalid GTK+ monitor scales
316 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
317 INT_MAX for too-large scales. All callers changed to assume the
318 result is valid (Bug#20432).
319 (xg_frame_set_char_size, xg_update_scrollbar_pos):
320 Calculate scale only if needed.
321 show ASCII approximations instead.
323 2015-05-14 Eli Zaretskii <eliz@gnu.org>
325 Fix daemon crashes when linum-mode is turned on early on
326 * src/window.c (Fwindow_end): Don't try calling display engine
327 functions on initial-frame frame. (Bug#20565)
329 Fix selective diff browsing in Ediff
330 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches): Go to the
331 beginning of the region before searching for the
332 ediff-regexp-focus-* regexps. (Bug#20568)
334 2015-05-14 Jan D <jan.h.d@swipnet.se>
337 * gtkutil.c (delete_cb): Don't send delete event here, it does arrive
338 in the main loop, even for Gtk 3 (Bug#20142).
340 Don't access display after i/o error (Bug#19147).
341 * xterm.c (x_connection_closed): Add third arg ioerror.
342 If ioerror, set display to 0 (Bug#19147).
343 (x_error_quitter): Call x_connection_closed with third arg false.
344 (x_io_error_quitter): Call x_connection_closed with third arg true.
346 Handle GTK_SCALE, fixes Bug#20432.
347 * gtkutil.c (xg_get_gdk_scale): New function.
348 (xg_frame_set_char_size)
349 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
350 (xg_get_default_scrollbar_height)
351 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
352 when setting sizes (Bug#20432).
354 2015-05-13 Leo Liu <sdl.web@gmail.com>
357 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
359 2015-05-13 Glenn Morris <rgm@gnu.org>
361 Fix bootstrap (void function cl-member).
362 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
363 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
365 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
367 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
368 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
369 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
370 Avoid defalias for closures which are not immutable.
371 (cl--generic-prefill-dispatchers): New macro. Use it to prefill the
372 dispatchers table with various entries.
373 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
374 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
376 2015-05-13 Eli Zaretskii <eliz@gnu.org>
378 Improve tagging of C bindings in DEFVAR_*
379 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
382 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
384 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
386 2015-05-12 Glenn Morris <rgm@gnu.org>
388 * lisp/progmodes/tcl.el (tcl-filter):
389 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
391 Add basic VC push support.
392 * lisp/vc/vc.el (vc-push): New autoloaded command.
393 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
394 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
395 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
397 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
398 (vc-git-pull): Reimplement using vc-git--pushpull.
400 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
401 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
402 * doc/emacs/maintaining.texi (Pulling / Pushing):
403 Rename from "VC Pull". Mention pushing.
404 (VC With A Merging VCS, VC Change Log): Update xrefs.
405 (Branches): Update menu.
406 * doc/emacs/emacs.texi: Update menu.
407 * etc/NEWS: Mention this.
409 2015-05-12 Nicolas Petton <nicolas@petton.fr>
411 Improve the seq pcase pattern and the `seq-let' macro
412 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
413 object is a sequence, and binds each element of ARGS to the
414 corresponding element of the sequence.
416 2015-05-12 Eli Zaretskii <eliz@gnu.org>
418 Fix tags created from DEFVAR_* declarations in C
419 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
420 to make tags extracted from DEFVAR_* declarations more accurate.
422 Add a test suite for etags
423 * test/etags/: New test suite, adapted from
424 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
425 whose original author is Francesco Potortì <pot@gnu.org>.
427 Fix tagging of symbols in C enumerations
428 * lib-src/etags.c (consider_token): Don't tag symbols in
429 expressions that assign values to enum constants. See
430 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
432 (C_entries): Reset fvdef to fvnone after processing a preprocessor
433 conditional and after a comma outside of parentheses.
435 2015-05-12 Glenn Morris <rgm@gnu.org>
437 * lisp/url/url-handlers.el (url-file-name-completion)
438 (url-file-name-all-completions): Silence compiler.
440 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
442 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
444 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
446 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
447 (cl--generic-mandatory-args): Remove.
448 (cl--generic-split-args): New function.
449 (cl-generic-define, cl--generic-lambda): Use it.
450 (cl-generic-define-method): Use it as well, and add support for
452 (cl--generic-get-dispatcher): Handle &context dispatch.
453 (cl--generic-cache-miss): `dispatch-arg' can now be a context expression.
454 (cl--generic-dispatchers): Pre-fill.
455 * test/automated/cl-generic-tests.el (sm-generic-test-12-context): New test.
457 2015-05-11 Glenn Morris <rgm@gnu.org>
459 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
461 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
463 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
464 * lisp/term/rxvt.el: Require term/xterm.
465 (rxvt-function-map): Use xterm-rxvt-function-map.
466 (rxvt-standard-colors): Move before first use.
467 (terminal-init-rxvt): Use xterm--push-map and xterm-register-default-colors.
468 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
469 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
470 Move shared bindings between rxvt and xterm to it.
471 (xterm-function-map): Use it. Move the xterm-paste binding to
472 xterm-rxvt-function-map (bug#20444).
473 (xterm-standard-colors): Move before first use.
474 (xterm--push-map): New function.
475 (xterm-register-default-colors): Take standard colors as argument.
476 (terminal-init-xterm): Use it. Adjust call to
477 xterm-register-default-colors.
479 2015-05-11 Glenn Morris <rgm@gnu.org>
481 * lisp/term/x-win.el: Quieten --without-x compilation.
482 (x-own-selection-internal, x-disown-selection-internal)
483 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
486 * Makefile.in (emacslog): Remove srcdir.
487 (ChangeLog): Update for the above.
489 2015-05-11 Paul Eggert <eggert@cs.ucla.edu>
493 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
495 python.el: better limit for looking-back calls
496 * lisp/progmodes/python.el (python-shell-accept-process-output):
497 Use last comint prompt start as limit for looking-back.
499 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
501 CEDET (srecode-insert-fcn): Fix use of oref on a class
502 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref on
503 a class. Reported by Pierre Lorenzon.
504 (srecode-template-inserter-point): Remove declaration.
506 CEDET (srecode-create-dictionary): Avoid obsolete object name
507 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
508 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
510 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
512 C-x 8 shorthands for curved quotes, Euro, etc.
513 Although C-x 8 lets you insert arbitrary Unicode characters,
514 it's awkward to use this to insert commonly used symbols such as curved
515 quotes, the Euro symbol, etc. This patch adds simpler sequences for
516 characters commonly found in English text and in basic math.
517 For example, assuming the Alt key works on your keyboard and iso-transl
518 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
519 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
521 * doc/emacs/mule.texi (Unibyte Mode):
522 A few other printing characters now work too.
523 * etc/NEWS: Document this.
524 * lisp/international/iso-transl.el (iso-transl-char-map):
525 Also support the following characters:
526 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
528 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
531 * lisp/progmodes/xref.el (xref-find-function): Describe the
533 (xref-find-regexp): New command, using it.
534 (xref-collect-references): Rename to xref-collect-matches.
535 (xref--collect-reference): Rename to xref--collect-match.
536 (xref-collect-matches, xref--collect-match): Accept new argument,
537 KIND. Update accordingly.
538 (xref--regexp-to-extended): New function.
539 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
541 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
542 * lisp/progmodes/etags.el (etags-xref-find):
543 Support the `matches' action.
544 (etags--xref-find-matches): New function.
546 2015-05-10 Glenn Morris <rgm@gnu.org>
548 * Makefile.in: Fixes for recent change-history changes.
549 (change-history-nocommit): Update footer regexp.
550 Ensure output script stays executable.
552 2015-05-10 Nicolas Petton <nicolas@petton.fr>
554 New version of `seq-let' based on a pcase pattern
555 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
556 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
558 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
560 Add basic HTML5 tags and a template
561 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
562 (html-tag-alist): Add HTML5 tags.
563 (html-tag-help): Add new tags descriptions.
564 (html-navigational-links): Template for nav links.
565 (html-html5-template): Template for a HTML5 page.
567 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
569 semantic/symref/grep: Don't use word boundaries
570 * lisp/cedet/semantic/symref/grep.el
571 (semantic-symref-perform-search): Instead of wrapping input in
572 word boundaries, check that the characters before and after are
573 not word constituents.
575 semantic/symref/grep: Support regexp search
576 * lisp/cedet/semantic/symref.el
577 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
578 the search type is regexp.
579 * lisp/cedet/semantic/symref/grep.el
580 (semantic-symref-perform-search): Support the regexp search type.
581 Pass -E to Grep when it's used.
583 semantic-symref-regexp: Allow to input an arbitrary string
584 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
585 Allow to input an arbitrary string interactively.
587 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
588 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
589 Remove tag-symbol-match-p from the default value
590 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
592 Declare find-tag obsolete
593 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
594 xref-find-definitions.
596 2015-05-10 Jan D <jan.h.d@swipnet.se>
598 Draw composite string correctly (Bug#20537).
599 * nsterm.m (ns_draw_composite_glyph_string_foreground): New function.
600 (ns_draw_glyph_string): Call it (Bug#20537).
602 2015-05-09 Eli Zaretskii <eliz@gnu.org>
605 * lisp/simple.el (line-move-to-column): Ignore field boundaries
606 while computing line beginning position. (Bug#20498)
608 2015-05-08 Glenn Morris <rgm@gnu.org>
610 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
611 * build-aux/gitlog-to-emacslog: Check called from right directory.
614 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
615 * Makefile.in (ChangeLog): No longer pass "distprefix".
616 * make-dist: Update "make ChangeLog" syntax for the above change.
618 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
619 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
621 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
623 Add command-line option-parsing to gitlog-to-emacslog.
624 * build-aux/gitlog-to-emacslog: Add command-line options.
625 By default, refuse to remove an existing output file.
626 * Makefile.in (CHANGELOG): Update default.
627 (ChangeLog): Do not test for existing file.
628 (change-history-nocommit): Ensure temp file does not exist.
630 Quieten --without-x compilation.
631 * lisp/term/common-win.el: Provide a feature.
632 * lisp/term/x-win.el (term/common-win): Require it.
634 * lisp/dired-aux.el (dired-do-print): Require lpr.
636 Quieten compilation, eg in --without-x builds.
637 * lisp/dired-aux.el (lpr-printer-switch):
638 * lisp/frame.el (tool-bar-height):
639 * lisp/linum.el (font-info):
640 * lisp/window.el (font-info, overflow-newline-into-fringe)
642 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
643 * lisp/gnus/gnus-util.el (iswitchb-mode):
644 * lisp/mail/rmailmm.el (libxml-parse-html-region):
645 * lisp/net/nsm.el (gnutls-peer-status)
646 (gnutls-peer-status-warning-describe):
647 * lisp/net/shr.el (libxml-parse-xml-region):
648 * lisp/url/url-http.el (gnutls-peer-status): Declare.
650 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
652 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
653 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
654 `subclass' since they're never called with a class.
655 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
656 srecode-dictionary-child-p.
658 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
660 help--binding-locus: Document argument POSITION.
661 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
663 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
666 * doc/misc/texinfo.tex: Get latest version.
668 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
670 ffap.el (ffap-read-file-or-url): Fix completing-read call
671 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
672 `completing-read' should be a symbol.
674 2015-05-08 Eli Zaretskii <eliz@gnu.org>
676 Verify file modifications by other programs
677 * src/filelock.c (lock_file): Check whether the file was modified
678 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
680 Fix keyboard macros that include function keys
681 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
682 keys in the macro before returning. (Bug#20454)
684 2015-05-08 Glenn Morris <rgm@gnu.org>
686 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
687 "Copyright-paperwork-exempt". (Bug#20324)
689 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
690 (log-edit-rewrite-tiny-change): New variable.
691 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
692 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
693 * etc/NEWS: Mention this.
695 * lisp/calc/calc.el (math-zerop): Declare.
697 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
699 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
701 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
702 Support the case when BINDINGS is a single tuple. (Bug#20525)
704 * etc/NEWS: Fix typo in commit 14bb519
706 2015-05-07 Jan D <jan.h.d@swipnet.se>
708 Warn for multiple display crash for all Gtk+ versions.
709 * configure.ac: Warn for multiple display crash for all Gtk+
710 versions. Output URL to Gtk+ bug (Bug#20452).
712 ns-win.el (ns-paste-secondary): Use gui-get-selection.
713 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
715 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
717 * lisp/emacs-lisp/package.el: New "external" package status
718 An external package is any installed package that's not built-in
719 and not from `package-user-dir', which usually means it's from an
720 entry in `package-directory-list'. They are treated much like
721 built-in packages, in that they cannot be through the Package Menu
722 deleted and are not considered for upgrades.
723 (package-desc-status): Identify if a package is installed outside
725 (package-menu--print-info-simple)
726 (package-menu--status-predicate): Add support for it.
727 * etc/NEWS: Document it.
729 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
731 * lisp/mail/rmail.el: Use lexical-binding
732 (rmail-bury): Remove unused var `buffer-to-bury'.
733 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
734 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
735 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
736 (rmail-insert-inbox-text): Remove unused var `movemail'.
737 (rmail-add-mbox-headers): Remove unused var `limit'.
738 (rmail-undelete-previous-message): Remove unused var `value'.
739 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
741 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
742 (rmail-restore-desktop-buffer): Rename arguments.
744 2015-05-06 Glenn Morris <rgm@gnu.org>
746 * Makefile.in (change-history-commit): Add missing piece of previous.
748 Avoid unnecessary bumping of Makefile.in's timestamp.
749 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
750 (emacslog): New variable.
751 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
752 (unchanged-history-files): Use $emacslog rather than Makefile.in.
753 (change-history-nocommit): Store hash in $emacslog.
754 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
755 * admin/update_autogen (changelog_files): Update for the above.
757 * Makefile.in: Don't always insist on removing existing "ChangeLog".
758 (CHANGELOG): New variable.
759 (no-ChangeLog): Remove.
760 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
761 (change-history-nocommit): Use a temp file rather than insisting
762 on deletion of any existing "ChangeLog".
764 * build-aux/gitlog-to-emacslog: Allow specification of output.
766 * admin/update_autogen: Add option to update ChangeLog.
768 (changelog_flag, changelog_n, changelog_files): New variables.
769 (main): Check for -H, and maybe run change-history-nocommit.
771 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
773 * lisp/subr.el (delete-dups): Pre-size the hashtable.
775 (define-modify-macro): Make sure cl--arglist-args is defined
776 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
777 cl--arglist-args is defined (bug#20517).
779 2015-05-06 Glenn Morris <rgm@gnu.org>
781 * Makefile.in (change-history-nocommit): New.
783 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
785 Only cancel timer when it is non-nil
786 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
787 timer when it is non-nil
788 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
790 2015-05-06 Glenn Morris <rgm@gnu.org>
792 Quieten cedet compilation
793 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
794 Invert fboundp test to quieten on current Emacs.
795 * lisp/cedet/ede/config.el (ede-shell-run-something)
796 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
797 (semanticdb-refresh-table): Declare.
798 (ede-preprocessor-map): Require semantic/db.
800 Quieten cc-mode compilation
801 * lisp/progmodes/cc-awk.el (c-forward-sws):
802 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
805 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
807 lisp/subr.el (delete-dups): Avoid nreverse.
809 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
811 * lisp/subr.el (delete-dups): Make it destructive again.
813 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
815 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
817 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
819 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
820 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
821 (testcover--read): Rename from testcover-read. Change calling convention.
822 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
823 (testcover-start): Use add-function. Move edebug-all-defs binding to
825 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
826 (testcover-mark): Remove unused var `item'.
827 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
829 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
831 lisp/subr.el (delete-dups): Use a hash table
832 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
833 use a hash table. This can result in ~500 times speed-up for typical
834 collections of size 5000, like that of `load-library'.
836 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
838 CEDET: Avoid `oref' on classes in a few more cases
839 * lisp/cedet/ede/generic.el (ede-find-target):
840 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
841 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
844 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
845 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
846 (semantic-symref-perform-search): Remove unused var `pat'.
848 CEDET (srecode-compile-inserter): Avoid `oref' on classes
849 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
850 Avoid `oref' on classes (bug#20491).
851 (srecode-compile-split-code): Remove unused var `key'.
853 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
855 Clean up pulse.el a little
856 * lisp/cedet/pulse.el (pulse): Remove.
857 (pulse-momentary-timer): Save instead of the stop time.
858 (pulse-momentary-highlight-overlay): Call
859 pulse-momentary-unhighlight first thing. Treat
860 pulse-momentary-overlay as a single value, not a list. Save the
861 created timer. Only pass the stop time to the timer.
862 (pulse-tick): Update accordingly.
863 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
864 single value. Cancel the timer.
866 2015-05-06 Tassilo Horn <tsdh@gnu.org>
868 Support the biblatex journaltitle field
869 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
870 Support the biblatex journaltitle field.
872 2015-05-05 Glenn Morris <rgm@gnu.org>
874 Minor declare-function improvement
875 * lisp/emacs-lisp/bytecomp.el
876 (byte-compile-macroexpand-declare-function):
877 Handle declarations after calls. (Bug#20509)
879 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
881 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
883 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
886 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
887 (pulse-momentary-highlight-overlay): Set up the timer instead of
889 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
890 (pulse-tick): New function.
891 (pulse-momentary-unhighlight): Cut off the stop time.
892 (pulse-delay): Update the docstring WRT to not using sit-for.
894 Add semantic/symref/grep file patterns for ruby-mode
895 * lisp/cedet/semantic/symref/grep.el
896 (semantic-symref-filepattern-alist): Add patterns for
897 ruby-mode. Clarify the docstring.
900 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
901 match. That doesn't work for every command, and some identifier
902 completion tables are bound to be imperfect anyway.
904 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
906 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
907 (semantic-grammar--template-expand): New function.
908 (semantic-grammar-header, semantic-grammar-footer): Use it.
909 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
910 (semantic-grammar-file-regexp): Refine regexp.
911 (semantic-grammar-eldoc-get-macro-docstring):
912 Use elisp-get-fnsym-args-string when available.
913 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
914 instead of the old eldoc-* names.
915 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
916 from elisp-mode.el. Tweak calling convention.
917 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
918 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
919 elisp--get-fnsym-args-string.
920 (elisp--highlight-function-argument): Add `prefix' arg.
921 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
922 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
924 2015-05-05 Glenn Morris <rgm@gnu.org>
926 * lisp/help-fns.el (describe-function-1):
927 Handle builtins with advertised calling conventions. (Bug#20479)
929 2015-05-05 Nicolas Petton <nicolas@petton.fr>
931 Merge branch 'seq-let'
933 Update `seq-let' documentation
934 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
935 with the support of `&rest'.
937 Add support for &rest in `seq-let'
938 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
939 in the argument list.
940 * test/automated/seq-tests.el: Add a test for parsing and binding
941 `&rest' in `seq-let'.
943 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
947 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
949 * eieio-custom.el (eieio-object-value-get): Add missing increment
952 (eieio-object-value-create): Adjust to new slots representation
954 * eieio-custom.el (eieio-object-value-create):
955 Fix missed adjustment to new representation of slots metadata.
957 2015-05-05 Nicolas Petton <nicolas@petton.fr>
959 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
961 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
963 Work around "Attempt to modify read-only object"
964 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
965 elisp--xref-find-definitions, to work around "Attempt to modify
966 read-only object" error.
968 Only skip some variables that have function counterparts
969 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
970 Only skip minor-mode-named variable if it's defined in a Lisp
971 file, and it's in minor-mode-list (bug#20506).
972 * test/automated/elisp-mode-tests.el
973 (elisp-xref-finds-both-function-and-variable)
974 (elisp-xref-finds-only-function-for-minor-mode): New tests.
976 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
978 Buttonize the whole line, including the number at the beginning
979 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
981 (xref--insert-xrefs): Buttonize the whole line, including the
982 number at the beginning.
984 Make sure we're inside the let bindings
985 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
986 Make sure we're inside the let bindings.
987 * test/automated/elisp-mode-tests.el
988 (elisp-completes-functions-after-let-bindings): New test.
990 2015-05-04 Glenn Morris <rgm@gnu.org>
992 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
993 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
994 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
995 Remove outdated declarations.
997 Replace instances of "(eval-when-compile (autoload ...))"
998 * lisp/gnus/gnus-art.el (nneething-get-file-name):
999 Declare rather than autoload.
1000 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
1001 Remove pointless autoload.
1002 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
1003 (gnus-topic-create-topic, gnus-topic-enter-dribble):
1004 Declare rather than autoload.
1005 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
1006 (mailcap-extension-to-mime): Autoload at run-time.
1007 * lisp/gnus/mm-util.el (latin-unity-massage-name)
1008 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
1009 (latin-unity-representations-present-region):
1010 Declare rather than autoload.
1011 * lisp/gnus/mml-smime.el (epg-make-context)
1012 (epg-passphrase-callback-function): Autoload at run-time.
1013 (epg-context-set-signers, epg-context-result-for)
1014 (epg-new-signature-digest-algorithm)
1015 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
1016 (epg-sign-string, epg-encrypt-string)
1017 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
1018 (epg-configuration, epg-expand-group, epa-select-keys):
1019 Declare rather than autoload.
1020 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
1021 Autoload at run-time.
1022 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
1023 (gnus-registry-get-id-key, gnus-registry-action):
1024 Declare rather than autoload.
1025 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
1026 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
1027 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
1028 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
1029 (spam-stat-split-fancy): Remove pointless autoloads.
1030 * lisp/net/mairix.el: Load gnus-util when compiling.
1031 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
1032 (message-field-value): Declare rather than autoload.
1033 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
1034 Check gnus-alive-p is fbound.
1035 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
1036 (vm-check-for-killed-summary, vm-error-if-folder-empty)
1037 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
1038 Declare rather than autoload.
1040 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
1042 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1043 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
1045 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
1047 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
1049 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
1050 * lisp/emacs-lisp/package.el (epg-signature-status):
1053 * lisp/play/gametree.el (gametree-show-children-and-entry)
1054 (gametree-apply-layout, gametree-mouse-show-subtree)
1055 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
1057 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
1058 Handle cl-defgeneric, cl-defmethod.
1060 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
1062 Highlight both type and symbol name
1063 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
1064 Highlight both type and symbol name.
1066 Insert, highlight and align line numbers in xref output
1067 * lisp/progmodes/etags.el (xref-location-line): Specialize for
1068 xref-etags-location.
1069 * lisp/progmodes/xref.el (xref-location-line): New generic method.
1070 (xref-file-location): Add reader for the line slot.
1071 (xref--location-at-point): Skip to the `xref-location' property.
1072 (xref--collect-reference): Drop the line number from description.
1073 (xref--insert-xrefs): Insert, highlight and align line numbers.
1075 2015-05-04 Daniel Colascione <dancol@dancol.org>
1079 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
1081 Don't pulse the indentation, or the newline
1082 * lisp/cedet/pulse.el (pulse-lighten-highlight)
1083 (pulse-reset-face): Fall back to the inherited background
1085 (pulse-momentary-highlight-region): Add autoload cookie.
1086 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
1087 indentation, or the newline, if the line's non-empty
1088 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
1090 2015-05-04 Daniel Colascione <dancol@dancol.org>
1092 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
1093 * doc/lispref/positions.texi (Excursions): Document
1094 `save-mark-and-excursion'.
1095 * lisp/font-lock.el (font-lock-fontify-block): Use
1096 `save-mark-and-excursion' instead of `save-excursion', restoring
1098 * lisp/simple.el (save-mark-and-excursion--save)
1099 (save-mark-and-excursion--restore): New functions.
1100 (save-mark-and-excursion): New user macro.
1101 * src/editfns.c (Fsave_excursion): Mention
1102 `save-mark-and-excursion' in `save-excursion' documentation.
1104 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
1106 Classify lone symbol inside let varlist as variable
1107 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
1108 Classify lone symbol inside let varlist as variable.
1109 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
1112 Add xref-pulse-on-jump
1113 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
1114 Add autoload cookie.
1115 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
1116 (xref--maybe-pulse): New function.
1117 (xref-pop-marker-stack, xref--pop-to-location)
1118 (xref--display-position): Use it.
1119 (xref--location-at-point): Use back-to-indentation.
1121 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * lisp/org/org-{macs,list}.el: Fix lexical warnings
1124 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
1125 (org-list-get-next-item, org-list-get-prev-item)
1126 (org-list-get-children): Mark unused arg `struct'.
1127 (org-list-use-alpha-bul-p): Remove unused var `bul'.
1128 (org-toggle-checkbox): Mark unused var.
1129 (org-update-checkbox-count): Remove unused var `box-num'.
1130 (org-adapt-indentation): Declare.
1131 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
1132 (org-list-send-list): Remove unused var `txt'.
1133 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
1134 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
1135 * lisp/org/org-macs.el: Use `declare'.
1136 (org-with-limited-levels): Declare dyn-bound vars.
1138 2015-05-04 Eli Zaretskii <eliz@gnu.org>
1140 Fix minor issues with CEDET on MS-Windows
1141 * lisp/cedet/semantic/symref/idutils.el
1142 (semantic-symref-parse-tool-output-one-line): Fix the search
1143 regexp to match MS-Windows file names with drive letters.
1145 * lisp/cedet/semantic/symref/grep.el
1146 (semantic-symref-grep-use-template): Remove "--color=always" from
1147 Grep switches on MS-Windows.
1148 (semantic-symref-grep-shell): Use shell-file-name as the default
1149 value, so this works not only on Posix platforms.
1150 (semantic-symref-perform-search): Use shell-quote-argument instead
1151 of literal '..' for portable quoting of Grep command-line
1152 argument. Use shell-command-switch instead of a literal "-c".
1153 * lisp/cedet/semantic/bovine/gcc.el
1154 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
1155 for an absolute file name in a portable way.
1157 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
1159 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
1160 (package-import-keyring, package-refresh-contents)
1161 (package-compute-transaction, package--save-selected-packages)
1162 (package-install-from-archive, package-delete)
1163 (package-menu--perform-transaction): Use `inhibit-message'
1165 (package--compile): Set `warning-minimum-level' to :error.
1167 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1169 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
1170 (terminal-init-screen): Use it (bug#20356).
1171 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
1172 (xterm--extra-capabilities-type): New const.
1173 (xterm-extra-capabilities): Use it.
1174 (xterm--version-handler): Lower the pseudo-version for `screen'.
1176 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
1178 xref--insert-xrefs: Tweak the faces
1179 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
1180 Always insert a newline at the end (to avoid mouse-face background
1181 tail at the last line).
1183 elisp-completion-at-point: Prioritize being quoted over funpos
1184 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
1185 Only consider function position when not inside quoted form
1187 * test/automated/elisp-mode-tests.el: New file.
1189 Stop vc-print-log from jumping to the top
1190 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
1191 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
1193 (vc-incoming-outgoing-internal): Always pass nil.
1194 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
1195 call it, and don't set vc-sentinel-movepoint (bug#15322).
1196 (vc-print-root-log): Don't fetch the root working revision, nor
1197 pass it to vc-print-log-internal.
1199 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
1201 Fix display of keyboard layouts for right-to-left scripts
1202 * lisp/international/quail.el (quail-insert-kbd-layout): Force
1203 left-to-right paragraph direction.
1205 2015-05-02 K. Handa <handa@gnu.org>
1207 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1209 * cmds.c (internal_self_insert): When we insert spaces for
1210 padding, set point before the padding spaces, not after them.
1212 2015-05-02 Nicolas Petton <nicolas@petton.fr>
1214 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
1216 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
1218 Fix etags-xref-find for references
1219 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
1220 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
1221 directory if no tags tables are loaded (bug#19468).
1223 2015-05-02 Philipp Stephani <phst@google.com>
1225 Update the options in whitespace-style defcustom
1226 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
1227 `repeat' because the option is really set-like. Add missing
1228 options. Reorder options to match the order in the
1229 documentation. (Bug#20346)
1231 2015-05-02 Eli Zaretskii <eliz@gnu.org>
1233 Fix error diagnostics of c-macro-expand
1234 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
1235 too early if no start-marker string was found -- that generally
1236 means cpp exited abnormally, and we still want to show its error
1237 messages to the user.
1239 Don't require Texinfo 5.0 for Emacs documentation
1240 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
1241 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
1242 "@codequoteundirected on", respectively, to avoid requiring
1243 Texinfo 5.x for Emacs documentation.
1245 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
1247 * lisp/files.el (pwd):
1248 When called with a prefix argument, insert the current default
1251 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
1254 * lisp/isearch.el (isearch-mode-map): Don't inhibit
1255 function-key-map remapping for backspace (bug#20466).
1257 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
1259 Implement xref-find-references in etags and elisp-mode
1260 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
1261 (elisp-xref-find): Use it.
1262 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
1263 * lisp/progmodes/xref.el (xref-collect-references):
1264 (xref--collect-reference): New functions.
1266 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
1268 Prefer plain characters to Texinfo circumlocutions
1269 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
1270 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
1272 Fix single-quoting style in PDF manuals
1273 The PDF versions of the GNU manuals used curved single quotes to
1274 represent grave accent and apostrophe, which made it a pain to cut
1275 and paste code examples from them. Fix the PDF versions to use
1276 grave accent and apostrophe for Lisp source code, keystrokes, etc.
1277 This change does not affect the info files, nor does it affect
1278 ordinary uses of curved single quotes in PDF.
1279 * doc/emacs/docstyle.texi: New file, which specifies treatment for
1280 grave accent and apostrophe, as well as the document encoding.
1281 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
1282 * doc/lispintro/emacs-lisp-intro.texi:
1283 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
1284 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
1285 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
1286 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
1287 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
1288 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
1289 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
1290 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
1291 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
1292 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
1293 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
1294 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
1295 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
1296 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
1297 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
1298 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
1299 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
1300 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
1301 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
1302 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
1303 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
1304 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
1305 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
1306 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
1307 * doc/misc/woman.texi:
1308 Use it instead of '@documentencoding UTF-8', to lessen the need for
1309 global changes like this in the future.
1310 * doc/emacs/Makefile.in (EMACS_XTRA):
1311 * doc/lispintro/Makefile.in (srcs):
1312 * doc/lispref/Makefile.in (srcs):
1313 Add dependency on docstyle.texi.
1314 * doc/misc/Makefile.in (style): New macro.
1315 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
1316 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
1319 2015-05-01 Glenn Morris <rgm@gnu.org>
1321 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
1323 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
1324 (help-fns--signature): Declare.
1326 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
1328 2015-05-01 Nicolas Petton <nicolas@petton.fr>
1330 New macro seq-let, providing destructuring support to seq.el
1331 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
1332 to `cl-destructuring-bind' but works on all sequence types supported
1333 by `seq.el'. Bump version number to 1.6.
1334 * test/automated/seq-tests.el: Add tests for seq-let.
1335 * doc/lispref/sequences.texi: Add documentation for seq-let.
1337 2015-05-01 Pontus Michael <m.pontus@gmail.com>
1339 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
1341 2015-05-01 Glenn Morris <rgm@gnu.org>
1343 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
1345 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
1347 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
1348 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
1349 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
1350 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
1353 2015-05-01 K. Handa <handa@gnu.org>
1355 * mule-cmds.el (input-method-use-echo-area): Change :type to
1358 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1360 Start using proportional fonts in eww by default
1361 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
1362 it seems to work well.
1364 Fix links in tables in shr
1365 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
1366 makes (some) links in tables not work.
1368 2015-05-01 Jan D <jan.h.d@swipnet.se>
1370 (ns-get-cut-buffer-internal): Remove this alias.
1371 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
1373 2015-04-30 Glenn Morris <rgm@gnu.org>
1375 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
1376 Update for 2015-02-08 change to indirect-function.
1378 * lisp/term/ns-win.el (ns-get-selection-internal):
1379 Remove declaration for function deleted 2014-10-21.
1381 * lisp/dom.el: Load subr-x when compiling, for when-let.
1383 Silence some compilation warnings
1384 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
1385 * lisp/emulation/cua-base.el (delete-active-region):
1386 * lisp/net/net-utils.el (w32-get-console-output-codepage):
1387 * lisp/term/ns-win.el (ns-own-selection-internal)
1388 (ns-disown-selection-internal, ns-selection-owner-p)
1389 (ns-selection-exists-p, ns-get-selection):
1390 Declare for compiler..
1392 Function declaration updates prompted by 'make check-declare'
1393 * lisp/emacs-lisp/package.el (lm-homepage):
1394 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
1395 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
1396 * lisp/gnus/mml.el (libxml-parse-html-region):
1397 * lisp/gnus/nnrss.el (libxml-parse-html-region):
1398 * lisp/net/eww.el (libxml-parse-html-region):
1399 * lisp/net/shr.el (libxml-parse-html-region):
1400 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
1401 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
1402 * lisp/vc/vc-git.el (vc-annotate-convert-time):
1403 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
1404 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
1405 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
1408 Remove compatibility code for 20-year old function renaming
1409 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
1410 Make it an obsolete alias.
1411 (idlwave-shell-filter): Change all uses to comint-output-filter.
1413 2015-04-30 Tassilo Horn <tsdh@gnu.org>
1415 Add ace-window face config
1416 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
1419 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
1421 Unclutter 'make doc' output a bit
1422 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
1423 Use make subst rather than sh IFS to split target string apart.
1424 This makes 'make' output easier to follow.
1427 * doc/misc/texinfo.tex: Update from gnulib.
1429 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
1431 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
1432 (package-menu--print-info): Obsolete.
1433 (package-menu--print-info-simple): New function.
1434 (package-menu--refresh): Use it, simplify code, and improve
1436 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1437 Tiny performance improvement.
1439 * lisp/emacs-lisp/package.el (package--message): inhibit-message
1441 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
1443 Omit -Wstrict-overflow workaround in GCC 5
1444 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
1445 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
1449 2015-04-29 extern-inline: no need for workaround in GCC 5.1
1450 2015-04-26 file-has-acl: port to CentOS 6
1451 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
1453 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
1455 Set next-error-* in xref--xref-buffer-mode
1456 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
1457 `next-error-last-buffer'.
1458 (xref--next-error-function): New function.
1459 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
1461 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
1463 python.el: Fix warnings on looking-back calls missing LIMIT
1464 * lisp/progmodes/python.el (python-shell-accept-process-output):
1465 Pass LIMIT arg to looking-back.
1467 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
1469 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
1470 (package--download-and-read-archives): Use pushnew instead of
1471 append. If something terrible happened during a previous
1472 download, simply refreshing should now make things work again.
1474 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
1476 Introduce etags-xref-find-definitions-tag-order
1477 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
1479 (etags--xref-find-definitions): Use it (bug#19468).
1481 2015-04-29 Eli Zaretskii <eliz@gnu.org>
1483 PATH- and completion-related fixes in Eshell on MS-Windows
1484 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
1485 MS-Windows, prepend "." to list of directories produced from PATH,
1486 as Windows always implicitly searches the current directory first.
1487 (eshell-force-execution): Make it have a non-nil default value on
1488 MS-Windows and MS-DOS.
1489 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
1490 eshell-force-execution is non-nil, complete on readable files and
1491 directories, not only executables. When running on MS-Windows,
1492 prepend "." to list of directories produced from PATH, as Windows
1493 always implicitly searches the current directory first.
1495 2015-04-29 Sam Steingold <sds@gnu.org>
1497 bury RCIRC buffers when there is no activity
1498 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
1499 (rcirc-bury-buffers): new function
1500 (rcirc-next-active-buffer): when there is no new activity, use
1501 `rcirc-bury-buffers' to hide all RCIRC buffers
1503 2015-04-29 Michael Albinus <michael.albinus@gmx.de>
1505 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
1507 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
1509 Fix DBUS query result parsing for secrets-search-items
1510 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
1511 parsing. The function assumed that return value of the
1512 SearchItems method called on a collection is a list of two lists,
1513 however this is true only when no collection is specified. GNOME
1514 had used to incorrectly return a list of two lists in both cases,
1515 but this was already fixed:
1516 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
1517 incorrect information in the secrets-search-items’ docstring.
1520 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
1522 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
1523 (byte-compile--message): Use `inhibit-message' instead of hiding
1524 the previous message with (message nil).
1526 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
1528 Remove the deprecated INTERNAL_FIELD macro by expanding it
1529 * src/lisp.h (INTERNAL_FIELD): Remove.
1530 (DEFVAR_KBOARD): Modify accordingly.
1531 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
1532 * syntax.c: Adjust users.
1533 * src/buffer.c (compact_buffer): Use BVAR.
1535 2015-04-29 Glenn Morris <rgm@gnu.org>
1537 Replace an obsolete function alias
1538 * lisp/isearch.el (isearch-yank-x-selection):
1539 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
1540 (mouse-drag-secondary-moving):
1541 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
1542 Replace obsolete alias x-get-selection with gui-get-selection.
1544 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1546 * lisp/mail/rmailsum.el: Use lexical-binding.
1548 2015-04-29 Glenn Morris <rgm@gnu.org>
1550 * test/automated/package-test.el (package-test-update-archives-async):
1551 Skip test on hydra.nixos.org.
1553 2015-04-28 Glenn Morris <rgm@gnu.org>
1555 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
1556 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
1557 (foldout-mouse-hide-or-exit): Use new names for outline functions.
1559 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
1560 Update for 2014-06-26 hideif.el change.
1562 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
1563 (rmail--decode-and-apply): New function.
1564 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
1566 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
1568 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
1570 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
1571 (package-menu--refresh): Delegate obsolete-hiding to
1572 `package--remove-hidden'.
1573 (package--remove-hidden): Disregard high-priority package if it is
1574 older than the installed one.
1576 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
1578 Update source file encoding list
1579 Update admin/notes/unicode, along with coding system cookies in
1580 other files, so that the two match each other better.
1581 * admin/notes/unicode: lisp/language/ethio-util.el and
1582 lisp/language/ethiopic.el also use utf-8-emacs.
1583 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
1584 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
1585 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
1586 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
1587 * etc/refcards/sk-survival.tex:
1588 Add "coding: utf-8" so that this file is not mishandled in a
1589 Latin-1 or Big-5 locale.
1590 * lisp/international/robin.el, lisp/org/ox-ascii.el:
1591 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
1592 * lisp/language/ethio-util.el: Fix trailer.
1594 2015-04-28 Eli Zaretskii <eliz@gnu.org>
1596 Fix synchronous invocation of Ispell
1597 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
1598 value to ispell-process-directory before calling ispell-init-process.
1599 Don't call set-process-coding-system if ispell-async-processp is nil.
1602 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
1604 * lisp/emacs-lisp/package.el: Skip space and comments in init file
1605 (package--ensure-init-file): Insert snippet at first
1606 non-whitespace non-comments line. Respects local-vars at the top
1609 2015-04-28 Glenn Morris <rgm@gnu.org>
1611 * lisp/mail/rmail.el (rmail-copy-headers):
1612 Handle rmail-nonignored-headers being nil. (Bug#18878)
1614 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
1616 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
1617 Don't get confused by a bzrlib version mismatch warning.
1619 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1621 Change default location of EUDC options file
1622 * NEWS: Document change to EUDC options file's default location.
1623 * lisp/net/eudc-vars.el (eudc-options-file): Use
1624 `locate-user-emacs-file' to change default options file location.
1626 2015-04-27 Glenn Morris <rgm@gnu.org>
1628 * test/automated/package-test.el (package-test-update-archives-async):
1629 Try to handle the test server script dying.
1631 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * lisp/saveplace.el (save-place-mode): New minor mode.
1634 (save-place): Redefine as an obsolete alias.
1636 * lisp/midnight.el: Make it a minor mode. Allow predicates.
1637 * lisp/midnight.el: Use lexical-binding.
1638 (midnight-mode): Make it a proper minor mode.
1639 (midnight-buffer-display-time): Make arg non-optional.
1640 (midnight-find): Remove.
1641 (clean-buffer-list-kill-never-regexps)
1642 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
1643 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
1645 (clean-buffer-list): Use cl-find.
1646 Allow clean-buffer-list-kill-never-regexps to contain functions.
1648 2015-04-27 Nicolas Petton <nicolas@petton.fr>
1650 Bump version of seq.el to 1.5
1651 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
1652 from seq-doseq. Bump version number of seq.el.
1654 2015-04-27 Glenn Morris <rgm@gnu.org>
1656 * lisp/mail/rmail.el (rmail-reply):
1657 Decode subject before matching "Re:" prefix. (Bug#20396)
1659 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
1661 * lisp/emacs-lisp/package.el: Small improvements
1662 (package--with-work-buffer-async): More informative error.
1663 (package-install-user-selected-packages): Rename to
1664 `package-install-selected-packages'.
1666 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1668 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
1669 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
1670 (eieio--class-make): Remove leftover `tag'.
1672 2015-04-27 Glenn Morris <rgm@gnu.org>
1674 * lisp/gnus/message.el (gnus-extract-address-components):
1675 Remove bogus declaration that was masking previous problem.
1677 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
1679 * lisp/gnus/message.el (message-insert-formatted-citation-line):
1680 Fix typo. (Bug#20318)
1682 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
1686 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
1687 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
1688 the buffer in yet another frame.
1689 (reftex-toc-visit-location): Make sure toc-window has focus at the end
1690 when `final' is nil.
1691 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
1692 silence warnings. Use `--' to clarify that it's internal.
1693 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
1694 (reftex-toc-promote): Clarify unused argument.
1695 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
1696 Add `reftex--' prefix. Fix all users.
1697 (reftex-toc-promote-prepare): Use _ for dummy variable.
1698 (reftex-toc-restore-region): Rename `m
1700 2015-04-27 Eli Zaretskii <eliz@gnu.org>
1702 Fix a typo in bibtex.el
1703 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
1704 last change. (Bug#20429)
1706 Fix redisplay of frame after loading new fonts
1707 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
1708 frame because new fonts were loaded, disable all redisplay
1709 optimizations on that frame by calling SET_FRAME_GARBAGED.
1712 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1714 * lisp/info.el (Info-menu): Properly provide the `default'
1717 * elisp-mode.el: Catch errors from `documentation'
1719 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
1720 Catch errors from documentation.
1721 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
1723 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1725 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
1726 Remove redundant ":group 'package".
1728 2015-04-26 Eli Zaretskii <eliz@gnu.org>
1730 Fix a typo in rmail.el
1731 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
1732 last commit. (Bug#20429)
1734 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
1736 Introduce xref-prompt-for-identifier
1737 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
1738 (xref--read-identifier): Use it
1739 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
1741 2015-04-26 João Távora <joaotavora@gmail.com>
1743 `tex-insert-quote' after single `'' opens quotes instead of closing
1744 Without this, it's very hard to precede double quotes with the
1745 apostrophe character, i.e. insert the sequence '``
1746 (quote-backquote-backquote), commonly useful in portuguese, for
1748 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
1749 chars making `tex-insert-quote' be in the "opening" context.
1751 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
1753 Pass `id' to `completing-read' as def instead of initial input
1754 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
1755 as the default value instead of initial input
1756 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
1758 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
1760 Don't freeze with unreadable processes
1761 Don't freeze if an exiting process can't be read from. (Bug#19860).
1762 This fixes a bug I introduced in
1763 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
1764 "* process.c: Add sanity checks for file descriptors."
1765 Dmitry Gutov did most of the legwork in finding the problem.
1766 * src/process.c (wait_reading_process_output):
1767 Treat non-running processes that can't be read from
1768 the same as other non-running processes.
1770 2015-04-25 Alan Mackenzie <acm@muc.de>
1772 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
1773 * lisp/subr.el (remove-yank-excluded-properties): put
1774 `with-silent-modifications' around only the last three lines of code.
1776 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
1778 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
1779 (package--all-keywords): Deleted variable.
1781 * etc/NEWS: Document package-hiding functionality
1783 2015-04-25 Eli Zaretskii <eliz@gnu.org>
1785 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
1787 Clarify the doc string of 'replace-regexp-in-string'
1788 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
1790 Improve doc string of 'insert-buffer-substring'
1791 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
1793 MS-Windows followup for the recent gnulib update
1794 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
1797 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
1803 2015-04-24 file-has-acl: new module, split from acl
1804 2015-04-24 manywarnings: add GCC 5.1 warnings
1805 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
1806 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
1807 2015-04-15 acl: On Linux, check for acls without libacl
1808 2015-04-14 tempname: avoid unused parameter warnings (trivial)
1809 * lib/acl-internal.c: New file, from gnulib.
1810 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
1811 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
1812 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
1815 Port --enable-gcc-warnings to GCC 5.1 x86-64
1816 * lib-src/ebrowse.c (dump_sym):
1817 * lib-src/hexl.c (main):
1818 * src/ccl.c (ccl_driver):
1819 * src/character.c (string_escape_byte8):
1820 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
1821 * src/gnutls.c (Fgnutls_boot):
1822 * src/gtkutil.c (xg_check_special_colors):
1823 * src/image.c (x_build_heuristic_mask):
1824 * src/print.c (safe_debug_print, print_object):
1825 * src/term.c (produce_glyphless_glyph):
1826 * src/xdisp.c (get_next_display_element)
1827 (produce_glyphless_glyph):
1828 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
1829 Don't use a signed format to print an unsigned integer, or vice
1830 versa. GCC 5.1's new -Wformat-signedness option warns about this.
1831 * src/image.c (png_load_body, jpeg_load_body):
1832 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
1834 2015-04-24 Tassilo Horn <tsdh@gnu.org>
1836 Add new faces to tsdh-light-theme
1837 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
1838 definitions for Info-quoted, ace-jump-face-foreground,
1839 hl-paren-face, show-paren-match, and show-paren-mismatch.
1841 2015-04-24 Nicolas Petton <nicolas@petton.fr>
1843 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
1845 2015-04-24 Glenn Morris <rgm@gnu.org>
1847 * build-aux/gitlog-to-emacslog:
1848 Use raw log format rather than wrapped one.
1850 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1852 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
1853 (seq-doseq): Fix out-of-scope binding.
1854 Don't call `seq-length at every iteration.
1855 Reduce `if's from 3 to 2 per iteration.
1856 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
1858 2015-04-24 Glenn Morris <rgm@gnu.org>
1860 * lisp/textmodes/text-mode.el (text-mode-hook):
1861 Move text-mode-hook-identify to default.
1863 * lisp/mouse.el (minor-mode-menu-from-indicator):
1864 Handle non-function members of minor-mode-map-alist. (Bug#20201)
1866 * lisp/help-fns.el (describe-function): More type checking.
1867 (describe-function-1): Handle changed symbol-function. (Bug#20201)
1869 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
1872 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
1874 shr: strip leading whitespace when expanding URLs
1875 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
1877 2015-04-24 Eli Zaretskii <eliz@gnu.org>
1879 Clarify "co-authored" some more
1881 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
1883 Clarify doc strings of functions that search for properties
1884 * src/textprop.c (Fnext_char_property_change)
1885 (Fprevious_char_property_change)
1886 (Fnext_single_char_property_change)
1887 (Fprevious_single_char_property_change, Fnext_property_change)
1888 (Fnext_single_property_change, Fprevious_property_change)
1889 (Fprevious_single_property_change): Clarify doc strings wrt return
1890 value and the optional LIMIT argument. (Bug#20411)
1892 2015-04-24 Glenn Morris <rgm@gnu.org>
1894 * test/automated/message-mode-tests.el (message-mode-propertize):
1895 Handle non-writable HOME; eg on hydra.nixos.org.
1897 2015-04-23 Eli Zaretskii <eliz@gnu.org>
1899 Avoid starting threads by w32-shell-execute
1900 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
1901 local file names, before invoking ShellExecute. (Bug#20220)
1903 2015-04-23 Martin Rudalics <rudalics@gmx.at>
1905 Fix following doc-links in `widget-documentation-link-action'
1906 * lisp/wid-edit.el (widget-documentation-link-action): Make
1907 following doc-links less simplistic (Bug#20398).
1909 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1912 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
1914 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
1916 Omit needless "\ " after multibyte then newline
1917 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
1918 (print_object): When print-escape-multibyte is non-nil and a
1919 multibyte character is followed by a newline or formfeed, followed
1920 by a hex digit, don't output a needless "\ " before the hex digit.
1921 * test/automated/print-tests.el (print-hex-backslash): New test.
1923 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
1925 Add a new `inhibit-message' variable
1926 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
1927 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
1928 `inhibit_message' is non-zero.
1929 * etc/NEWS: Add an entry.
1930 * doc/lispref/display.texi: Add an entry for `inhibit-message',
1931 mention it in `message'.
1933 2015-04-22 Martin Rudalics <rudalics@gmx.at>
1935 Fix last fix in `display-buffer-record-window'.
1936 * lisp/window.el (display-buffer-record-window): Fix last fix.
1938 2015-04-22 Eli Zaretskii <eliz@gnu.org>
1940 Minor edits in CONTRIBUTE
1941 * CONTRIBUTE: Rearrange instructions about log messages.
1942 Use "Git" capitalized all over.
1943 Use 2 spaces between sentences.
1945 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
1947 * lisp/files.el (basic-save-buffer): Fix argument
1949 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
1950 In case `(and (null custom-file) init-file-had-error)' do the same
1951 thing we'd do if `(null user-init-file)', which is to either error out
1952 or return nil. This is in line with `custom-save-all' which would
1953 throw an error in that situation. (bug#20355)
1955 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
1956 (package-menu-hide-low-priority): New variable, see its doc.
1957 (package-archive-priorities): Update doc.
1958 (package-desc-priority): New function.
1959 (package-desc-priority-version): Use it.
1960 (package--remove-hidden): New function.
1961 (package-menu--refresh): Use it.
1963 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
1964 (package-menu--hide-obsolete): New variable.
1965 (package--remove-hidden): Use it.
1966 (package-menu-hide-obsolete): New interactive function to toggle
1968 (package--quick-help-keys): Document it.
1969 (package-menu-async): Add :version tag.
1970 (package-menu-mode-map): Bind package-menu-hide-obsolete.
1971 (package-desc-status): Indicate non-installed obsolete packages as
1973 (package-menu-mark-install): Allow installation of avail-obso.
1974 (package-menu--status-predicate): Sort avail-obso with available.
1976 2015-04-22 Alan Mackenzie <acm@muc.de>
1978 On C-y, stop some text property entries being written into buffer-undo-list
1979 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
1980 `with-silent-modifications'.
1982 2015-04-22 Martin Rudalics <rudalics@gmx.at>
1984 In display-buffer-record-window record selected window if necessary.
1985 * lisp/window.el (display-buffer-record-window): Store selected window
1986 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
1988 2015-04-22 Tassilo Horn <tsdh@gnu.org>
1990 Fix reftex-citation bug
1991 * reftex-cite.el (reftex-extract-bib-entries): Fix
1992 `wrong-type-argument stringp nil' error that occurs when AUCTeX
1993 integration is enabled and there are no citations in the document
1996 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
1998 Add or reset based on the presence of MERGE_HEAD
1999 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
2000 `vc-git-resolve-when-done' to `after-save-hook' in either case.
2001 (vc-git-conflicted-files): Add a TODO.
2002 (vc-git-resolve-when-done): Depending on the presence of
2003 MERGE_HEAD, either update the resolved file in the index, or
2004 remove it from there. (Bug#20292)
2006 2015-04-21 Glenn Morris <rgm@gnu.org>
2008 * lisp/custom.el (custom-declare-group): No need to purecopy
2009 custom-current-group-alist members following recent change to set
2010 it to nil before dumping.
2012 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
2015 2015-04-21 Daniel Colascione <dancol@dancol.org>
2017 Unbreak no-op buffer save message
2018 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
2019 (basic-save-buffer): Accept called-interactively as an argument instead of
2020 directly invoking called-interactively-p, which will always yield nil
2023 2015-04-21 Alan Mackenzie <acm@muc.de>
2025 CC Mode: Do nothing in before/after-change-functions for text property changes
2027 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
2028 yank-handled-properties buffer local, and remove 'category from it.
2029 (c-called-from-text-property-change-p): New function.
2030 (c-before-change): Don't do anything if a call of the new function
2032 (c-after-change): Don't do much if a call of the new function returns
2034 (c-extend-after-change-region): Put changes to text property 'fontified
2035 inside c-save-buffer-state.
2037 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2039 Fix byte-compiler warnings about looking-back.
2040 * lisp/vc/log-view.el (log-view-end-of-defun-1):
2041 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
2042 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
2043 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
2044 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
2045 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
2046 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
2047 * lisp/org/org.el (org-insert-heading, org-sort-entries):
2048 * lisp/org/org-mouse.el (org-mouse-end-headline)
2049 (org-mouse-context-menu):
2050 * lisp/org/org-clock.el (org-clock-cancel):
2051 * lisp/man.el (Man-default-man-entry):
2052 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
2053 (rmail-ensure-blank-line):
2054 * lisp/mail/footnote.el (Footnote-delete-footnote):
2055 * lisp/mail/emacsbug.el (report-emacs-bug):
2056 * lisp/info.el (Info-follow-reference, Info-fontify-node):
2057 * lisp/info-look.el (info-lookup-guess-custom-symbol):
2058 * lisp/help-fns.el (help-fns--key-bindings):
2059 * lisp/files.el (hack-local-variables):
2060 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
2061 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
2062 (viper-complete-filename-or-exit):
2063 * lisp/emulation/viper-cmd.el (viper-backward-indent):
2064 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
2065 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
2066 * lisp/cus-edit.el (custom-face-edit-value-create):
2067 * lisp/calendar/todo-mode.el (todo-set-item-priority)
2068 (todo-filter-items-1, todo-convert-legacy-files)
2069 (todo-prefix-overlays): Add explicit second arg to looking-back.
2071 2015-04-20 Glenn Morris <rgm@gnu.org>
2073 Avoid non-nil current-load-list at startup
2074 * src/process.c (init_process_emacs): Move Fprovide statement...
2075 (syms_of_process): ... to here.
2077 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
2079 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
2081 2015-04-20 Ludovic Courtès <ludo@gnu.org>
2083 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
2086 2015-04-20 Glenn Morris <rgm@gnu.org>
2088 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
2090 Tweak exec-path in uninstalled case
2091 * src/callproc.c (init_callproc): If running uninstalled, do not
2092 include eventual installation libexec directory in exec-path.
2094 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
2096 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
2097 (package-menu-filter): Accept a list of keywords.
2098 (package--all-keywords): New variable to cache known keywords.
2099 (package-all-keywords): Populate it if necessary.
2100 (package-refresh-contents): Reset it.
2102 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
2103 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
2104 as special keywords which match agains package archive and status
2106 * etc/NEWS: Document it.
2108 2015-04-20 Eli Zaretskii <eliz@gnu.org>
2110 Describe and index "empty overlays".
2111 * doc/lispref/display.texi (Overlays): Improve indexing.
2112 (Managing Overlays): Describe "empty" overlays.
2113 (Overlay Properties, Finding Overlays): Add cross-reference to
2114 where empty overlays are described.
2116 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2120 Quote 'like this' in top-level files
2121 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
2122 Prefer to single-quote 'like this' (instead of the older style
2124 * configure.ac: Fix some space-before-tab problems that 'git commit'
2127 Use bool for boolean in textprop.c, undo.c
2128 * src/textprop.c (soft, hard): Now constants instead of macros.
2129 (validate_plist): Rewrite to avoid need for boolean local.
2130 (interval_has_all_properties, interval_has_some_properties)
2131 (interval_has_some_properties_list, add_properties)
2132 (remove_properties, get_char_property_and_overlay)
2133 (Fnext_single_char_property_change)
2134 (Fprevious_single_char_property_change, add_text_properties_1)
2135 (Fremove_text_properties, Fremove_list_of_text_properties)
2136 (copy_text_properties):
2137 * src/tparam.c (tparam1):
2138 * src/undo.c (record_change, record_property_change)
2140 Use 'true' and 'false' for booleans.
2142 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
2144 Call `smerge-start-session' even when dealing with a stash conflict
2145 * lisp/vc/vc-git.el (vc-git-find-file-hook):
2146 Call `smerge-start-session' even when dealing with a stash
2147 conflict (bug#20292).
2149 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
2151 Add option to eshell/clear to clear scrollback.
2152 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
2153 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
2154 scrollback contents are cleared.
2155 * etc/NEWS: Describe change.
2156 * doc/misc/eshell.texi: Add entry for `clear'.
2158 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2160 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
2161 where either will do.
2163 2015-04-19 Steve Purcell <steve@sanityinc.com>
2165 Assume package archive-contents are UTF8-encoded
2166 * lisp/emacs-lisp/package.el (package--read-archive-file):
2167 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
2168 downloaded and cached archive-contents files, so that non-ASCII
2169 characters in package descriptions are displayed correctly in the
2170 `list-packages' menu. (Bug#20231)
2172 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
2174 Abort when looking at stashed changes
2175 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
2176 stashed changes (bug#20292).
2178 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
2180 Refactor low-level printing for simplicity
2181 * src/print.c (PRINTDECLARE): Remove. Move its contents into
2182 PRINTPREPARE; doable now that we assume C99. All callers changed.
2183 (PRINTCHAR): Remove, as it adds more mystery than clarity.
2184 All callers changed.
2185 (strout): Assume that caller computes length. All callers changed.
2186 (print_c_string): New function.
2187 (write_string, write_string_1): Compute length instead of asking
2188 the caller to compute it. All callers changed.
2189 (write_string): Simplify by using write_string_1.
2190 (write_string_1): Simplify by using print_c_string.
2191 (Fterpri): Compute default val more clearly.
2192 (Fprin1_to_string, print_object):
2193 Assume C99 to avoid unnecessary nesting.
2194 (print_object): Prefer print_c_string to multiple printchar, or
2195 to calling strout with -1 length. Coalesce into sprintf when
2198 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
2200 Prefer "Bug#1234" in commit messages (Bug#20325)
2201 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
2202 as this isn't useful for Git.
2203 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
2205 2015-04-18 Glenn Morris <rgm@gnu.org>
2207 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
2210 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
2212 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
2215 2015-04-18 Glenn Morris <rgm@gnu.org>
2217 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
2219 * doc/emacs/misc.texi (Sorting): Small edit.
2222 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
2224 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
2226 css-mode.el: Support multi-line comment filling
2228 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
2230 (css-adaptive-fill): New function.
2231 (css-mode): Set `adaptive-fill-function'.
2232 (scss-mode): Set `comment-continue'.
2234 2015-04-18 Nicolas Petton <nicolas@petton.fr>
2236 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
2238 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
2240 Minor improvements in Bulgarian input methods
2241 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
2242 Replace U+042C with U+045D, as the former character is not used in
2243 the modern Bulgarian language.
2246 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2249 * eudc.texi (LDAP Configuration): Mention simple and SASL
2250 authentication schemes. Add index items. Shorten example server
2253 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
2255 Don't show both feature and function with the same name
2256 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
2257 Don't show both feature and function with the same name.
2259 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
2260 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
2261 Avoid returning both the variable and the function for the same
2264 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
2266 Fix fontification of keywords clobbered by the prompt.
2267 * lisp/comint.el (comint-output-filter): Remove the uses of
2268 with-silent-modifications I introduced as part of the last change.
2269 This fixes, e.g., erratically missing highlighting when running
2270 ./configure --help; ./configure in a shell-mode buffer with
2271 compilation-shell-minor-mode turned on.
2273 2015-04-17 Glenn Morris <rgm@gnu.org>
2275 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
2277 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
2279 * lisp/indent.el (indent-region): Don't deactivate the mark
2282 2015-04-17 Sam Steingold <sds@gnu.org>
2284 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
2286 2015-04-16 Leo Liu <sdl.web@gmail.com>
2288 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
2290 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
2294 2015-04-16 Glenn Morris <rgm@gnu.org>
2296 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
2298 2015-04-16 Eli Zaretskii <eliz@gnu.org>
2300 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
2301 * configure.ac (LIBJPEG): Leave it empty for MinGW.
2303 2015-04-16 Glenn Morris <rgm@gnu.org>
2305 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
2306 to avoid rogue setting after startup.
2308 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
2310 Pre-4.6 GCC succeeds with unknown option
2311 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
2314 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
2316 '[:graph:]' now excludes whitespace, not just ' '
2317 * doc/lispref/searching.texi (Char Classes):
2318 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
2319 sans whitespace (not sans space).
2320 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
2322 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
2324 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2326 (looking-back): Make the second arg non-optional.
2327 * lisp/subr.el (substitute-key-definition-key, special-form-p)
2328 (macrop): Drop deprecated second arg to indirect-function.
2329 (looking-back): Make the second arg non-optional.
2331 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
2332 command is actually sent to the shell.
2334 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
2336 Port jpeg configuration to Solaris 10 with Sun C
2337 * configure.ac: Check for jpeglib 6b by trying to link it, instead
2338 of relying on cpp magic that has problems in practice. Check for
2339 both jpeglib.h and jerror.h features. Remove special case for
2340 mingw32, which should no longer be needed (and if it were needed,
2341 should now be addressable by hotwiring emacs_cv_jpeglib).
2344 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2346 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
2347 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
2348 Move to elisp-mode.el.
2349 (lisp-mode-variables): (Re)move elisp-specific settings.
2350 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
2351 from lisp-mode-variables.
2352 (elisp--font-lock-flush-elisp-buffers): New function, moved from
2355 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
2356 Avoid pathological slowdown at top-level in large file.
2358 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
2360 Standardize names of ChangeLog history files
2361 Suggested by Glenn Morris in:
2362 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
2363 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
2364 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
2365 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
2366 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
2367 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
2368 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
2371 Split top-level entries into pre- and post-April 7
2372 This more clearly distingiushes pre-April-7 ChangeLog entries (which
2373 are for top-level files only) from post-April-7 entries (which are
2374 about files at all levels. Problem reported by Glenn Morris in:
2375 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
2376 * ChangeLog.1: Move post-April-7 entries from here ...
2377 * ChangeLog.2: ... to this new file.
2378 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
2380 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2382 Fix recent cus-start changes that added customize-rogues
2383 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
2385 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
2387 2015-04-15 Nicolas Petton <nicolas@petton.fr>
2389 Define cl-concatenate as an alias to seq-concatenate
2390 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
2391 code by making cl-concatenate an alias to seq-concatenate.
2393 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2395 * src/lread.c (intern_1): Make sure we'd find the symbol we add
2397 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
2399 2015-04-15 Glenn Morris <rgm@gnu.org>
2401 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
2403 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2405 Clean up gnus-uu saving code slightly
2406 * gnus-uu.el (gnus-uu-save-article): Make the
2407 save-restriction/widen calls make more sense.
2409 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
2411 Make [:graph:] act like [:print:] sans space
2412 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
2413 [:graph:] so that it matches everything that [:print:] does,
2415 * doc/lispref/searching.texi (Char Classes):
2417 * lisp/emacs-lisp/rx.el (rx):
2418 Document [:graph:] to be [:print:] sans ' '.
2419 * src/character.c, src/character.h (graphicp): New function.
2420 * src/regex.c (ISGRAPH) [emacs]: Use it.
2421 (BIT_GRAPH): New macro.
2422 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
2423 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
2424 Return BIT_GRAPH for RECC_GRAPH.
2425 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
2426 and ISPRINT if BIT_PRINT.
2428 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2430 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
2431 Don't use call-next-method in a cl-defmethod.
2433 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
2434 (eieio--class-p): Remove, provided by cl-defstruct.
2436 2015-04-14 Nicolas Petton <nicolas@petton.fr>
2438 Add seq-intersection and seq-difference to the seq library
2439 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
2441 * test/automated/seq-tests.el: Add tests for seq-intersection and
2443 * doc/lispref/sequences.texi: Add documentation for seq-intersection
2446 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2448 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
2450 2015-04-14 Sam Steingold <sds@gnu.org>
2452 package--ensure-init-file: widen requires save-restriction
2454 2015-04-14 Eli Zaretskii <eliz@gnu.org>
2456 Improve the commit-msg Git hook for unibyte environments
2457 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
2458 in unibyte environments. (Suggested by Paul Eggert
2459 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
2460 [:print:], based on UTF-8 sequences of the unprintable characters.
2462 Describe problems with cursor caused by Windows Magnifier
2463 * etc/PROBLEMS: Describe the problem with cursor shape on
2464 MS-Windows due to Windows Magnifier.
2467 Make [:print:] support non-ASCII characters correctly
2468 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
2469 (BIT_PRINT): New bit mask.
2470 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
2471 * src/character.c (printablep): New function.
2472 * src/character.h (printablep): Add prototype.
2473 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
2474 of 'print', 'alnum', and 'alphabetic'.
2475 * doc/lispref/searching.texi (Char Classes): Document the new
2476 behavior of [:print:].
2477 * etc/NEWS: Mention the new behavior of [:print:].
2479 Assign correct general-category and names to surrogates
2480 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
2481 surrogates. This avoids assigning them the default
2482 general-category of 'Cn', i.e. unassigned codepoints.
2483 (unidata-get-name): Give surrogates synthetic names.
2485 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
2487 Assume C89 offsetof in xterm.c, xlwmenu.c
2488 * lwlib/xlwmenu.c (offset):
2489 * src/xterm.c (cvt_string_to_pixel_args):
2490 Use offsetof, not XtOffset.
2492 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
2494 Assume C89 offsetof in widget.c
2495 * src/widget.c (XtOffset): Remove; no longer needed.
2496 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
2498 Fix think-o in previous patch
2499 * src/window.c (count_windows, get_leaf_windows):
2500 Don't optimize count_windows incorrectly.
2502 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
2504 Avoid some int overflows in window.c
2505 * src/print.c (print_object):
2506 * src/window.c (sequence_number):
2507 * src/window.h (struct window.sequence_number):
2508 Don't assume window sequence number fits in int.
2509 * src/window.c (window_select_count):
2510 * src/window.h (struct window.use_time, window_select_count):
2511 Don't assume window use time fits in int.
2512 * src/window.c (Fsplit_window_internal):
2513 Don't assume user-supplied integer, or sum, fits in int.
2514 (Fset_window_configuration, count_windows, get_leaf_windows)
2515 (save_window_save, Fcurrent_window_configuration):
2516 Use ptrdiff_t for object counts.
2517 (Fset_window_configuration): Omit unused local 'n'.
2518 (count_windows): Simplify by writing in terms of get_leaf_windows.
2519 (get_leaf_windows): Don't store through FLAT if it's null.
2520 (extract_dimension): New static function.
2521 (set_window_margins, set_window_fringes, set_window_scroll_bars):
2522 Use it to avoid undefined behavior when converting user-supplied
2525 2015-04-13 Glenn Morris <rgm@gnu.org>
2528 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
2529 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
2531 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
2533 [Gnus] Catch the invalid-operation that idna.el will issue
2534 * lisp/gnus/gnus-art.el (gnus-use-idna):
2535 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
2536 * lisp/gnus/message.el (message-use-idna):
2537 Catch the invalid-operation that idna.el will issue.
2539 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
2541 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
2543 2015-04-13 Sam Steingold <sds@gnu.org>
2545 package--ensure-init-file: widen before looking for "(package-initialize)"
2547 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
2549 Change diff-switches default to `-u'
2551 * doc/emacs/files.texi (Comparing Files): Document the new default
2552 value of `diff-switches'.
2553 * doc/emacs/trouble.texi (Sending Patches): Document the preference
2554 for unified diff format. Escape the plus in the suggested `-F' regexp
2556 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
2558 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2560 (gnus-group--setup-tool-bar-update): Fix last change
2561 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
2562 cursor-sensor-functions should be a list of functions.
2564 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
2566 Use gmm-called-interactively-p in Gnus
2567 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
2569 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
2573 * lisp/cus-start.el (read-buffer-function): Don't advertize
2574 iswitchb-read-buffer any more.
2575 (iswitchb): Don't tweak this obsolete group any more.
2577 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
2579 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
2581 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
2582 Adding a string after a constructor's argument list will use
2583 that string as the constructor function docstring. If this string
2584 is absent but the struct itself was given a docstring, use that as
2585 the constructor's docstring.
2588 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2590 Deprecate `intangible' and `point-entered' properties
2591 * lisp/emacs-lisp/cursor-sensor.el: New file.
2592 * lisp/simple.el (pre-redisplay-functions): New hook.
2593 (redisplay--pre-redisplay-functions): New function.
2594 (pre-redisplay-function): Use it.
2595 (minibuffer-avoid-prompt): Mark obsolete.
2596 (redisplay--update-region-highlight): Adapt it to work as a function on
2597 pre-redisplay-functions.
2598 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
2599 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
2600 than point-entered to make the prompt intangible.
2601 * lisp/forms.el: Move `provide' calls to the end.
2602 (forms-mode): Don't use `run-hooks' on a local var.
2603 (forms--make-format, forms--make-format-elt-using-text-properties):
2604 Use cursor-intangible rather than `intangible'.
2605 (forms-mode): Enable cursor-intangible-mode.
2606 * lisp/isearch.el (isearch-mode): Use defvar-local.
2607 (cursor-sensor-inhibit): Declare.
2608 (isearch-mode): Set cursor-sensor-inhibit.
2609 (isearch-done): Set it back.
2610 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
2611 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
2613 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
2614 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
2616 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
2617 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
2618 inhibit-point-motion-hooks any more.
2619 (ses--cell-at-pos, ses--curcell): New functions, extracted from
2621 (ses-set-curcell): Use them.
2622 (ses-print-cell, ses-setup): Use cursor-intangible instead of
2623 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
2624 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
2625 Use ses--cell-at-pos.
2626 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
2627 extracted from ses-command-hook. Make them work with multiple windows
2628 displaying the same buffer.
2629 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
2630 Enable cursor-intangible-mode.
2631 (ses-command-hook): Remove cell highlight and mode-line update code.
2632 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
2633 Update for new name of text-property holding the cell name.
2634 (ses-rename-cell): Don't mess with mode-line-process.
2635 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
2636 cursor-sensor-functions property instead of point-entered.
2637 (erc-insert-timestamp-right, erc-format-timestamp):
2638 Use cursor-intangible rather than `intangible'.
2639 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
2640 remove-from-invisibility-spec. Enable cursor-intangible-mode and
2641 cursor-sensor-mode if needed.
2642 (erc-echo-timestamp): Adapt to calling convention of
2643 cursor-sensor-functions.
2644 (erc-insert-timestamp-right): Remove unused vars `current-window' and
2646 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
2647 (gnus-update-group-mark-positions): Remove unused `topic' var.
2648 (gnus-group-insert-group-line): Remove unused var `header'.
2649 (gnus-group--setup-tool-bar-update): New function.
2650 (gnus-group-insert-group-line): Use it.
2651 (gnus-group-update-eval-form): Declare local
2652 dynamically-bound variables.
2653 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
2654 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
2655 (gnus-group-prepare-topics, gnus-topic-update-topic)
2656 (gnus-topic-change-level, gnus-topic-catchup-articles)
2657 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
2658 Use inhibit-read-only.
2659 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
2660 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
2661 * lisp/textmodes/reftex-index.el (reftex-display-index):
2662 Use cursor-intangible-mode if available.
2663 (reftex-index-post-command-hook): Check cursor-intangible.
2664 * lisp/textmodes/reftex-toc.el (reftex-toc):
2665 Use cursor-intangible-mode if available.
2666 (reftex-toc-recenter, reftex-toc-post-command-hook):
2667 Check cursor-intangible.
2668 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
2669 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
2670 (sgml-tags-invisible): Use with-silent-modifications and
2671 inhibit-read-only. Enable cursor-sensor-mode.
2672 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
2673 calling convention of cursor-sensor-functions.
2674 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
2675 (table-point-entered-cell-hook, table-point-left-cell-hook):
2677 (table-cell-entered-state): Remove var.
2678 (table--put-cell-point-entered/left-property)
2679 (table--remove-cell-properties):
2680 Use cursor-sensor-functions rather than point-entered/left.
2681 (table--point-entered/left-cell-function): Merge
2682 table--point-entered-cell-function and table--point-left-cell-function
2683 and adjust to calling convention of cursor-sensor-functions.
2685 Update ldef-boots.el
2687 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
2689 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
2691 Collapse successive char deletions in the undo log
2692 * src/cmds.c (remove_excessive_undo_boundaries): New function,
2693 extracted from Fself_insert_command.
2694 (Fdelete_char, Fself_insert_command): Use it.
2695 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
2696 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
2698 xterm and OSC 52: Add NEWS entry, and tweak the code
2699 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
2701 (terminal-init-xterm-activate-set-selection): Set a terminal property.
2702 (xterm--set-selection): Use it instead of checking the value of
2703 `terminal-initted'. Don't use string-bytes.
2705 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
2707 xterm.el: Implement OSC-52 functionality for setting the X selection
2708 * lisp/term/xterm.el (xterm-max-cut-length): New var.
2709 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
2710 (terminal-init-xterm, xterm--version-handler): Use them.
2712 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2714 Remove left over code from when we used an obsolete/loaddefs.el file
2715 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
2716 we used an obsolete/loaddefs.el file.
2718 * cedet/semantic/fw.el: Use declare.
2719 * cedet/semantic/fw.el (semantic-exit-on-input)
2720 (semanticdb-without-unloaded-file-searches): Use declare.
2721 (semantic-fw-add-edebug-spec): Remove.
2723 (completion-lisp-mode-hook): Use completion-separator-chars
2724 * lisp/completion.el (completion-lisp-mode-hook):
2725 Use completion-separator-chars rather than local key binding.
2727 * src/*.c: Set deactivate_mark buffer-locally
2729 * src/insdel.c (prepare_to_modify_buffer_1):
2730 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
2733 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2735 python.el: Keep symmetry on sexp navigation with parens
2737 * lisp/progmodes/python.el
2738 (python-nav--forward-sexp): Add argument skip-parens-p.
2739 (python-nav-forward-sexp, python-nav-backward-sexp)
2740 (python-nav-forward-sexp-safe)
2741 (python-nav-backward-sexp-safe): Use it.
2742 * test/automated/python-tests.el
2743 (python-nav-forward-sexp-1): Fix test.
2745 2015-04-12 João Távora <joaotavora@gmail.com>
2747 Don't use `setq-local' in Gnus code
2748 This might break upstream builds with older Emacsen
2749 * lisp/gnus/message.el (message-mode): Use `set' and
2750 `make-local-variable' instead of `setq-local'.
2752 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
2754 Update Makefile.in's .PHONY dependencies
2755 * Makefile.in (change-history-commit, master-branch-is-current)
2756 (no-ChangeLog): Now phony.
2758 Remove configure's --with-mmdf option
2759 * configure.ac (MAIL_USE_MMDF): Remove.
2760 * etc/NEWS: Document this.
2761 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
2764 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
2765 That way, 'make install' won't think it's a man page.
2766 Reported by Ashish SHUKLA in:
2767 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
2769 Improve 'make change-history' prereq tests
2770 * Makefile.in (gen_origin): Fix to match what's in the master branch.
2771 (no-ChangeLog, master-branch-is-current): New rules.
2772 (change-history): Depend on them, to avoid similar future problems.
2773 Escape the local-variables string to pacify Emacs when editing
2776 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
2778 * test/automated/package-test.el (with-package-test): Kill Packages buffer
2780 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
2781 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
2782 "Upgrade" last, and use capitalized instead of all-caps.
2784 * lisp/emacs-lisp/package.el: Completely silence async operations
2785 (package--make-autoloads-and-stuff): Silence autoloads.
2786 (package--save-selected-packages): New function, silences
2787 `customize-save-variable'.
2788 (package--user-selected-p, package-install-from-buffer)
2789 (package-delete, package-install): Use it.
2790 (package-install-from-archive)
2791 (package-menu--perform-transaction): Silence.
2792 (package-menu-execute): Feedback when operation starts.
2794 Use delay-mode-hooks when visiting the init-file
2795 * lisp/emacs-lisp/package.el (package--ensure-init-file):
2797 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
2799 * lisp/files.el: Only message when saving if save-silently is nil
2800 (save-silently): New variable.
2801 (files--message): New function.
2802 (find-file-noselect, save-buffer, basic-save-buffer)
2803 (basic-save-buffer-2, save-some-buffers, not-modified)
2804 (append-to-file): Use them.
2806 2015-04-12 Johan Bockgård <bojohan@gnu.org>
2808 Support debug declarations in pcase macros
2809 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
2810 (pcase-UPAT): Use it. Remove "`".
2811 (pcase--edebug-match-macro): New function.
2812 (pcase-defmacro): Support debug declarations.
2813 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
2814 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
2815 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
2817 pcase.el: Edebug support for `app' and vector patterns
2818 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
2819 (pcase-UPAT): Use it. Support `app' patterns.
2820 (pcase-QPAT): Support vector patterns.
2822 edebug.el: Disambiguate vector specifications
2823 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
2824 `(vector ...)' as a vector specification, not as a sublist.
2826 (gnus-summary-refer-thread): Don't clobber unread articles
2827 This fixes a bug where `A T' causes "random" articles to become marked
2829 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
2830 gnus-newsgroup-unreads remains sorted.
2832 mouse-sel.el: Fix mouse-sel-get-selection-function
2833 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2834 Use gui--last-selected-text-primary instead of no longer existing
2835 gui-last-selected-text.
2837 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
2839 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
2841 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
2843 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
2845 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
2847 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
2848 (byte-compile--interactive): New var.
2849 (byte-compile--message): New function.
2850 (byte-compile-log-1, byte-force-recompile)
2851 (byte-recompile-directory, byte-recompile-file)
2852 (byte-compile-file, compile-defun)
2853 (byte-compile-file-form-defmumble, byte-compile)
2854 (byte-compile-file-form-defalias, display-call-tree): Use it.
2856 * lisp/files.el: Don't message when nothing happened
2857 (save-some-buffers, basic-save-buffer): Before messaging to say
2858 "nothing was saved" check if (called-interactively-p 'any).
2860 2015-04-12 João Távora <joaotavora@gmail.com>
2862 Summary: Improve sexp-based movement in message-mode
2863 Works by giving citations and smileys a different syntax. This helps
2864 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
2865 sexp-based movement.
2866 * lisp/gnus/message.el (message--syntax-propertize): New function.
2867 (message-mode): Set syntax-related vars.
2868 (message-smileys): New variable.
2869 * test/automated/message-mode-tests.el: New file
2871 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2873 Use bool for boolean in window.c
2874 * src/window.c: Omit unnecessary static function decls.
2875 (adjust_window_count, select_window, Fselect_window)
2876 (window_body_width, Fwindow_body_height, Fwindow_body_width)
2877 (set_window_hscroll, check_window_containing, Fwindow_at)
2878 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
2879 (unshow_buffer, replace_window, recombine_windows)
2880 (add_window_to_list, candidate_window_p, next_window)
2881 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
2882 (Fget_buffer_window, Fdelete_other_windows_internal)
2883 (replace_buffer_in_windows_safely, set_window_buffer)
2884 (Fset_window_buffer, Fforce_window_update)
2885 (temp_output_buffer_show, make_parent_window)
2886 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
2887 (resize_frame_windows, Fsplit_window_internal)
2888 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
2889 (Fresize_mini_window_internal, mark_window_cursors_off)
2890 (window_scroll, window_scroll_pixel_based)
2891 (window_scroll_line_based, scroll_command, Fscroll_other_window)
2892 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
2893 (Fmove_to_window_line, Fset_window_configuration)
2894 (delete_all_child_windows, apply_window_adjustment)
2895 (set_window_fringes, set_window_scroll_bars)
2896 (Fset_window_vscroll, foreach_window, foreach_window_1)
2897 (compare_window_configurations, Fcompare_window_configurations):
2898 Prefer 'bool', 'true', and 'false' for booleans.
2899 * src/window.h (WINDOW_MODE_LINE_LINES)
2900 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
2902 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
2904 Speed up byte-compilation and autoload generation by avoiding mode-hooks
2905 This prevents emacs-lisp-mode-hook from being run everytime an
2906 autoload file is generated, which can account for a fraction of
2907 package installation time depending on the hooks the user has
2909 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
2910 * lisp/emacs-lisp/autoload.el (autoload-find-file)
2911 (autoload-find-generated-file): Use delay-mode-hooks.
2913 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
2914 (package-menu-refresh): Respect async and do new package checking.
2915 (list-packages): Use `package-menu-refresh' instead of repeating code.
2917 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
2918 (package--quick-help-keys): New variable.
2919 (package--prettify-quick-help-key): New function.
2920 (package-menu-quick-help): Use it.
2922 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
2923 (package--build-compatibility-table): require finder
2925 * test/automated/package-test.el: Fix new test
2927 * lisp/emacs-lisp/package.el: Silence async operations
2928 (package--silence): New variable.
2929 (package--message): New function.
2930 (package-import-keyring, package-refresh-contents)
2931 (package-compute-transaction, package-install, package-delete)
2932 (package-menu--perform-transaction, package-menu-execute): Use it.
2934 * test/automated/package-test.el: Test async functionality
2935 (package-test-update-archives-async): New test
2937 2015-04-11 Daiki Ueno <ueno@gnu.org>
2939 Utilize `make-process' in epg.el
2940 * lisp/epg.el (epg-error-output): Abolish.
2941 (epg-context): New slot `error-buffer'.
2942 (epg--start): Use `make-process' and `make-pipe-process'.
2943 (epg--process-filter): Remove code separating stderr from stdout.
2944 (epg-wait-for-completion): Simplify `error-output' handling.
2945 (epg-reset): Dispose error buffer.
2947 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2949 * .gitignore: Ignore doc temps and outputs.
2951 Port commit-msg to MSYS Bash+Gawk
2952 See Eli Zaretskii in:
2953 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
2954 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
2955 (cent_sign, print_at_sign, at_sign): Revert previous change.
2956 (print_at_sign): Prepend "BEGIN".
2957 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
2959 Port commit-msg to broken MS-Windows shell
2960 * build-aux/git-hooks/commit-msg (cent_sign):
2961 Just use UTF-8 here rather than ASCII + printf, as the latter fails
2962 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
2963 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
2965 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
2967 Support GnuTLS v3.4 and later on MS-Windows
2968 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
2969 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
2970 GnuTLS DLL to load according to value of libgnutls-version.
2973 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2975 Minor quoting etc. fixes to misc manuals
2976 Fix some minor quoting and spacing issues. Distinguish more
2977 clearly among grave accent and apostrophe (which are ASCII) and
2978 single quote (which is not). Prefer the standard terms
2979 "apostrophe" and "grave accent" to alternative names that can be
2980 confusing. Use apostrophes to single-quote ASCII text.
2981 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
2982 rather than approximating it in ASCII with grave accent.
2984 2015-04-11 Daiki Ueno <ueno@gnu.org>
2986 Respect more keyword args in `make-process'
2987 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
2988 keywords as documented.
2990 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
2992 Extract ChangeLog entries when committing a directory
2993 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
2994 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
2995 Add a FIXME comment.
2996 (log-edit-changelog-entries): Extract from
2997 `log-edit-changelog-entries', handle FILE being a directory
2998 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
3000 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
3002 Fix problems found by --enable-gcc-warnings
3003 * src/process.c (create_process, Fmake_pipe_process)
3004 (Fmake_network_process): Omit unused locals.
3006 Fix commit-msg to handle scissors lines
3007 * build-aux/git-hooks/commit-msg:
3008 Ignore every line after a scissors line, such as a line generated
3009 by 'git commit -v'. Problem reported by Johan Bockgård in:
3010 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
3012 port commit-msg to Gawk 3.0.4 (1999)
3013 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
3014 (print_at_sign, at_sign): New vars. Use them to avoid problems
3015 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
3016 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
3018 Have commit-msg report commit failure
3019 * build-aux/git-hooks/commit-msg: If the commit is aborted,
3020 say so. Simplify by doing this at the end. Problem reported
3021 by Eli Zaretskii in:
3022 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
3024 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3026 Clean up LDAP Configuration section of EUDC manual
3027 * doc/misc/eudc.texi: Combine indices.
3028 (LDAP Configuration): Use command markup. Add index entries.
3029 Change formatting. Wrap long lines. Add noindent markup.
3031 2015-04-10 Daiki Ueno <ueno@gnu.org>
3033 Add facility to collect stderr of async subprocess
3034 * src/w32.h (register_aux_fd): New function declaration.
3035 * src/w32.c (register_aux_fd): New function.
3036 * src/process.h (struct Lisp_Process): New member stderrproc.
3037 * src/process.c (PIPECONN_P): New macro.
3038 (PIPECONN1_P): New macro.
3039 (Fdelete_process, Fprocess_status, Fset_process_buffer)
3040 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
3041 (Fcontinue_process): Handle pipe process specially.
3042 (create_process): Respect p->stderrproc.
3043 (Fmake_pipe_process): New function.
3044 (Fmake_process): Add new keyword argument :stderr.
3045 (wait_reading_process_output): Specially handle a pipe process when
3047 (syms_of_process): Register Qpipe and Smake_pipe_process.
3048 * doc/lispref/processes.texi (Asynchronous Processes): Document
3049 `make-pipe-process' and `:stderr' keyword of `make-process'.
3050 * lisp/subr.el (start-process): Suggest to use `make-process' handle
3051 standard error separately.
3052 * test/automated/process-tests.el (process-test-stderr-buffer)
3053 (process-test-stderr-filter): New tests.
3054 * etc/NEWS: Mention new process type `pipe' and its usage with the
3055 `:stderr' keyword of `make-process'.
3057 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
3059 Minor quoting etc. fixes to lispref manual
3060 * doc/lispref/tips.texi (Documentation Tips):
3061 Distinguish more clearly among grave accent, apostrophe,
3063 * doc/lispref/README, doc/lispref/buffers.texi:
3064 * doc/lispref/commands.texi, doc/lispref/control.texi:
3065 * doc/lispref/customize.texi, doc/lispref/display.texi:
3066 * doc/lispref/elisp.texi, doc/lispref/files.texi:
3067 * doc/lispref/frames.texi, doc/lispref/hash.texi:
3068 * doc/lispref/help.texi, doc/lispref/internals.texi:
3069 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
3070 * doc/lispref/markers.texi, doc/lispref/modes.texi:
3071 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
3072 * doc/lispref/os.texi, doc/lispref/positions.texi:
3073 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
3074 * doc/lispref/text.texi, doc/lispref/tips.texi:
3075 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
3076 Use American-style double quoting in ordinary text,
3077 and quote 'like this' when single-quoting in ASCII text.
3078 Also, fix some minor spacing issues.
3080 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
3082 Handle symlinked test directory in tramp-tests.el
3083 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
3084 (tramp--test-check-files): Use `file-truename' for directories.
3086 2015-04-10 Eli Zaretskii <eliz@gnu.org>
3088 Fix 'recenter' when visual-line-mode is turned on
3089 * src/window.c (Frecenter): Use the same code for GUI and TTY
3090 frames alike; use vmotion only for "initial" frames. This is
3091 because vmotion doesn't support visual-line-mode. Rewrite the
3092 'iarg >= 0' case to use move_it_* functions instead of using
3093 vmotion, for the same reason. Fix the clipping of the argument
3094 value to support scroll-margin in all cases and avoid unwarranted
3095 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
3096 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
3099 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3101 * abbrev.el (define-abbrev-table): Refine last change.
3103 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
3104 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
3105 use of c[ad]+r", so as to keep the "cl-" prefix on all
3108 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
3110 * lisp/cedet/semantic: Remove some dead code
3111 * lisp/cedet/semantic/util-modes.el
3112 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
3114 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
3115 not supported any more.
3116 (semantic-safe): Use `declare'.
3117 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
3118 (semantic-tag-intangible-p): Remove unused functions.
3119 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
3120 Remove unused function.
3122 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
3123 (gnus-article-hide-text, gnus-article-unhide-text)
3124 (gnus-article-unhide-text-type): Remove special handling of
3125 `intangible' since that property is not used any more.
3126 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
3128 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
3130 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
3132 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
3134 Use the VC root in `log-edit-listfun'
3135 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
3138 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
3140 Fix description of Unix time, mention new function.
3141 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
3143 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
3144 (Basic Operations on Units): Mention `calc-convert-exact-units'.
3146 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
3148 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
3150 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
3152 (log-edit-insert-changelog-entries): Don't add newline after the last entry
3153 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
3154 Don't add newline after the last entry.
3156 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
3158 css-mode.el: Add "not" pseudo-class
3160 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
3161 list of CSS pseudo-classes.
3163 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3165 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
3167 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
3169 Stop messing with the EMACS env var
3170 * misc.texi (Interactive Shell): Remove description of EMACS env var.
3172 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
3174 Adapt 'make change-history' to coding cookie
3175 * Makefile.in (change-history): Adjust to change of format of
3176 ChangeLog file, which now has a coding cookie before an indented
3179 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
3181 Adapt 'make change-history' to coding cookie
3182 * Makefile.in (change-history): Adjust to change of format of
3183 ChangeLog file, which now has a coding cookie before an indented
3186 gitlog-to-changelog coding cookie and mv -i
3187 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
3188 for copyright notice prototype, so that we get a proper "coding:"
3189 cookie. Use 'mv -i' to avoid unconditionally overwriting an
3190 existing ChangeLog. Problems reported by Eli Zaretskii in:
3191 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
3194 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
3195 2015-04-09 gitlog-to-changelog: port to MS-Windows
3197 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
3199 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
3202 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
3204 Stop messing with the EMACS env var
3206 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
3207 * lisp/comint.el (comint-exec-1):
3208 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
3209 * lisp/progmodes/compile.el (compilation-start): Same and bring
3210 INSIDE_EMACS's format in line with other users.
3212 css-mode.el (css-smie-rules): Fix indentation after complex selectors
3214 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
3215 inner structure of selectors.
3217 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
3219 python.el: Indent docstring lines to base-indent
3221 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
3223 * lisp/progmodes/python.el
3224 (python-indent-context): Add :inside-docstring context.
3225 (python-indent--calculate-indentation): Handle :inside-docstring.
3226 (python-indent-region): Re-indent docstrings.
3227 * test/automated/python-tests.el (python-indent-region-5)
3228 (python-indent-inside-string-2): Fix tests.
3230 python.el: Increase native completion robustness
3232 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
3233 this and providing useful ideas.
3234 * lisp/progmodes/python.el
3235 (python-shell-completion-native-output-timeout): Increase value.
3236 (python-shell-completion-native-try-output-timeout): New var.
3237 (python-shell-completion-native-try): Use it.
3238 (python-shell-completion-native-setup): New readline setup avoids
3239 polluting current context, ensures output when no-completions are
3240 available and includes output end marker.
3241 (python-shell-completion-native-get-completions): Trigger with one
3242 tab only. Call accept-process-output until output end is found or
3243 python-shell-completion-native-output-timeout is exceeded.
3245 2015-04-08 Samer Masterson <samer@samertm.com>
3247 * lisp/eshell: Make backslash a no-op in front of normal chars
3249 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
3250 (eshell-parse-backslash): Return escaped character after backslash
3251 if it is special. Otherwise, if the backslash is not in a quoted
3252 string, ignore the backslash and return the character after; if
3253 the backslash is in a quoted string, return the backslash and the
3255 * test/automated/eshell.el (eshell-test/escape-nonspecial)
3256 (eshell-test/escape-nonspecial-unicode)
3257 (eshell-test/escape-nonspecial-quoted)
3258 (eshell-test/escape-special-quoted): Add tests for new
3259 `eshell-parse-backslash' behavior.
3261 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
3263 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
3264 after the file name.
3267 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
3269 Minor quoting etc. fixes to Emacs manual
3270 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
3271 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
3272 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
3273 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
3274 * doc/emacs/indent.texi, doc/emacs/macos.texi:
3275 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
3276 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
3277 * doc/emacs/search.texi, doc/emacs/trouble.texi:
3278 * doc/emacs/vc1-xtra.texi:
3279 Use American-style double quoting in ordinary text,
3280 and quote 'like this' when single-quoting in ASCII text.
3281 Also, fix some minor spacing issues.
3283 Minor quoting etc. fixes to elisp intro
3284 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
3285 American-style double quoting in ordinary text. In ASCII text,
3286 consistently quote 'like this' instead of `like this', unless
3287 Emacs requires the latter.
3289 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
3291 * CONTRIBUTE: Mention log-edit-insert-changelog.
3293 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
3295 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
3297 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
3299 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
3301 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
3303 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
3304 Fix inheritance of initargs.
3306 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
3308 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
3309 while dowloading information.
3311 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
3312 (package--ensure-init-file): Check file contents before visiting.
3313 (package-initialize): Call it.
3314 (package-install-from-buffer, package-install): Don't call it.
3316 2015-04-08 Eli Zaretskii <eliz@gnu.org>
3318 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
3321 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
3323 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
3325 Fix nasty scoping bug in tramp-cache.el
3326 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
3328 2015-04-08 Tassilo Horn <tsdh@gnu.org>
3330 Add notice to visual commands section
3331 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
3332 such as git call less with its -F option which omits pagination if
3333 the contents is less than one page long. This interferes with
3334 eshell's visual (sub-)commands.
3336 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
3338 ffap: Support environment variable expansion in file names
3340 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
3341 environment variable expansion in file names.
3343 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
3345 Prefer double-quote to accent-grave in man pages
3347 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
3350 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
3352 2015-04-07 Ivan Shmakov <ivan@siamics.net>
3354 Update etc/PROBLEMS.
3355 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
3356 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
3357 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
3358 respectively); other minor updates and tweaks. (Bug#20011)
3360 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
3362 Add doc strings for some Isearch state vars
3363 * lisp/misearch.el (multi-isearch-buffer-list)
3364 (multi-isearch-file-list): Add doc strings.
3367 2015-04-07 Alan Mackenzie <acm@muc.de>
3369 Always mark "<" and ">" in #include directives with text properties.
3370 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
3371 matcher" with an invocation of c-make-font-lock-search-function to allow
3372 fontification when there's no trailing space on an "#include <..>" line.
3374 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
3376 Generate a ChangeLog file from commit logs
3377 * .gitignore: Add 'ChangeLog'.
3378 * build-aux/gitlog-to-changelog: New file, from Gnulib.
3379 * build-aux/gitlog-to-emacslog: New file.
3380 * CONTRIBUTE: Document the revised workflow.
3381 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
3382 instead of just special cases.
3383 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
3384 (ChangeLog, unchanged-history-files, change-history)
3385 (change-history-commit): New rules.
3386 * admin/admin.el (make-manuals-dist--1):
3387 Don't worry about doc/ChangeLog.
3388 * admin/authors.el: Add a FIXME.
3389 * admin/make-tarball.txt:
3390 * lisp/calendar/icalendar.el:
3391 * lisp/gnus/deuglify.el:
3392 * lisp/obsolete/gulp.el:
3394 Adjust to renamed ChangeLog history files.
3395 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
3396 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
3397 Remove obsolete discussion of merging ChangeLog files.
3398 New section "Maintaining ChangeLog history".
3399 * build-aux/git-hooks/pre-commit:
3400 Reject attempts to commit files named 'ChangeLog'.
3401 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3402 * make-dist: Make and distribute top-level ChangeLog if there's a
3403 .git directory. Distribute the new ChangeLog history files
3404 instead of scattered ChangeLog files. Distribute the new files
3405 gitlog-to-changelog and gitlog-to-emacslog.
3408 Rename ChangeLogs for gitlog-to-changelog
3409 This patch was implemented via the following shell commands:
3410 find * -name ChangeLog |
3411 sed 's,.*,git mv & &.1,
3412 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
3413 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
3414 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
3415 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
3416 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
3418 git commit -am"[this commit message]"
3420 See ChangeLog.1 for earlier changes.
3426 Copyright (C) 2015 Free Software Foundation, Inc.
3428 This file is part of GNU Emacs.
3430 GNU Emacs is free software: you can redistribute it and/or modify
3431 it under the terms of the GNU General Public License as published by
3432 the Free Software Foundation, either version 3 of the License, or
3433 (at your option) any later version.
3435 GNU Emacs is distributed in the hope that it will be useful,
3436 but WITHOUT ANY WARRANTY; without even the implied warranty of
3437 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3438 GNU General Public License for more details.
3440 You should have received a copy of the GNU General Public License
3441 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.