1 2015-05-09 Eli Zaretskii <eliz@gnu.org>
4 * lisp/simple.el (line-move-to-column): Ignore field boundaries
5 while computing line beginning position. (Bug#20498)
7 2015-05-08 Glenn Morris <rgm@gnu.org>
9 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
10 * build-aux/gitlog-to-emacslog: Check called from right directory.
13 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
14 * Makefile.in (ChangeLog): No longer pass "distprefix".
15 * make-dist: Update "make ChangeLog" syntax for the above change.
17 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
18 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
20 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
22 Add command-line option-parsing to gitlog-to-emacslog.
23 * build-aux/gitlog-to-emacslog: Add command-line options.
24 By default, refuse to remove an existing output file.
25 * Makefile.in (CHANGELOG): Update default.
26 (ChangeLog): Do not test for existing file.
27 (change-history-nocommit): Ensure temp file does not exist.
29 Quieten --without-x compilation.
30 * lisp/term/common-win.el: Provide a feature.
31 * lisp/term/x-win.el (term/common-win): Require it.
33 * lisp/dired-aux.el (dired-do-print): Require lpr.
35 Quieten compilation, eg in --without-x builds.
36 * lisp/dired-aux.el (lpr-printer-switch):
37 * lisp/frame.el (tool-bar-height):
38 * lisp/linum.el (font-info):
39 * lisp/window.el (font-info, overflow-newline-into-fringe)
41 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
42 * lisp/gnus/gnus-util.el (iswitchb-mode):
43 * lisp/mail/rmailmm.el (libxml-parse-html-region):
44 * lisp/net/nsm.el (gnutls-peer-status)
45 (gnutls-peer-status-warning-describe):
46 * lisp/net/shr.el (libxml-parse-xml-region):
47 * lisp/url/url-http.el (gnutls-peer-status): Declare.
49 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
51 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
52 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
53 `subclass' since they're never called with a class.
54 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
55 srecode-dictionary-child-p.
57 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
59 help--binding-locus: Document argument POSITION.
60 * lisp/help.el (help--binding-locus): Document argument POSITION. (bug#20530)
62 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
65 * doc/misc/texinfo.tex: Get latest version.
67 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
69 ffap.el (ffap-read-file-or-url): Fix completing-read call
70 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
71 `completing-read' should be a symbol.
73 2015-05-08 Eli Zaretskii <eliz@gnu.org>
75 Verify file modifications by other programs
76 * src/filelock.c (lock_file): Check whether the file was modified
77 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
79 Fix keyboard macros that include function keys
80 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
81 keys in the macro before returning. (Bug#20454)
83 2015-05-08 Glenn Morris <rgm@gnu.org>
85 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
86 "Copyright-paperwork-exempt". (Bug#20324)
88 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
89 (log-edit-rewrite-tiny-change): New variable.
90 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
91 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
92 * etc/NEWS: Mention this.
94 * lisp/calc/calc.el (math-zerop): Declare.
96 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
98 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
100 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec
101 Support the case when BINDINGS is a single tuple. (Bug#20525)
103 * etc/NEWS: Fix typo in commit 14bb519
105 2015-05-07 Jan D <jan.h.d@swipnet.se>
107 Warn for multiple display crash for all Gtk+ versions.
108 * configure.ac: Warn for multiple display crash for all Gtk+
109 versions. Output URL to Gtk+ bug (Bug#20452).
111 ns-win.el (ns-paste-secondary): Use gui-get-selection.
112 * ns-win.el (ns-paste-secondary): Use gui-get-selection.
114 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
116 * lisp/emacs-lisp/package.el: New "external" package status
117 An external package is any installed package that's not built-in
118 and not from `package-user-dir', which usually means it's from an
119 entry in `package-directory-list'. They are treated much like
120 built-in packages, in that they cannot be through the Package Menu
121 deleted and are not considered for upgrades.
122 (package-desc-status): Identify if a package is installed outside
124 (package-menu--print-info-simple)
125 (package-menu--status-predicate): Add support for it.
126 * etc/NEWS: Document it.
128 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
130 * lisp/mail/rmail.el: Use lexical-binding
131 (rmail-bury): Remove unused var `buffer-to-bury'.
132 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
133 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
134 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
135 (rmail-insert-inbox-text): Remove unused var `movemail'.
136 (rmail-add-mbox-headers): Remove unused var `limit'.
137 (rmail-undelete-previous-message): Remove unused var `value'.
138 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
140 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
141 (rmail-restore-desktop-buffer): Rename arguments.
143 2015-05-06 Glenn Morris <rgm@gnu.org>
145 * Makefile.in (change-history-commit): Add missing piece of previous.
147 Avoid unnecessary bumping of Makefile.in's timestamp.
148 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
149 (emacslog): New variable.
150 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
151 (unchanged-history-files): Use $emacslog rather than Makefile.in.
152 (change-history-nocommit): Store hash in $emacslog.
153 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
154 * admin/update_autogen (changelog_files): Update for the above.
156 * Makefile.in: Don't always insist on removing existing "ChangeLog".
157 (CHANGELOG): New variable.
158 (no-ChangeLog): Remove.
159 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
160 (change-history-nocommit): Use a temp file rather than insisting
161 on deletion of any existing "ChangeLog".
163 * build-aux/gitlog-to-emacslog: Allow specification of output.
165 * admin/update_autogen: Add option to update ChangeLog.
167 (changelog_flag, changelog_n, changelog_files): New variables.
168 (main): Check for -H, and maybe run change-history-nocommit.
170 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
172 * lisp/subr.el (delete-dups): Pre-size the hashtable.
174 (define-modify-macro): Make sure cl--arglist-args is defined
175 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
176 cl--arglist-args is defined (bug#20517).
178 2015-05-06 Glenn Morris <rgm@gnu.org>
180 * Makefile.in (change-history-nocommit): New.
182 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
184 Only cancel timer when it is non-nil
185 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
186 timer when it is non-nil
187 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
189 2015-05-06 Glenn Morris <rgm@gnu.org>
191 Quieten cedet compilation
192 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
193 Invert fboundp test to quieten on current Emacs.
194 * lisp/cedet/ede/config.el (ede-shell-run-something)
195 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
196 (semanticdb-refresh-table): Declare.
197 (ede-preprocessor-map): Require semantic/db.
199 Quieten cc-mode compilation
200 * lisp/progmodes/cc-awk.el (c-forward-sws):
201 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
204 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
206 lisp/subr.el (delete-dups): Avoid nreverse.
208 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
210 * lisp/subr.el (delete-dups): Make it destructive again.
212 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
214 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
216 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
218 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487)
219 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
220 (testcover--read): Rename from testcover-read. Change calling convention.
221 Use edebug-read-and-maybe-wrap-form now that edebug-read is gone.
222 (testcover-start): Use add-function. Move edebug-all-defs binding to
224 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
225 (testcover-mark): Remove unused var `item'.
226 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
228 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
230 lisp/subr.el (delete-dups): Use a hash table
231 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
232 use a hash table. This can result in ~500 times speed-up for typical
233 collections of size 5000, like that of `load-library'.
235 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
237 CEDET: Avoid `oref' on classes in a few more cases
238 * lisp/cedet/ede/generic.el (ede-find-target):
239 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
240 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
243 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings
244 * lisp/cedet/semantic/symref/grep.el (grepflags, greppattern): Declare.
245 (semantic-symref-perform-search): Remove unused var `pat'.
247 CEDET (srecode-compile-inserter): Avoid `oref' on classes
248 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
249 Avoid `oref' on classes (bug#20491).
250 (srecode-compile-split-code): Remove unused var `key'.
252 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
254 Clean up pulse.el a little
255 * lisp/cedet/pulse.el (pulse): Remove.
256 (pulse-momentary-timer): Save instead of the stop time.
257 (pulse-momentary-highlight-overlay): Call
258 pulse-momentary-unhighlight first thing. Treat
259 pulse-momentary-overlay as a single value, not a list. Save the
260 created timer. Only pass the stop time to the timer.
261 (pulse-tick): Update accordingly.
262 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
263 single value. Cancel the timer.
265 2015-05-06 Tassilo Horn <tsdh@gnu.org>
267 Support the biblatex journaltitle field
268 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
269 Support the biblatex journaltitle field.
271 2015-05-05 Glenn Morris <rgm@gnu.org>
273 Minor declare-function improvement
274 * lisp/emacs-lisp/bytecomp.el
275 (byte-compile-macroexpand-declare-function):
276 Handle declarations after calls. (Bug#20509)
278 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
280 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
282 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
285 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
286 (pulse-momentary-highlight-overlay): Set up the timer instead of
288 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
289 (pulse-tick): New function.
290 (pulse-momentary-unhighlight): Cut off the stop time.
291 (pulse-delay): Update the docstring WRT to not using sit-for.
293 Add semantic/symref/grep file patterns for ruby-mode
294 * lisp/cedet/semantic/symref/grep.el
295 (semantic-symref-filepattern-alist): Add patterns for
296 ruby-mode. Clarify the docstring.
299 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
300 match. That doesn't work for every command, and some identifier
301 completion tables are bound to be imperfect anyway.
303 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
305 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505)
306 (semantic-grammar--template-expand): New function.
307 (semantic-grammar-header, semantic-grammar-footer): Use it.
308 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
309 (semantic-grammar-file-regexp): Refine regexp.
310 (semantic-grammar-eldoc-get-macro-docstring):
311 Use elisp-get-fnsym-args-string when available.
312 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
313 instead of the old eldoc-* names.
314 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
315 from elisp-mode.el. Tweak calling convention.
316 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
317 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
318 elisp--get-fnsym-args-string.
319 (elisp--highlight-function-argument): Add `prefix' arg.
320 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
321 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
323 2015-05-05 Glenn Morris <rgm@gnu.org>
325 * lisp/help-fns.el (describe-function-1):
326 Handle builtins with advertised calling conventions. (Bug#20479)
328 2015-05-05 Nicolas Petton <nicolas@petton.fr>
330 Merge branch 'seq-let'
332 Update `seq-let' documentation
333 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
334 with the support of `&rest'.
336 Add support for &rest in `seq-let'
337 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
338 in the argument list.
339 * test/automated/seq-tests.el: Add a test for parsing and binding
340 `&rest' in `seq-let'.
342 2015-05-05 Paul Eggert <eggert@cs.ucla.edu>
346 2015-05-05 (tiny change) Pierre Lorenzon <devel@pollock-nageoire.net>
348 * eieio-custom.el (eieio-object-value-get): Add missing increment
351 (eieio-object-value-create): Adjust to new slots representation
353 * eieio-custom.el (eieio-object-value-create):
354 Fix missed adjustment to new representation of slots metadata.
356 2015-05-05 Nicolas Petton <nicolas@petton.fr>
358 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
360 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
362 Work around "Attempt to modify read-only object"
363 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
364 elisp--xref-find-definitions, to work around "Attempt to modify
365 read-only object" error.
367 Only skip some variables that have function counterparts
368 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
369 Only skip minor-mode-named variable if it's defined in a Lisp
370 file, and it's in minor-mode-list (bug#20506).
371 * test/automated/elisp-mode-tests.el
372 (elisp-xref-finds-both-function-and-variable)
373 (elisp-xref-finds-only-function-for-minor-mode): New tests.
375 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
377 Buttonize the whole line, including the number at the beginning
378 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
380 (xref--insert-xrefs): Buttonize the whole line, including the
381 number at the beginning.
383 Make sure we're inside the let bindings
384 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
385 Make sure we're inside the let bindings.
386 * test/automated/elisp-mode-tests.el
387 (elisp-completes-functions-after-let-bindings): New test.
389 2015-05-04 Glenn Morris <rgm@gnu.org>
391 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
392 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
393 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
394 Remove outdated declarations.
396 Replace instances of "(eval-when-compile (autoload ...))"
397 * lisp/gnus/gnus-art.el (nneething-get-file-name):
398 Declare rather than autoload.
399 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
400 Remove pointless autoload.
401 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
402 (gnus-topic-create-topic, gnus-topic-enter-dribble):
403 Declare rather than autoload.
404 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
405 (mailcap-extension-to-mime): Autoload at run-time.
406 * lisp/gnus/mm-util.el (latin-unity-massage-name)
407 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
408 (latin-unity-representations-present-region):
409 Declare rather than autoload.
410 * lisp/gnus/mml-smime.el (epg-make-context)
411 (epg-passphrase-callback-function): Autoload at run-time.
412 (epg-context-set-signers, epg-context-result-for)
413 (epg-new-signature-digest-algorithm)
414 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
415 (epg-sign-string, epg-encrypt-string)
416 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
417 (epg-configuration, epg-expand-group, epa-select-keys):
418 Declare rather than autoload.
419 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
420 Autoload at run-time.
421 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
422 (gnus-registry-get-id-key, gnus-registry-action):
423 Declare rather than autoload.
424 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
425 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
426 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
427 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
428 (spam-stat-split-fancy): Remove pointless autoloads.
429 * lisp/net/mairix.el: Load gnus-util when compiling.
430 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
431 (message-field-value): Declare rather than autoload.
432 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
433 Check gnus-alive-p is fbound.
434 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
435 (vm-check-for-killed-summary, vm-error-if-folder-empty)
436 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
437 Declare rather than autoload.
439 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
441 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
442 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
444 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
446 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
448 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
449 * lisp/emacs-lisp/package.el (epg-signature-status):
452 * lisp/play/gametree.el (gametree-show-children-and-entry)
453 (gametree-apply-layout, gametree-mouse-show-subtree)
454 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
456 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
457 Handle cl-defgeneric, cl-defmethod.
459 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
461 Highlight both type and symbol name
462 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
463 Highlight both type and symbol name.
465 Insert, highlight and align line numbers in xref output
466 * lisp/progmodes/etags.el (xref-location-line): Specialize for
468 * lisp/progmodes/xref.el (xref-location-line): New generic method.
469 (xref-file-location): Add reader for the line slot.
470 (xref--location-at-point): Skip to the `xref-location' property.
471 (xref--collect-reference): Drop the line number from description.
472 (xref--insert-xrefs): Insert, highlight and align line numbers.
474 2015-05-04 Daniel Colascione <dancol@dancol.org>
478 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
480 Don't pulse the indentation, or the newline
481 * lisp/cedet/pulse.el (pulse-lighten-highlight)
482 (pulse-reset-face): Fall back to the inherited background
484 (pulse-momentary-highlight-region): Add autoload cookie.
485 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
486 indentation, or the newline, if the line's non-empty
487 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
489 2015-05-04 Daniel Colascione <dancol@dancol.org>
491 Add `save-mark-and-excursion', which has the old `save-excursion' behavior
492 * doc/lispref/positions.texi (Excursions): Document
493 `save-mark-and-excursion'.
494 * lisp/font-lock.el (font-lock-fontify-block): Use
495 `save-mark-and-excursion' instead of `save-excursion', restoring
497 * lisp/simple.el (save-mark-and-excursion--save)
498 (save-mark-and-excursion--restore): New functions.
499 (save-mark-and-excursion): New user macro.
500 * src/editfns.c (Fsave_excursion): Mention
501 `save-mark-and-excursion' in `save-excursion' documentation.
503 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
505 Classify lone symbol inside let varlist as variable
506 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
507 Classify lone symbol inside let varlist as variable.
508 * test/automated/elisp-mode-tests.el (completest-variables-in-let-bindings):
511 Add xref-pulse-on-jump
512 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
514 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
515 (xref--maybe-pulse): New function.
516 (xref-pop-marker-stack, xref--pop-to-location)
517 (xref--display-position): Use it.
518 (xref--location-at-point): Use back-to-indentation.
520 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
522 * lisp/org/org-{macs,list}.el: Fix lexical warnings
523 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
524 (org-list-get-next-item, org-list-get-prev-item)
525 (org-list-get-children): Mark unused arg `struct'.
526 (org-list-use-alpha-bul-p): Remove unused var `bul'.
527 (org-toggle-checkbox): Mark unused var.
528 (org-update-checkbox-count): Remove unused var `box-num'.
529 (org-adapt-indentation): Declare.
530 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
531 (org-list-send-list): Remove unused var `txt'.
532 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
533 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
534 * lisp/org/org-macs.el: Use `declare'.
535 (org-with-limited-levels): Declare dyn-bound vars.
537 2015-05-04 Eli Zaretskii <eliz@gnu.org>
539 Fix minor issues with CEDET on MS-Windows
540 * lisp/cedet/semantic/symref/idutils.el
541 (semantic-symref-parse-tool-output-one-line): Fix the search
542 regexp to match MS-Windows file names with drive letters.
544 * lisp/cedet/semantic/symref/grep.el
545 (semantic-symref-grep-use-template): Remove "--color=always" from
546 Grep switches on MS-Windows.
547 (semantic-symref-grep-shell): Use shell-file-name as the default
548 value, so this works not only on Posix platforms.
549 (semantic-symref-perform-search): Use shell-quote-argument instead
550 of literal '..' for portable quoting of Grep command-line
551 argument. Use shell-command-switch instead of a literal "-c".
552 * lisp/cedet/semantic/bovine/gcc.el
553 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
554 for an absolute file name in a portable way.
556 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
558 * lisp/emacs-lisp/package.el: Remove `package--silence' variable
559 (package-import-keyring, package-refresh-contents)
560 (package-compute-transaction, package--save-selected-packages)
561 (package-install-from-archive, package-delete)
562 (package-menu--perform-transaction): Use `inhibit-message'
564 (package--compile): Set `warning-minimum-level' to :error.
566 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
568 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom
569 (terminal-init-screen): Use it (bug#20356).
570 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
571 (xterm--extra-capabilities-type): New const.
572 (xterm-extra-capabilities): Use it.
573 (xterm--version-handler): Lower the pseudo-version for `screen'.
575 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
577 xref--insert-xrefs: Tweak the faces
578 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
579 Always insert a newline at the end (to avoid mouse-face background
580 tail at the last line).
582 elisp-completion-at-point: Prioritize being quoted over funpos
583 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
584 Only consider function position when not inside quoted form
586 * test/automated/elisp-mode-tests.el: New file.
588 Stop vc-print-log from jumping to the top
589 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
590 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
592 (vc-incoming-outgoing-internal): Always pass nil.
593 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
594 call it, and don't set vc-sentinel-movepoint (bug#15322).
595 (vc-print-root-log): Don't fetch the root working revision, nor
596 pass it to vc-print-log-internal.
598 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
600 Fix display of keyboard layouts for right-to-left scripts
601 * lisp/international/quail.el (quail-insert-kbd-layout): Force
602 left-to-right paragraph direction.
604 2015-05-02 K. Handa <handa@gnu.org>
606 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
608 * cmds.c (internal_self_insert): When we insert spaces for
609 padding, set point before the padding spaces, not after them.
611 2015-05-02 Nicolas Petton <nicolas@petton.fr>
613 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
615 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
617 Fix etags-xref-find for references
618 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): Use `cl-mapcan'.
619 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
620 directory if no tags tables are loaded (bug#19468).
622 2015-05-02 Philipp Stephani <phst@google.com>
624 Update the options in whitespace-style defcustom
625 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
626 `repeat' because the option is really set-like. Add missing
627 options. Reorder options to match the order in the
628 documentation. (Bug#20346)
630 2015-05-02 Eli Zaretskii <eliz@gnu.org>
632 Fix error diagnostics of c-macro-expand
633 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
634 too early if no start-marker string was found -- that generally
635 means cpp exited abnormally, and we still want to show its error
636 messages to the user.
638 Don't require Texinfo 5.0 for Emacs documentation
639 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
640 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
641 "@codequoteundirected on", respectively, to avoid requiring
642 Texinfo 5.x for Emacs documentation.
644 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
646 * lisp/files.el (pwd):
647 When called with a prefix argument, insert the current default
650 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
652 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
653 * lisp/isearch.el (isearch-mode-map): Don't inhibit
654 function-key-map remapping for backspace (bug#20466).
656 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
658 Implement xref-find-references in etags and elisp-mode
659 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
660 (elisp-xref-find): Use it.
661 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
662 * lisp/progmodes/xref.el (xref-collect-references):
663 (xref--collect-reference): New functions.
665 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
667 Prefer plain characters to Texinfo circumlocutions
668 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
669 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
671 Fix single-quoting style in PDF manuals
672 The PDF versions of the GNU manuals used curved single quotes to
673 represent grave accent and apostrophe, which made it a pain to cut
674 and paste code examples from them. Fix the PDF versions to use
675 grave accent and apostrophe for Lisp source code, keystrokes, etc.
676 This change does not affect the info files, nor does it affect
677 ordinary uses of curved single quotes in PDF.
678 * doc/emacs/docstyle.texi: New file, which specifies treatment for
679 grave accent and apostrophe, as well as the document encoding.
680 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
681 * doc/lispintro/emacs-lisp-intro.texi:
682 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
683 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
684 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
685 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
686 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
687 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
688 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
689 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
690 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
691 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
692 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
693 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
694 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
695 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
696 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
697 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
698 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
699 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
700 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
701 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
702 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
703 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
704 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
705 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
706 * doc/misc/woman.texi:
707 Use it instead of '@documentencoding UTF-8', to lessen the need for
708 global changes like this in the future.
709 * doc/emacs/Makefile.in (EMACS_XTRA):
710 * doc/lispintro/Makefile.in (srcs):
711 * doc/lispref/Makefile.in (srcs):
712 Add dependency on docstyle.texi.
713 * doc/misc/Makefile.in (style): New macro.
714 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
715 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
718 2015-05-01 Glenn Morris <rgm@gnu.org>
720 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
722 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
723 (help-fns--signature): Declare.
725 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
727 2015-05-01 Nicolas Petton <nicolas@petton.fr>
729 New macro seq-let, providing destructuring support to seq.el
730 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
731 to `cl-destructuring-bind' but works on all sequence types supported
732 by `seq.el'. Bump version number to 1.6.
733 * test/automated/seq-tests.el: Add tests for seq-let.
734 * doc/lispref/sequences.texi: Add documentation for seq-let.
736 2015-05-01 Pontus Michael <m.pontus@gmail.com>
738 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer
740 2015-05-01 Glenn Morris <rgm@gnu.org>
742 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
744 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
746 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
747 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
748 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
749 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
752 2015-05-01 K. Handa <handa@gnu.org>
754 * mule-cmds.el (input-method-use-echo-area): Change :type to
757 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
759 Start using proportional fonts in eww by default
760 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
761 it seems to work well.
763 Fix links in tables in shr
764 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
765 makes (some) links in tables not work.
767 2015-05-01 Jan D <jan.h.d@swipnet.se>
769 (ns-get-cut-buffer-internal): Remove this alias.
770 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
772 2015-04-30 Glenn Morris <rgm@gnu.org>
774 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
775 Update for 2015-02-08 change to indirect-function.
777 * lisp/term/ns-win.el (ns-get-selection-internal):
778 Remove declaration for function deleted 2014-10-21.
780 * lisp/dom.el: Load subr-x when compiling, for when-let.
782 Silence some compilation warnings
783 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
784 * lisp/emulation/cua-base.el (delete-active-region):
785 * lisp/net/net-utils.el (w32-get-console-output-codepage):
786 * lisp/term/ns-win.el (ns-own-selection-internal)
787 (ns-disown-selection-internal, ns-selection-owner-p)
788 (ns-selection-exists-p, ns-get-selection):
789 Declare for compiler..
791 Function declaration updates prompted by 'make check-declare'
792 * lisp/emacs-lisp/package.el (lm-homepage):
793 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
794 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
795 * lisp/gnus/mml.el (libxml-parse-html-region):
796 * lisp/gnus/nnrss.el (libxml-parse-html-region):
797 * lisp/net/eww.el (libxml-parse-html-region):
798 * lisp/net/shr.el (libxml-parse-html-region):
799 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
800 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
801 * lisp/vc/vc-git.el (vc-annotate-convert-time):
802 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
803 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
804 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
807 Remove compatibility code for 20-year old function renaming
808 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
809 Make it an obsolete alias.
810 (idlwave-shell-filter): Change all uses to comint-output-filter.
812 2015-04-30 Tassilo Horn <tsdh@gnu.org>
814 Add ace-window face config
815 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
818 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
820 Unclutter 'make doc' output a bit
821 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
822 Use make subst rather than sh IFS to split target string apart.
823 This makes 'make' output easier to follow.
826 * doc/misc/texinfo.tex: Update from gnulib.
828 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
830 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh
831 (package-menu--print-info): Obsolete.
832 (package-menu--print-info-simple): New function.
833 (package-menu--refresh): Use it, simplify code, and improve
835 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
836 Tiny performance improvement.
838 * lisp/emacs-lisp/package.el (package--message): inhibit-message
840 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
842 Omit -Wstrict-overflow workaround in GCC 5
843 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
844 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
848 2015-04-29 extern-inline: no need for workaround in GCC 5.1
849 2015-04-26 file-has-acl: port to CentOS 6
850 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
852 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
854 Set next-error-* in xref--xref-buffer-mode
855 * xref.el (xref--xref-buffer-mode): Set `next-error-function' and
856 `next-error-last-buffer'.
857 (xref--next-error-function): New function.
858 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
860 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
862 python.el: Fix warnings on looking-back calls missing LIMIT
863 * lisp/progmodes/python.el (python-shell-accept-process-output):
864 Pass LIMIT arg to looking-back.
866 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
868 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress
869 (package--download-and-read-archives): Use pushnew instead of
870 append. If something terrible happened during a previous
871 download, simply refreshing should now make things work again.
873 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
875 Introduce etags-xref-find-definitions-tag-order
876 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
878 (etags--xref-find-definitions): Use it (bug#19468).
880 2015-04-29 Eli Zaretskii <eliz@gnu.org>
882 PATH- and completion-related fixes in Eshell on MS-Windows
883 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
884 MS-Windows, prepend "." to list of directories produced from PATH,
885 as Windows always implicitly searches the current directory first.
886 (eshell-force-execution): Make it have a non-nil default value on
887 MS-Windows and MS-DOS.
888 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
889 eshell-force-execution is non-nil, complete on readable files and
890 directories, not only executables. When running on MS-Windows,
891 prepend "." to list of directories produced from PATH, as Windows
892 always implicitly searches the current directory first.
894 2015-04-29 Sam Steingold <sds@gnu.org>
896 bury RCIRC buffers when there is no activity
897 lisp/net/rcirc.el (rcirc-non-irc-buffer): remove
898 (rcirc-bury-buffers): new function
899 (rcirc-next-active-buffer): when there is no new activity, use
900 `rcirc-bury-buffers' to hide all RCIRC buffers
902 2015-04-29 Michael Albinus <michael.albinus@gmx.de>
904 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
906 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
908 Fix DBUS query result parsing for secrets-search-items
909 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
910 parsing. The function assumed that return value of the
911 SearchItems method called on a collection is a list of two lists,
912 however this is true only when no collection is specified. GNOME
913 had used to incorrectly return a list of two lists in both cases,
914 but this was already fixed:
915 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
916 incorrect information in the secrets-search-items’ docstring.
919 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
921 * lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'
922 (byte-compile--message): Use `inhibit-message' instead of hiding
923 the previous message with (message nil).
925 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
927 Remove the deprecated INTERNAL_FIELD macro by expanding it
928 * src/lisp.h (INTERNAL_FIELD): Remove.
929 (DEFVAR_KBOARD): Modify accordingly.
930 * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h:
931 * syntax.c: Adjust users.
932 * src/buffer.c (compact_buffer): Use BVAR.
934 2015-04-29 Glenn Morris <rgm@gnu.org>
936 Replace an obsolete function alias
937 * lisp/isearch.el (isearch-yank-x-selection):
938 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
939 (mouse-drag-secondary-moving):
940 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
941 Replace obsolete alias x-get-selection with gui-get-selection.
943 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
945 * lisp/mail/rmailsum.el: Use lexical-binding.
947 2015-04-29 Glenn Morris <rgm@gnu.org>
949 * test/automated/package-test.el (package-test-update-archives-async):
950 Skip test on hydra.nixos.org.
952 2015-04-28 Glenn Morris <rgm@gnu.org>
954 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
955 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
956 (foldout-mouse-hide-or-exit): Use new names for outline functions.
958 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
959 Update for 2014-06-26 hideif.el change.
961 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
962 (rmail--decode-and-apply): New function.
963 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
965 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
967 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
969 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
970 (package-menu--refresh): Delegate obsolete-hiding to
971 `package--remove-hidden'.
972 (package--remove-hidden): Disregard high-priority package if it is
973 older than the installed one.
975 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
977 Update source file encoding list
978 Update admin/notes/unicode, along with coding system cookies in
979 other files, so that the two match each other better.
980 * admin/notes/unicode: lisp/language/ethio-util.el and
981 lisp/language/ethiopic.el also use utf-8-emacs.
982 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
983 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
984 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
985 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
986 * etc/refcards/sk-survival.tex:
987 Add "coding: utf-8" so that this file is not mishandled in a
988 Latin-1 or Big-5 locale.
989 * lisp/international/robin.el, lisp/org/ox-ascii.el:
990 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
991 * lisp/language/ethio-util.el: Fix trailer.
993 2015-04-28 Eli Zaretskii <eliz@gnu.org>
995 Fix synchronous invocation of Ispell
996 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
997 value to ispell-process-directory before calling ispell-init-process.
998 Don't call set-process-coding-system if ispell-async-processp is nil.
1001 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
1003 * lisp/emacs-lisp/package.el: Skip space and comments in init file
1004 (package--ensure-init-file): Insert snippet at first
1005 non-whitespace non-comments line. Respects local-vars at the top
1008 2015-04-28 Glenn Morris <rgm@gnu.org>
1010 * lisp/mail/rmail.el (rmail-copy-headers):
1011 Handle rmail-nonignored-headers being nil. (Bug#18878)
1013 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
1015 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
1016 Don't get confused by a bzrlib version mismatch warning.
1018 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1020 Change default location of EUDC options file
1021 * NEWS: Document change to EUDC options file's default location.
1022 * lisp/net/eudc-vars.el (eudc-options-file): Use
1023 `locate-user-emacs-file' to change default options file location.
1025 2015-04-27 Glenn Morris <rgm@gnu.org>
1027 * test/automated/package-test.el (package-test-update-archives-async):
1028 Try to handle the test server script dying.
1030 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * lisp/saveplace.el (save-place-mode): New minor mode.
1033 (save-place): Redefine as an obsolete alias.
1035 * lisp/midnight.el: Make it a minor mode. Allow predicates.
1036 * lisp/midnight.el: Use lexical-binding.
1037 (midnight-mode): Make it a proper minor mode.
1038 (midnight-buffer-display-time): Make arg non-optional.
1039 (midnight-find): Remove.
1040 (clean-buffer-list-kill-never-regexps)
1041 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
1042 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
1044 (clean-buffer-list): Use cl-find.
1045 Allow clean-buffer-list-kill-never-regexps to contain functions.
1047 2015-04-27 Nicolas Petton <nicolas@petton.fr>
1049 Bump version of seq.el to 1.5
1050 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
1051 from seq-doseq. Bump version number of seq.el.
1053 2015-04-27 Glenn Morris <rgm@gnu.org>
1055 * lisp/mail/rmail.el (rmail-reply):
1056 Decode subject before matching "Re:" prefix. (Bug#20396)
1058 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
1060 * lisp/emacs-lisp/package.el: Small improvements
1061 (package--with-work-buffer-async): More informative error.
1062 (package-install-user-selected-packages): Rename to
1063 `package-install-selected-packages'.
1065 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
1068 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
1069 (eieio--class-make): Remove leftover `tag'.
1071 2015-04-27 Glenn Morris <rgm@gnu.org>
1073 * lisp/gnus/message.el (gnus-extract-address-components):
1074 Remove bogus declaration that was masking previous problem.
1076 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
1078 * lisp/gnus/message.el (message-insert-formatted-citation-line):
1079 Fix typo. (Bug#20318)
1081 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1083 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
1085 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
1086 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
1087 the buffer in yet another frame.
1088 (reftex-toc-visit-location): Make sure toc-window has focus at the end
1089 when `final' is nil.
1090 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
1091 silence warnings. Use `--' to clarify that it's internal.
1092 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
1093 (reftex-toc-promote): Clarify unused argument.
1094 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
1095 Add `reftex--' prefix. Fix all users.
1096 (reftex-toc-promote-prepare): Use _ for dummy variable.
1097 (reftex-toc-restore-region): Rename `m
1099 2015-04-27 Eli Zaretskii <eliz@gnu.org>
1101 Fix a typo in bibtex.el
1102 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
1103 last change. (Bug#20429)
1105 Fix redisplay of frame after loading new fonts
1106 * src/xdisp.c (redisplay_internal): When retrying redisplay of a
1107 frame because new fonts were loaded, disable all redisplay
1108 optimizations on that frame by calling SET_FRAME_GARBAGED.
1111 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1113 * lisp/info.el (Info-menu): Properly provide the `default'
1116 * elisp-mode.el: Catch errors from `documentation'
1118 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
1119 Catch errors from documentation.
1120 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
1122 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1124 lisp/emacs-lisp/package.el: Move variables to silence byte-compiler
1125 Remove redundant ":group 'package".
1127 2015-04-26 Eli Zaretskii <eliz@gnu.org>
1129 Fix a typo in rmail.el
1130 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
1131 last commit. (Bug#20429)
1133 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
1135 Introduce xref-prompt-for-identifier
1136 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
1137 (xref--read-identifier): Use it
1138 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
1140 2015-04-26 João Távora <joaotavora@gmail.com>
1142 `tex-insert-quote' after single `'' opens quotes instead of closing
1143 Without this, it's very hard to precede double quotes with the
1144 apostrophe character, i.e. insert the sequence '``
1145 (quote-backquote-backquote), commonly useful in portuguese, for
1147 * tex-mode.el (tex-insert-quote): Add ?' to the list of preceding
1148 chars making `tex-insert-quote' be in the "opening" context.
1150 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
1152 Pass `id' to `completing-read' as def instead of initial input
1153 * xref.el (xref--read-identifier): Pass `id' to `completing-read'
1154 as the default value instead of initial input
1155 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
1157 See ChangeLog.2 for earlier changes.
1159 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
1161 Don't freeze with unreadable processes
1162 Don't freeze if an exiting process can't be read from. (Bug#19860).
1163 This fixes a bug I introduced in
1164 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
1165 "* process.c: Add sanity checks for file descriptors."
1166 Dmitry Gutov did most of the legwork in finding the problem.
1167 * src/process.c (wait_reading_process_output):
1168 Treat non-running processes that can't be read from
1169 the same as other non-running processes.
1171 2015-04-25 Alan Mackenzie <acm@muc.de>
1173 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
1174 * lisp/subr.el (remove-yank-excluded-properties): put
1175 `with-silent-modifications' around only the last three lines of code.
1177 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
1179 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
1180 (package--all-keywords): Deleted variable.
1182 * etc/NEWS: Document package-hiding functionality
1184 2015-04-25 Eli Zaretskii <eliz@gnu.org>
1186 lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
1188 Clarify the doc string of 'replace-regexp-in-string'
1189 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
1191 Improve doc string of 'insert-buffer-substring'
1192 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
1194 MS-Windows followup for the recent gnulib update
1195 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
1198 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
1204 2015-04-24 file-has-acl: new module, split from acl
1205 2015-04-24 manywarnings: add GCC 5.1 warnings
1206 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
1207 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
1208 2015-04-15 acl: On Linux, check for acls without libacl
1209 2015-04-14 tempname: avoid unused parameter warnings (trivial)
1210 * lib/acl-internal.c: New file, from gnulib.
1211 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
1212 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
1213 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
1216 Port --enable-gcc-warnings to GCC 5.1 x86-64
1217 * lib-src/ebrowse.c (dump_sym):
1218 * lib-src/hexl.c (main):
1219 * src/ccl.c (ccl_driver):
1220 * src/character.c (string_escape_byte8):
1221 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
1222 * src/gnutls.c (Fgnutls_boot):
1223 * src/gtkutil.c (xg_check_special_colors):
1224 * src/image.c (x_build_heuristic_mask):
1225 * src/print.c (safe_debug_print, print_object):
1226 * src/term.c (produce_glyphless_glyph):
1227 * src/xdisp.c (get_next_display_element)
1228 (produce_glyphless_glyph):
1229 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
1230 Don't use a signed format to print an unsigned integer, or vice
1231 versa. GCC 5.1's new -Wformat-signedness option warns about this.
1232 * src/image.c (png_load_body, jpeg_load_body):
1233 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
1235 2015-04-24 Tassilo Horn <tsdh@gnu.org>
1237 Add new faces to tsdh-light-theme
1238 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
1239 definitions for Info-quoted, ace-jump-face-foreground,
1240 hl-paren-face, show-paren-match, and show-paren-mismatch.
1242 2015-04-24 Nicolas Petton <nicolas@petton.fr>
1244 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
1246 2015-04-24 Glenn Morris <rgm@gnu.org>
1248 * build-aux/gitlog-to-emacslog:
1249 Use raw log format rather than wrapped one.
1251 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1253 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code
1254 (seq-doseq): Fix out-of-scope binding.
1255 Don't call `seq-length at every iteration.
1256 Reduce `if's from 3 to 2 per iteration.
1257 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
1259 2015-04-24 Glenn Morris <rgm@gnu.org>
1261 * lisp/textmodes/text-mode.el (text-mode-hook):
1262 Move text-mode-hook-identify to default.
1264 * lisp/mouse.el (minor-mode-menu-from-indicator):
1265 Handle non-function members of minor-mode-map-alist. (Bug#20201)
1267 * lisp/help-fns.el (describe-function): More type checking.
1268 (describe-function-1): Handle changed symbol-function. (Bug#20201)
1270 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
1273 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
1275 shr: strip leading whitespace when expanding URLs
1276 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
1278 2015-04-24 Eli Zaretskii <eliz@gnu.org>
1280 Clarify "co-authored" some more
1282 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
1284 Clarify doc strings of functions that search for properties
1285 * src/textprop.c (Fnext_char_property_change)
1286 (Fprevious_char_property_change)
1287 (Fnext_single_char_property_change)
1288 (Fprevious_single_char_property_change, Fnext_property_change)
1289 (Fnext_single_property_change, Fprevious_property_change)
1290 (Fprevious_single_property_change): Clarify doc strings wrt return
1291 value and the optional LIMIT argument. (Bug#20411)
1293 2015-04-24 Glenn Morris <rgm@gnu.org>
1295 * test/automated/message-mode-tests.el (message-mode-propertize):
1296 Handle non-writable HOME; eg on hydra.nixos.org.
1298 2015-04-23 Eli Zaretskii <eliz@gnu.org>
1300 Avoid starting threads by w32-shell-execute
1301 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
1302 local file names, before invoking ShellExecute. (Bug#20220)
1304 2015-04-23 Martin Rudalics <rudalics@gmx.at>
1306 Fix following doc-links in `widget-documentation-link-action'
1307 * lisp/wid-edit.el (widget-documentation-link-action): Make
1308 following doc-links less simplistic (Bug#20398).
1310 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1313 * eudc.texi (Troubleshooting): New LDAP troubleshooting subsection.
1315 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
1317 Omit needless "\ " after multibyte then newline
1318 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
1319 (print_object): When print-escape-multibyte is non-nil and a
1320 multibyte character is followed by a newline or formfeed, followed
1321 by a hex digit, don't output a needless "\ " before the hex digit.
1322 * test/automated/print-tests.el (print-hex-backslash): New test.
1324 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
1326 Add a new `inhibit-message' variable
1327 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
1328 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
1329 `inhibit_message' is non-zero.
1330 * etc/NEWS: Add an entry.
1331 * doc/lispref/display.texi: Add an entry for `inhibit-message',
1332 mention it in `message'.
1334 2015-04-22 Martin Rudalics <rudalics@gmx.at>
1336 Fix last fix in `display-buffer-record-window'.
1337 * lisp/window.el (display-buffer-record-window): Fix last fix.
1339 2015-04-22 Eli Zaretskii <eliz@gnu.org>
1341 Minor edits in CONTRIBUTE
1342 * CONTRIBUTE: Rearrange instructions about log messages.
1343 Use "Git" capitalized all over.
1344 Use 2 spaces between sentences.
1346 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
1348 * lisp/files.el (basic-save-buffer): Fix argument
1350 * lisp/cus-edit.el (custom-file): Consider init-file-had-error
1351 In case `(and (null custom-file) init-file-had-error)' do the same
1352 thing we'd do if `(null user-init-file)', which is to either error out
1353 or return nil. This is in line with `custom-save-all' which would
1354 throw an error in that situation. (bug#20355)
1356 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu
1357 (package-menu-hide-low-priority): New variable, see its doc.
1358 (package-archive-priorities): Update doc.
1359 (package-desc-priority): New function.
1360 (package-desc-priority-version): Use it.
1361 (package--remove-hidden): New function.
1362 (package-menu--refresh): Use it.
1364 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages
1365 (package-menu--hide-obsolete): New variable.
1366 (package--remove-hidden): Use it.
1367 (package-menu-hide-obsolete): New interactive function to toggle
1369 (package--quick-help-keys): Document it.
1370 (package-menu-async): Add :version tag.
1371 (package-menu-mode-map): Bind package-menu-hide-obsolete.
1372 (package-desc-status): Indicate non-installed obsolete packages as
1374 (package-menu-mark-install): Allow installation of avail-obso.
1375 (package-menu--status-predicate): Sort avail-obso with available.
1377 2015-04-22 Alan Mackenzie <acm@muc.de>
1379 On C-y, stop some text property entries being written into buffer-undo-list
1380 lisp/subr.el (remove-yank-excluded-properties): enclose the code in
1381 `with-silent-modifications'.
1383 2015-04-22 Martin Rudalics <rudalics@gmx.at>
1385 In display-buffer-record-window record selected window if necessary.
1386 * lisp/window.el (display-buffer-record-window): Store selected window
1387 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
1389 2015-04-22 Tassilo Horn <tsdh@gnu.org>
1391 Fix reftex-citation bug
1392 * reftex-cite.el (reftex-extract-bib-entries): Fix
1393 `wrong-type-argument stringp nil' error that occurs when AUCTeX
1394 integration is enabled and there are no citations in the document
1397 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
1399 Add or reset based on the presence of MERGE_HEAD
1400 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
1401 `vc-git-resolve-when-done' to `after-save-hook' in either case.
1402 (vc-git-conflicted-files): Add a TODO.
1403 (vc-git-resolve-when-done): Depending on the presence of
1404 MERGE_HEAD, either update the resolved file in the index, or
1405 remove it from there. (Bug#20292)
1407 2015-04-21 Glenn Morris <rgm@gnu.org>
1409 * lisp/custom.el (custom-declare-group): No need to purecopy
1410 custom-current-group-alist members following recent change to set
1411 it to nil before dumping.
1413 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
1416 2015-04-21 Daniel Colascione <dancol@dancol.org>
1418 Unbreak no-op buffer save message
1419 * lisp/files.el (save-buffer): Pass interactive flag to `basic-save-buffer`
1420 (basic-save-buffer): Accept called-interactively as an argument instead of
1421 directly invoking called-interactively-p, which will always yield nil
1424 2015-04-21 Alan Mackenzie <acm@muc.de>
1426 CC Mode: Do nothing in before/after-change-functions for text property changes
1428 lisp/progmodes/cc-mode.el (c-basic-common-init): Make
1429 yank-handled-properties buffer local, and remove 'category from it.
1430 (c-called-from-text-property-change-p): New function.
1431 (c-before-change): Don't do anything if a call of the new function
1433 (c-after-change): Don't do much if a call of the new function returns
1435 (c-extend-after-change-region): Put changes to text property 'fontified
1436 inside c-save-buffer-state.
1438 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1440 Fix byte-compiler warnings about looking-back.
1441 * lisp/vc/log-view.el (log-view-end-of-defun-1):
1442 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
1443 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
1444 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
1445 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
1446 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
1447 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
1448 * lisp/org/org.el (org-insert-heading, org-sort-entries):
1449 * lisp/org/org-mouse.el (org-mouse-end-headline)
1450 (org-mouse-context-menu):
1451 * lisp/org/org-clock.el (org-clock-cancel):
1452 * lisp/man.el (Man-default-man-entry):
1453 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
1454 (rmail-ensure-blank-line):
1455 * lisp/mail/footnote.el (Footnote-delete-footnote):
1456 * lisp/mail/emacsbug.el (report-emacs-bug):
1457 * lisp/info.el (Info-follow-reference, Info-fontify-node):
1458 * lisp/info-look.el (info-lookup-guess-custom-symbol):
1459 * lisp/help-fns.el (help-fns--key-bindings):
1460 * lisp/files.el (hack-local-variables):
1461 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
1462 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
1463 (viper-complete-filename-or-exit):
1464 * lisp/emulation/viper-cmd.el (viper-backward-indent):
1465 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
1466 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
1467 * lisp/cus-edit.el (custom-face-edit-value-create):
1468 * lisp/calendar/todo-mode.el (todo-set-item-priority)
1469 (todo-filter-items-1, todo-convert-legacy-files)
1470 (todo-prefix-overlays): Add explicit second arg to looking-back.
1472 2015-04-20 Glenn Morris <rgm@gnu.org>
1474 Avoid non-nil current-load-list at startup
1475 * src/process.c (init_process_emacs): Move Fprovide statement...
1476 (syms_of_process): ... to here.
1478 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
1480 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value in emacs -Q.
1482 2015-04-20 Ludovic Courtès <ludo@gnu.org>
1484 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
1487 2015-04-20 Glenn Morris <rgm@gnu.org>
1489 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
1491 Tweak exec-path in uninstalled case
1492 * src/callproc.c (init_callproc): If running uninstalled, do not
1493 include eventual installation libexec directory in exec-path.
1495 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
1497 * lisp/emacs-lisp/package.el: Filter by multiple keywords and cache keywords
1498 (package-menu-filter): Accept a list of keywords.
1499 (package--all-keywords): New variable to cache known keywords.
1500 (package-all-keywords): Populate it if necessary.
1501 (package-refresh-contents): Reset it.
1503 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
1504 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
1505 as special keywords which match agains package archive and status
1507 * etc/NEWS: Document it.
1509 2015-04-20 Eli Zaretskii <eliz@gnu.org>
1511 Describe and index "empty overlays".
1512 * doc/lispref/display.texi (Overlays): Improve indexing.
1513 (Managing Overlays): Describe "empty" overlays.
1514 (Overlay Properties, Finding Overlays): Add cross-reference to
1515 where empty overlays are described.
1517 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1521 Quote 'like this' in top-level files
1522 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
1523 Prefer to single-quote 'like this' (instead of the older style
1525 * configure.ac: Fix some space-before-tab problems that 'git commit'
1528 Use bool for boolean in textprop.c, undo.c
1529 * src/textprop.c (soft, hard): Now constants instead of macros.
1530 (validate_plist): Rewrite to avoid need for boolean local.
1531 (interval_has_all_properties, interval_has_some_properties)
1532 (interval_has_some_properties_list, add_properties)
1533 (remove_properties, get_char_property_and_overlay)
1534 (Fnext_single_char_property_change)
1535 (Fprevious_single_char_property_change, add_text_properties_1)
1536 (Fremove_text_properties, Fremove_list_of_text_properties)
1537 (copy_text_properties):
1538 * src/tparam.c (tparam1):
1539 * src/undo.c (record_change, record_property_change)
1541 Use 'true' and 'false' for booleans.
1543 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
1545 Call `smerge-start-session' even when dealing with a stash conflict
1546 * lisp/vc/vc-git.el (vc-git-find-file-hook):
1547 Call `smerge-start-session' even when dealing with a stash
1548 conflict (bug#20292).
1550 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
1552 Add option to eshell/clear to clear scrollback.
1553 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
1554 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
1555 scrollback contents are cleared.
1556 * etc/NEWS: Describe change.
1557 * doc/misc/eshell.texi: Add entry for `clear'.
1559 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1561 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
1562 where either will do.
1564 2015-04-19 Steve Purcell <steve@sanityinc.com>
1566 Assume package archive-contents are UTF8-encoded
1567 * lisp/emacs-lisp/package.el (package--read-archive-file):
1568 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
1569 downloaded and cached archive-contents files, so that non-ASCII
1570 characters in package descriptions are displayed correctly in the
1571 `list-packages' menu. (Bug#20231)
1573 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
1575 Abort when looking at stashed changes
1576 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
1577 stashed changes (bug#20292).
1579 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1581 Refactor low-level printing for simplicity
1582 * src/print.c (PRINTDECLARE): Remove. Move its contents into
1583 PRINTPREPARE; doable now that we assume C99. All callers changed.
1584 (PRINTCHAR): Remove, as it adds more mystery than clarity.
1585 All callers changed.
1586 (strout): Assume that caller computes length. All callers changed.
1587 (print_c_string): New function.
1588 (write_string, write_string_1): Compute length instead of asking
1589 the caller to compute it. All callers changed.
1590 (write_string): Simplify by using write_string_1.
1591 (write_string_1): Simplify by using print_c_string.
1592 (Fterpri): Compute default val more clearly.
1593 (Fprin1_to_string, print_object):
1594 Assume C99 to avoid unnecessary nesting.
1595 (print_object): Prefer print_c_string to multiple printchar, or
1596 to calling strout with -1 length. Coalesce into sprintf when
1599 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
1601 Prefer "Bug#1234" in commit messages (Bug#20325)
1602 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
1603 as this isn't useful for Git.
1604 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
1606 2015-04-18 Glenn Morris <rgm@gnu.org>
1608 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
1611 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
1613 * lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp' as a function.
1616 2015-04-18 Glenn Morris <rgm@gnu.org>
1618 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
1620 * doc/emacs/misc.texi (Sorting): Small edit.
1623 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
1625 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
1627 css-mode.el: Support multi-line comment filling
1629 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
1631 (css-adaptive-fill): New function.
1632 (css-mode): Set `adaptive-fill-function'.
1633 (scss-mode): Set `comment-continue'.
1635 2015-04-18 Nicolas Petton <nicolas@petton.fr>
1637 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into): Better error messages.
1639 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
1641 Minor improvements in Bulgarian input methods
1642 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
1643 Replace U+042C with U+045D, as the former character is not used in
1644 the modern Bulgarian language.
1647 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1650 * eudc.texi (LDAP Configuration): Mention simple and SASL
1651 authentication schemes. Add index items. Shorten example server
1654 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
1656 Don't show both feature and function with the same name
1657 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
1658 Don't show both feature and function with the same name.
1660 (elisp--xref-identifier-location): Skip variable, if it's also a functiong
1661 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
1662 Avoid returning both the variable and the function for the same
1665 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
1667 Fix fontification of keywords clobbered by the prompt.
1668 * lisp/comint.el (comint-output-filter): Remove the uses of
1669 with-silent-modifications I introduced as part of the last change.
1670 This fixes, e.g., erratically missing highlighting when running
1671 ./configure --help; ./configure in a shell-mode buffer with
1672 compilation-shell-minor-mode turned on.
1674 2015-04-17 Glenn Morris <rgm@gnu.org>
1676 * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions.
1678 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * lisp/indent.el (indent-region): Don't deactivate the mark
1683 2015-04-17 Sam Steingold <sds@gnu.org>
1685 lisp/net/rcirc.el (defun-rcirc-command): mark `target' as ignorable
1687 2015-04-16 Leo Liu <sdl.web@gmail.com>
1689 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
1691 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * lisp/erc/erc-pcomplete.el (erc-pcomplete): Don't use `pcomplete' any more.
1695 2015-04-16 Glenn Morris <rgm@gnu.org>
1697 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
1699 2015-04-16 Eli Zaretskii <eliz@gnu.org>
1701 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
1702 * configure.ac (LIBJPEG): Leave it empty for MinGW.
1704 2015-04-16 Glenn Morris <rgm@gnu.org>
1706 * lisp/replace.el (query-replace-from-to-separator): Delay initialization
1707 to avoid rogue setting after startup.
1709 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
1711 Pre-4.6 GCC succeeds with unknown option
1712 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
1715 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
1717 '[:graph:]' now excludes whitespace, not just ' '
1718 * doc/lispref/searching.texi (Char Classes):
1719 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
1720 sans whitespace (not sans space).
1721 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
1723 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
1725 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1727 (looking-back): Make the second arg non-optional.
1728 * lisp/subr.el (substitute-key-definition-key, special-form-p)
1729 (macrop): Drop deprecated second arg to indirect-function.
1730 (looking-back): Make the second arg non-optional.
1732 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
1733 command is actually sent to the shell.
1735 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
1737 Port jpeg configuration to Solaris 10 with Sun C
1738 * configure.ac: Check for jpeglib 6b by trying to link it, instead
1739 of relying on cpp magic that has problems in practice. Check for
1740 both jpeglib.h and jerror.h features. Remove special case for
1741 mingw32, which should no longer be needed (and if it were needed,
1742 should now be addressable by hotwiring emacs_cv_jpeglib).
1745 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1747 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
1748 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
1749 Move to elisp-mode.el.
1750 (lisp-mode-variables): (Re)move elisp-specific settings.
1751 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
1752 from lisp-mode-variables.
1753 (elisp--font-lock-flush-elisp-buffers): New function, moved from
1756 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
1757 Avoid pathological slowdown at top-level in large file.
1759 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
1761 Standardize names of ChangeLog history files
1762 Suggested by Glenn Morris in:
1763 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
1764 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
1765 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
1766 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
1767 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
1768 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
1769 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
1772 Split top-level entries into pre- and post-April 7
1773 This more clearly distingiushes pre-April-7 ChangeLog entries (which
1774 are for top-level files only) from post-April-7 entries (which are
1775 about files at all levels. Problem reported by Glenn Morris in:
1776 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
1777 * ChangeLog.1: Move post-April-7 entries from here ...
1778 * ChangeLog.2: ... to this new file.
1779 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
1781 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1783 Fix recent cus-start changes that added customize-rogues
1784 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
1786 * lisp/loadup.el ("cus-start"): Move to the end to reduce customize-rogue.
1788 2015-04-15 Nicolas Petton <nicolas@petton.fr>
1790 Define cl-concatenate as an alias to seq-concatenate
1791 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
1792 code by making cl-concatenate an alias to seq-concatenate.
1794 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1796 * src/lread.c (intern_1): Make sure we'd find the symbol we add
1798 * src/xfaces.c (resolve_face_name): Don't use `intern' with Lisp_Strings.
1800 2015-04-15 Glenn Morris <rgm@gnu.org>
1802 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
1804 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1806 Clean up gnus-uu saving code slightly
1807 * gnus-uu.el (gnus-uu-save-article): Make the
1808 save-restriction/widen calls make more sense.
1810 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
1812 Make [:graph:] act like [:print:] sans space
1813 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
1814 [:graph:] so that it matches everything that [:print:] does,
1816 * doc/lispref/searching.texi (Char Classes):
1818 * lisp/emacs-lisp/rx.el (rx):
1819 Document [:graph:] to be [:print:] sans ' '.
1820 * src/character.c, src/character.h (graphicp): New function.
1821 * src/regex.c (ISGRAPH) [emacs]: Use it.
1822 (BIT_GRAPH): New macro.
1823 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
1824 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
1825 Return BIT_GRAPH for RECC_GRAPH.
1826 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
1827 and ISPRINT if BIT_PRINT.
1829 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1831 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
1832 Don't use call-next-method in a cl-defmethod.
1834 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
1835 (eieio--class-p): Remove, provided by cl-defstruct.
1837 2015-04-14 Nicolas Petton <nicolas@petton.fr>
1839 Add seq-intersection and seq-difference to the seq library
1840 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference): New
1842 * test/automated/seq-tests.el: Add tests for seq-intersection and
1844 * doc/lispref/sequences.texi: Add documentation for seq-intersection
1847 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * eieio-core.el (class-abstract-p): Don't inline, to avoid leaking internals
1851 2015-04-14 Sam Steingold <sds@gnu.org>
1853 package--ensure-init-file: widen requires save-restriction
1855 2015-04-14 Eli Zaretskii <eliz@gnu.org>
1857 Improve the commit-msg Git hook for unibyte environments
1858 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
1859 in unibyte environments. (Suggested by Paul Eggert
1860 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
1861 [:print:], based on UTF-8 sequences of the unprintable characters.
1863 Describe problems with cursor caused by Windows Magnifier
1864 * etc/PROBLEMS: Describe the problem with cursor shape on
1865 MS-Windows due to Windows Magnifier.
1868 Make [:print:] support non-ASCII characters correctly
1869 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
1870 (BIT_PRINT): New bit mask.
1871 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
1872 * src/character.c (printablep): New function.
1873 * src/character.h (printablep): Add prototype.
1874 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
1875 of 'print', 'alnum', and 'alphabetic'.
1876 * doc/lispref/searching.texi (Char Classes): Document the new
1877 behavior of [:print:].
1878 * etc/NEWS: Mention the new behavior of [:print:].
1880 Assign correct general-category and names to surrogates
1881 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
1882 surrogates. This avoids assigning them the default
1883 general-category of 'Cn', i.e. unassigned codepoints.
1884 (unidata-get-name): Give surrogates synthetic names.
1886 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
1888 Assume C89 offsetof in xterm.c, xlwmenu.c
1889 * lwlib/xlwmenu.c (offset):
1890 * src/xterm.c (cvt_string_to_pixel_args):
1891 Use offsetof, not XtOffset.
1893 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
1895 Assume C89 offsetof in widget.c
1896 * src/widget.c (XtOffset): Remove; no longer needed.
1897 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
1899 Fix think-o in previous patch
1900 * src/window.c (count_windows, get_leaf_windows):
1901 Don't optimize count_windows incorrectly.
1903 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
1905 Avoid some int overflows in window.c
1906 * src/print.c (print_object):
1907 * src/window.c (sequence_number):
1908 * src/window.h (struct window.sequence_number):
1909 Don't assume window sequence number fits in int.
1910 * src/window.c (window_select_count):
1911 * src/window.h (struct window.use_time, window_select_count):
1912 Don't assume window use time fits in int.
1913 * src/window.c (Fsplit_window_internal):
1914 Don't assume user-supplied integer, or sum, fits in int.
1915 (Fset_window_configuration, count_windows, get_leaf_windows)
1916 (save_window_save, Fcurrent_window_configuration):
1917 Use ptrdiff_t for object counts.
1918 (Fset_window_configuration): Omit unused local 'n'.
1919 (count_windows): Simplify by writing in terms of get_leaf_windows.
1920 (get_leaf_windows): Don't store through FLAT if it's null.
1921 (extract_dimension): New static function.
1922 (set_window_margins, set_window_fringes, set_window_scroll_bars):
1923 Use it to avoid undefined behavior when converting user-supplied
1926 2015-04-13 Glenn Morris <rgm@gnu.org>
1929 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
1930 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
1932 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
1934 [Gnus] Catch the invalid-operation that idna.el will issue
1935 * lisp/gnus/gnus-art.el (gnus-use-idna):
1936 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
1937 * lisp/gnus/message.el (message-use-idna):
1938 Catch the invalid-operation that idna.el will issue.
1940 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
1942 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
1944 2015-04-13 Sam Steingold <sds@gnu.org>
1946 package--ensure-init-file: widen before looking for "(package-initialize)"
1948 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
1950 Change diff-switches default to `-u'
1952 * doc/emacs/files.texi (Comparing Files): Document the new default
1953 value of `diff-switches'.
1954 * doc/emacs/trouble.texi (Sending Patches): Document the preference
1955 for unified diff format. Escape the plus in the suggested `-F' regexp
1957 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
1959 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1961 (gnus-group--setup-tool-bar-update): Fix last change
1962 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
1963 cursor-sensor-functions should be a list of functions.
1965 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
1967 Use gmm-called-interactively-p in Gnus
1968 * lisp/gnus/gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p.
1970 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1972 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
1974 * lisp/cus-start.el (read-buffer-function): Don't advertize
1975 iswitchb-read-buffer any more.
1976 (iswitchb): Don't tweak this obsolete group any more.
1978 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
1980 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file
1982 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings
1983 Adding a string after a constructor's argument list will use
1984 that string as the constructor function docstring. If this string
1985 is absent but the struct itself was given a docstring, use that as
1986 the constructor's docstring.
1989 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1991 Deprecate `intangible' and `point-entered' properties
1992 * lisp/emacs-lisp/cursor-sensor.el: New file.
1993 * lisp/simple.el (pre-redisplay-functions): New hook.
1994 (redisplay--pre-redisplay-functions): New function.
1995 (pre-redisplay-function): Use it.
1996 (minibuffer-avoid-prompt): Mark obsolete.
1997 (redisplay--update-region-highlight): Adapt it to work as a function on
1998 pre-redisplay-functions.
1999 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
2000 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
2001 than point-entered to make the prompt intangible.
2002 * lisp/forms.el: Move `provide' calls to the end.
2003 (forms-mode): Don't use `run-hooks' on a local var.
2004 (forms--make-format, forms--make-format-elt-using-text-properties):
2005 Use cursor-intangible rather than `intangible'.
2006 (forms-mode): Enable cursor-intangible-mode.
2007 * lisp/isearch.el (isearch-mode): Use defvar-local.
2008 (cursor-sensor-inhibit): Declare.
2009 (isearch-mode): Set cursor-sensor-inhibit.
2010 (isearch-done): Set it back.
2011 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
2012 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
2014 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
2015 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
2017 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
2018 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
2019 inhibit-point-motion-hooks any more.
2020 (ses--cell-at-pos, ses--curcell): New functions, extracted from
2022 (ses-set-curcell): Use them.
2023 (ses-print-cell, ses-setup): Use cursor-intangible instead of
2024 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
2025 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
2026 Use ses--cell-at-pos.
2027 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
2028 extracted from ses-command-hook. Make them work with multiple windows
2029 displaying the same buffer.
2030 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
2031 Enable cursor-intangible-mode.
2032 (ses-command-hook): Remove cell highlight and mode-line update code.
2033 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
2034 Update for new name of text-property holding the cell name.
2035 (ses-rename-cell): Don't mess with mode-line-process.
2036 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
2037 cursor-sensor-functions property instead of point-entered.
2038 (erc-insert-timestamp-right, erc-format-timestamp):
2039 Use cursor-intangible rather than `intangible'.
2040 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
2041 remove-from-invisibility-spec. Enable cursor-intangible-mode and
2042 cursor-sensor-mode if needed.
2043 (erc-echo-timestamp): Adapt to calling convention of
2044 cursor-sensor-functions.
2045 (erc-insert-timestamp-right): Remove unused vars `current-window' and
2047 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
2048 (gnus-update-group-mark-positions): Remove unused `topic' var.
2049 (gnus-group-insert-group-line): Remove unused var `header'.
2050 (gnus-group--setup-tool-bar-update): New function.
2051 (gnus-group-insert-group-line): Use it.
2052 (gnus-group-update-eval-form): Declare local
2053 dynamically-bound variables.
2054 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
2055 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
2056 (gnus-group-prepare-topics, gnus-topic-update-topic)
2057 (gnus-topic-change-level, gnus-topic-catchup-articles)
2058 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
2059 Use inhibit-read-only.
2060 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
2061 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
2062 * lisp/textmodes/reftex-index.el (reftex-display-index):
2063 Use cursor-intangible-mode if available.
2064 (reftex-index-post-command-hook): Check cursor-intangible.
2065 * lisp/textmodes/reftex-toc.el (reftex-toc):
2066 Use cursor-intangible-mode if available.
2067 (reftex-toc-recenter, reftex-toc-post-command-hook):
2068 Check cursor-intangible.
2069 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
2070 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
2071 (sgml-tags-invisible): Use with-silent-modifications and
2072 inhibit-read-only. Enable cursor-sensor-mode.
2073 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
2074 calling convention of cursor-sensor-functions.
2075 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
2076 (table-point-entered-cell-hook, table-point-left-cell-hook):
2078 (table-cell-entered-state): Remove var.
2079 (table--put-cell-point-entered/left-property)
2080 (table--remove-cell-properties):
2081 Use cursor-sensor-functions rather than point-entered/left.
2082 (table--point-entered/left-cell-function): Merge
2083 table--point-entered-cell-function and table--point-left-cell-function
2084 and adjust to calling convention of cursor-sensor-functions.
2086 Update ldef-boots.el
2088 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
2090 * doc/misc/eieio.texi: Don't advertize now obsolete constructs
2092 Collapse successive char deletions in the undo log
2093 * src/cmds.c (remove_excessive_undo_boundaries): New function,
2094 extracted from Fself_insert_command.
2095 (Fdelete_char, Fself_insert_command): Use it.
2096 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
2097 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
2099 xterm and OSC 52: Add NEWS entry, and tweak the code
2100 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition to
2102 (terminal-init-xterm-activate-set-selection): Set a terminal property.
2103 (xterm--set-selection): Use it instead of checking the value of
2104 `terminal-initted'. Don't use string-bytes.
2106 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
2108 xterm.el: Implement OSC-52 functionality for setting the X selection
2109 * lisp/term/xterm.el (xterm-max-cut-length): New var.
2110 (xterm--set-selection, terminal-init-xterm-activate-set-selection): New funs.
2111 (terminal-init-xterm, xterm--version-handler): Use them.
2113 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
2115 Remove left over code from when we used an obsolete/loaddefs.el file
2116 * lisp/subr.el (do-after-load-evaluation): Remove left over code from when
2117 we used an obsolete/loaddefs.el file.
2119 * cedet/semantic/fw.el: Use declare.
2120 * cedet/semantic/fw.el (semantic-exit-on-input)
2121 (semanticdb-without-unloaded-file-searches): Use declare.
2122 (semantic-fw-add-edebug-spec): Remove.
2124 (completion-lisp-mode-hook): Use completion-separator-chars
2125 * lisp/completion.el (completion-lisp-mode-hook):
2126 Use completion-separator-chars rather than local key binding.
2128 * src/*.c: Set deactivate_mark buffer-locally
2130 * src/insdel.c (prepare_to_modify_buffer_1):
2131 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
2134 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2136 python.el: Keep symmetry on sexp navigation with parens
2138 * lisp/progmodes/python.el
2139 (python-nav--forward-sexp): Add argument skip-parens-p.
2140 (python-nav-forward-sexp, python-nav-backward-sexp)
2141 (python-nav-forward-sexp-safe)
2142 (python-nav-backward-sexp-safe): Use it.
2143 * test/automated/python-tests.el
2144 (python-nav-forward-sexp-1): Fix test.
2146 2015-04-12 João Távora <joaotavora@gmail.com>
2148 Don't use `setq-local' in Gnus code
2149 This might break upstream builds with older Emacsen
2150 * lisp/gnus/message.el (message-mode): Use `set' and
2151 `make-local-variable' instead of `setq-local'.
2153 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
2155 Update Makefile.in's .PHONY dependencies
2156 * Makefile.in (change-history-commit, master-branch-is-current)
2157 (no-ChangeLog): Now phony.
2159 Remove configure's --with-mmdf option
2160 * configure.ac (MAIL_USE_MMDF): Remove.
2161 * etc/NEWS: Document this.
2162 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
2165 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
2166 That way, 'make install' won't think it's a man page.
2167 Reported by Ashish SHUKLA in:
2168 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
2170 Improve 'make change-history' prereq tests
2171 * Makefile.in (gen_origin): Fix to match what's in the master branch.
2172 (no-ChangeLog, master-branch-is-current): New rules.
2173 (change-history): Depend on them, to avoid similar future problems.
2174 Escape the local-variables string to pacify Emacs when editing
2177 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
2179 * test/automated/package-test.el (with-package-test): Kill Packages buffer
2181 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt
2182 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
2183 "Upgrade" last, and use capitalized instead of all-caps.
2185 * lisp/emacs-lisp/package.el: Completely silence async operations
2186 (package--make-autoloads-and-stuff): Silence autoloads.
2187 (package--save-selected-packages): New function, silences
2188 `customize-save-variable'.
2189 (package--user-selected-p, package-install-from-buffer)
2190 (package-delete, package-install): Use it.
2191 (package-install-from-archive)
2192 (package-menu--perform-transaction): Silence.
2193 (package-menu-execute): Feedback when operation starts.
2195 Use delay-mode-hooks when visiting the init-file
2196 * lisp/emacs-lisp/package.el (package--ensure-init-file):
2198 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks
2200 * lisp/files.el: Only message when saving if save-silently is nil
2201 (save-silently): New variable.
2202 (files--message): New function.
2203 (find-file-noselect, save-buffer, basic-save-buffer)
2204 (basic-save-buffer-2, save-some-buffers, not-modified)
2205 (append-to-file): Use them.
2207 2015-04-12 Johan Bockgård <bojohan@gnu.org>
2209 Support debug declarations in pcase macros
2210 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
2211 (pcase-UPAT): Use it. Remove "`".
2212 (pcase--edebug-match-macro): New function.
2213 (pcase-defmacro): Support debug declarations.
2214 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
2215 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
2216 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>: Add debug declaration.
2218 pcase.el: Edebug support for `app' and vector patterns
2219 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
2220 (pcase-UPAT): Use it. Support `app' patterns.
2221 (pcase-QPAT): Support vector patterns.
2223 edebug.el: Disambiguate vector specifications
2224 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
2225 `(vector ...)' as a vector specification, not as a sublist.
2227 (gnus-summary-refer-thread): Don't clobber unread articles
2228 This fixes a bug where `A T' causes "random" articles to become marked
2230 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
2231 gnus-newsgroup-unreads remains sorted.
2233 mouse-sel.el: Fix mouse-sel-get-selection-function
2234 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
2235 Use gui--last-selected-text-primary instead of no longer existing
2236 gui-last-selected-text.
2238 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
2240 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
2242 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
2244 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate
2246 * lisp/emacs-lisp/package.el (list-packages): Call refresh in right buffer
2248 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations
2249 (byte-compile--interactive): New var.
2250 (byte-compile--message): New function.
2251 (byte-compile-log-1, byte-force-recompile)
2252 (byte-recompile-directory, byte-recompile-file)
2253 (byte-compile-file, compile-defun)
2254 (byte-compile-file-form-defmumble, byte-compile)
2255 (byte-compile-file-form-defalias, display-call-tree): Use it.
2257 * lisp/files.el: Don't message when nothing happened
2258 (save-some-buffers, basic-save-buffer): Before messaging to say
2259 "nothing was saved" check if (called-interactively-p 'any).
2261 2015-04-12 João Távora <joaotavora@gmail.com>
2263 Summary: Improve sexp-based movement in message-mode
2264 Works by giving citations and smileys a different syntax. This helps
2265 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
2266 sexp-based movement.
2267 * lisp/gnus/message.el (message--syntax-propertize): New function.
2268 (message-mode): Set syntax-related vars.
2269 (message-smileys): New variable.
2270 * test/automated/message-mode-tests.el: New file
2272 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2274 Use bool for boolean in window.c
2275 * src/window.c: Omit unnecessary static function decls.
2276 (adjust_window_count, select_window, Fselect_window)
2277 (window_body_width, Fwindow_body_height, Fwindow_body_width)
2278 (set_window_hscroll, check_window_containing, Fwindow_at)
2279 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
2280 (unshow_buffer, replace_window, recombine_windows)
2281 (add_window_to_list, candidate_window_p, next_window)
2282 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
2283 (Fget_buffer_window, Fdelete_other_windows_internal)
2284 (replace_buffer_in_windows_safely, set_window_buffer)
2285 (Fset_window_buffer, Fforce_window_update)
2286 (temp_output_buffer_show, make_parent_window)
2287 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
2288 (resize_frame_windows, Fsplit_window_internal)
2289 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
2290 (Fresize_mini_window_internal, mark_window_cursors_off)
2291 (window_scroll, window_scroll_pixel_based)
2292 (window_scroll_line_based, scroll_command, Fscroll_other_window)
2293 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
2294 (Fmove_to_window_line, Fset_window_configuration)
2295 (delete_all_child_windows, apply_window_adjustment)
2296 (set_window_fringes, set_window_scroll_bars)
2297 (Fset_window_vscroll, foreach_window, foreach_window_1)
2298 (compare_window_configurations, Fcompare_window_configurations):
2299 Prefer 'bool', 'true', and 'false' for booleans.
2300 * src/window.h (WINDOW_MODE_LINE_LINES)
2301 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
2303 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
2305 Speed up byte-compilation and autoload generation by avoiding mode-hooks
2306 This prevents emacs-lisp-mode-hook from being run everytime an
2307 autoload file is generated, which can account for a fraction of
2308 package installation time depending on the hooks the user has
2310 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
2311 * lisp/emacs-lisp/autoload.el (autoload-find-file)
2312 (autoload-find-generated-file): Use delay-mode-hooks.
2314 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'
2315 (package-menu-refresh): Respect async and do new package checking.
2316 (list-packages): Use `package-menu-refresh' instead of repeating code.
2318 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help
2319 (package--quick-help-keys): New variable.
2320 (package--prettify-quick-help-key): New function.
2321 (package-menu-quick-help): Use it.
2323 * lisp/emacs-lisp/package.el: Fix initially wrong compat table
2324 (package--build-compatibility-table): require finder
2326 * test/automated/package-test.el: Fix new test
2328 * lisp/emacs-lisp/package.el: Silence async operations
2329 (package--silence): New variable.
2330 (package--message): New function.
2331 (package-import-keyring, package-refresh-contents)
2332 (package-compute-transaction, package-install, package-delete)
2333 (package-menu--perform-transaction, package-menu-execute): Use it.
2335 * test/automated/package-test.el: Test async functionality
2336 (package-test-update-archives-async): New test
2338 2015-04-11 Daiki Ueno <ueno@gnu.org>
2340 Utilize `make-process' in epg.el
2341 * lisp/epg.el (epg-error-output): Abolish.
2342 (epg-context): New slot `error-buffer'.
2343 (epg--start): Use `make-process' and `make-pipe-process'.
2344 (epg--process-filter): Remove code separating stderr from stdout.
2345 (epg-wait-for-completion): Simplify `error-output' handling.
2346 (epg-reset): Dispose error buffer.
2348 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2350 * .gitignore: Ignore doc temps and outputs.
2352 Port commit-msg to MSYS Bash+Gawk
2353 See Eli Zaretskii in:
2354 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
2355 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
2356 (cent_sign, print_at_sign, at_sign): Revert previous change.
2357 (print_at_sign): Prepend "BEGIN".
2358 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
2360 Port commit-msg to broken MS-Windows shell
2361 * build-aux/git-hooks/commit-msg (cent_sign):
2362 Just use UTF-8 here rather than ASCII + printf, as the latter fails
2363 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
2364 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
2366 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
2368 Support GnuTLS v3.4 and later on MS-Windows
2369 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
2370 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
2371 GnuTLS DLL to load according to value of libgnutls-version.
2374 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
2376 Minor quoting etc. fixes to misc manuals
2377 Fix some minor quoting and spacing issues. Distinguish more
2378 clearly among grave accent and apostrophe (which are ASCII) and
2379 single quote (which is not). Prefer the standard terms
2380 "apostrophe" and "grave accent" to alternative names that can be
2381 confusing. Use apostrophes to single-quote ASCII text.
2382 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
2383 rather than approximating it in ASCII with grave accent.
2385 2015-04-11 Daiki Ueno <ueno@gnu.org>
2387 Respect more keyword args in `make-process'
2388 * process.c (Fmake_process): Respect `:sentinel' and `:filter'
2389 keywords as documented.
2391 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
2393 Extract ChangeLog entries when committing a directory
2394 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
2395 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
2396 Add a FIXME comment.
2397 (log-edit-changelog-entries): Extract from
2398 `log-edit-changelog-entries', handle FILE being a directory
2399 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
2401 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
2403 Fix problems found by --enable-gcc-warnings
2404 * src/process.c (create_process, Fmake_pipe_process)
2405 (Fmake_network_process): Omit unused locals.
2407 Fix commit-msg to handle scissors lines
2408 * build-aux/git-hooks/commit-msg:
2409 Ignore every line after a scissors line, such as a line generated
2410 by 'git commit -v'. Problem reported by Johan Bockgård in:
2411 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
2413 port commit-msg to Gawk 3.0.4 (1999)
2414 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
2415 (print_at_sign, at_sign): New vars. Use them to avoid problems
2416 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
2417 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
2419 Have commit-msg report commit failure
2420 * build-aux/git-hooks/commit-msg: If the commit is aborted,
2421 say so. Simplify by doing this at the end. Problem reported
2422 by Eli Zaretskii in:
2423 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
2425 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2427 Clean up LDAP Configuration section of EUDC manual
2428 * doc/misc/eudc.texi: Combine indices.
2429 (LDAP Configuration): Use command markup. Add index entries.
2430 Change formatting. Wrap long lines. Add noindent markup.
2432 2015-04-10 Daiki Ueno <ueno@gnu.org>
2434 Add facility to collect stderr of async subprocess
2435 * src/w32.h (register_aux_fd): New function declaration.
2436 * src/w32.c (register_aux_fd): New function.
2437 * src/process.h (struct Lisp_Process): New member stderrproc.
2438 * src/process.c (PIPECONN_P): New macro.
2439 (PIPECONN1_P): New macro.
2440 (Fdelete_process, Fprocess_status, Fset_process_buffer)
2441 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
2442 (Fcontinue_process): Handle pipe process specially.
2443 (create_process): Respect p->stderrproc.
2444 (Fmake_pipe_process): New function.
2445 (Fmake_process): Add new keyword argument :stderr.
2446 (wait_reading_process_output): Specially handle a pipe process when
2448 (syms_of_process): Register Qpipe and Smake_pipe_process.
2449 * doc/lispref/processes.texi (Asynchronous Processes): Document
2450 `make-pipe-process' and `:stderr' keyword of `make-process'.
2451 * lisp/subr.el (start-process): Suggest to use `make-process' handle
2452 standard error separately.
2453 * test/automated/process-tests.el (process-test-stderr-buffer)
2454 (process-test-stderr-filter): New tests.
2455 * etc/NEWS: Mention new process type `pipe' and its usage with the
2456 `:stderr' keyword of `make-process'.
2458 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
2460 Minor quoting etc. fixes to lispref manual
2461 * doc/lispref/tips.texi (Documentation Tips):
2462 Distinguish more clearly among grave accent, apostrophe,
2464 * doc/lispref/README, doc/lispref/buffers.texi:
2465 * doc/lispref/commands.texi, doc/lispref/control.texi:
2466 * doc/lispref/customize.texi, doc/lispref/display.texi:
2467 * doc/lispref/elisp.texi, doc/lispref/files.texi:
2468 * doc/lispref/frames.texi, doc/lispref/hash.texi:
2469 * doc/lispref/help.texi, doc/lispref/internals.texi:
2470 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
2471 * doc/lispref/markers.texi, doc/lispref/modes.texi:
2472 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
2473 * doc/lispref/os.texi, doc/lispref/positions.texi:
2474 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
2475 * doc/lispref/text.texi, doc/lispref/tips.texi:
2476 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
2477 Use American-style double quoting in ordinary text,
2478 and quote 'like this' when single-quoting in ASCII text.
2479 Also, fix some minor spacing issues.
2481 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
2483 Handle symlinked test directory in tramp-tests.el
2484 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
2485 (tramp--test-check-files): Use `file-truename' for directories.
2487 2015-04-10 Eli Zaretskii <eliz@gnu.org>
2489 Fix 'recenter' when visual-line-mode is turned on
2490 * src/window.c (Frecenter): Use the same code for GUI and TTY
2491 frames alike; use vmotion only for "initial" frames. This is
2492 because vmotion doesn't support visual-line-mode. Rewrite the
2493 'iarg >= 0' case to use move_it_* functions instead of using
2494 vmotion, for the same reason. Fix the clipping of the argument
2495 value to support scroll-margin in all cases and avoid unwarranted
2496 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
2497 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
2500 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2502 * abbrev.el (define-abbrev-table): Refine last change.
2504 cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r"
2505 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
2506 use of c[ad]+r", so as to keep the "cl-" prefix on all
2509 * vhdl-mode.el (vhdl-prepare-search-2): Use inhibit-point-motion-hooks
2511 * lisp/cedet/semantic: Remove some dead code
2512 * lisp/cedet/semantic/util-modes.el
2513 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
2515 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
2516 not supported any more.
2517 (semantic-safe): Use `declare'.
2518 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
2519 (semantic-tag-intangible-p): Remove unused functions.
2520 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
2521 Remove unused function.
2523 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
2524 (gnus-article-hide-text, gnus-article-unhide-text)
2525 (gnus-article-unhide-text-type): Remove special handling of
2526 `intangible' since that property is not used any more.
2527 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
2529 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
2531 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2533 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
2535 Use the VC root in `log-edit-listfun'
2536 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
2539 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
2541 Fix description of Unix time, mention new function.
2542 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
2544 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
2545 (Basic Operations on Units): Mention `calc-convert-exact-units'.
2547 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
2549 * lisp/emacs-lisp/package.el: Use mode-line-process for notification
2551 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
2553 (log-edit-insert-changelog-entries): Don't add newline after the last entry
2554 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
2555 Don't add newline after the last entry.
2557 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
2559 css-mode.el: Add "not" pseudo-class
2561 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
2562 list of CSS pseudo-classes.
2564 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2566 etc/NEWS: Add missing entry for "Stop messing with the EMACS env var"
2568 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
2570 Stop messing with the EMACS env var
2571 * misc.texi (Interactive Shell): Remove description of EMACS env var.
2573 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
2575 Adapt 'make change-history' to coding cookie
2576 * Makefile.in (change-history): Adjust to change of format of
2577 ChangeLog file, which now has a coding cookie before an indented
2580 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
2582 Adapt 'make change-history' to coding cookie
2583 * Makefile.in (change-history): Adjust to change of format of
2584 ChangeLog file, which now has a coding cookie before an indented
2587 gitlog-to-changelog coding cookie and mv -i
2588 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
2589 for copyright notice prototype, so that we get a proper "coding:"
2590 cookie. Use 'mv -i' to avoid unconditionally overwriting an
2591 existing ChangeLog. Problems reported by Eli Zaretskii in:
2592 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
2595 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
2596 2015-04-09 gitlog-to-changelog: port to MS-Windows
2598 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
2600 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
2603 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2605 Stop messing with the EMACS env var
2607 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
2608 * lisp/comint.el (comint-exec-1):
2609 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
2610 * lisp/progmodes/compile.el (compilation-start): Same and bring
2611 INSIDE_EMACS's format in line with other users.
2613 css-mode.el (css-smie-rules): Fix indentation after complex selectors
2615 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
2616 inner structure of selectors.
2618 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
2620 python.el: Indent docstring lines to base-indent
2622 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
2624 * lisp/progmodes/python.el
2625 (python-indent-context): Add :inside-docstring context.
2626 (python-indent--calculate-indentation): Handle :inside-docstring.
2627 (python-indent-region): Re-indent docstrings.
2628 * test/automated/python-tests.el (python-indent-region-5)
2629 (python-indent-inside-string-2): Fix tests.
2631 python.el: Increase native completion robustness
2633 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
2634 this and providing useful ideas.
2635 * lisp/progmodes/python.el
2636 (python-shell-completion-native-output-timeout): Increase value.
2637 (python-shell-completion-native-try-output-timeout): New var.
2638 (python-shell-completion-native-try): Use it.
2639 (python-shell-completion-native-setup): New readline setup avoids
2640 polluting current context, ensures output when no-completions are
2641 available and includes output end marker.
2642 (python-shell-completion-native-get-completions): Trigger with one
2643 tab only. Call accept-process-output until output end is found or
2644 python-shell-completion-native-output-timeout is exceeded.
2646 2015-04-08 Samer Masterson <samer@samertm.com>
2648 * lisp/eshell: Make backslash a no-op in front of normal chars
2650 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
2651 (eshell-parse-backslash): Return escaped character after backslash
2652 if it is special. Otherwise, if the backslash is not in a quoted
2653 string, ignore the backslash and return the character after; if
2654 the backslash is in a quoted string, return the backslash and the
2656 * test/automated/eshell.el (eshell-test/escape-nonspecial)
2657 (eshell-test/escape-nonspecial-unicode)
2658 (eshell-test/escape-nonspecial-quoted)
2659 (eshell-test/escape-special-quoted): Add tests for new
2660 `eshell-parse-backslash' behavior.
2662 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
2664 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
2665 after the file name.
2668 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
2670 Minor quoting etc. fixes to Emacs manual
2671 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
2672 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
2673 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
2674 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
2675 * doc/emacs/indent.texi, doc/emacs/macos.texi:
2676 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
2677 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
2678 * doc/emacs/search.texi, doc/emacs/trouble.texi:
2679 * doc/emacs/vc1-xtra.texi:
2680 Use American-style double quoting in ordinary text,
2681 and quote 'like this' when single-quoting in ASCII text.
2682 Also, fix some minor spacing issues.
2684 Minor quoting etc. fixes to elisp intro
2685 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
2686 American-style double quoting in ordinary text. In ASCII text,
2687 consistently quote 'like this' instead of `like this', unless
2688 Emacs requires the latter.
2690 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
2692 * CONTRIBUTE: Mention log-edit-insert-changelog.
2694 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
2696 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
2698 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
2700 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2702 (eieio-copy-parents-into-subclass): Fix inheritance of initargs
2704 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
2705 Fix inheritance of initargs.
2707 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
2709 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
2710 while dowloading information.
2712 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
2713 (package--ensure-init-file): Check file contents before visiting.
2714 (package-initialize): Call it.
2715 (package-install-from-buffer, package-install): Don't call it.
2717 2015-04-08 Eli Zaretskii <eliz@gnu.org>
2719 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800
2722 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
2724 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
2726 Fix nasty scoping bug in tramp-cache.el
2727 * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping bug.
2729 2015-04-08 Tassilo Horn <tsdh@gnu.org>
2731 Add notice to visual commands section
2732 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
2733 such as git call less with its -F option which omits pagination if
2734 the contents is less than one page long. This interferes with
2735 eshell's visual (sub-)commands.
2737 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
2739 ffap: Support environment variable expansion in file names
2741 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
2742 environment variable expansion in file names.
2744 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
2746 Prefer double-quote to accent-grave in man pages
2748 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
2753 2015-04-07 Ivan Shmakov <ivan@siamics.net>
2755 Update etc/PROBLEMS.
2756 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
2757 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
2758 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
2759 respectively); other minor updates and tweaks. (Bug#20011)
2761 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
2763 Add doc strings for some Isearch state vars
2764 * lisp/misearch.el (multi-isearch-buffer-list)
2765 (multi-isearch-file-list): Add doc strings.
2768 2015-04-07 Alan Mackenzie <acm@muc.de>
2770 Always mark "<" and ">" in #include directives with text properties.
2771 * lisp/progmodes/c-fonts.el (c-cpp-matchers): Replace a font-lock "anchored
2772 matcher" with an invocation of c-make-font-lock-search-function to allow
2773 fontification when there's no trailing space on an "#include <..>" line.
2775 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
2777 Generate a ChangeLog file from commit logs
2778 * .gitignore: Add 'ChangeLog'.
2779 * build-aux/gitlog-to-changelog: New file, from Gnulib.
2780 * build-aux/gitlog-to-emacslog: New file.
2781 * CONTRIBUTE: Document the revised workflow.
2782 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
2783 instead of just special cases.
2784 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
2785 (ChangeLog, unchanged-history-files, change-history)
2786 (change-history-commit): New rules.
2787 * admin/admin.el (make-manuals-dist--1):
2788 Don't worry about doc/ChangeLog.
2789 * admin/authors.el: Add a FIXME.
2790 * admin/make-tarball.txt:
2791 * lisp/calendar/icalendar.el:
2792 * lisp/gnus/deuglify.el:
2793 * lisp/obsolete/gulp.el:
2795 Adjust to renamed ChangeLog history files.
2796 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
2797 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
2798 Remove obsolete discussion of merging ChangeLog files.
2799 New section "Maintaining ChangeLog history".
2800 * build-aux/git-hooks/pre-commit:
2801 Reject attempts to commit files named 'ChangeLog'.
2802 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2803 * make-dist: Make and distribute top-level ChangeLog if there's a
2804 .git directory. Distribute the new ChangeLog history files
2805 instead of scattered ChangeLog files. Distribute the new files
2806 gitlog-to-changelog and gitlog-to-emacslog.
2809 Rename ChangeLogs for gitlog-to-changelog
2810 This patch was implemented via the following shell commands:
2811 find * -name ChangeLog |
2812 sed 's,.*,git mv & &.1,
2813 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
2814 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
2815 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
2816 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
2817 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
2819 git commit -am"[this commit message]"
2821 See ChangeLog.1 for earlier changes.
2827 Copyright (C) 2015 Free Software Foundation, Inc.
2829 This file is part of GNU Emacs.
2831 GNU Emacs is free software: you can redistribute it and/or modify
2832 it under the terms of the GNU General Public License as published by
2833 the Free Software Foundation, either version 3 of the License, or
2834 (at your option) any later version.
2836 GNU Emacs is distributed in the hope that it will be useful,
2837 but WITHOUT ANY WARRANTY; without even the implied warranty of
2838 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2839 GNU General Public License for more details.
2841 You should have received a copy of the GNU General Public License
2842 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.