1 2014-12-12 Michael Albinus <michael.albinus@gmx.de>
3 * simple.el (password-word-equivalents): Add "passcode", used for
4 numeric secrets like PINs or RSA tokens.
6 2014-12-10 Michael Albinus <michael.albinus@gmx.de>
8 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
9 order to determine `tramp-own-remote-path'.
11 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
13 * progmodes/python.el (python-shell-parse-command): Quote
14 `python-shell-interpreter`. (Bug#19289)
16 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
18 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
19 of the whole pipe when indenting an opening keyword after a |.
20 Generalize this treatment to opening keywords like "while" (bug#18031).
22 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
24 * simple.el (newline): Place the hook buffer-locally,
25 to make sure it's first.
27 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
28 Fix handling of symbols with different syntax at beginning/end or with
29 symbol rather than word syntax.
31 2014-11-30 Eli Zaretskii <eliz@gnu.org>
33 * simple.el (line-move): If noninteractive, call line-move-1, not
34 forward-line, since the former is compatible with line-move-visual
35 both in terms of the column to which it moves and the return
38 2014-11-27 Stephen Berman <stephen.berman@gmx.net>
39 Stefan Monnier <monnier@iro.umontreal.ca>
41 * outline.el (outline-move-subtree-down): Make sure we can move
42 forward to find the end of the subtree and the insertion point
45 2014-11-27 Leonard Randall <leonard.a.randall@gmail.com>
47 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
48 for comment lines non-greedy and stopping at newlines to fix stack
49 overflows with large files. [Backport]
51 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
53 * progmodes/python.el (python-shell-completion-setup-code): Use
54 __builtin__ module (or builtins in Python 3) and catch all errors
55 when importing readline and rlcompleter.
57 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
59 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
60 (todo-revert-buffer): New function.
61 (todo-modes-set-1): Use it as the buffer-local value of
62 revert-buffer-function.
64 2014-11-26 Stephen Berman <stephen.berman@gmx.net>
66 * calendar/todo-mode.el (todo-mode): If called interactively, just
67 display a message saying to call todo-show to enter Todo mode
70 2014-11-24 Dmitry Gutov <dgutov@yandex.ru>
72 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
75 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
78 2014-11-23 Michael Albinus <michael.albinus@gmx.de>
80 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
81 remote `buffer-file-name'.
83 2014-11-23 Leo Liu <sdl.web@gmail.com>
85 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
87 2014-11-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
89 Set PYTHONUNBUFFERED on shell startup.
91 * progmodes/python.el (python-shell-unbuffered): New var.
92 (python-shell-calculate-process-environment): Use it.
94 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
96 * net/tramp.el (tramp-action-password): Clean password on subsequent
97 attempts even if there was no wrong password indication. (Bug#19047)
99 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
101 (tramp-open-connection-setup-interactive-shell): No need to check
102 for nil as `tramp-get-remote-locale' return value.
104 2014-11-21 Eli Zaretskii <eliz@gnu.org>
106 * vc/vc-git.el (vc-git-command, vc-git--call): Bind
107 coding-system-for-read and coding-system-for-write to
108 vc-git-commits-coding-system.
109 (vc-git-previous-revision): Use "~1" instead of "^", since the
110 latter is a special character for MS-Windows system shells.
112 2014-11-20 Michael Albinus <michael.albinus@gmx.de>
114 Improve XEmacs compatibility.
116 * net/tramp.el (tramp-autoload-file-name-handler):
117 Wrap `temporary-file-directory' by `symbol-value', it doesn't
119 (tramp-read-passwd): Don't use `with-timeout-suspend' and
120 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
121 (tramp-time-less-p, tramp-time-subtract): Remove functions.
122 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
123 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
124 * net/tramp-cache.el (tramp-get-file-property):
125 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
126 Use `time-less-p' and `time-subtract, respectively.
128 * net/tramp-adb.el (top): Do not require time-date.el.
130 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
132 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
133 Check, whether `utf-8' is a valid coding system.
135 2014-11-19 Eli Zaretskii <eliz@gnu.org>
137 * vc/vc.el (vc-retrieve-tag): Doc fix.
139 2014-11-17 Eli Zaretskii <eliz@gnu.org>
141 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
142 Don't assume --long is the default for "bzr log", always specify
143 it explicitly, in case the user defined an alias for 'log' that
144 uses some other format.
146 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
148 * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
149 shell output before returning. (bug#18794)
151 2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
153 Fix indentation before `!=' and after `+='. Originally reported
154 in https://github.com/mooz/js2-mode/issues/174.
155 * progmodes/js.el (js--indent-operator-re): Make assignments and
156 (in)equality operator a separate case.
157 (js--continued-expression-p): Escape the second `+' in the regexp.
159 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
161 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
163 2014-11-15 Andreas Schwab <schwab@linux-m68k.org>
165 * version.el (emacs-repository-get-version): Use git rev-parse
168 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
170 * progmodes/python.el (python-indent-calculate-levels): Fix
171 indentation behavior multiline dedenter statement. (Bug#18432)
173 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
175 * progmodes/python.el (python-indent-region): Use
176 python-indent-line and skip special cases. (Bug#18843)
178 2014-11-15 Michael Albinus <michael.albinus@gmx.de>
180 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
182 2014-11-15 Peder O. Klingenberg <peder@klingenberg.no>
184 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
185 envelope-from when reporting through sendmail (bug#19054).
187 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
189 * progmodes/python.el (python-ffap-module-path): Use
190 `derived-mode-p' instead of equality test on `major-mode'.
192 2014-11-13 Ulrich Müller <ulm@gentoo.org>
194 * version.el (emacs-repository-get-version): Call `git log'
195 command with proper format argument (bug#19049).
197 2014-11-10 Glenn Morris <rgm@gnu.org>
199 * startup.el (command-line): Handle nil elements in load-path.
201 2014-11-08 Glenn Morris <rgm@gnu.org>
203 * emacs-lisp/bytecomp.el (byte-compile-report-error):
204 Allow the argument to be a string. Due to the vague doc,
205 it was already being used this way.
207 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
209 * net/tramp.el (tramp-check-cached-permissions): Include hop in
210 the constructed Tramp file name. (Bug#18943)
212 2014-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
214 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
216 (cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
217 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
219 2014-11-07 Michael Albinus <michael.albinus@gmx.de>
221 * files.el (file-name-non-special): Wrap the call of
222 `insert-file-contents' by `unwind-protect', in order to set the
223 buffer's file name anyway. (Bug#18891)
225 2014-11-07 Daiki Ueno <ueno@gnu.org>
227 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
228 (bug#18979). Reported by Hideki Saito.
230 2014-10-18 Alan Mackenzie <acm@muc.de>
232 Check that a "macro" found near point-min isn't a ## operator.
233 Fixes bug #18749. Backported from trunk, 2014-11-05.
234 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
235 (c-beginning-of-macro): Use the above new function.
237 2014-11-05 Alan Mackenzie <acm@muc.de>
239 Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
240 * progmodes/cc-fonts.el (c-font-lock-declarations): Pass
241 "(point-max)" as bound to c-font-lock-declarators, not "limit", as
242 the buffer is sometimes narrowed to less than "limit" (e.g., in
243 the presence of macros).
245 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
247 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
248 only when message appeared in minibuffer. (Bug#18891)
250 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
251 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
252 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
255 2014-11-04 Eli Zaretskii <eliz@gnu.org>
257 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
258 returned by load-average.
260 2014-11-04 Michael Albinus <michael.albinus@gmx.de>
262 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
263 a local copy; setting `inhibit-file-name-handlers' proper might be
264 more performant. (Bug#18751)
266 2014-11-04 Glenn Morris <rgm@gnu.org>
268 * mail/emacsbug.el (report-emacs-bug): No longer include
269 recent-keys in the report. (Bug#18900)
271 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
273 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
274 local copy of FILENAME, when it is remote. (Bug#18751)
276 2014-11-02 Michael Albinus <michael.albinus@gmx.de>
278 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
279 an error when the command fails; the return code must indicate.
280 (tramp-adb-send-command-and-check): Fix docstring.
282 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
284 * net/tramp-cache.el (tramp-get-file-property)
285 (tramp-set-file-property): Check, that `tramp-cache-get-count-*'
286 and `tramp-cache-set-count-*' are bound. Otherwise, there might
287 be compiler warnings.
289 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
290 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
292 2014-11-01 Eli Zaretskii <eliz@gnu.org>
294 * progmodes/compile.el (compilation-mode): Turn off deferred
295 fontifications locally. (Bug#18856)
297 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
299 * net/tramp-sh.el (tramp-send-command): Fix the case where the
300 remote-echo connection property is non-nil (bug#18858).
302 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
304 Backport Tramp changes from trunk.
306 * net/tramp.el (tramp-methods): Tweak docstring.
307 (tramp-file-name-handler): Apply `cons' where appropriate.
308 (tramp-handle-file-accessible-directory-p): Check for
309 `file-readable-p' instead of `file-executable-p'.
310 (tramp-handle-shell-command): Use `display-buffer'. (Bug#18326)
311 (tramp-handle-unhandled-file-name-directory): Return "/".
312 (tramp-check-cached-permissions):
313 Use `tramp-compat-file-attributes'.
314 (tramp-call-process): Add new argument VEC. Adapt callees in all
317 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
318 (tramp-adb-handle-write-region): Improve messages.
319 (tramp-adb-maybe-open-connection): Don't set
320 `tramp-current-*' variables.
322 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
323 Suppress debug messages.
325 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
326 (tramp-ftp-file-name-handler):
328 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
329 (tramp-gvfs-methods-mounttracker)
330 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
331 during initialization. (Bug#18774)
332 (tramp-gvfs-handle-delete-file): Flush file properties, not
333 directory properties.
334 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
335 reading "unix::mode".
336 (tramp-gvfs-handle-file-name-all-completions):
337 Use "-h" option for "gvfs-ls".
338 (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
339 `user' and `localname' could be nil.
340 (tramp-gvfs-send-command): Simplify traces.
342 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
343 (vc-git-program, vc-hg-program): Declare.
344 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
345 (tramp-methods) <nc>: Add new method.
346 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
347 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
349 (tramp-default-user-alist): Add "nc".
350 (top): Remove completion function for "sftp". Add completion
351 functions for "nc" and "psftp".
352 (tramp-sh-handle-set-visited-file-modtime):
353 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
354 (tramp-do-copy-or-rename-file-out-of-band):
355 Use cached "remote-copy-args" value, if available. (Bug#18199)
356 Tweak docstring. Implement support for "nc" method.
357 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
358 (tramp-remote-coding-commands, tramp-call-local-coding-command):
360 (tramp-sh-handle-start-file-process): Expand `default-directory'.
361 (tramp-sh-handle-write-region): Tweak error message.
362 (tramp-sh-handle-vc-registered): Remove backends when the remote
363 binary does not exist.
364 (tramp-open-connection-setup-interactive-shell):
365 Prefer utf-8 coding. (Bug#17859)
366 (tramp-find-inline-encoding): Do not raise an error.
367 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
368 the "nc" case. Quote result also locally.
369 (tramp-get-remote-id): Check also for "gid".
370 (tramp-get-remote-python):
372 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
373 (tramp-smb-handle-set-file-acl): Use `start-process'.
374 (tramp-smb-handle-insert-directory): Use progress reporter.
375 (tramp-smb-handle-rename-file): Flush also file properties of
378 * net/trampver.el: Update release number.
380 2014-11-01 Reuben Thomas <rrt@sc3d.org>
382 * net/tramp.el (tramp-handle-file-symlink-p):
383 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
384 about VMS, which we no longer support.
386 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
388 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
389 the global vc-handled-backends (bug#18535).
391 2014-11-01 Jérémy Compostella <jeremy.compostella@intel.com>
392 Michael Albinus <michael.albinus@gmx.de>
394 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
395 Reduce the amount of set environment variable commands.
397 2014-11-01 Paul Eggert <eggert@cs.ucla.edu>
399 * net/tramp-sh.el (tramp-get-remote-touch): Omit unnecessary call to
402 2014-11-01 Emilio C. Lopes <eclig@gmx.net>
404 * net/tramp-sh.el (tramp-get-remote-python): Also search for
405 executables named "python2" or "python3".
406 (tramp-get-remote-uid-with-python): Use parentheses around
407 arguments to `print' to make it compatible with Python 3.
408 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
410 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
412 * simple.el (newline): Add assertions to try and help catch bug#18913.
414 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
416 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
418 2014-10-31 Eli Zaretskii <eliz@gnu.org>
420 * Makefile.in (repo-update): Fix a typo and slightly reword
423 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
425 * Makefile.in: Change some production names so they're neutral
426 about the repository type.
428 2014-10-30 Kim F. Storm <storm@cua.dk>
430 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
431 * delsel.el (delete-selection-save-to-register)
432 (delsel--replace-text-or-position): New vars.
433 (delete-active-region): Use them.
434 (delete-selection-repeat-replace-region): New command, moved from
436 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
437 (cua-repeat-replace-region): Move command to delsel.el.
438 (cua--init-keymaps): Update binding accordingly.
439 (cua-mode): Set delete-selection-save-to-register.
441 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
443 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
445 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
447 2014-10-29 Eli Zaretskii <eliz@gnu.org>
449 * progmodes/compile.el (compilation-start):
450 If compilation-scroll-output is non-nil, don't force window-start of
451 the compilation buffer to be at beginning of buffer. (Bug#18874)
453 2014-10-23 Tassilo Horn <tsdh@gnu.org>
455 * doc-view.el (doc-view-open-text): View the document's plain text
456 in the current buffer instead of a new one.
457 (doc-view-toggle-display): Handle the case where the current
458 buffer contains the plain text contents of the document.
459 (doc-view-initiate-display): Don't switch to fallback mode if the
460 user wants to view the doc's plain text. [Backport]
462 2014-10-23 Eli Zaretskii <eliz@gnu.org>
464 * startup.el (fancy-about-text): Read the entire tutorial, not
465 just its first 256 bytes. (Bug#18760)
467 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
469 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
470 * emacs-lisp/cl-extra.el: Add missing provide.
472 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
474 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
475 all args are copyable (bug#18767).
476 (=, <, >, <=, >=): Re-enable the optimization.
478 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
480 * vc/vc-hg.el (vc-hg-log-graph): New var.
481 (vc-hg-print-log): Use it.
482 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
483 graph output (bug#17515).
485 2014-10-20 Juri Linkov <juri@jurta.org>
487 * vc/diff-mode.el (diff-refine-changed): Rename from
488 `diff-refine-change' for consistency with `diff-changed'.
489 (diff-refine-change): Add obsolete face alias. (Bug#10181)
491 * vc/smerge-mode.el (smerge-refined-changed): Rename from
492 `smerge-refined-change'.
493 (smerge-refined-change): Add obsolete face alias.
495 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
497 * subr.el (call-process-shell-command, process-file-shell-command):
498 Make the `args' obsolete (bug#18409).
499 (start-process-shell-command, start-file-process-shell-command):
502 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
504 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
506 2014-10-20 Glenn Morris <rgm@gnu.org>
508 * dired.el (dired-read-regexp): Make obsolete.
509 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
510 (dired-flag-files-regexp):
511 * dired-aux.el (dired-mark-read-regexp):
512 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
514 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
516 * progmodes/python.el (inferior-python-mode): Use add-hook.
518 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
520 2014-10-20 Glenn Morris <rgm@gnu.org>
522 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
523 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
524 * emulation/ws-mode.el: Move to obsolete/. [Backport]
526 2014-10-20 Glenn Morris <rgm@gnu.org>
528 * cus-start.el (history-length): Bump :version. [Backport]
530 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
532 * obsolete/cc-compat.el: Make obsolete (bug#18561).
534 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
536 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
539 2014-10-20 Glenn Morris <rgm@gnu.org>
541 * Version 24.4 released.
543 2014-10-15 Alan Mackenzie <acm@muc.de>
545 * cus-edit.el (custom-command-apply): Specify the return value in
547 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
548 custom-command-apply has returned non-nil.
550 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
552 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
553 Backported (bug#18688).
555 2014-10-14 Eli Zaretskii <eliz@gnu.org>
557 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
558 Force bidi-paragraph-direction to 'left-to-right'. This fixes
559 buffer-menu display when the first buffer happens to start with
562 2014-10-13 Glenn Morris <rgm@gnu.org>
564 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
565 (authors-obsolete-files-regexps): Additions.
566 (authors-no-scan-regexps): New constant.
567 (authors-no-scan-file-p): New function.
568 (authors): Respect authors-no-scan-file-p.
570 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
572 Fix import completion. (Bug#18582)
573 * progmodes/python.el (python-shell-completion-get-completions):
574 Fix import case regexp.
576 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
578 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
579 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
580 * progmodes/prolog.el (prolog-electric--underscore): Same.
582 2014-10-09 Glenn Morris <rgm@gnu.org>
584 * frame.el (display-monitor-attributes-list): Doc tweaks.
586 2014-10-08 Eli Zaretskii <eliz@gnu.org>
588 * faces.el (display-grayscale-p): Mention in the doc string that
589 the argument can be either a display name or a frame.
591 * frame.el (display-pixel-height, display-pixel-width)
592 (display-mm-height, display-mm-width, display-backing-store)
593 (display-save-under, display-planes, display-color-cells)
594 (display-visual-class, display-monitor-attributes-list)
595 (display-screens): Mention in the doc string that the argument can
596 be either a display name or a frame. Improve the docs of the
597 monitor attributes. (Bug#18636)
599 2014-10-06 Martin Rudalics <rudalics@gmx.at>
601 * term.el (term-window-width): Subtract 1 from the width when
602 any fringe has zero width, not just the right fringe. (Bug#18601)
604 2014-10-05 Leo Liu <sdl.web@gmail.com>
606 * imenu.el (imenu-default-goto-function): Fix typo.
608 2014-10-04 Glenn Morris <rgm@gnu.org>
610 * frame.el (frame-monitor-attributes)
611 (display-monitor-attributes-list): Doc fixes.
613 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
615 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
616 (vc-svn-ignore): Use it. (Bug#18619)
618 2014-10-03 Martin Rudalics <rudalics@gmx.at>
620 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
621 In doc-string mention need to set `frame-resize-pixelwise'.
623 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
625 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
626 similarly to Rogers's 2010-06-16 change for the remote case
629 2014-10-01 Glenn Morris <rgm@gnu.org>
631 * emacs-lisp/package.el (package-import-keyring):
632 Create gnupg directory private. (Bug#17625#155)
634 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
636 * progmodes/python.el (python-shell-completion-get-completions):
637 Use python-shell--prompt-calculated-input-regexp from the
638 process buffer (bug#18582).
639 Don't assume that `line' comes from the process buffer.
641 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
643 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
646 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
648 * emacs-lisp/package.el (package-check-signature): Default to nil if
649 GPG is not available.
650 (package-refresh-contents): Don't mess with the keyring if we won't
651 check the signatures anyway.
653 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
655 * window.el (fit-window-to-buffer): When counting buffer width,
656 count the whole visible buffer. Correctly convert the body-height
657 to pixel size for window-text-pixel-size (Bug#18498).
659 2014-09-14 Glenn Morris <rgm@gnu.org>
661 * image.el (image-multi-frame-p): Fix thinko - do not force
662 a delay if none was specified. (Bug#18334)
664 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
666 * window.el (fit-window-to-buffer): Doc fix.
668 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
670 * desktop.el (desktop-create-buffer): Check that buffers are still live
671 before burying them (bug#18373).
673 2014-09-09 Glenn Morris <rgm@gnu.org>
675 * calendar/diary-lib.el (diary-list-entries):
676 Restore 24.3 display behavior. (Bug#18381)
678 2014-09-09 Eli Zaretskii <eliz@gnu.org>
680 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
681 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
682 discrepancy between window-pixel-edges and mouse events, and
683 avoids moving mode line up when the mouse click is on the modeline
684 and no drag is attempted.
686 2014-09-08 Glenn Morris <rgm@gnu.org>
688 * calendar/calendar.el (calendar-basic-setup):
689 Avoid clobbering calendar with diary. (Bug#18381)
691 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
693 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
695 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
697 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
700 2014-09-04 Eli Zaretskii <eliz@gnu.org>
702 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
704 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
706 * emacs-lisp/package.el (package-generate-description-file):
707 Properly quote the arguments (bug#18332). Change second arg.
708 (package--alist-to-plist-args): Rename from package--alist-to-plist and
710 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
711 the *-pkg.el file. Adjust to new calling convention of
712 package-generate-description-file.
714 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
715 (gud-gdb-completions): Remove obsolete workaround.
717 2014-09-02 Eli Zaretskii <eliz@gnu.org>
719 * subr.el (posn-col-row): Revert the change from commit
720 2010-11-13T21:07:58Z!eliz@gnu.org, which
721 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
722 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
723 introduced an off-by-one error in the reported row when there is a
724 header line. (Bug#18384)
726 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
728 * progmodes/python.el (python-indent-post-self-insert-function):
729 Avoid electric colon at beginning-of-defun. (Bug#18228)
731 2014-09-01 Glenn Morris <rgm@gnu.org>
733 * tutorial.el (tutorial--display-changes):
734 Fix 2014-07-29 change. (Bug#18382)
736 2014-08-29 Ken Brown <kbrown@cornell.edu>
738 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
739 the Cygwin-w32 build. (Bug#18347)
741 2014-08-28 Glenn Morris <rgm@gnu.org>
743 * tar-mode.el (tar--extract, tar-extract):
744 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
746 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
748 * emacs-lisp/authors.el (authors-aliases): Addition.
750 * net/tramp-adb.el: Spell author name correctly.
752 2014-08-27 João Távora <joaotavora@gmail.com>
754 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
755 use url-expand-file-name. (Bug#18310)
757 2014-08-25 Glenn Morris <rgm@gnu.org>
759 * emulation/cua-rect.el (cua--highlight-rectangle):
760 Avoid error at point-min. (Bug#18309)
762 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
764 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
765 executable-find (bug#18244).
767 * simple.el (self-insert-uses-region-functions): Defvar.
769 2014-08-13 Leo Liu <sdl.web@gmail.com>
771 * speedbar.el (speedbar-generic-list-tag-p): Allow special
774 2014-08-11 Glenn Morris <rgm@gnu.org>
776 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
778 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
779 chose coding system for writing before backing up, since it causes
780 a more serious problem than the one it solves. (Closes Bug#18141,
783 2014-08-10 Martin Rudalics <rudalics@gmx.at>
785 * window.el (window-total-size): Make doc-string more
788 2014-08-09 Martin Rudalics <rudalics@gmx.at>
790 * window.el (display-buffer-below-selected): Restore original
791 behavior if buffer is already displayed in the window below the
792 selected one (Bug#18181).
794 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
796 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
799 2014-08-08 Eli Zaretskii <eliz@gnu.org>
801 * info.el (info): Doc fix.
803 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
805 * info.el (Info-mode-map): Override a global down-mouse-2 binding
808 2014-08-05 Eli Zaretskii <eliz@gnu.org>
810 * simple.el (default-line-height): A floating-point value of
811 line-spacing means a fraction of the default frame font's height,
812 not of the font currently used by the 'default' face.
813 Truncate the pixel value, like the display engine does.
814 (window-screen-lines): Use window-inside-pixel-edges for
815 determining the window height in pixels. (Bug#18195)
817 2014-07-29 Eli Zaretskii <eliz@gnu.org>
819 * tutorial.el (tutorial--display-changes): Accept punctuation
820 characters before the key binding. (Bug#18146)
822 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
824 * doc-view.el (doc-view-open-text): Don't require that the
825 document is saved in a file (e.g., email attachment).
827 2014-07-27 Eli Zaretskii <eliz@gnu.org>
829 * window.el (window--pixel-to-total): Use FRAME's root window, not
830 that of the selected frame. (Bug#18112, Bug#16674)
832 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
834 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
837 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
839 * progmodes/python.el (inferior-python-mode): Doc fix.
841 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
843 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
844 not a character, ignore it instead of raising an error.
846 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
848 * calendar/todo-mode.el: Fix handling of marked items and make
849 minor code improvements.
850 (todo-edit-item): If there are marked items, ensure user can only
851 invoke editing commands that work with marked items.
852 (todo-edit-item--text): When there are marked items, make it a
853 noop if invoked with point not on an item; otherwise, ensure it
854 applies only to item at point.
855 (todo-item-undone): If there are marked not-done items, return
856 point to its original position before signaling user error.
857 (todo--user-error-if-marked-done-item): New function.
858 (todo-edit-item--header, todo-edit-item--diary-inclusion)
859 (todo-item-done): Use it.
861 2014-07-25 Glenn Morris <rgm@gnu.org>
863 * files.el (toggle-read-only): Re-add basic doc-string.
864 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
866 * progmodes/prolog.el (prolog-mode-keybindings-edit):
867 Replace missing `switch-to-prolog' with `run-prolog'.
868 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
870 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
872 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
873 of file-wide setting when changing category-wide setting.
875 2014-07-21 Glenn Morris <rgm@gnu.org>
877 * progmodes/hideif.el (hide-ifdef-mode-submap):
878 Also substitute read-only-mode.
879 * bindings.el (mode-line-toggle-read-only):
880 * bs.el (bs-toggle-readonly):
881 * buff-menu.el (Buffer-menu-toggle-read-only):
882 * dired.el (dired-toggle-read-only):
883 * files.el (view-read-only, find-file-read-only)
884 (find-file-read-only-other-window)
885 (find-file-read-only-other-frame):
886 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
887 Doc fixes re toggle-read-only.
889 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
891 * progmodes/python.el: Add comment about pipe buffering and
892 solutions for missing/delayed output in inferior Python shells.
895 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
897 * progmodes/python.el (python-mode): Don't set
898 mode-require-final-newline. (Bug#17990)
900 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
902 Make python.el work with IPython automatically. (Bug#15510)
903 * progmodes/python.el:
904 (python-shell-completion-setup-code): New value supporting iPython.
905 (python-shell-completion-string-code): New value supporting iPython.
906 (python-shell-completion-get-completions): Use them.
907 (python-shell-completion-module-string-code): Make obsolete.
908 (python-shell-prompt-input-regexps)
909 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
910 (python-shell-output-filter): Fix comment typo.
912 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
914 Fix Python shell prompts detection for remote hosts.
915 * progmodes/python.el (python-shell-prompt-detect):
916 Replace call-process with process-file and make it more robust.
918 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
920 Autodetect Python shell prompts. (Bug#17370)
921 * progmodes/python.el:
922 (python-shell-interpreter-interactive-arg)
923 (python-shell-prompt-detect-enabled)
924 (python-shell-prompt-detect-failure-warning)
925 (python-shell-prompt-input-regexps)
926 (python-shell-prompt-output-regexps): New vars.
927 (python-shell-prompt-calculated-input-regexp)
928 (python-shell-prompt-calculated-output-regexp): New vars.
929 (python-shell-get-process-name)
930 (python-shell-internal-get-process-name)
931 (python-shell-output-filter)
932 (python-shell-completion-get-completions): Use them.
933 (python-shell-prompt-detect)
934 (python-shell-prompt-validate-regexps): New functions.
935 (python-shell-prompt-set-calculated-regexps): New function.
936 (inferior-python-mode): Use it. Also honor overridden
937 python-shell-interpreter and python-shell-interpreter-args.
938 (python-shell-make-comint): Honor overridden
939 python-shell-interpreter and python-shell-interpreter-args.
940 (python-shell-get-or-create-process): Make it testable by allowing
941 to call run-python non-interactively.
942 (python-util-valid-regexp-p): New function.
943 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
944 (python-shell-prompt-output-regexp)
945 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
947 2014-07-16 Glenn Morris <rgm@gnu.org>
949 * desktop.el (after-init-hook): Disable startup frame restoration
950 in non-graphical situations. (Bug#17693)
952 2014-07-14 Glenn Morris <rgm@gnu.org>
954 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
955 if it was "empty", or used for a different set of files. (Bug#17884)
957 2014-07-13 Eli Zaretskii <eliz@gnu.org>
959 * bindings.el (mode-line-remote): If default-directory is not a
960 string, don't call file-remote-p on it; instead state in the
961 help-echo that it is nil. (Bug#17986)
963 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
965 Fix bug: C-x v v discarded existing log message (Bug#17884).
966 * vc/vc-dispatcher.el (vc-log-edit):
967 Don't clobber an already-existing log message.
969 2014-07-10 Glenn Morris <rgm@gnu.org>
971 * vc/log-edit.el (log-edit-changelog-entries):
972 Check for a visited-but-never-saved ChangeLog.
974 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
976 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
977 a non-existing file (bug#17970).
979 * faces.el (face-name): Undo last change.
980 (x-resolve-font-name): Don't call face-name (bug#17956).
982 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
984 Fix dedenters and electric colon handling. (Bug#15163)
986 * progmodes/python.el
987 (python-rx-constituents): Add dedenter and block-ender.
988 (python-indent-dedenters, python-indent-block-enders): Delete.
989 (python-indent-context): Return new case for dedenter-statement.
990 (python-indent-calculate-indentation): Handle new case.
991 (python-indent-calculate-levels): Fix levels calculation for
993 (python-indent-post-self-insert-function): Fix colon handling.
994 (python-info-dedenter-opening-block-message): New function.
995 (python-indent-line): Use it.
996 (python-info-closing-block)
997 (python-info-closing-block-message): Remove.
998 (python-info-dedenter-opening-block-position)
999 (python-info-dedenter-opening-block-positions)
1000 (python-info-dedenter-statement-p): New functions.
1002 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
1005 the middle of a line (bug#17896).
1007 2014-07-08 Juri Linkov <juri@jurta.org>
1009 * startup.el (command-line): Append displaying the warning about
1010 the errors in the init file to the end of `after-init-hook'.
1013 2014-07-08 Juri Linkov <juri@jurta.org>
1015 * faces.el (face-name): Return input arg `face' as is
1016 when it's not a symbol.
1017 (x-resolve-font-name): Don't check if the face is a symbol.
1020 2014-07-08 Juri Linkov <juri@jurta.org>
1022 * facemenu.el (list-colors-print): In help-echo format use %.2f
1023 instead of %d because now HSV values are floating-point components
1024 between 0.0 and 1.0.
1026 2014-07-06 Glenn Morris <rgm@gnu.org>
1028 * emulation/cua-rect.el (cua--activate-rectangle):
1029 Avoid setting cua--rectangle to nil. (Bug#17877)
1031 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
1033 * calendar/todo-mode.el: Fix wrong-type-argument error when
1034 marking multiple consecutive items.
1035 (todo-toggle-mark-item): Don't try to mark the empty lines at the
1036 end of the todo and done items sections. Note in doc string that
1037 items marked by passing a numeric prefix argument can include the
1038 last todo and first done items.
1039 (todo-mark-category): Don't try to mark the empty line between the
1040 todo and done items sections.
1042 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
1045 proper Lisp quoting (bug#17934).
1047 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
1048 require-final-newline since prog-mode already took care of it (bug#17947).
1050 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
1052 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
1053 refer to the Todo mode Info manual. Update the comment on
1055 (todo-find-filtered-items-file): Add todo-prefix overlays.
1056 (todo-filter-items): Reorder a let-bound variable to avoid a
1057 wrong-type-argument error on canceling the file choice dialog.
1059 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1061 * progmodes/octave.el (inferior-octave-mode):
1062 Set comint-input-ring-size to a number (bug#17912).
1064 2014-07-03 Juri Linkov <juri@jurta.org>
1066 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
1067 and `isearch-mode' associated with nil. (Bug#17849)
1069 2014-07-02 Juri Linkov <juri@jurta.org>
1071 * desktop.el (desktop-save): Rename arg `auto-save' to
1072 `only-if-changed'. Doc fix. (Bug#17873)
1074 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1076 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
1077 Use insert-for-yank (bug#17271).
1079 2014-07-02 Leo Liu <sdl.web@gmail.com>
1081 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
1082 Support lexical-binding.
1084 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1086 * vc/log-edit.el (log-edit-goto-eoh): New function.
1087 (log-edit--match-first-line): Use it (bug#17861).
1089 2014-07-01 Glenn Morris <rgm@gnu.org>
1091 * vc/log-edit.el (log-edit-hook): Add missing :version.
1093 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
1095 * progmodes/python.el (python-indent-post-self-insert-function):
1096 Enhancements to electric indentation behavior inside
1099 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
1102 buffer-invisibility-spec (bug#17867).
1104 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
1106 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
1109 2014-06-29 Glenn Morris <rgm@gnu.org>
1111 * cus-edit.el (help):
1112 * finder.el (finder-known-keywords):
1113 * help.el (help-for-help-internal):
1114 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
1115 (ediff-redraw-registry-buffer):
1116 * vc/ediff-ptch.el (ediff-patch-file-internal):
1117 Doc fixes re "online" help. (Bug#17803)
1119 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
1120 (idlwave-mode): Doc URL update.
1122 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
1124 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
1125 account for file-wide setting of todo-top-priorities-overrides.
1126 Make code a bit cleaner.
1128 2014-06-27 Leo Liu <sdl.web@gmail.com>
1130 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1132 2014-06-27 Glenn Morris <rgm@gnu.org>
1134 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
1136 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
1138 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
1139 category-wide setting of todo-top-priorities-overrides, check for
1140 a file-wide setting and fontify accordingly.
1142 2014-06-26 Glenn Morris <rgm@gnu.org>
1144 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
1146 2014-06-26 Daiki Ueno <ueno@gnu.org>
1148 * emacs-lisp/package.el (package--check-signature):
1149 If package-check-signature is allow-unsigned, don't signal error when
1150 we can't verify signature because of missing public key
1151 (backport for bug#17625).
1153 2014-06-26 Glenn Morris <rgm@gnu.org>
1155 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
1156 Remove outdated declaration.
1158 * emacs-lisp/authors.el (authors-valid-file-names)
1159 (authors-renamed-files-alist): Additions.
1161 2014-06-25 Leo Liu <sdl.web@gmail.com>
1163 * textmodes/picture.el (picture-set-tab-stops):
1164 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
1165 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
1167 * progmodes/asm-mode.el (asm-calculate-indentation):
1168 Use indent-next-tab-stop.
1170 * indent.el (indent-accumulate-tab-stops): New function.
1172 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
1175 (package-desc-status): Obey it.
1177 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
1179 * calendar/todo-mode.el: Fix two bugs.
1180 (todo-insert-item--basic): If user cancels item insertion to
1181 another category before setting priority, show original category
1182 whether it is in the same or a different file.
1183 (todo-set-item-priority): After selecting category, instead of
1184 moving point to top, which extends an active region, restore it.
1186 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * help-fns.el (describe-function-1): Check file-name is a string before
1189 calling help-fns--autoloaded-p (bug#17564).
1191 2014-06-24 Juri Linkov <juri@jurta.org>
1193 * desktop.el (desktop-auto-save-enable)
1194 (desktop-auto-save-disable): New functions.
1195 (desktop-save-mode, desktop-auto-save-timeout): Use them.
1196 (desktop-read): Disable the autosave before loading the desktop,
1197 and enable afterwards. (Bug#17351)
1199 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
1201 Fix some indentation problem with \; and pipes (bug#17842).
1202 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
1203 (sh-smie--default-forward-token, sh-smie--default-backward-token):
1205 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
1206 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
1207 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
1209 2014-06-24 Eli Zaretskii <eliz@gnu.org>
1211 * international/fontset.el (script-representative-chars):
1212 Add representative characters for scripts added in Unicode 7.0.
1213 (otf-script-alist): Synchronize with the latest registry of OTF
1216 * international/characters.el (char-script-table): Update for
1217 scripts added and codepoint ranges changed in Unicode 7.0.
1219 2014-06-23 Leo Liu <sdl.web@gmail.com>
1221 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
1222 tab-stop-list to nil. (Bug#16381)
1224 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
1225 (indent-rigidly-left-to-tab-stop)
1226 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
1227 (move-to-tab-stop): Change callers.
1229 2014-06-22 Eli Zaretskii <eliz@gnu.org>
1231 * skeleton.el (skeleton-insert): Yet another fix of the doc string
1232 wrt behavior of \n as the first/last element of a skeleton.
1234 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
1236 * net/tramp-adb.el (tramp-adb-handle-process-file):
1237 * net/tramp-sh.el (tramp-sh-handle-process-file):
1238 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
1239 the output buffer when DISPLAY is non-nil. (Bug#17815)
1241 2014-06-21 Glenn Morris <rgm@gnu.org>
1243 * play/landmark.el (landmark-move-down, landmark-move-up):
1244 Fix 2007-10-20 change - preserve horizontal position.
1246 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1248 Fix completion retrieval parsing (bug#17209).
1249 * progmodes/python.el (python-mode):
1250 (python-util-strip-string): New function.
1251 (python-shell-completion-get-completions): Use it.
1253 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1255 * skeleton.el (skeleton-insert): Fix last change.
1257 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
1259 Enhancements for outline integration (bug#17796).
1260 * progmodes/python.el (python-mode): Properly set
1261 outline-heading-end-regexp so that comments after colons for
1262 defuns are supported.
1264 2014-06-21 Eli Zaretskii <eliz@gnu.org>
1266 * skeleton.el (skeleton-insert): Doc fix.
1268 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1270 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
1271 (smie-config-guess): Use smie-config-local so the rules are obeyed
1274 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
1275 since it's already done inside the loop (bug#17819).
1277 2014-06-20 Martin Rudalics <rudalics@gmx.at>
1279 * mouse.el (mouse-drag-line): Re-remove code initially removed
1280 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
1283 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
1286 align with the surrounding parent (bug#17721).
1288 2014-06-20 Eli Zaretskii <eliz@gnu.org>
1290 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
1292 (texinfo-insert-block, texinfo-insert-@end)
1293 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
1294 local setting of skeleton-end-newline by adding an explicit \n to
1295 the skeletons where appropriate. (Bug#17801)
1297 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
1300 (smie-indent--hanging-p): Use it.
1301 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
1303 2014-06-20 Leo Liu <sdl.web@gmail.com>
1305 * simple.el (read-quoted-char): Don't let help chars pop up help
1308 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
1310 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
1313 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
1316 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
1319 2014-06-18 Eli Zaretskii <eliz@gnu.org>
1321 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
1322 and later. (Bug#17790)
1324 2014-06-18 Juri Linkov <juri@jurta.org>
1326 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
1327 to `soft'. (Bug#17554)
1329 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
1334 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
1336 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
1337 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
1339 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1341 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
1342 `unread-command-events'.
1344 2014-06-14 Glenn Morris <rgm@gnu.org>
1346 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1347 Replace delete-duplicates and mapcan by cl- versions throughout.
1348 And cl-macroexpand-all by macroexpand-all.
1349 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1351 2014-06-14 Eli Zaretskii <eliz@gnu.org>
1353 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1355 2014-06-14 Juri Linkov <juri@jurta.org>
1357 * bindings.el: Put `ascii-character' property on keypad keys
1358 mapped to characters. (Bug#17759)
1360 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1363 bumping forward into a closing paren (bug#17761).
1365 * term/xterm.el (xterm--version-handler): Work around for OSX
1366 Terminal.app (bug#17607).
1368 2014-06-08 Glenn Morris <rgm@gnu.org>
1370 * startup.el (initial-buffer-choice): Doc fix.
1371 Reset :version (adding an option does not merit a :version bump).
1373 * bookmark.el (bookmark-load):
1374 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1376 2014-06-06 Juri Linkov <juri@jurta.org>
1378 * desktop.el: Activate auto-saving on window configuration changes.
1379 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1380 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
1381 (desktop-auto-save-set-timer): Change REPEAT arg of
1382 `run-with-idle-timer' from t to nil.
1383 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1385 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1387 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1388 vc-hg-command (bug#17570).
1390 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1392 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1395 2014-06-06 Glenn Morris <rgm@gnu.org>
1397 * startup.el (window-setup-hook): Doc fix.
1399 2014-06-05 Glenn Morris <rgm@gnu.org>
1401 * emacs-lisp/package.el (package-check-signature)
1402 (package-unsigned-archives): Doc fixes.
1404 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1406 * window.el (display-buffer-use-some-window): Don't make window
1407 used smaller than it was before (Bug#17671).
1409 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1411 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1412 'redisplay' instead of '(sit-for 0)'.
1414 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1416 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1419 2014-06-03 Glenn Morris <rgm@gnu.org>
1421 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1423 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1425 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1427 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1429 * simple.el (keyboard-quit): Force update of mode lines, to remove
1430 the "Def" indicator, if we were defining a macro. (Bug#17615)
1432 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1434 * minibuffer.el (minibuffer-force-complete-and-exit):
1435 Obey minibuffer-default (bug#17545).
1437 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1440 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * subr.el (set-transient-map): Don't wait for some "nested"
1443 transient-map to finish if we're only supposed to be active for
1444 the next command (bug#17642).
1446 2014-05-31 Leo Liu <sdl.web@gmail.com>
1448 * emacs-lisp/gv.el (window-buffer, window-display-table)
1449 (window-dedicated-p, window-hscroll, window-point, window-start):
1450 Fix gv-expander. (Bug#17630)
1452 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1457 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1458 for the single comma, since ", " is *very* common in normal French text
1461 2014-05-30 Glenn Morris <rgm@gnu.org>
1463 * emacs-lisp/package.el (package-check-signature)
1464 (package-unsigned-archives): Fix :version.
1466 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1468 * subr.el (sit-for): Don't run input-methods (bug#15614).
1470 2014-05-28 Glenn Morris <rgm@gnu.org>
1472 * cus-start.el: Fix some :version numbers.
1474 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1476 * simple.el (deactivate-mark): Set mark-active to nil even if
1477 deactivation is done via setting transient-mark-mode to nil,
1478 since one is buffer-local and the other is global.
1480 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1481 there can't be more than 2 arguments (bug#17584).
1483 2014-05-27 Glenn Morris <rgm@gnu.org>
1485 * simple.el (filter-buffer-substring-functions)
1486 (filter-buffer-substring-function, buffer-substring-filters)
1487 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1489 * minibuffer.el (completion-in-region-functions, completion-in-region)
1490 (completion--in-region): Doc fixes.
1492 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1493 (expand-abbrev, abbrev--default-expand): Doc fixes.
1495 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1497 Include sources used to create macuvs.h.
1498 * international/README: Refer to the Unicode Terms of Use rather
1499 than copying it bodily here, as that simplifies maintenance.
1501 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1503 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1505 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1507 * window.el (window--dump-frame): Remove interactive
1510 2014-05-23 Glenn Morris <rgm@gnu.org>
1512 * hippie-exp.el (he-line-search-regexp):
1513 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1515 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1517 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1518 to avoid errors when trying to create or visit a file foo.todo
1519 located outside to todo-directory, and to allow having such files
1520 without them being tied to Todo mode (bug#17482).
1521 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1522 (todo-archive-done-item, todo-find-filtered-items-file)
1523 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1524 (todo-category-completions, todo-read-category): When visiting a
1525 Todo file, make sure we're in the right mode and the buffer local
1527 (todo-make-categories-list, todo-reset-nondiary-marker)
1528 (todo-reset-done-string, todo-reset-comment-string):
1529 After processing all Todo files, kill the buffers of those files that
1530 weren't being visited before the processing.
1531 (todo-display-as-todo-file, todo-add-to-buffer-list)
1532 (todo-visit-files-commands): Comment out.
1533 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1534 (auto-mode-alist): Remove add-to-list calls making Todo file
1535 extensions unrestrictedly tied to Todo modes.
1537 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1539 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1540 (advice-function-member-p): Tell it to check both names and functions
1542 (advice--add-function): Adjust call accordingly.
1544 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1546 * calendar/todo-mode.el: Miscellaneous bug fixes.
1547 (todo-delete-file): When deleting an archive but not its todo
1548 file, make sure to update the todo file's category sexp.
1549 (todo-move-category): Keep the moved category's name unless the
1550 file moved to already has a category with that name. If the
1551 numerically last category of the source file was moved, make the
1552 first category current to avoid selecting a nonexisting category.
1553 (todo-merge-category): Fix implementation to make merging to a
1554 category in another file work as documented. Eliminate now
1555 insufficient and unnecessary renaming of archive category, correct
1556 document string accordingly, and clarify it. If the numerically
1557 last category of the source file was merged, make the first
1558 category current to avoid selecting a nonexisting category.
1559 (todo-archive-done-item): When there are marked items and point
1560 happens to be on an unmarked item, ignore the latter. Don't leave
1561 point below last item after archiving marked items.
1562 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1563 from an archive with only one category deletes the archive only
1564 when the category is empty after unarchiving. Make sure the todo
1565 file's category sexp is updated.
1566 (todo-read-file-name): Allow an existing file name even when it is
1567 not required (todo-move-category needs this to work as documented).
1568 (todo-add-file): Call todo-validate-name to reject the name of an
1569 existing todo file (needed due to fix in todo-read-file-name).
1570 (todo-reset-nondiary-marker): Also reset in filtered items files.
1571 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1572 regexp filtered items files.
1573 (todo-reset-highlight-item): Also reset in filtered items files.
1574 Fix incorrect variable reference in document string.
1576 2014-05-22 Glenn Morris <rgm@gnu.org>
1578 * window.el (window--dump-frame): Avoid error in --without-x builds.
1580 2014-05-21 Glenn Morris <rgm@gnu.org>
1582 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1584 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1586 * frame.el (set-frame-font): Doc fix.
1588 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1590 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1592 * emacs-lisp/package.el (package--download-one-archive):
1593 Use `write-region' instead of `save-buffer' to avoid running various
1595 (describe-package-1): Same. Insert newline at the end of the
1596 buffer if appropriate.
1598 2014-05-20 Juri Linkov <juri@jurta.org>
1600 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1601 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1602 Add more modifiers: meta, control, shift, hyper, super, alt.
1605 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1606 to allow changing its value with `set-variable'.
1608 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1612 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1614 (scheme-mode-variables): Set syntax-propertize-function instead of
1615 font-lock-syntactic-face-function.
1616 (scheme-font-lock-syntactic-face-function): Delete.
1618 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1620 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1625 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1627 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1628 for a temporary file name.
1630 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1632 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1634 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1636 * net/dbus.el (dbus-init-bus, dbus-call-method)
1637 (dbus-call-method-asynchronously, dbus-send-signal)
1638 (dbus-method-return-internal, dbus-method-error-internal):
1639 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1641 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1643 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1644 methods which do not have a doc string. (Bug#17490)
1646 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1647 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1652 2014-05-14 Glenn Morris <rgm@gnu.org>
1654 * vc/emerge.el (emerge-temp-file-prefix):
1655 Make pointless option obsolete.
1656 (emerge-temp-file-mode): Make non-functional option obsolete.
1658 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1660 * net/browse-url.el (browse-url):
1661 Use `unhandled-file-name-directory' when setting `default-directory',
1662 in order to circumvent stalled remote connections. (Bug#17425)
1664 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1666 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1667 into autoloading just because of a silly indirection.
1669 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1671 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1673 2014-05-11 Glenn Morris <rgm@gnu.org>
1675 * emacs-lisp/find-gc.el: Move to ../admin.
1677 2014-05-10 Glenn Morris <rgm@gnu.org>
1679 * printing.el (pr-version):
1680 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1682 * net/browse-url.el (browse-url-mosaic):
1683 Create /tmp/Mosaic.PID as a private file.
1685 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1688 (advice--member-p): If name is given, only compare the name.
1689 (advice--remove-function): Don't stop at the first match.
1690 (advice--normalize-place): New function.
1691 (add-function, remove-function): Use it.
1692 (advice--add-function): Pass the name, if any, to
1693 advice--remove-function.
1695 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1697 * electric.el (electric-indent-post-self-insert-function): Don't use
1698 `pos' after modifying the buffer (bug#17449).
1700 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1702 * subr.el (function-put): Add function.
1704 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1706 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1707 Correct argument list to conform to todo-insert-item--basic.
1709 2014-05-09 Glenn Morris <rgm@gnu.org>
1711 * files.el (cd-absolute): Test if directory is accessible
1712 rather than executable. (Bug#17330)
1714 * progmodes/compile.el (recompile):
1715 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1717 2014-05-08 Juri Linkov <juri@jurta.org>
1719 * dired.el (dired-check-switches, dired-switches-recursive-p):
1720 New functions. (Bug#17218)
1721 (dired-switches-escape-p, dired-move-to-end-of-filename):
1722 Use `dired-check-switches'.
1723 (dired-insert-old-subdirs, dired-build-subdir-alist)
1724 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1726 2014-05-08 Glenn Morris <rgm@gnu.org>
1728 * net/browse-url.el (browse-url-mosaic):
1729 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1730 This is CVE-2014-3423.
1732 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1735 (xterm-mouse--read-event-sequence-1000): Return nil if something
1737 (xterm-mouse-event): Propagate it.
1738 (xterm-mouse-translate-1): Handle it.
1740 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1742 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1743 four slots of the parameter list are filled, make sure to pass it
1744 to the argument list of todo-insert-item--basic.
1746 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1748 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1749 Add optional `seen' argument to detect and break infinite loops.
1751 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1753 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1754 (trace-unsafe, trace-use-tree): Make parentheses style be
1755 according to Emacs style.
1757 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1759 * net/tramp-sh.el (tramp-remote-process-environment):
1760 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1762 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1763 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1764 extra "PSx=..." commands.
1765 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1768 (tramp-uudecode): Replace the hard-coded temporary file name by a
1770 (tramp-remote-coding-commands): Enhance docstring.
1771 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1773 This is CVE-2014-3424.
1775 2014-05-06 Glenn Morris <rgm@gnu.org>
1777 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1778 (find-gc-source-files): Update some names.
1779 (trace-call-tree): Simplify and update.
1780 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1781 This is CVE-2014-3422.
1783 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * minibuffer.el (completion--try-word-completion): Revert fix for
1786 Bug#15980 (bug#17375).
1788 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1789 Always store button numbers in the same way in xterm-mouse-last;
1790 Don't burp is xterm-mouse-last is not set as expected.
1791 Never return negative indices.
1793 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1795 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1796 Backtrack one char if the global/char-literal var matcher hits
1797 inside a string. The next char could be the beginning of an
1798 expression expansion.
1800 2014-05-05 Glenn Morris <rgm@gnu.org>
1802 * help-fns.el (describe-function-1): Test for an autoload before a
1803 macro, since `macrop' works on autoloads. (Bug#17410)
1805 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1809 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1810 Make sure the new point we return is within the new string (bug#17239).
1812 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1814 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1816 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1818 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1819 Use nil rather than `default' for the "default" appearance (bug#17388).
1820 * vc/ediff-util.el (ediff-inferior-compare-regions)
1821 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1822 a misleading `default' value when it's really a boolean.
1823 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1824 overlay is not visible.
1826 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1828 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1829 (todo-menu): Uncomment and update.
1831 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1833 * calendar/todo-mode.el: Reimplement item editing to have the same
1834 basic user interface as item insertion, and make small UI and
1835 larger internal improvements to the latter.
1836 (todo-insert-item): Add reference to the Todo mode user manual to
1837 the documentation string.
1838 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1839 adjust all callers. Change signature to combine diary and
1840 nonmarking arguments. Incorporate functionality of deleted item
1841 copying command and add error checking. Remove detailed
1842 descriptions of the arguments from the documentation string, since
1843 this is treated in the Todo mode user manual.
1844 (todo-copy-item, todo-edit-multiline-item)
1845 (todo-edit-done-item-comment, todo-edit-item-header)
1846 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1847 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1848 (todo-edit-item-date-year, todo-edit-item-date-month)
1849 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1851 (todo-edit-item): Reimplement as wrapper command for
1852 todo-edit-item--next-key and make it distinguish done and not done
1854 (todo-edit-item--text): New function, replacing old command
1855 todo-edit-item and incorporating deleted commands
1856 todo-edit-multiline-item and todo-edit-done-item-comment.
1857 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1858 Use only numeric value of prefix argument. Remove detailed
1859 descriptions of the arguments from the documentation string, since
1860 this is treated in the Todo mode user manual.
1861 (todo-edit-item--diary-inclusion): New function, replacing old
1862 command todo-edit-item-diary-inclusion and incorporating and fixing
1863 functionality of deleted command todo-edit-item-diary-nonmarking,
1864 making sure to remove todo-nondiary-marker when adding
1865 diary-nonmarking-symbol.
1866 (todo-edit-category-diary-inclusion): Make sure to delete
1867 diary-nonmarking-symbol when adding todo-nondiary-marker.
1868 (todo-edit-category-diary-nonmarking): Fix indentation.
1869 (todo-insert-item--parameters): Group diary and nonmarking
1870 parameters together.
1871 (todo-insert-item--apply-args): Adjust to signature of
1872 todo-insert-item--basic and incorporate copy parameter.
1873 Make small code improvements.
1874 (todo-insert-item--next-param): Improve prompt and adjust it to
1875 new parameter grouping. Remove obsolete code.
1876 (todo-edit-item--param-key-alist)
1877 (todo-edit-item--date-param-key-alist)
1878 (todo-edit-done-item--param-key-alist): New defconsts.
1879 (todo-edit-item--prompt): New variable.
1880 (todo-edit-item--next-key): New function.
1881 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1882 Remove bindings of deleted commands.
1884 2014-05-02 Leo Liu <sdl.web@gmail.com>
1886 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1888 2014-05-01 Glenn Morris <rgm@gnu.org>
1890 * allout-widgets.el (allout-widgets-tally)
1891 (allout-decorate-item-guides):
1892 * menu-bar.el (menu-bar-positive-p):
1893 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1894 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1895 * progmodes/js.el (js--inside-param-list-p)
1896 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1897 * progmodes/prolog.el (region-exists-p):
1898 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1899 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1900 Doc fixes (replace `iff').
1902 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1904 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1906 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1908 * dired.el (dired-initial-position-hook, dired-initial-position):
1911 2014-04-29 Glenn Morris <rgm@gnu.org>
1913 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1915 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1917 * faces.el (face-spec-recalc): Apply X resources only after the
1918 defface spec has been applied. Thus, X resources are no longer
1919 overridden by the defface spec which also fixes issues on win32 where
1920 the toolbar coloring was wrong because it is set through X resources
1921 and was (wrongfully) overridden. (Bug#16694)
1923 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * textmodes/rst.el (electric-pair-pairs): Declare.
1926 (rst-mode): Set it (bug#17131).
1928 2014-04-27 Juri Linkov <juri@jurta.org>
1930 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1931 and `print-level' to nil. (Bug#17351)
1933 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1935 * battery.el (battery-update): Handle the case where battery
1936 status is "N/A" (bug#17319).
1938 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1940 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1941 Use equal-including-properties to compare help-echo strings (bug#17331).
1943 2014-04-24 Leo Liu <sdl.web@gmail.com>
1945 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1946 Fix syntax for @. (Bug#17325)
1948 2014-04-24 Daniel Colascione <dancol@dancol.org>
1950 * emacs-lisp/cl.el (gv): Require gv early to break eager
1951 macro-expansion cycles.
1953 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * simple.el (region-active-p): Check there's a mark (bug#17324).
1957 * simple.el (completion-list-mode-map): Use choose-completion for the
1958 mouse binding as well (bug#17302).
1959 (completion-list-mode, completion-setup-function): Adjust docstring and
1960 echo area message accordingly.
1961 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1962 calling convention of choose-completion.
1963 * comint.el (comint-dynamic-list-completions):
1964 * term.el (term-dynamic-list-completions): Accept choose-completion.
1966 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1967 &, |, +, - and * can't be a division (bug#17317).
1969 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1971 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1972 features on gnome-terminal (bug#16988).
1974 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1976 * dired.el (dired-insert-set-properties): Do not consider
1977 subdirectory headings and empty lines to be information that
1978 `dired-hide-details-mode' should hide. (Bug#17228)
1980 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1982 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1983 Remove test messages.
1984 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1987 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1990 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1992 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1994 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1996 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1997 Set "IFS=" when using read builtin, in order to preserve spaces in
1998 the file name. Add test messages for hunting a bug on hydra.
1999 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2001 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2003 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2004 Don't prettify a word within a symbol.
2006 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
2008 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2011 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2013 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2014 assignments such as "case=hello" (bug#17297).
2016 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2018 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2020 (tramp-file-name-handler, tramp-completion-file-name-handler):
2021 Revert patch from 2014-04-10, it isn't necessary anymore.
2022 (tramp-autoload-file-name-handler)
2023 (tramp-register-autoload-file-name-handlers): New defuns.
2024 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2025 (tramp-register-file-name-handlers): Remove also
2026 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2027 Do not autoload its invocation, but eval it after loading of 'tramp.
2029 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2031 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2033 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2035 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
2036 was done (bug#17264).
2037 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
2040 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2041 here-documents (bug#17262).
2043 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2045 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2046 Provide doc strings, as required by snarf-documentation.
2048 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2051 arg of overlays-at. Use `invisible-p'.
2053 * obsolete/lucid.el (extent-at):
2054 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2056 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2058 2014-04-14 João Távora <joaotavora@gmail.com>
2060 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2063 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2065 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2066 Use mapc to loop over a vector. (Bug#17257).
2068 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
2070 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2071 patch, there are new problems with file names containing spaces.
2072 Get rid of backticks. (Bug#17238)
2074 2014-04-13 João Távora <joaotavora@gmail.com>
2076 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2079 2014-04-13 Eli Zaretskii <eliz@gnu.org>
2081 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2082 (blink-cursor-mode): Mention customization variables and the
2083 effect of 'blink-cursor-blinks'.
2085 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
2087 * simple.el (undo): Prevent insertion of identity mapping into
2088 undo-equiv-table so as undo-only does not inf loop in the presence
2089 of consecutive nils in undo list.
2091 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2093 * faces.el (make-face): Deprecate optional argument as it is no
2094 longer needed/used since the conditional X resources handling
2095 has been pushed down to make-face-x-resource-internal itself.
2096 (make-empty-face): Don't pass optional argument to make-face.
2098 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2100 * international/characters.el <standard-case-table>: Add entries
2101 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2102 Set category of Coptic characters be 'g' (Greek).
2104 2014-04-12 Leo Liu <sdl.web@gmail.com>
2106 * progmodes/octave.el (completion-table-with-cache): Define if not
2108 (octave-goto-function-definition)
2109 (octave-sync-function-file-names)
2110 (octave-find-definition-default-filename): Backquote upattern for
2113 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2115 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2116 name twice due to backticks. (Bug#17238)
2118 2014-04-11 Glenn Morris <rgm@gnu.org>
2120 * term/w32-win.el (x-win-suspend-error):
2121 * term/x-win.el (x-win-suspend-error): Sync docs.
2123 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2125 Ediff's overlay priorities cause more trouble than they solve.
2126 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2127 (ediff-highest-priority): Remove function (bug#17234).
2128 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2129 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2130 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2133 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
2135 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2136 entry; use symbol boundaries to avoid mis-matches.
2138 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
2140 * net/tramp.el (tramp-file-name-handler)
2141 (tramp-completion-file-name-handler): Avoid recursive loading.
2143 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2144 Quote result also locally.
2146 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2148 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2149 Module methods. (Bug#17216)
2151 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2154 (describe-bindings-internal): Mark obsolete.
2156 2014-04-07 João Távora <joaotavora@gmail.com>
2159 (electric-pair--syntax-ppss): When inside comments parse from
2161 (electric-pair--balance-info): Fix typo in comment.
2162 (electric-pair--in-unterminated-string-p): Delete.
2163 (electric-pair--unbalanced-strings-p): New function.
2164 (electric-pair-string-bound-function): New var.
2165 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2166 according to `electric-pair--in-unterminated-string-p'
2168 2014-04-07 João Távora <joaotavora@gmail.com>
2170 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2171 Inhibit quote pairing if point-max is inside an unterminated string.
2172 (electric-pair--looking-at-unterminated-string-p): Delete.
2173 (electric-pair--in-unterminated-string-p): New function.
2175 2014-04-07 Glenn Morris <rgm@gnu.org>
2177 * shell.el (shell-directory-tracker):
2178 Go back to just ignoring failures. (Bug#17159)
2180 2014-04-06 João Távora <joaotavora@gmail.com>
2182 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2183 backspace. (bug#16981)
2184 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2185 (electric-pair-backward-delete-char-untabify): Delete.
2186 (electric-pair-mode-map): Bind backspace to a menu item filtering
2187 a new `electric-pair-delete-pair' command.
2188 (electric-pair-delete-pair): New command.
2190 2014-04-06 João Távora <joaotavora@gmail.com>
2192 * progmodes/python.el (python-electric-pair-string-delimiter):
2193 Fix triple-quoting electricity. (Bug#17192)
2195 2014-04-06 João Távora <joaotavora@gmail.com>
2197 * elec-pair.el (electric-pair-post-self-insert-function):
2198 Don't skip whitespace when `electric-pair-text-pairs' and
2199 `electric-pair-pairs' were used. syntax to
2200 electric-pair--skip-whitespace. (Bug#17183)
2202 2014-04-06 Eli Zaretskii <eliz@gnu.org>
2204 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2207 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2209 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2210 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2212 2014-04-05 Glenn Morris <rgm@gnu.org>
2214 * help.el (view-lossage): Doc tweak.
2216 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
2218 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2219 only when inhibit-x-resources is nil, and do that earlier in the
2220 function. Doc fix. (Bug#16694)
2221 (face-spec-choose): Accept additional optional argument, whose
2222 value is returned if no matching attributes are found.
2223 (face-spec-recalc): Use the new optional argument when calling
2224 face-spec-choose. (Bug#16378)
2225 (make-face-x-resource-internal): Do nothing when
2226 inhibit-x-resources is non-nil. Don't touch the default face if
2227 reversed video is given--as was done in previous versions of Emacs.
2228 (face-set-after-frame-default): Don't call
2229 make-face-x-resource-internal here. (Bug#16434)
2231 2014-04-04 Tassilo Horn <tsdh@gnu.org>
2233 * doc-view.el (doc-view-bookmark-jump):
2234 Use `bookmark-after-jump-hook' to jump to the right page after the
2235 buffer is shown in a window. (bug#16090)
2237 2014-04-04 Eli Zaretskii <eliz@gnu.org>
2239 * international/characters.el (mirroring): Fix last change:
2240 instead of loading uni-mirrored.el explicitly, do that implicitly
2241 by creating the 'mirroring' uniprop table. This avoids announcing
2242 the loading of uni-mirrored.el.
2244 2014-04-04 Glenn Morris <rgm@gnu.org>
2246 * files.el (buffer-stale--default-function)
2247 (buffer-stale-function, revert-buffer--default):
2248 * autorevert.el (auto-revert-buffers): Doc tweaks.
2250 2014-04-03 Eli Zaretskii <eliz@gnu.org>
2252 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2254 2014-04-03 Glenn Morris <rgm@gnu.org>
2256 * files.el (make-backup-file-name-function)
2257 (make-backup-file-name, make-backup-file-name--default-function)
2258 (make-backup-file-name-1, find-backup-file-name)
2259 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2260 (buffer-stale--default-function, buffer-stale-function)
2261 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2262 (revert-buffer, revert-buffer--default)
2263 (revert-buffer-insert-file-contents--default-function):
2264 Doc fixes related to defaults no longer being nil.
2265 (make-backup-file-name-function): Bump :version.
2266 Restore nil as a valid but deprecated custom type.
2268 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
2270 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
2271 used as a variable (bug#17174).
2273 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * progmodes/perl-mode.el (perl-indent-new-calculate):
2276 Handle forward-sexp failure (bug#16985).
2277 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2278 modifiers introducing expressions (bug#17116).
2280 2014-04-02 Glenn Morris <rgm@gnu.org>
2282 * menu-bar.el (menu-bar-file-menu):
2283 * vc/ediff.el (ediff-current-file):
2284 Update for revert-buffer-function no longer being nil by default.
2286 * simple.el (command-execute): Respect nil disabled-command-function.
2288 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2290 * simple.el (command-execute): Do not execute the command when it
2291 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2293 2014-03-29 Juri Linkov <juri@jurta.org>
2295 * dired-aux.el (dired-compress-file): Don't use string-match-p
2296 because its match data is used afterwards.
2298 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2303 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2305 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2306 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2308 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2309 Don't propertize `?' or `!' as symbol constituent when after
2312 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2314 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2315 which is no longer needed and causes trouble in GTK builds (bug#17046).
2317 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2318 Use url-insert-file-contents; package-handle-response no longer exists.
2320 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2322 * emacs-lisp/package.el: Fix bug#16733 (again).
2323 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2324 (url-http-target-url): Remove unused declarations.
2325 (package-handle-response): Remove.
2326 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2327 (package--download-one-archive): Use current-buffer instead of
2328 dynamic binding of `buffer'.
2329 (describe-package-1): Do not decode readme-string.
2331 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
2333 * simple.el (primitive-undo): Correction to 2014-03-24 change.
2335 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
2337 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2339 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2340 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2341 `remote-file-name-inhibit-cache' to nil in the second pass.
2342 (tramp-find-executable): Do not call "which" on SunOS.
2343 (tramp-send-command-and-check): Fix docstring.
2344 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2345 check whether source directory has set the sticky bit.
2347 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
2349 * simple.el (primitive-undo): Only process marker adjustments
2350 validated against their corresponding (TEXT . POS). Issue warning
2351 for lone marker adjustments in undo history. (Bug#16818)
2352 (undo-make-selective-list): Add marker adjustments to selective
2353 undo list based on whether their corresponding (TEXT . POS) is in
2354 the region. Remove variable adjusted-markers, which was unused
2355 and only non nil during undo-make-selective-list.
2356 (undo-elt-in-region): Return nil when passed a marker adjustment
2357 and explain in function doc.
2359 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2361 * emacs-lisp/package.el (package--add-to-archive-contents):
2362 Include already installed and built-in packages in
2363 `package-archive-contents'.
2364 (package-install): Don't include already installed packages in the
2365 options during interactive invocation. (Bug#16762)
2367 2014-03-24 Daniel Colascione <dancol@dancol.org>
2369 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2370 instead of cl-loop search function.
2372 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
2374 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2376 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2378 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2380 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
2382 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2383 Match special global variables without curlies, too.
2384 (ruby-font-lock-keywords): Simplify the matcher for special global
2385 variables. Don't require a non-word character after the variable.
2388 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * simple.el (redisplay-highlight-region-function): Increase priority of
2391 overlay to make sure boundaries are visible (bug#15899).
2393 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2395 * frameset.el (frameset-restore): Compare display strings with equal.
2397 * frame.el (make-frame): Don't quote display name in error message,
2398 it is already a string.
2400 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2402 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2405 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2407 * emacs-lisp/package.el (package-show-package-list): If the buffer
2408 is already displayed in another window, switch to that window.
2410 2014-03-21 Daniel Colascione <dancol@dancol.org>
2412 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2413 information in bug reports.
2415 2014-03-23 Daniel Colascione <dancol@dancol.org>
2417 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2418 list to look for keyword arguments instead of `memq', fixing
2419 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2420 Please make bootstrap.
2422 2014-03-23 Richard Stallman <rms@gnu.org>
2424 * battery.el (battery-linux-sysfs): Search for each field
2425 from the beginning of the buffer.
2427 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2429 * emacs-lisp/package.el (package-desc): Use the contents of the
2430 quoted form, not its cdr. (Bug#16873)
2432 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2434 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2435 benefit of doc.c; change parameter profile to match the X function.
2437 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2439 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2440 and `tramp-copy-env'.
2442 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2443 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2445 2014-03-21 Glenn Morris <rgm@gnu.org>
2447 * electric.el (electric-indent-post-self-insert-function): Add doc.
2449 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2451 * emacs-lisp/package.el (package-compute-transaction):
2452 Use `version-list-<=' to compare the requirement version against
2453 the version of package already to be installed. Update the error
2454 message. (Bug#16826)
2456 * progmodes/ruby-mode.el (ruby-smie-rules):
2457 Add indentation rule for ` @ '. (Bug#17050)
2459 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2461 * align.el (align-regexp): Remove superfluous backslash.
2463 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2464 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2465 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2466 Fix docstring typos.
2467 (ffap-next): Use C-u in docstring.
2468 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2469 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2470 Remove superfluous backslashes.
2471 (ffap-string-at-point): Reflow docstring.
2473 * server.el (server-host): Reflow docstring.
2474 (server-unload-function): Fix docstring typo.
2475 (server-eval-at): Remove superfluous backslash.
2477 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2478 (skeleton-insert): Doc fix.
2479 (skeleton-insert): Reflow docstring.
2481 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2482 (tty-color-approximate, tty-color-by-index, tty-color-values)
2483 (tty-color-desc): Remove superfluous backslashes.
2485 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2487 * electric.el (electric-newline-and-maybe-indent): New command.
2488 Bind it globally to C-j.
2489 (electric-indent-mode): Don't mess with the global map any more.
2490 Don't drop the post-self-insert-hook is some buffer is still using it
2493 * bindings.el (global-map): Remove C-j binding.
2495 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2496 the docstring of functions advised before dumping (bug#16993).
2498 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2500 * ps-print.el (ps-generate-postscript-with-faces):
2501 Explicitly deactivate the mark (bug#16866).
2502 * simple.el (deactivate-mark): Update region highlight.
2504 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2506 * emacs-lisp/package.el (describe-package-1):
2507 Decode commentary (bug#16733).
2509 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2511 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2512 modification of the value argument of :set (bug#16755).
2514 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2516 * simple.el (newline-and-indent): Do autofill (bug#17031).
2518 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2520 * newcomment.el (comment-normalize-vars): Only add escaping check
2521 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2522 (comment-beginning): Use `narrow-to-region' instead of moving back
2524 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2525 (comment-start-skip): Update the docstring.
2527 2014-03-18 Richard Stallman <rms@gnu.org>
2529 * dired.el (dired-display-file): Force use of other window.
2531 2014-03-18 Daniel Colascione <dancol@dancol.org>
2533 * startup.el (tty-handle-args): Remove debug message from 2007.
2535 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2538 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2539 (advice--make-1, advice-add, advice-remove):
2540 Remove braindead :advice-pending hack.
2542 2014-03-17 Glenn Morris <rgm@gnu.org>
2544 * calendar/calendar.el (calendar-generate-month): Apply weekend
2545 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2547 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2549 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2550 (tramp-call-process): Trace also DESTINATION.
2552 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2553 Quote file names when they are local. Remove superfluous trace.
2555 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2557 * newcomment.el (comment-beginning): If `comment-start-skip'
2558 doesn't match, move back one char and try again. (Bug#16971)
2560 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2561 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2562 Set `comment-start-skip' to a simpler value that doesn't try to
2563 check if the semicolon is escaped (this is handled by
2564 `syntax-ppss' now). (Bug#16971)
2566 * progmodes/scheme.el (scheme-mode-variables): Same.
2568 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2570 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2571 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2572 current (Bug#16816, Bug#17007).
2573 (with-current-buffer-window): New macro doing the same as
2574 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2575 * help.el (help-print-return-message): Warn in doc-string to not
2576 use this in `with-help-window'.
2577 (describe-bindings-internal): Call `describe-buffer-bindings'
2578 from within help buffer. See Juanma's scenario in (Bug#16816).
2579 (with-help-window): Update doc-string.
2580 * dired.el (dired-mark-pop-up):
2581 * files.el (save-buffers-kill-emacs):
2582 * register.el (register-preview): Use `with-current-buffer-window'
2583 instead of `with-temp-buffer-window'.
2585 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2587 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2588 Implement inserting into current buffer, documented in their docstrings.
2589 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2590 (rst-section-tree-point, rst-forward-section, rst-indent)
2591 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2592 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2593 (rst-font-lock-handle-adornment-pre-match-form)
2594 (rst-repeat-last-character): Reflow docstrings.
2595 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2596 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2597 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2598 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2599 Fix docstring typos.
2600 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2601 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2602 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2604 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2606 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2607 for compatibility with other ports.
2608 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2609 from the -xrm command line argument, but in the Nextstep port its value
2610 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2612 * progmodes/python.el (defconst, python-syntax-count-quotes)
2613 (python-indent-region, python-indent-shift-right)
2614 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2615 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2616 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2617 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2618 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2619 (python-shell-buffer-substring, python-shell-send-buffer)
2620 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2621 (python-completion-complete-at-point, python-fill-docstring-style)
2622 (python-eldoc-function, python-imenu-format-item-label)
2623 (python-imenu-format-parent-item-label)
2624 (python-imenu-format-parent-item-jump-label)
2625 (python-imenu--build-tree, python-imenu-create-index)
2626 (python-imenu-create-flat-index): Fix docstring typos.
2627 (python-indent-context, python-shell-prompt-regexp, run-python):
2628 Remove superfluous backslashes.
2629 (python-indent-line, python-nav-beginning-of-defun)
2630 (python-shell-get-buffer, python-shell-get-process)
2631 (python-info-current-defun, python-info-current-line-comment-p)
2632 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2633 (python-indent-post-self-insert-function, python-shell-send-file)
2634 (python-shell-completion-get-completions)
2635 (python-shell-completion-complete-or-indent)
2636 (python-eldoc--get-doc-at-point): Reflow docstrings.
2638 2014-03-14 Glenn Morris <rgm@gnu.org>
2640 * emacs-lisp/package.el (package-menu-mode-map):
2641 Replace use of obsolete function alias. Tweak menu item text.
2643 * info.el (Info-finder-find-node):
2644 Ignore the `emacs' metapackage. (Bug#10813)
2646 * finder.el (finder-list-matches): Include unversioned packages
2647 in the result of a keyword search.
2649 * finder.el (finder--builtins-descriptions): New constant.
2650 (finder-compile-keywords): Use finder--builtins-descriptions.
2652 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2654 * simple.el (blink-matching-paren): Describe the new value,
2655 `jump', enabling the old behavior.
2656 (blink-matching-open): Use that value. (Bug#17008)
2658 2014-03-14 Glenn Morris <rgm@gnu.org>
2660 * finder.el (finder-no-scan-regexp): Add leim-list.
2661 (finder-compile-keywords):
2662 Don't skip files with same basename. (Bug#14010)
2663 * Makefile.in (setwins_finder): New, excluding leim.
2664 (finder-data): Use setwins_finder.
2666 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2667 (help-function-arglist, help-make-usage): Move from here...
2668 * help.el (help-split-fundoc, help-add-fundoc-usage)
2669 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2670 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2672 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2674 * net/socks.el (socks, socks-override-functions)
2675 (socks-find-services-entry):
2676 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2677 (hif-find-ifdef-block):
2678 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2680 * net/tls.el (tls-program): Reflow docstring.
2682 * progmodes/pascal.el (pascal-mode-abbrev-table)
2683 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2684 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2685 (pascal-outline-mode): Fix docstring typos.
2686 (pascal-mode): Let define-derived-mode document mode hook.
2687 (pascal-uncomment-area): Reflow.
2688 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2690 * progmodes/opascal.el (opascal-compound-block-indent)
2691 (opascal-case-label-indent): Fix docstring typos.
2692 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2694 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2696 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2697 Fontify multiple adjacent negation chars. (Bug#17004)
2699 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2701 * emacs-lisp/package.el (package--prepare-dependencies):
2702 Accept requirements without explicit version (bug#14941).
2704 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2706 * register.el (register-separator, copy-to-register): Doc fixes.
2707 (register-preview-default): Remove unnecessary call to concat.
2709 * frameset.el (frameset-restore): When checking for a visible frame,
2710 use the action map instead of calling visible-frame-list.
2712 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2714 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2716 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2718 * window.el (fit-frame-to-buffer): Get maximum width from
2719 display's width instead of height.
2721 2014-03-12 Glenn Morris <rgm@gnu.org>
2723 * desktop.el (desktop-restore-frames)
2724 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2725 (desktop-restore-reuses-frames): Doc tweaks.
2727 * electric.el (electric-indent-mode): Doc fix.
2729 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2731 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2732 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2733 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2734 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2735 (cvs-dired-use-hook): Fix docstring typos.
2736 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2739 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2740 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2741 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2742 (cvs-execute-single-dir): Fix docstring typos.
2744 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2745 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2747 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2749 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2750 Fix docstring typos.
2752 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2754 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2755 called from jump-to-register after unloading the frameset package.
2757 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2760 (bug#16975). Deactivate the mark before setting it to nil.
2761 (activate-mark): Do nothing if region is already active.
2763 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2765 * frameset.el (frameset--target-display): Remove definition; declare.
2766 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2768 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2771 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2772 when the advice is pending.
2773 (advice-remove): Remove this marker when not needed any more.
2775 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2777 * frameset.el: Separate options for reusing frames and cleaning up.
2778 (frameset--reuse-list): Remove definition; declare.
2779 (frameset--action-map): Declare.
2780 (frameset--find-frame-if): Doc fix.
2781 (frameset--restore-frame): Cache frame action.
2782 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2783 how to clean up the frame list after restoring. Remove cleaning
2784 options from REUSE-FRAMES. Change all keyword values to symbols.
2785 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2787 * desktop.el (desktop-restore-forces-onscreen)
2788 (desktop-restore-reuses-frames): Use non-keyword values.
2789 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2791 2014-03-10 Glenn Morris <rgm@gnu.org>
2793 * files.el (find-file): Doc fix: update info node name.
2795 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2796 Doc fix: remove references to deleted info nodes.
2798 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2800 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2801 Do not add `nil' to the environment, when there's no remote `locale'.
2802 (tramp-find-inline-encoding): Check, that the remote host has
2803 installed perl, before sending scripts.
2805 2014-03-10 Leo Liu <sdl.web@gmail.com>
2807 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2808 Clear eldoc-last-message. (Bug#16920)
2810 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2815 2014-03-09 Juri Linkov <juri@jurta.org>
2817 * ansi-color.el (ansi-color-names-vector): Copy default colors
2818 from `xterm-standard-colors' that look well on the default white
2819 background (and also on the black background) to avoid illegible
2820 color combinations like yellow-on-white and white-on-white.
2821 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2823 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2825 * frameset.el (frameset-restore): When no frame is visible, do not
2826 generate a list of frames, just make visible the selected one.
2828 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2830 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2831 it only contains the repository root. (Bug#16897)
2833 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2835 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2836 only when `remote-file-name-inhibit-cache' is nil.
2837 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2839 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2841 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2843 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2844 fit-frame-to-buffer variable. Fix doc-string.
2845 (fit-window-to-buffer): Set ONLY argument in call of
2846 fit-frame-to-buffer. Fix doc-string.
2848 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2850 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2851 (tramp-action-password): Clear password cache if needed.
2852 (tramp-read-passwd): Do not clear password cache.
2854 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2855 cache unless it is the first password request.
2857 2014-03-06 Glenn Morris <rgm@gnu.org>
2859 * simple.el (newline): Doc tweak.
2861 * emacs-lisp/shadow.el (load-path-shadows-find):
2862 Ignore dir-locals. (Bug#12357)
2864 2014-03-05 Glenn Morris <rgm@gnu.org>
2866 * files.el (interpreter-mode-alist):
2867 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2869 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2871 * frameset.el (frameset--initial-params): Filter out null entries.
2873 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2875 * window.el (window-min-height, window-min-width):
2876 Rewrite doc-strings.
2877 (window-body-size): Add PIXELWISE argument to make it consistent
2880 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2882 * finder.el (finder-mode-map, finder-mode-syntax-table):
2883 Revert part of 2014-02-28 change.
2885 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2887 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2888 (eww-setup-buffer): Clear next/prev/etc more reliably.
2889 (eww-textarea-map): [tab] doesn't work on tty.
2890 Reported by Mario Lang.
2892 * net/shr.el (shr-map): Ditto.
2894 2014-03-04 Glenn Morris <rgm@gnu.org>
2896 * minibuffer.el (completion-hilit-commonality):
2897 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2899 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2901 * hilit-chg.el (hilit-chg-unload-function): New function.
2902 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2903 (hilit-chg-map-changes): Prefer cardinal number to digit.
2904 (hilit-chg-display-changes): Reflow docstring.
2905 (highlight-changes-rotate-faces): Remove superfluous backslash.
2907 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2909 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2910 `tramp-send-command-and-check'.
2912 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2914 * hexl.el (hexl-address-region, hexl-ascii-region)
2915 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2916 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2917 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2918 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2919 (hexl-mode): Doc fix.
2920 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2921 (hexl-mode-ruler): Fix typos in docstrings.
2923 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2924 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2925 Remove superfluous backslashes.
2926 (strokes-last-stroke, strokes-global-map, strokes-mode):
2928 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2929 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2930 (strokes-distance-squared, strokes-global-set-stroke)
2931 (strokes-global-set-stroke-string): Doc fixes.
2932 (strokes-help): Fix typos; reflow docstring.
2934 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2936 * window.el (window-in-direction): Fix doc-string.
2938 2014-03-04 Glenn Morris <rgm@gnu.org>
2940 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2941 Explicit error if no grammar.
2942 (smie-config-save): Doc fix. Fix quote typo.
2944 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2946 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2947 electric-indent-mode-hook if we obey electric-indent-mode.
2948 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2949 decide whether we obey electric-indent-mode.
2950 (c-change-set-fl-decl-start, c-extend-after-change-region):
2952 (c-electric-indent-mode-hook): Assume we do want to obey
2953 electric-indent-mode.
2955 * electric.el (electric-indent-mode-has-been-called): Remove.
2956 (electric-indent-mode): Fix accordingly.
2958 * files.el (hack-local-variables): Mention file name in warning.
2960 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2962 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2964 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2965 * simple.el (delete-forward-char): Mark as interactive-only.
2967 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2969 * icomplete.el (icomplete-completions):
2970 Follow-up to 2014-03-01 change.
2972 * icomplete.el: Miscellaneous doc fixes.
2973 Use Icomplete everywhere instead of icomplete for consistency.
2974 (icomplete-max-delay-chars): Fix typo.
2975 (icomplete-mode): Use \[].
2976 (icomplete-tidy, icomplete-exhibit): Reflow.
2977 (icomplete-minibuffer-setup-hook, icomplete-completions):
2978 Remove superfluous backlashes.
2980 * ido.el: Miscellaneous doc fixes.
2981 Use Ido everywhere instead of ido or `ido' for consistency.
2982 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2983 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2984 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2985 (ido-separator): Extract obsolescence info from docstring and declare
2986 with make-obsolete-variable.
2987 (ido-minibuffer-setup-hook): Simplify example.
2988 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2989 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2990 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2991 (ido-everywhere): Reflow docstring.
2992 (ido-toggle-vc): Doc fix.
2993 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2994 of long list of keybindings.
2996 2014-03-03 Glenn Morris <rgm@gnu.org>
2998 * frame.el (display-pixel-height, display-pixel-width)
2999 (display-mm-dimensions-alist, display-mm-height)
3000 (display-mm-width): Doc tweaks.
3002 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3004 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3005 case of undo in region.
3007 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3009 * window.el (fit-window-to-buffer): Fix argument in window-size
3010 call when window is horizontally combined.
3012 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3014 * icomplete.el (icomplete-completions): Use string-width.
3015 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3017 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3019 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3020 Highlight regexp options. (Bug#16914)
3022 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3024 * window.el (window--max-delta-1): Round down when calculating
3025 how many lines/columns we can get from a window.
3027 2014-03-01 Glenn Morris <rgm@gnu.org>
3029 * isearch.el (search-invisible): Doc fix.
3031 * minibuffer.el (completion-hilit-commonality):
3032 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3033 * comint.el (comint-dynamic-list-completions): Doc fix.
3034 * comint.el (comint-dynamic-list-completions):
3035 * filecache.el (file-cache-minibuffer-complete):
3036 * tempo.el (tempo-display-completions):
3037 * eshell/em-hist.el (eshell-list-history):
3038 Replace use of obsolete argument of display-completion-list.
3040 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3042 * icomplete.el (icomplete-completions):
3043 Revert back to using "..." when ?… cannot be displayed.
3045 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3047 * finder.el (finder-unload-function): New function.
3049 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3051 * dframe.el (dframe-detach):
3052 * find-dired.el (find-dired, find-name-dired):
3053 * finder.el (finder-mode-map, finder-mode-syntax-table)
3054 (finder-headmark, finder-select, finder-mouse-select):
3055 Fix docstring typos.
3057 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3059 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3060 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3061 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3062 Fix doc-string based on a suggestion by Nicolas Richard
3063 <theonewiththeevillook@yahoo.fr>.
3064 * help.el (with-help-window): Fix doc-string.
3066 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3068 * net/shr.el (shr-image-animate): New option.
3069 (shr-put-image): Respect shr-image-animate.
3071 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3073 * net/tramp-adb.el (tramp-adb-parse-device-names):
3074 Use `accept-process-output'.
3075 (tramp-adb-handle-file-truename): Cache the localname only.
3076 (tramp-adb-handle-make-directory)
3077 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3078 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3079 modes cannot be changed.
3081 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3082 file properties of symlinks.
3084 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3086 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3087 required/optional fields to match development biblatex. (Bug#16781)
3089 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3091 * saveplace.el (toggle-save-place):
3092 Fix argument handling. (Bug#16673)
3094 2014-02-28 Glenn Morris <rgm@gnu.org>
3096 * minibuffer.el (completions-first-difference)
3097 (completions-common-part, completion-hilit-commonality): Doc fixes.
3099 2014-02-28 Karl Berry <karl@gnu.org>
3101 * info.el (Info-mode-map): Add H for describe-mode,
3102 to synchronize with standalone Info.
3104 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3106 * progmodes/sql.el (sql-interactive-mode):
3107 Avoid setting global comint-input-ring-separator. (Bug#16814)
3109 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3111 * net/dbus.el (dbus--init-bus): Declare function.
3112 (dbus-path-local, dbus-interface-local): New defconst.
3113 (dbus-init-bus): Use them.
3114 (dbus-return-values-table): Extend doc.
3115 (dbus-handle-bus-disconnect): Extend error message.
3117 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3119 * subr.el (y-or-n-p): Fix double space issue in message.
3121 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3123 * net/tramp.el (tramp-call-process): Improve trace message.
3124 (tramp-handle-insert-file-contents): Trace error case.
3126 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3127 <insert-directory>: Use `tramp-handle-insert-directory'.
3128 (tramp-adb-handle-insert-directory): Remove function.
3129 (tramp-adb-send-command-and-check): New defun, replacing
3130 `tramp-adb-command-exit-status'. Change all callees.
3131 (tramp-adb-handle-file-attributes)
3132 (tramp-adb-handle-directory-files-and-attributes): Use it.
3133 (tramp-adb-ls-output-name-less-p):
3134 Use `directory-listing-before-filename-regexp'.
3135 (tramp-adb-handle-delete-directory): Flush also file properties of
3136 the truename of directory.
3137 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3138 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3139 (tramp-adb-handle-write-region): Implement APPEND.
3140 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3141 properties correctly.
3142 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3143 variables. Check for connected devices only when needed.
3145 2014-02-27 Glenn Morris <rgm@gnu.org>
3147 * minibuffer.el (completion-table-dynamic)
3148 (completion-table-with-cache): Doc fixes.
3150 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3151 (completing-read-multiple): Doc fixes.
3153 2014-02-27 Daniel Colascione <dancol@dancol.org>
3155 * minibuffer.el (completion--nth-completion): Fix indentation.
3157 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3158 explicit tramp path is empty.
3160 2014-02-27 Glenn Morris <rgm@gnu.org>
3162 * emacs-lisp/crm.el (completing-read-multiple):
3163 Empower help-enable-auto-load.
3165 2014-02-26 Glenn Morris <rgm@gnu.org>
3167 * startup.el (command-line): Don't init the tty in daemon mode.
3169 Avoid calling tty-setup-hook twice, eg if a term file
3170 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3171 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3172 (tty-create-frame-with-faces): Use it.
3173 * startup.el (command-line): Pass run-hook argument
3174 to tty-run-terminal-initialization.
3176 * dired.el (dired-restore-desktop-buffer): Demote errors;
3177 eg in case a glob match fails. (Bug#16884)
3179 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3181 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3182 error from `read-from-string'. (Bug#16850)
3184 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3185 result of `completing-read' in the interactive form. (Bug#16854)
3187 2014-02-25 Glenn Morris <rgm@gnu.org>
3189 * image.el (image-animate, image-animate-timeout):
3190 Stop animating images in dead buffers. (Bug#16878)
3192 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3194 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3196 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3197 * term/sun.el (sun-raw-prefix-hooks):
3198 Use tty-setup-hook instead of term-setup-hook.
3199 (terminal-init-sun): Construct message from bytecomp plist.
3200 * term/wyse50.el (enable-arrow-keys): Doc fix.
3202 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3204 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3205 Fix docstring typos.
3207 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3209 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3211 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3213 * minibuffer.el (completion--try-word-completion):
3214 Fix error when completing M-x commands (bug#16808).
3216 2014-02-24 Leo Liu <sdl.web@gmail.com>
3218 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3220 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3222 * apropos.el (apropos-print): Avoid formatting error when
3223 apropos-do-all and apropos-compact-layout are both t.
3225 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3227 * apropos.el (apropos-property, apropos-all-words-regexp)
3228 (apropos-true-hit, apropos-variable, apropos-print):
3229 Fix docstring typos, and remove obsolete comment.
3231 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3233 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3234 Preserve trailing "/". (Bug#16851)
3236 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3238 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3239 after `=>' (bug#16811).
3240 (ruby-smie-rules): Handle the inconsistent second element of the
3241 list returned by `smie-indent--parent'.
3242 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3245 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3247 * elec-pair.el (electric-pair-text-syntax-table)
3248 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3249 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3250 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3251 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3253 2014-02-22 Glenn Morris <rgm@gnu.org>
3255 * imenu.el (imenu--generic-function): Doc fix.
3257 * register.el (frame-configuration-to-register): Make obsolete.
3259 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3261 * desktop.el (desktop-save-buffer-p): Do not fail when
3262 desktop-files-not-to-save is nil. Return t for true result
3265 2014-02-22 Daniel Colascione <dancol@dancol.org>
3267 * net/secrets.el (secrets-create-item, secrets-search-items):
3268 Check that attribute values are strings, avoiding the construction
3269 of invalid dbus messages.
3271 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3273 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3274 defun-declarations-alist.
3276 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3281 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3283 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3284 (whitespace-newline, whitespace-trailing, whitespace-line)
3285 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3286 (whitespace-space-after-tab): Fix typo in docstrings.
3288 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3290 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3292 * electric.el (electric-indent-functions-without-reindent):
3293 Add `yaml-indent-line'.
3295 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3297 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3298 It has done nothing for years; should be removed after the release.
3300 * simple.el (choose-completion): Fix docstring typo.
3301 (read-quoted-char-radix): Remove unneeded * in docstring.
3302 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3303 Don't escape parentheses unnecessarily in docstrings.
3305 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3307 Fix handling of window-min-height/-width (Bug#16738).
3308 * window.el (window--dump-window, window--dump-frame):
3310 (window--min-size-1): Account for window dividers.
3311 When window-resize-pixelwise is nil, delay rounding till after the
3312 sum of the window components has been calculated.
3313 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3314 nil make sure at least one text line and two text columns remain
3316 (window-resize): Signal an error when window-resize-apply fails.
3317 (window--resize-child-windows): Fix calculation of by how many
3318 pixels a window can still be shrunk via window-new-normal.
3319 (adjust-window-trailing-edge): Call window--resizable with
3320 correct TRAIL argument.
3322 (with-temp-buffer-window): Don't evaluate BODY within
3323 with-current-buffer (Bug#16816).
3325 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3327 * net/tramp.el (tramp-check-cached-permissions):
3328 Call `file-attributes' with `suffix' being a symbol but a string.
3330 2014-02-21 Daniel Colascione <dancol@dancol.org>
3332 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3333 (dbus-init-bus): New function: call into dbus-init-bus-1
3334 and installs a handler for the disconnect signal.
3335 (dbus-call-method): Rewrite to look for result in cons.
3336 (dbus-call-method-handler): Store result in cons.
3337 (dbus-check-event): Recognize events with nil sender as valid.
3338 (dbus-handle-bus-disconnect): New function. React to bus
3339 disconnection signal by synthesizing dbus error for each
3340 pending synchronous or asynchronous call.
3341 (dbus-notice-synchronous-call-errors): New function.
3342 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3343 is true, not all the time.
3345 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3347 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3348 Remove obsolescence declarations, these variables do not exist anymore.
3350 * savehist.el (savehist-save-minibuffer-history)
3351 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3352 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3353 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3354 mostly, refer to "Savehist mode" when talking about the mode,
3355 and not the function.
3357 * saveplace.el (save-place): Remove redundant info in docstring.
3358 (save-place-forget-unreadable-files, toggle-save-place)
3359 (save-place-forget-unreadable-files, save-place-dired-hook):
3360 Fix typos and remove unneeded backslashes.
3362 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3364 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3365 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3367 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3368 <insert-directory>: Use `tramp-handle-insert-directory'.
3369 (tramp-gvfs-handle-insert-directory): Remove function.
3371 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3372 Call `tramp-handle-insert-directory'.
3374 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3376 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3377 before the start of buffer/region (bug#16799).
3379 2014-02-20 Glenn Morris <rgm@gnu.org>
3381 * isearch.el (search-invisible): Doc fix.
3383 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3385 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3388 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3390 * frameset.el (frameset-restore): Delay removing an old frame's
3391 duplicate id until the new frame has been correctly created.
3393 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3395 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3396 (tramp-check-cached-permissions): Call `file-attributes' if the
3399 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3400 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3403 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3404 (tramp-gvfs-maybe-open-connection): Set always connection
3405 properties, even if target is mounted already.
3407 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3408 Set tramp-autoload cookie.
3409 (tramp-get-remote-touch): New defun.
3410 (tramp-sh-handle-set-file-times): Use it.
3411 (tramp-sh-handle-directory-files-and-attributes):
3412 Use `tramp-handle-directory-files-and-attributes' if neither stat
3413 nor perl are available on the remote host.
3415 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3416 "/". Write long listing only when "l" belongs to the switches.
3418 * net/trampver.el: Update release number.
3420 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3422 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3424 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3426 * window.el (window-state-put): Allow WINDOW to refer to an
3427 internal window (Bug#16793).
3429 2014-02-19 Glenn Morris <rgm@gnu.org>
3431 * textmodes/remember.el: Move provide statement to end.
3432 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3433 (remember-notes): Doc fixes.
3435 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * delsel.el (delete-char): Restore incorrectly erased property
3440 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3442 * frameset.el (frameset--restore-frame): When a frame is being reused
3443 and its root window is not alive, delete all the frame's windows before
3444 restoring the window state. This works around the issue in bug#16793.
3446 2014-02-18 Glenn Morris <rgm@gnu.org>
3448 * textmodes/remember.el (remember-data-directory)
3449 (remember-directory-file-name-format, remember-store-in-files)
3450 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3451 (remember-notes-save-and-bury-buffer)
3452 (remember-notes--kill-buffer-query): Doc fixes.
3454 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3456 2014-02-17 Alan Mackenzie <acm@muc.de>
3458 Connect electric-indent-mode up with CC Mode. Bug #15478.
3459 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3460 to electric-indent-{,local-}-mode.
3461 (c-basic-common-init): Set electric-indent-inhibit.
3462 Initialise c-electric-flag from electric-indent-mode.
3463 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3464 New hook functions which propagate electric-indent-mode to CC mode.
3466 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3467 hit, toggle electric-indent-local-mode.
3469 * electric.el (electric-indent-mode-has-been-called):
3472 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3474 * frameset.el (frameset-cfg-id): New function.
3475 (frameset--reuse-frame, frameset-restore): Use it.
3476 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3478 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * ido.el (ido-file-internal): Remove unused var `d'.
3481 Use \` for to match BoS. Fit within 80n columns.
3483 2014-02-17 Daniel Colascione <dancol@dancol.org>
3485 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3486 dbus-call-method check for completion using a busy-wait loop with
3489 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3491 Sync with Tramp 2.2.9.
3493 * net/trampver.el: Update release number.
3495 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3497 * ido.el (ido-file-internal): Don't add the name of an existing
3498 directory twice. (Bug#16747)
3500 2014-02-16 Glenn Morris <rgm@gnu.org>
3502 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3503 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3505 2014-02-15 Michael R. Mauger <michael@mauger.com>
3507 * progmodes/sql.el: Version 3.4
3508 (sql-oracle-options): New default value ("-L").
3509 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3510 (sql-placeholders-filter): Correct placeholder pattern.
3511 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3512 (sql-login-delay): New variable.
3513 (sql-product-interactive): Use it.
3515 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3517 * frameset.el (frameset--jump-to-register): Check that buffer is live
3520 2014-02-15 Glenn Morris <rgm@gnu.org>
3522 * info.el (info-initialize): Revert 2014-01-10 change.
3524 2014-02-14 Glenn Morris <rgm@gnu.org>
3526 * replace.el (map-query-replace-regexp)
3527 (read-regexp-defaults-function, read-regexp): Doc fixes.
3529 * dired.el (dired-read-regexp):
3530 * faces.el (list-faces-display):
3531 * misearch.el (multi-isearch-read-matching-buffers)
3532 (multi-isearch-read-matching-files):
3533 * play/cookie1.el (cookie-apropos):
3534 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3536 * textmodes/remember.el (remember): Use frameset-to-register
3537 rather than frame-configuration-to-register.
3539 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3541 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3542 incorrect keybinding.
3544 2014-02-13 Daniel Colascione <dancol@dancol.org>
3546 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3547 when adding overlays so that line numbers from compiler match line
3550 2014-02-13 Glenn Morris <rgm@gnu.org>
3552 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3554 * jit-lock.el (jit-lock-mode): Doc fix.
3556 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3558 * apropos.el (apropos-read-pattern): When the user passes an empty
3559 string, give a more helpful error message than "Wrong type
3560 argument: stringp, nil".
3562 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3566 2014-02-13 Glenn Morris <rgm@gnu.org>
3568 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3570 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3573 shift-select commands.
3575 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3577 * progmodes/js.el (js-indent-line): Don't widen.
3578 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3580 2014-02-12 Glenn Morris <rgm@gnu.org>
3582 * icomplete.el (icomplete): Add info-link to defgroup.
3583 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3584 (icomplete-minibuffer-map, icomplete-mode)
3585 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3587 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3588 (package-menu-filter): Rename from package-menu-filter-interactive.
3591 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3593 * frameset.el (frameset--jump-to-register): Select the required
3594 window and buffer before restoring position (bug#16696).
3596 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3598 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3600 2014-02-10 Glenn Morris <rgm@gnu.org>
3602 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3604 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3606 * w32-common-fns.el (x-get-selection): Doc fix.
3607 * select.el (x-get-selection): Doc fix. (Bug#15109)
3609 * face-remap.el (face-remap-add-relative)
3610 (face-remap-remove-relative, face-remap-reset-base)
3611 (face-remap-set-base): Call force-mode-line-update to redisplay
3612 the current buffer due to potential change in faces. (Bug#16709)
3614 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3616 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3617 script more robustly.
3619 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3621 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3623 * simple.el (choose-completion): Doc fix (bug#14160).
3625 * subr.el (event-start): Say what a nil EVENT value means.
3627 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3630 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3632 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3634 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3636 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3637 predicate function (bug#15455).
3639 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3641 * ielm.el (inferior-emacs-lisp-mode): Instead of
3642 `comment-use-global-state', set `comment-use-syntax'.
3644 2014-02-10 Glenn Morris <rgm@gnu.org>
3646 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3648 2014-02-09 Alan Mackenzie <acm@muc.de>
3650 Fix c-invalidate-state-cache on narrowed buffers.
3651 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3652 Widen when setting and clearing the CPP delimiter properties.
3654 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3656 * help.el (describe-bindings): Doc fix (bug#9888).
3658 * files.el (save-buffer): Use ARG as the parameter name for
3659 consistency (bug#10346).
3660 (save-buffer): Clarify the 0 argument (bug#10346).
3662 * cus-edit.el (customize-apropos): Fix error string.
3663 (custom-buffer-create): Doc fix (bug#11122).
3664 (custom-sort-items): Doc fix (bug#11121).
3666 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3668 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3669 (icomplete-simple-completing-p): Mention the previous variable.
3671 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3672 meaning of the parameter (bug#12282).
3674 * files.el (find-file-noselect): Clarify prompt when changing
3675 readedness (bug#13261).
3676 (locate-file): Suffixes aren't returned, so don't say that they
3678 (backup-inhibited): Doc clarification (bug#12525).
3680 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3681 before we actually start to delete things (bug#16331).
3683 * subr.el (event-start): Doc fix (bug#14228).
3686 2014-02-09 Glenn Morris <rgm@gnu.org>
3688 * emacs-lisp/warnings.el (lwarn):
3689 Empower help-enable-auto-load. (Bug#15940)
3691 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3693 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3696 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3698 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3699 Insert output at end of buffer. (Bug#16120)
3701 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3703 * simple.el (choose-completion-string-functions): Document new
3704 calling convention (bug#14153).
3705 (execute-extended-command): Clarify doc string (bug#13373).
3707 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3709 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3710 (find-grep-dired): Doc fix (bug#14288).
3712 2014-02-08 Juri Linkov <juri@jurta.org>
3714 * isearch.el (isearch-quote-char): Check character validity
3715 like in `quoted-insert' (bug#16677).
3717 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3719 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3721 * isearch.el (isearch-hide-immediately): Doc clarification
3724 * simple.el (line-move): Document utility function used many
3725 places in the Emacs sources (bug#14843).
3727 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3728 (dired-prev-marked-file): Doc fix (bug#14855).
3729 (dired-up-directory): Doc fix (bug#14848).
3731 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3733 * files.el (file-relative-name): Doc fix (bug#15159).
3735 * fringe.el (fringe-styles): Doc fix (bug#15239).
3737 * isearch.el (isearch-filter-predicate): Documentation typo fix
3740 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3742 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3744 * replace.el (replace-match-maybe-edit): Doc clarification
3747 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3749 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3751 2014-02-08 Glenn Morris <rgm@gnu.org>
3753 * help-fns.el (describe-variable):
3754 Check {file,dir}-local-variables-alist, and buffer-file-name,
3755 in the correct buffer.
3757 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3759 * help-fns.el (describe-variable): Fix the case where
3760 a value is directory-local with no dir-locals file. (Bug#16635)
3762 2014-02-08 Glenn Morris <rgm@gnu.org>
3764 * abbrev.el (edit-abbrevs-mode):
3765 Derive from fundamental-mode. (Bug#16682)
3767 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3769 * simple.el (quoted-insert): Check character validity (bug#16677).
3771 2014-02-07 Juri Linkov <juri@jurta.org>
3773 * desktop.el (desktop-read): Claim the lock when the owner is not
3774 the current process. (Bug#16157)
3776 2014-02-07 Juri Linkov <juri@jurta.org>
3778 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3779 to "\\` ". (Bug#16651)
3781 2014-02-07 Juri Linkov <juri@jurta.org>
3783 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3784 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3785 (desktop-auto-save-cancel-timer): New function with some code from
3786 `desktop-auto-save-set-timer'.
3787 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3788 Instead of setting `desktop-save-mode' to nil, call
3789 `desktop-save-mode' with arg 0. (Bug#16630)
3791 2014-02-07 Glenn Morris <rgm@gnu.org>
3793 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3794 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3795 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3797 * obsolete/iswitchb.el: Move to obsolete/.
3798 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3799 since obsolete/ is not scanned for autoloads.
3800 * emacs-lisp/authors.el (authors-valid-file-names):
3803 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3804 Disable now non-functional find-file-hook.
3806 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3808 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3809 instead of ";" in order to avoid additional prompts. Let heredoc
3810 scripts read from tty. (Bug#16582)
3811 (tramp-send-command): No special handling of heredocs, it isn't
3814 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3817 with a space (bug#16664). Limit the symbols considered to the ones
3818 that are bound or fbound (bug#16646).
3820 2014-02-06 Glenn Morris <rgm@gnu.org>
3822 * epa.el (epa-mail-aliases): Doc fix.
3824 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3826 * emacs-lisp/lisp.el (lisp-completion-at-point):
3827 Use `completion-table-merge' instead of `completion-table-in-turn'
3830 * minibuffer.el (completion-table-merge): New function.
3832 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3834 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3835 (tramp-sh-handle-set-file-acl)
3836 (tramp-sh-handle-start-file-process)
3837 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3838 (tramp-find-executable, tramp-send-command): Use it.
3840 2014-02-05 Glenn Morris <rgm@gnu.org>
3842 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3844 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3846 * progmodes/python.el (python-shell-send-string)
3847 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3849 2014-02-04 Anders Lindgren <andlind@gmail.com>
3851 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3852 the names (bug#16620).
3854 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3856 * faces.el (window-divider): New default value. Rewrite doc-string.
3857 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3859 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3862 `protected' and `public' can also be called without arguments.
3864 2014-02-03 Glenn Morris <rgm@gnu.org>
3866 * register.el (window-configuration-to-register)
3867 (frame-configuration-to-register): Unadvertise unused argument.
3868 * frameset.el (frameset-to-register): Remove unused argument.
3870 * frameset.el (frameset-to-register):
3871 * kmacro.el (kmacro-to-register):
3872 * register.el (increment-register):
3873 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3874 (calc-append-to-register, calc-prepend-to-register):
3875 * play/gametree.el (gametree-layout-to-register)
3876 (gametree-apply-register-layout):
3877 * textmodes/picture.el (picture-clear-rectangle-to-register)
3878 (picture-yank-rectangle-from-register):
3879 * vc/emerge.el (emerge-combine-versions-register):
3880 Use register-read-with-preview to read registers.
3882 2014-02-03 João Távora <joaotavora@gmail.com>
3884 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3885 when at beginning of (possibly narrowed) buffer.
3887 2014-02-02 Daniel Colascione <dancol@dancol.org>
3889 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3890 Also try to display local help from just before point.
3892 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3894 c-parse-state. Don't "append-lower-brace-pair" in certain
3895 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3896 recognised as a comment.
3898 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3899 as well as normal comment starter.
3900 (c-parse-state-get-strategy): Extra return possibility
3902 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3903 return value list to indicate replacement of a brace-pair cons
3905 (c-parse-state-1): With 'back-and-forward, only call
3906 c-append-lower-brace-pair-to state-cache when cons-separated.
3908 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3910 * term/ns-win.el (ns-suspend-error): New function.
3911 (ns-initialize-window-system): Add ns-suspend-error to
3912 suspend-hook (Bug#16612).
3914 2014-02-02 Daniel Colascione <dancol@dancol.org>
3916 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3917 Make loading cc-mode silent.
3919 2014-02-02 Daniel Colascione <dancol@dancol.org>
3921 * comint.el (comint-prompt-read-only): Change doc to suggest
3924 2014-02-02 Glenn Morris <rgm@gnu.org>
3926 * register.el (register-read-with-preview, point-to-register)
3927 (window-configuration-to-register, frame-configuration-to-register)
3928 (jump-to-register, number-to-register, view-register, insert-register)
3929 (copy-to-register, append-to-register, prepend-to-register)
3930 (copy-rectangle-to-register): Doc fixes.
3932 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3935 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3936 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3937 * help-fns.el (describe-function-1): Use it.
3939 2014-02-02 Glenn Morris <rgm@gnu.org>
3941 * register.el (register-preview-default): New function,
3942 split from register-preview.
3943 (register-preview-function): Rename from register-preview-functions,
3945 (register-preview): Use register-preview-function.
3946 (register-read-with-preview): Error on non-character event. (Bug#16595)
3948 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3951 `:' before binary operators (bug#16609). Don't check for `:'
3952 before `[' and `(', or their syntax status. A percent literal
3953 can't end with either.
3954 (ruby-font-lock-keywords): For built-ins that require arguments,
3955 check that they're followed by something that looks like argument
3958 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3960 * subr.el (butlast): Document what an omitted N means (bug#13437).
3963 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3965 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3966 depth shallower (bug#16587).
3967 (shr-tag-svg): Respect `shr-inhibit-images'.
3968 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3970 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3972 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3973 (ruby-smie-grammar): Make "." right-associative. Make its priority
3974 lower than the ternary and all binary operators.
3975 (ruby-smie-rules): Indent "(" relative to the first non-"."
3976 parent, or the first "." parent at indentation.
3977 Use `ruby-align-chained-calls' for indentation of "." tokens.
3980 2014-01-31 Juri Linkov <juri@jurta.org>
3982 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3983 from `make-hash-table'.
3985 * textmodes/ispell.el (ispell-init-process): Change message format
3986 to be consistent with other messages.
3988 2014-01-31 Glenn Morris <rgm@gnu.org>
3990 * delsel.el (delete-selection-mode): Doc fix.
3992 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3993 (trace-function-background): Doc fixes.
3995 * ido.el (ido-use-virtual-buffers): Doc fix.
3996 Reset :version, since the default value has not changed.
3998 * register.el (register-preview-delay, register-read-with-preview):
4001 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4002 do not mess with mail-buffer position (fixes 2009-11-03 change).
4003 * progmodes/cc-mode.el (c-submit-bug-report):
4004 Check auto-fill-mode is bound. (Bug#16592)
4006 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4008 * startup.el (fancy-splash-image-file): New function,
4009 split from fancy-splash-head.
4010 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4011 so that we are both using the same image. (Bug#16574)
4013 2014-01-30 Glenn Morris <rgm@gnu.org>
4015 * simple.el (eval-expression): Doc fix.
4017 * hexl.el (hexl-mode-hook):
4018 * ielm.el (ielm-mode-hook):
4019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4020 (lisp-interaction-mode-hook):
4021 * progmodes/cfengine.el (cfengine3-documentation-function):
4022 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4024 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4027 is a symbol (bug#16584).
4029 2014-01-30 Glenn Morris <rgm@gnu.org>
4031 * help.el (help-for-help-internal): Add "P" to text.
4033 2014-01-29 Glenn Morris <rgm@gnu.org>
4035 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4037 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4039 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4042 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4044 * progmodes/hideif.el: Extend to full CPP expression syntax.
4045 (hif-token-alist): Add missing tokens.
4046 (hif-token-regexp): Add support for float/octal/hex immediates.
4047 (hif-string-literal-regexp): New const.
4048 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4049 (hif-exprlist): New function.
4050 (hif-parse-if-exp): Use it.
4051 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4052 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4053 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4054 (hif-logxor, hif-comma): New functions.
4056 2014-01-28 Glenn Morris <rgm@gnu.org>
4058 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4060 * indent.el (tab-stop-list): Doc fix. Add :version.
4062 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4063 (cvs-append-to-ignore): Add compatibility alias.
4065 2014-01-27 Glenn Morris <rgm@gnu.org>
4067 * dired.el (dired-hide-details-mode): Don't autoload it,
4068 since it cannot be used outside Dired buffers anyway.
4070 * emulation/cua-base.el (cua-mode): Doc fix.
4072 * dired.el (dired-hide-details-hide-symlink-targets)
4073 (dired-hide-details-hide-information-lines)
4074 (dired-hide-details-mode): Doc fixes.
4076 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4077 * strokes.el (strokes-file): Doc fix. Bump :version.
4078 (strokes-help): Doc fix.
4079 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4080 * emulation/viper.el (viper): Doc fix for custom group.
4081 (top-level): Remove oh-so-no-longer-relevant text about vip.
4082 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4084 * ido.el (ido-save-directory-list-file):
4085 * saveplace.el (save-place-file):
4086 * calendar/timeclock.el (timeclock-file):
4087 * net/quickurl.el (quickurl-url-file):
4088 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4089 * progmodes/idlwave.el (idlwave-config-directory):
4090 * textmodes/remember.el (remember-data-file):
4093 2014-01-26 Glenn Morris <rgm@gnu.org>
4095 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4096 Doc fix. Make obsolete.
4097 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4099 * sort.el (delete-duplicate-lines): Doc fix.
4101 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4103 * progmodes/ada-mode.el (ada):
4104 * woman.el (woman): Link to info manual and Commentary section.
4106 * progmodes/flymake.el (flymake):
4107 * nxml/nxml-mode.el (nxml):
4109 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4110 * htmlfontify.el (htmlfontify):
4113 * ido.el (ido): Link to info manual.
4115 2014-01-25 Leo Liu <sdl.web@gmail.com>
4117 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4119 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4121 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4124 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4126 * net/eww.el (eww-download-callback):
4127 Fix reference to eww-download-directory.
4129 * emacs-lisp/bytecomp.el (byte-compile-file):
4130 Remove unused local variable `file-name'.
4132 2014-01-24 Glenn Morris <rgm@gnu.org>
4134 * woman.el (woman-default-faces, woman-monochrome-faces):
4135 Fix obsolescence specification.
4137 * subr.el (with-demoted-errors): Doc fix.
4139 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4141 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4142 (cl--macroexp-fboundp): New function.
4143 (cl--make-type-test): Use it.
4145 2014-01-23 Glenn Morris <rgm@gnu.org>
4147 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4148 * simple.el (eval-expression): Doc fixes.
4150 2014-01-22 Glenn Morris <rgm@gnu.org>
4152 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4154 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * emacs-lisp/package.el: Write files silently.
4157 (package-autoload-ensure-default-file, package--write-file-no-coding)
4158 (package-generate-description-file, package--download-one-archive)
4159 (package-install-from-archive): Tell `write-region' to stay quiet.
4160 (package-menu-mode, package-menu--print-info): Omit the Archive column
4161 if there's only one archive.
4162 (package-all-keywords, package--has-keyword-p): Remove dead code.
4164 2014-01-22 Glenn Morris <rgm@gnu.org>
4166 * version.el (emacs-bzr-version-bzr): Fix typo.
4168 * version.el (emacs-repository-get-version):
4169 Check either .bzr or .git, but not both.
4170 Make the git case actually use the DIR argument, and return nil
4171 rather than the empty string.
4172 Avoid error if .git exists but the git executable is not found.
4174 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4176 Fixes in window size functions around Bug#16430 and Bug#16470.
4177 * window.el (window-total-size, window-size): New argument ROUND.
4178 (window--min-delta-1, window-min-delta, window--max-delta-1):
4179 Be more conservative when calculating the numbers of lines or
4180 columns a window can shrink (Bug#16430).
4181 (fit-window-to-buffer): Simplify code.
4182 * term.el (term-window-width): Call window-body-width again.
4184 2014-01-22 Glenn Morris <rgm@gnu.org>
4186 * image.el (image-format-suffixes): Doc fix.
4188 * international/quail.el (quail-define-package): Doc fix.
4190 * emacs-lisp/authors.el (authors-valid-file-names)
4191 (authors-renamed-files-alist): Additions.
4193 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4194 reverts 2014-01-09 change. (Bug#16422)
4196 * calc/calc-embed.el (thing-at-point-looking-at):
4197 * emacs-lisp/map-ynp.el (x-popup-dialog):
4198 * obsolete/lmenu.el (x-popup-dialog):
4199 * emacs-lisp/package.el (url-recreate-url):
4200 * mail/mailclient.el (clipboard-kill-ring-save):
4201 * subr.el (x-popup-dialog): Update declaration.
4202 * mail/rmail.el (rmail-mime-message-p):
4203 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4205 2014-01-21 Daniel Colascione <dancol@dancol.org>
4207 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4208 Correctly detect when we're inside an arithmetic expansion form
4209 containing nested parenthesis.
4210 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4211 to detect cases where we shouldn't expand "<<" to a heredoc
4214 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4217 (eldoc--message-command-p): New function.
4218 (eldoc-display-message-p): Use it.
4219 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4220 message is not automatically erased for us.
4221 (eldoc-print-current-symbol-info): Erase previous message, if any.
4223 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4225 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4226 specify it's an interactive function.
4228 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4229 Fix regex used for scanning for citation keys which failed for
4230 citations with optional arguments.
4232 2014-01-21 Leo Liu <sdl.web@gmail.com>
4234 * simple.el (read--expression): Don't enable eldoc-mode.
4236 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * simple.el (move-beginning-of-line): Make sure we don't move forward
4241 2014-01-20 Juri Linkov <juri@jurta.org>
4243 * saveplace.el (toggle-save-place, save-place-to-alist)
4244 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4245 'dired-mode) before checking for dired-directory. (Bug#16477)
4247 2014-01-20 Juri Linkov <juri@jurta.org>
4249 * indent.el (indent-line-to): Use backward-to-indentation
4250 instead of back-to-indentation. (Bug#16461)
4252 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4254 Revert some of the CANNOT_DUMP fix (Bug#16494).
4255 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4256 but fixing this can wait until after the next release.
4257 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4259 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4261 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4262 Use `password-word-equivalents'.
4263 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4264 to t. (Bug#5664, Bug#13124)
4266 2014-01-19 Alan Mackenzie <acm@muc.de>
4268 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4270 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4271 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4272 * progmodes/cc-mode.el (c-before-change, c-after-change)
4273 (c-font-lock-fontify-region): Bind it here.
4275 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4277 * term.el (term-window-width): Call window-text-width instead of
4278 window-width (Bug#16470).
4280 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4282 * simple.el (password-word-equivalents): Remove duplicates.
4283 Sort, to make this easier next time.
4284 Downcase. Omit ": " after "jelszó".
4286 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4288 * term/common-win.el (saved-region-selection): Defvar it.
4289 (x-select-text): Set saved-region-selection (Bug#16382).
4291 2014-01-18 Glenn Morris <rgm@gnu.org>
4293 * emacs-lisp/authors.el (authors-aliases)
4294 (authors-renamed-files-alist): Add some entries.
4296 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4298 * net/tramp.el (tramp-password-prompt-regexp):
4299 Use `password-word-equivalents' if available.
4300 (tramp-action-password, tramp-process-one-action)
4301 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4303 2014-01-17 Chong Yidong <cyd@gnu.org>
4305 * simple.el (password-word-equivalents): New defcustom.
4306 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4308 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4311 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4313 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4314 (ruby-align-to-stmt-keywords): Change the default value.
4315 Use `ruby-alignable-keywords' to generate the possible customization
4317 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4318 keywords, check against the value of `ruby-alignable-keywords'
4319 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4321 2014-01-17 Glenn Morris <rgm@gnu.org>
4323 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4325 Make M-x authors return zero *Authors Errors* from current logs.
4326 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4327 (authors-ignored-files): Add some entries, remove others.
4328 (authors-ambiguous-files, authors-valid-file-names):
4330 (authors-renamed-files-alist): Add, remove, and adjust entries.
4331 (authors-renamed-files-regexps): Add some entries.
4332 Remove some very broad ones. Make some entries `lax'.
4333 (authors-lax-changelogs): New constant.
4334 (authors-disambiguate-file-name): Treat top-level specially.
4335 (authors-lax-changelog-p): New function.
4336 (authors-canonical-file-name): Check file as written against
4337 authors-valid-file-names. Do not special-case etc/.
4338 Handle `lax' logs and authors-renamed-files-regexps elements.
4340 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4342 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4343 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4346 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4349 Assume we're already in the proper buffer.
4350 Inspired by Anders Lindgren <andlind@gmail.com>.
4351 (follow-post-command-hook): Call it from the right buffer.
4352 (follow-comint-scroll-to-bottom): Adjust call.
4353 (follow-all-followers): Use get-buffer-window-list.
4355 2014-01-15 Daniel Colascione <dancol@dancol.org>
4357 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4358 `buffer-file-name' in interactive-form so that we don't leave
4359 pathless file names in `file-name-history'.
4361 2014-01-15 Juri Linkov <juri@jurta.org>
4363 * indent.el (indent-rigidly): Set deactivate-mark to nil
4364 in transient indentation mode. (Bug#16438)
4366 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4368 * emacs-lisp/package.el (package-desc-keywords): New function
4370 (describe-package-1, package-all-keywords)
4371 (package--has-keyword-p): Use it.
4373 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4375 * simple.el (define-alternatives): When creating the
4376 COMMAND-alternatives variable, assign COMMAND as its definition
4377 name so that `describe-variable' can relocate it.
4379 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4381 * font-lock.el (font-lock-keywords): Fix typo in docstring
4384 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4386 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
4387 line instead of wrongly reset `add-coment' (bug#13577).
4389 2014-01-14 Daiki Ueno <ueno@gnu.org>
4391 * epa-file.el (epa-file-write-region): Encode the region according
4392 to `buffer-file-format'. Problem reported at:
4393 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4395 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4398 so it applies in the right buffer (bug#16410).
4400 2014-01-13 Daniel Colascione <dancol@dancol.org>
4402 * textmodes/rst.el (rst-define-key): Provide deprecated
4403 keybindings through named functions instead of anonymous ones so
4404 that "??" doesn't appear in describe-mode output.
4406 2014-01-13 Bastien Guerry <bzg@gnu.org>
4408 * simple.el (define-alternatives): Call the selected command
4409 interactively. When setting `COMMAND--implementation' for the
4410 first time, tell the user how to chose another implementation.
4411 Enhance the docstring.
4413 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4416 (log-edit--match-first-line): New function.
4417 (log-edit-font-lock-keywords): Use it.
4418 (log-edit-mode): Make jit-lock-defer-multiline work.
4420 2014-01-13 Bastien Guerry <bzg@gnu.org>
4422 * rect.el (rectangle-mark-mode): When the region is not active,
4423 display a message saying that the mark as been set and that
4424 rectangle mode is in use.
4425 (rectangle--highlight-for-redisplay): Only put an overlay with a
4426 visible vertical bar when (display-graphic-p) is non-nil.
4427 This partially fixes Bug#16403.
4429 2014-01-13 Juri Linkov <juri@jurta.org>
4431 * info.el (Info-find-file): Go to DIR before displaying the error
4432 about a nonexistent file if no previous Info file is visited.
4433 Use `user-error' instead of `error' for "Info file %s does not exist".
4434 (Info-find-node-2): In case of a nonexistent node in unwind forms
4435 go to the Top node if there is no previous node to revert to.
4438 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4440 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4441 * window.el (fit-frame-to-buffer): Fix doc-string.
4442 Respect window-min-height/-width. Fit pixelwise when
4443 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4444 when avoiding that frame goes partially off-screen.
4445 (fit-window-to-buffer): Respect window-min-height/-width
4448 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4450 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4451 after an empty line.
4453 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4455 * net/shr.el (shr-render-region): Autoload.
4457 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4459 * net/eww.el (eww-download-directory): Rename from
4460 `eww-download-path' (Bug#16419).
4462 2014-01-12 Leo Liu <sdl.web@gmail.com>
4464 * dired-x.el (dired-mode-map): Fix last change.
4466 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4468 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4471 * emacs-lisp/generic.el (generic--normalize-comments):
4472 Rename from generic--normalise-comments. All uses changed.
4473 * play/bubbles.el (bubbles--neighborhood-score)
4474 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4475 (bubbles--neighborhood-available)
4476 (bubbles--update-neighborhood-score):
4477 Rename from names with 'neighbourhood'. All uses changed.
4479 2014-01-12 Leo Liu <sdl.web@gmail.com>
4481 Re-implement the feature of showing eldoc info after editing.
4482 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4483 (eldoc-edit-message-commands): New function.
4484 (eldoc-print-after-edit): New variable.
4485 (eldoc-pre-command-refresh-echo-area): Emit message only by
4486 eldoc-message-commands.
4487 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4488 if eldoc-print-after-edit is set. (Bug#16346)
4489 * simple.el (read--expression): Enable eldoc-mode.
4490 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4492 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4493 Eric S. Raymond <esr@thyrsus.com>
4495 * version.el (emacs-repository-get-version): Enhance so the
4496 function works correctly in either a Bazaar or Git repo.
4498 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4500 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4501 Goes with removal of the joke manpages from /etc.
4503 2014-01-10 Kenichi Handa <handa@gnu.org>
4505 * mail/rmail.el (rmail-get-coding-system):
4506 Check rmail-get-coding-function before "funcall"ing it.
4508 2014-01-10 Glenn Morris <rgm@gnu.org>
4510 * emacs-lisp/authors.el (authors-fixed-entries):
4511 Update for files that no longer exist.
4513 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4515 * version.el (emacs-bzr-get-version): Restore compatibilty with
4518 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4520 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4523 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4525 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4527 2014-01-10 Chong Yidong <cyd@gnu.org>
4529 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4531 2014-01-10 Anders Lindgren <andlind@gmail.com>
4533 * follow.el (follow-cache-command-list): Include right-char and
4536 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4539 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4540 * woman.el (woman-mark-horizontal-position):
4541 Rename from woman-mark-horizonal-position. Use changed.
4543 2014-01-10 Glenn Morris <rgm@gnu.org>
4545 * info.el (info-initialize): If running uninstalled, ensure our
4546 own info files are always found first, even if INFOPATH is set.
4548 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4550 2014-01-09 David Engster <deng@randomsample.de>
4552 * emacs-lisp/eieio-custom.el:
4553 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4554 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4555 * emacs-lisp/eieio.el: Regenerate autoloads.
4557 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4559 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4560 following renames. (Bug#8756)
4562 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4566 (activate-mark): Add `no-tmm' argument.
4567 (set-mark, push-mark-command): Use it instead of running
4568 activate-mark-hook by hand.
4570 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4572 In preparation for the move to git, sanitize out some
4573 Bazaar-specific names.
4575 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4577 * version.el (emacs-bzr-version): Name changed to
4578 emacs-repository-version. Obsolete-variable alias made.
4579 * loadup.el: Follow through on this name change.
4580 * mail/emacsbug.el (report-emacs-bug): Factor out any
4581 assumption about the version control system in use.
4583 2014-01-08 David Engster <deng@randomsample.de>
4585 * help-fns.el (help-fns-describe-function-functions):
4586 New variable to call functions for augmenting help buffers.
4587 (describe-function-1): Remove explicit calls to
4588 `help-fns--compiler-macro', `help-fns--parent-mode' and
4589 `help-fns--obsolete'. Put them in above new variable instead, and
4590 call them through `run-hook-with-args'.
4591 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4592 `eieio-describe-class'. Not meant for interactive use anymore,
4593 but to augment existing help buffers. Remove optional second
4594 argument. Create proper button for file location.
4595 Rewrite function to use `insert' instead of `princ' and `prin1' where
4597 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4598 (eieio-method-def, eieio-class-def): Move further up.
4599 (describe-method, describe-generic, eieio-describe-method):
4601 (eieio-help-constructor, eieio-help-generic): Rename from
4602 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4603 Rewrite to use `insert' in the current buffer and use proper help
4605 (eieio-help-find-method-definition)
4606 (eieio-help-find-class-definition): Also accept symbols as
4608 (eieio-help-mode-augmentation-maybee): Remove.
4609 (eieio-describe-class-sb): Use `describe-function'.
4610 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4611 Add `eieio-help-generic' and `eieio-help-constructor'.
4613 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4616 * language/china-util.el (hz-ascii-designation):
4617 Rename from hz-ascii-designnation.
4618 (hz-ascii-designation): Rename from hz-ascii-designnation.
4621 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4626 2014-01-08 Bastien Guerry <bzg@gnu.org>
4628 * emacs-lisp/package.el (package-delete):
4629 Correctly delete the package from package-alist.
4631 2014-01-08 Daiki Ueno <ueno@gnu.org>
4633 * emacs-lisp/package.el (url-recreate-url): Declare.
4634 (url-http-target-url): Declare.
4635 (package-handle-response): Include requested URL in the error message.
4636 (package--check-signature): Don't re-signal errors from
4637 package--with-work-buffer. Suggested by Stefan Monnier.
4639 2014-01-07 Bastien Guerry <bzg@gnu.org>
4641 * minibuffer.el (completion--try-word-completion): When both a
4642 hyphen and a space are possible candidates for the character
4643 following a word, display both candidates. (Bug#15980)
4645 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4647 * window.el (balance-windows-2): While rounding don't give a
4648 window more than the remainder. Bug#16351, bug#16383.
4650 2014-01-07 Glenn Morris <rgm@gnu.org>
4652 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4653 (menu-bar-help-menu): Use view-external-packages instead.
4655 2014-01-07 Bastien Guerry <bzg@gnu.org>
4657 * emacs-lisp/package.el (package-delete): Also delete the package
4658 name from `package-alist', not its description only.
4660 2014-01-07 Glenn Morris <rgm@gnu.org>
4662 * help.el (view-external-packages):
4663 * menu-bar.el (menu-bar-help-extra-packages):
4664 Visit efaq.info rather than etc/MORE.STUFF.
4666 2014-01-07 Juri Linkov <juri@jurta.org>
4668 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4669 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4671 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4672 that shadows RET. (Bug#16342)
4674 2014-01-07 Chong Yidong <cyd@gnu.org>
4676 * isearch.el (isearch-yank-char, isearch-yank-word)
4677 (isearch-yank-line): Doc fix.
4679 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4681 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4682 * emacs-lisp/elint.el (elint-find-builtins):
4683 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4684 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4685 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4686 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4687 * apropos.el (apropos-safe-documentation):
4688 * subr.el (symbol-file): Remove redundant fboundp.
4689 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4691 2014-01-06 Bastien Guerry <bzg@gnu.org>
4693 * hl-line.el (global-hl-line-overlay): Make a local variable.
4694 (global-hl-line-overlays): New variable to store all overlays.
4695 (global-hl-line-mode): Don't delete overlays from the current
4696 buffer when `global-hl-line-sticky-flag' is non-nil.
4697 (global-hl-line-highlight): Add new overlays to
4698 `global-hl-line-overlays'.
4699 (global-hl-line-unhighlight-all): New function to delete all
4700 overlays when turning off `global-hl-line-mode'.
4701 This fixes Bug#16183.
4703 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4705 * subr.el (set-transient-map): Fix nested case and docstring.
4707 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4709 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4712 2014-01-06 Daniel Colascione <dancol@dancol.org>
4714 Fix defun navigation in vc log view.
4716 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4717 like `beginning-of-defun'.
4718 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4719 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4720 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4721 (log-view-extract-comment): Call `log-view-current-entry' directly
4722 instead of relying on broken `log-view-beginning-of-defun' behavior.
4724 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4727 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4728 * emacs-lisp/debug.el (cancel-debug-on-entry):
4729 * epg.el (epg-error-to-string):
4730 * files.el (recover-file):
4731 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4732 * mail/emacsbug.el (report-emacs-bug-hook):
4733 * mail/sendmail.el (mail-recover):
4734 * ses.el (ses-yank-resize):
4735 * term/ns-win.el (ns-print-buffer):
4736 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4737 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4739 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4741 2014-01-06 Leo Liu <sdl.web@gmail.com>
4743 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4744 to avoid shadowing global key. (Bug#16354)
4746 2014-01-06 Daniel Colascione <dancol@dancol.org>
4748 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4751 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4753 * window.el (balance-windows): Add mising t to fix Bug#16351.
4755 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4757 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4759 (shr-insert): If we have a word that's longer than `shr-width',
4760 break after it anyway. Otherwise we'll do no breaking once we get
4763 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4765 * net/eww.el (eww): Support single/double quote for search.
4766 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4767 (eww-history-quit): Delete and use quit-window.
4768 (eww-history-kill): Delete, because it doesn't work well and
4770 (eww-history-mode-map): Delete some keys and add easy-menu.
4772 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4774 Fix misspelling of 'chinese' in rx (Bug#16237).
4775 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4778 Change subword regexps back to vars (Bug#16296).
4779 * progmodes/subword.el (subword-forward-regexp)
4780 (subword-backward-regexp): Change these back to variables.
4782 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4784 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4785 syntax-begin-function (bug#16247).
4787 2014-01-03 Chong Yidong <cyd@gnu.org>
4789 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4790 (advice--docstring): Delete variable.
4791 (advice--make-1): Leave the docstring empty.
4792 (advice-add): Use function-documentation for advised docstring.
4794 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4795 Ignore function-documentation property when getting documentation.
4796 (ad-activate-advised-definition): Use function-documentation
4797 generate the docstring.
4798 (ad-make-advised-definition): Don't call
4799 ad-make-advised-definition-docstring.
4800 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4803 * progmodes/sql.el (sql-help): Use function-documentation instead
4804 of dynamic-docstring-function property. No need to autoload now.
4805 (sql--help-docstring): New variable.
4806 (sql--make-help-docstring): Use it.
4808 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4810 * ielm.el (ielm-tab): Retarget.
4811 (ielm-map): Use ielm-tab for tab.
4812 (ielm-complete-filename): Use comint-filename-completion.
4813 (ielm-complete-symbol): Remove.
4814 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4815 remove ielm-tab from completion-at-point-functions (bug#16224).
4817 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4818 Beware signals raised by predicates (bug#16201).
4820 2014-01-02 Richard Stallman <rms@gnu.org>
4822 * dired-aux.el (dired-do-print): Handle printer-name.
4824 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4825 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4826 (rmail-epa-decrypt): Turn off mime processing.
4828 * mail/rmail.el (rmail-make-in-reply-to-field):
4829 Add parens in message-id.
4831 * mail/rmail.el (rmail-get-coding-function): Variable.
4832 (rmail-get-coding-system): Use it.
4834 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4836 * international/mule-conf.el: Unify the charset indian-is13194.
4837 (indian-is13194): Specify unify-map.
4839 2013-12-31 Leo Liu <sdl.web@gmail.com>
4841 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4843 2013-12-30 Daniel Colascione <dancol@dancol.org>
4845 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4846 of printing a useless when we resume from sleep.
4848 * progmodes/sh-script.el
4849 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4850 in indentation code. (Bug#16233)
4852 2013-12-28 João Távora <joaotavora@gmail.com>
4854 * elec-pair.el (electric-pair-post-self-insert-function):
4855 Don't open extra newlines at beginning of buffer. (Bug#16272)
4857 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4859 * frame.el (window-system-for-display): Don't allow to create a
4860 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4862 2013-12-28 Glenn Morris <rgm@gnu.org>
4864 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4867 * apropos.el (apropos-match-face):
4868 * calculator.el (calculator-displayer):
4869 * dabbrev.el (dabbrev-search-these-buffers-only):
4870 * face-remap.el (buffer-face-mode-face):
4871 * simple.el (yank-handled-properties):
4872 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4873 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4874 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4875 (hashcash-double-spend-database):
4876 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4877 (ruby-deep-indent-paren-style):
4878 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4879 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4880 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4881 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4882 Specify custom types.
4884 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4885 * bookmark.el (bookmark-bmenu-use-header-line):
4886 * doc-view.el (doc-view-scale-internally):
4887 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4888 * register.el (register-preview-delay):
4889 * net/shr.el (shr-bullet):
4890 * progmodes/cfengine.el (cfengine-cf-promises)
4891 (cfengine-parameters-indent):
4892 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4893 * textmodes/reftex-vars.el (reftex-label-regexps):
4894 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4896 * net/tls.el (tls-certtool-program): Fix default value.
4898 * desktop.el (desktop-restore-in-current-display):
4899 * newcomment.el (comment-empty-lines):
4900 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4901 (idlwave-pad-keyword):
4902 * progmodes/tcl.el (tcl-tab-always-indent):
4903 * textmodes/reftex-vars.el (reftex-index-default-tag):
4904 * elec-pair.el (electric-pair-skip-whitespace):
4905 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4907 * emacs-lisp/authors.el (authors-ignored-files)
4908 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4910 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4912 * shell.el (shell-dynamic-complete-command): Doc fix.
4913 (shell--command-completion-data): Shell completion now matches
4914 executable filenames from the current buffer's directory, on
4915 systems in which this behavior is the default (windows-nt, ms-dos).
4917 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4919 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4921 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4923 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4926 * electric.el: Move all electric-pair-* to elec-pair.el.
4927 * elec-pair.el: New file, split from electric.el.
4929 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4931 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4932 indentation level is larger than the width, because that will
4934 (shr-insert): Fill repeatedly long texts, so that Japanese is
4935 formatted correctly (bug#16263).
4936 (shr-find-fill-point): Off by one error in comparison with the
4939 2013-12-26 João Távora <joaotavora@gmail.com>
4941 * electric.el (electric-pair-mode): More flexible engine for skip-
4942 and inhibit predicates, new options for pairing-related functionality.
4943 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4944 if that keeps or improves their balance in buffers.
4945 (electric-pair-delete-adjacent-pairs): Delete the pair when
4946 backspacing over adjacent matched delimiters.
4947 (electric-pair-open-extra-newline): Open extra newline when
4948 inserting newlines between adjacent matched delimiters.
4949 (electric--sort-post-self-insertion-hook):
4950 Sort post-self-insert-hook according to priority values when
4951 minor-modes are activated.
4952 * simple.el (newline-and-indent): Call newline with interactive
4954 (blink-paren-post-self-insert-function): Set priority to 100.
4955 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4956 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4957 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4958 electric-pair-open-newline-between-pairs to nil.
4960 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4962 * progmodes/python.el: Use lexical-binding.
4963 (python-nav-beginning-of-defun): Stop searching ASAP.
4965 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4967 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4968 Fix interactive spec. Doc fix. (Bug#15754)
4970 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4972 * emacs-lisp/byte-run.el (eval-when-compile):
4973 * progmodes/cc-defs.el (cc-eval-when-compile):
4974 Fix edebug spec (bug#16184).
4976 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4978 * net/shr.el (shr-visit-file): Remove debugging function.
4979 (shr-insert): Don't infloop if we can't find a good place to break
4980 the line (bug#16256).
4982 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4984 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4985 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4986 python-nav-lisp-forward-sexp-safe.
4987 (python-nav--forward-sexp): New argument SAFE allows switching
4988 forward sexp movement behavior for parens.
4989 (python-nav-forward-sexp): Throw errors on unterminated parens
4991 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4992 (python-nav-backward-sexp-safe): New functions.
4993 (python-shell-buffer-substring):
4994 Use `python-nav-forward-sexp-safe'.
4996 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4998 * net/shr.el (shr-find-fill-point): Don't break lines before a
5000 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5001 (shr-find-fill-point): Remove the special checks for the quotation
5002 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5004 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5006 * net/eww.el (eww-form-textarea): Use a different face for
5007 textareas than text input since they have different keymaps
5010 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5012 * progmodes/python.el (python-nav-beginning-of-statement):
5013 Speed up (Bug#15295).
5015 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5017 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5018 the window configuration.
5020 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5022 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5023 we run on MS-Windows or MS-DOS.
5025 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5027 * window.el (balance-windows-area): Call window-size instead of
5028 window-height and window-width. Bug#16241.
5030 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5032 * net/eww.el (eww-bookmark-quit): Remove.
5033 (eww-bookmark-browse): Restore the window configuration when you
5034 choose a bookmark (bug#16144).
5036 2013-12-24 Daniel Colascione <dancol@dancol.org>
5038 * icomplete.el: Remove redundant :group arguments to `defcustom'
5040 (icomplete-show-matches-on-no-input): New customizable variable.
5041 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5042 we have something to show.
5043 (icomplete-exhibit): Compute completions even if we have no user input.
5045 2013-12-23 Daniel Colascione <dancol@dancol.org>
5047 * icomplete.el: Move `provide' to end of file.
5049 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5051 * net/gnutls.el (gnutls-verify-error): Add version tag.
5053 2013-12-23 Chong Yidong <cyd@gnu.org>
5055 * subr.el (set-transient-map): Rename from
5056 set-temporary-overlay-map. Doc fix.
5058 * face-remap.el (text-scale-adjust):
5059 * indent.el (indent-rigidly):
5060 * kmacro.el (kmacro-call-macro):
5061 * minibuffer.el (minibuffer-force-complete):
5062 * repeat.el (repeat):
5063 * simple.el (universal-argument--mode):
5064 * calendar/todo-mode.el (todo-insert-item--next-param):
5065 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5067 * indent.el (indent-rigidly): Use substitute-command-keys.
5069 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5071 * net/eww.el (eww-tag-select): Add text-property to jump to next
5073 (eww): Add non-supported ftp error.
5075 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5077 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5078 comments. Handle electric indent after typing `?' and `!'.
5080 2013-12-22 Chong Yidong <cyd@gnu.org>
5082 * faces.el (face-spec-recalc): If the theme specs are not
5083 applicable to a frame, fall back on the defface spec.
5084 This prevents themes from obliterating faces on low-color terminals.
5086 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5089 after `{'. We need it after block openers, and it doesn't seem
5090 to hurt after hash openers.
5092 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5094 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5095 extracted from `ruby-smie-rules'.
5096 (ruby--electric-indent-chars): New variable.
5097 (ruby--electric-indent-p): New function.
5098 (ruby-mode): Use `electric-indent-functions' instead of
5099 `electric-indent-chars'.
5101 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5103 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5105 (ruby-smie-rules): Indent plus one level after `=>'.
5107 2013-12-21 Richard Stallman <rms@gnu.org>
5109 * simple.el (newline): Doc fix.
5111 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5113 * net/eww.el (eww-list-histories, eww-list-histories)
5114 (eww-history-browse, eww-history-quit, eww-history-kill)
5115 (eww-history-mode-map, eww-history-mode): New command and
5116 functions to list browser histories.
5117 (eww-form-text): Support text form with disabled
5118 and readonly attributes.
5119 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5121 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5123 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5124 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5125 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5126 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5128 (eww-bookmark-mode-map): Add menu.
5129 (eww-render, eww-mode): Use `setq-local'.
5130 (eww-tool-bar-map): New variable.
5131 (eww-mode): Set `tool-bar-map'.
5132 (eww-view-source): Check for `html-mode' with `fboundp'.
5134 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5136 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5137 elements with text inside. Also remove debugging.
5139 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5141 * cus-start.el (all): Add ns-use-srgb-colorspace.
5143 2013-12-21 Chong Yidong <cyd@gnu.org>
5145 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5146 undefined. Thus, theme settings for undefined faces do not take
5147 effect until the faces are defined with defface, the same as with
5150 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5151 (face-spec-reset-face): Don't assign extra properties in temacs.
5152 (face-spec-recalc): Apply X resources too.
5154 2013-12-21 Chong Yidong <cyd@gnu.org>
5156 * faces.el (face-spec-set):
5157 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5158 * custom.el (defface): Doc fixes (Bug#16203).
5160 * indent.el (indent-rigidly-map): Add docstring, and move commands
5161 into named functions.
5162 (indent-rigidly-left, indent-rigidly-right)
5163 (indent-rigidly-left-to-tab-stop)
5164 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5165 indentation direction based on bidi direction, and accumulate
5166 sequential commands in a single undo boundary.
5167 (indent-rigidly--pop-undo): New utility function.
5169 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5171 * faces.el (read-face-name): Require crm.el when using crm-separator.
5173 2013-12-20 Daniel Colascione <dancol@dancol.org>
5175 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5176 so that we don't reflow comments into the shebang line.
5178 2013-12-20 Juri Linkov <juri@jurta.org>
5180 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5181 a position when `dired-directory' is non-nil. Check integer
5182 positions with `integerp'.
5183 (toggle-save-place, save-places-to-alist): Add check for
5185 (save-place-find-file-hook): Check integer positions with
5187 (save-place-dired-hook): Use `dired-goto-file' when
5188 `dired-filename' is found in the assoc list. Check integer
5189 positions with `integerp'.
5190 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5192 * dired.el (dired-initial-position-hook): Rename back from
5193 `dired-initial-point-hook'.
5194 (dired-initial-position): Rename `dired-initial-point-hook' to
5195 `dired-initial-position-hook'.
5196 (dired-file-name-at-point): Doc fix. (Bug#15329)
5198 2013-12-20 Juri Linkov <juri@jurta.org>
5200 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5201 (read-regexp-suggestions): New function.
5202 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5203 Use `read-regexp-suggestions'. Add non-empty default to history
5205 (occur-read-regexp-defaults-function): Remove function.
5206 (occur-read-primary-args): Use `regexp-history-last' instead of
5207 `occur-read-regexp-defaults-function'.
5209 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5210 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5211 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5212 `hi-lock-read-regexp-defaults-function'. Doc fix.
5213 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5214 with `find-tag-default-as-symbol-regexp'. Doc fix.
5215 (hi-lock-read-regexp-defaults): Remove function.
5216 (hi-lock-regexp-okay): Add check for null.
5218 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5219 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5221 * subr.el (find-tag-default-as-symbol-regexp): New function.
5222 (find-tag-default-as-regexp): Move symbol regexp formatting to
5223 `find-tag-default-as-symbol-regexp'.
5225 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5227 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5230 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5232 * calendar/todo-mode.el: New implementation of item insertion
5233 commands and key bindings.
5234 (todo-key-prompt): New face.
5235 (todo-insert-item): New command.
5236 (todo-insert-item--parameters): New defconst, replacing defvar
5237 todo-insertion-commands-args-genlist.
5238 (todo-insert-item--param-key-alist): New defconst, replacing
5239 defvar todo-insertion-commands-arg-key-list.
5240 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5241 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5242 (todo-insert-item--next-param): New functions.
5243 (todo-insert-item--args, todo-insert-item--argleft)
5244 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5246 (todo-key-bindings-t): Change binding of "i" from
5247 todo-insertion-map to todo-insert-item.
5248 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5249 (todo-insertion-command-name, todo-insertion-commands-names)
5250 (todo-define-insertion-command, todo-insertion-commands)
5251 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5253 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5255 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5256 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5258 (todo-move-category): Allow choosing a non-existing todo file to
5259 move the category to, and create that file.
5260 (todo-default-priority): New user option.
5261 (todo-set-item-priority): Use it.
5262 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5263 (desktop-restore-file-buffer): Declare.
5264 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5265 (todo-modes-set-2): Locally set desktop-save-buffer to
5266 todo-desktop-save-buffer.
5267 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5268 (auto-mode-alist): Add autoload cookie.
5270 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5272 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5273 helpers.el was a poor choice of name.
5274 (string-remove-prefix): New function.
5275 (string-remove-suffix): New function.
5277 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5279 Fix assignment for new window total sizes.
5280 * window.el (window--pixel-to-size): Remove function.
5281 (window--pixel-to-total-1, window--pixel-to-total):
5282 Fix calculation of new total sizes.
5284 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5286 * comint.el (comint-output-filter): Fix rear-nonsticky property
5287 placement (Bug#16010).
5289 2013-12-20 Chong Yidong <cyd@gnu.org>
5291 * faces.el (read-color): Minor fix for completion function.
5293 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5295 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5296 New option. (Bug#16182)
5297 (ruby-smie--indent-to-stmt-p): Use it.
5298 (ruby-smie-rules): Revert the logic in the handling of `when'.
5299 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5300 (ruby-deep-arglist, ruby-deep-indent-paren)
5301 (ruby-deep-indent-paren-style): Update docstrings to note that the
5302 vars don't have any effect with SMIE.
5304 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5306 * calc/calc.el (calc-enter, calc-pop): Use the variable
5307 `calc-context-sensitive-enter'.
5309 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5311 * net/shr.el (shr-insert): Protect against infloops in degenerate
5314 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5316 * progmodes/octave.el (octave): Add link to manual and octave
5318 (octave-mode-menu): Link to octave-mode manual.
5320 2013-12-20 Leo Liu <sdl.web@gmail.com>
5322 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5323 insertion using skeleton-end-newline. (Bug#16138)
5325 2013-12-20 Juri Linkov <juri@jurta.org>
5327 * replace.el (occur-engine): Use `add-face-text-property'
5328 to add the face property to matches and titles. (Bug#14645)
5330 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5331 the palette of other hi-lock colors.
5332 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5334 2013-12-19 Juri Linkov <juri@jurta.org>
5336 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5337 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5338 (minibuffer-history-symbol): Move variable declaration closer to
5341 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5344 2013-12-19 Juri Linkov <juri@jurta.org>
5346 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5348 (log-edit-hook): Add it to :options. (Bug#16170)
5350 2013-12-19 Juri Linkov <juri@jurta.org>
5352 * simple.el (eval-expression-print-format): Don't check for
5353 command names and the last command. Always display additional
5354 formats of the integer result in the echo area, and insert them
5355 to the current buffer only with a zero prefix arg.
5356 Display character when char-displayable-p is non-nil.
5357 (eval-expression): With a zero prefix arg, set `print-length' and
5358 `print-level' to nil, and insert the integer values from
5359 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5361 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5362 `eval-last-sexp-arg-internal'. Doc fix.
5363 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5364 `eval-last-sexp-print-value'. Doc fix.
5365 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5366 Set `print-length' and `print-level' to nil when arg is zero.
5367 (eval-last-sexp): Doc fix.
5368 (eval-defun-2): Print the integer values from
5369 `eval-expression-print-format' at the end.
5371 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5372 values from `eval-expression-print-format' at the end.
5374 * ielm.el (ielm-eval-input): Print the integer
5375 values from `eval-expression-print-format' at the end.
5377 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5379 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5380 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5382 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5385 (hl-line-highlight, global-hl-line-highlight): Use it.
5386 (hl-line-overlay): Use defvar-local.
5388 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5390 * term/ns-win.el: Require dnd.
5391 (global-map): Remove drag items.
5392 (ns-insert-text, ns-set-foreground-at-mouse)
5393 (ns-set-background-at-mouse):
5394 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5395 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5398 2013-12-19 Glenn Morris <rgm@gnu.org>
5400 * emacs-lisp/ert.el (ert-select-tests):
5401 Fix string/symbol mixup. (Bug#16121)
5403 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5405 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5406 keywords to their parent.
5408 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5410 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5411 first arg to be a string (fixed dead code), or an operator symbol.
5412 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5414 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5415 did nothing. Don't respond to `(:after ".")', it will be called
5416 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5417 change anything. Only return indentation for binary operators
5418 when they are hanging. De-dent opening paren when its parent is
5419 `.', otherwise it looks bad when the dot is not at bol or eol
5422 2013-12-19 Juri Linkov <juri@jurta.org>
5424 * replace.el (query-replace-read-args): Split a non-negative arg
5425 and a negative arg into separate elements.
5426 (query-replace, query-replace-regexp, replace-string)
5427 (replace-regexp): Add arg `backward'. Doc fix.
5428 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5429 move point to the beginning of the match.
5430 (replace-search, replace-highlight): Use new arg `backward'
5431 to set the value of `isearch-forward'.
5432 (perform-replace): Add arg `backward' and use it to perform
5433 replacement backward. (Bug#14979)
5435 * isearch.el (isearch-query-replace): Use a negative prefix arg
5436 to call `perform-replace' with a non-nil arg `backward'.
5438 2013-12-18 Juri Linkov <juri@jurta.org>
5440 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5441 to the default list. Move `log-edit-show-files' to the end.
5442 Add more available functions to options.
5443 (log-edit): Move default specific settings to
5444 `log-edit-insert-message-template'. Don't move point.
5445 (log-edit-insert-message-template): New function.
5446 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5449 2013-12-18 Juri Linkov <juri@jurta.org>
5451 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5452 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5454 2013-12-18 Leo Liu <sdl.web@gmail.com>
5456 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5459 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5461 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5462 formats for displaying file sizes when the -s switch is given.
5463 Instead, compute a separate format for displaying the size in
5464 blocks, which is displayed in addition to the "regular" size.
5465 When -h is given in addition to -s, produce size in blocks in
5466 human-readable form as well. (Bug#16179)
5468 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5470 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5471 Reference tables with ~\ref{...} instead of only \ref{...}.
5473 2013-12-18 Chong Yidong <cyd@gnu.org>
5475 * cus-edit.el (custom-magic-alist): Fix "themed" description
5478 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5479 is non-nil, do not create a new entry in the symbol's theme-value
5480 or theme-face property; update theme-settings only (Bug#14664).
5481 (custom-available-themes): Doc fix.
5483 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5486 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5488 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5490 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5493 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5495 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5497 2013-12-18 Glenn Morris <rgm@gnu.org>
5499 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5500 * cus-start.el (load-prefer-newer): New option.
5502 2013-12-18 Le Wang <l26wang@gmail.com>
5504 * comint.el (comint-previous-matching-input-from-input):
5505 Retain point (Bug#13404).
5507 2013-12-18 Chong Yidong <cyd@gnu.org>
5509 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5511 2013-12-18 Glenn Morris <rgm@gnu.org>
5513 * mail/emacsbug.el (report-emacs-bug):
5514 Only mention enable-multibyte-characters if non-standard.
5516 2013-12-17 Juri Linkov <juri@jurta.org>
5518 * arc-mode.el (archive-extract-by-file): Check if directory exists
5519 before deletion to not show irrelevant errors if it doesn't exist.
5521 2013-12-17 Juri Linkov <juri@jurta.org>
5523 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5526 * net/eww.el (browse-web): Add alias to `eww'.
5527 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5528 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5530 * net/browse-url.el (browse-url-browser-function): Move `eww'
5531 closer to similar functions.
5533 * startup.el (fancy-startup-screen, fancy-about-screen):
5534 Set browse-url-browser-function to eww-browse-url locally.
5537 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5539 * window.el (window--pixel-to-total): Remove unused `mini' var.
5540 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5541 (split-window): Remove unused `new' var.
5542 (window--display-buffer): Remove unused `frame' and `delta' vars.
5543 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5546 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5548 * dired.el (dired-mark-pop-up):
5549 * register.el (register-preview): Don't bind
5550 split-height-threshold here since it's now done in
5551 display-buffer-below-selected.
5553 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5555 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5556 xterm-rgb-convert-to-16bit.
5557 (rxvt-register-default-colors): Standardize with
5558 xterm-register-default-colors (Bug#14078).
5560 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5562 * simple.el (kill-region): Pass mark first, then point, so that
5563 kill-append works right (Bug#12819).
5564 (copy-region-as-kill, kill-ring-save): Likewise.
5566 2013-12-17 Leo Liu <sdl.web@gmail.com>
5568 * net/rcirc.el (rcirc-add-face):
5569 * eshell/em-prompt.el (eshell-emit-prompt):
5570 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5573 2013-12-17 Chong Yidong <cyd@gnu.org>
5575 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5576 Suggested by Xue Fuqiao.
5578 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5582 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5584 * net/shr.el (shr-insert-document): Remove unused var
5585 `shr-preliminary-table-render'.
5586 (shr-rescale-image): Remove unused arg `force'.
5587 (shr-put-image): Update calls accordingly.
5588 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5590 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5592 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5593 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5594 :close-all, to see which indentation method to use (Bug#16116).
5595 (smie-rules-function): Document the method :close-all.
5597 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5601 * net/eww.el (eww-display-html): If we can't find the anchor we're
5602 looking for, then go to point-min.
5604 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5606 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5607 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5608 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5609 Expand dir too, in case it's relative.
5611 2013-12-16 Juri Linkov <juri@jurta.org>
5613 * desktop.el (desktop-auto-save-timeout): Change default to
5614 `auto-save-timeout'. Doc fix.
5615 (desktop-save): Skip the timestamp in desktop-saved-frameset
5616 when checking for auto-save changes.
5617 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5618 `desktop-auto-save' is called repeatedly by the idle timer.
5619 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5620 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5623 2013-12-16 Juri Linkov <juri@jurta.org>
5625 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5627 (isearch-pre-command-hook): Check `this-command' for symbolp.
5629 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5631 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5633 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5635 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5636 (cfengine3--current-function): Bring in the current-function
5637 functionality from `cfengine3--current-word'.
5638 (cfengine3-completion-function): Bring in the
5639 bounds-of-current-word functionality from
5640 `cfengine3--current-word'.
5642 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5644 * window.el (display-buffer-below-selected):
5645 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5647 2013-12-16 Leo Liu <sdl.web@gmail.com>
5649 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5650 Remove NOMSG arg and all uses changed.
5652 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5655 (cua--deactivate-rectangle): Don't deactivate the mark.
5656 (cua-set-rectangle-mark): Don't set mark-active since
5657 cua--activate-rectangle already does it for us.
5658 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5659 non-rectangular region.
5661 * emulation/cua-base.el (cua-repeat-replace-region):
5662 Use with-current-buffer.
5664 * net/gnutls.el: Use cl-lib.
5665 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5667 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5669 * emacs-lisp/package.el (package-built-in-p): Support both
5670 built-in and the package.el converted package descriptions.
5671 (package-show-package-list): Allow keywords.
5672 (package-keyword-button-action): Use it instead of
5673 `finder-list-matches'.
5674 (package-menu-filter-interactive): Interactive filtering (by
5676 (package-menu--generate): Support keywords and change keymappings
5677 and headers when they are given.
5678 (package--has-keyword-p): Helper function.
5679 (package-menu--refresh): Use it.
5680 (package--mapc): Helper function.
5681 (package-all-keywords): Use it.
5682 (package-menu-mode-map): Set up menu items and keybindings to
5683 provide a filtering UI.
5685 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5687 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5688 the behavior when a certificate fails validation. Defaults to
5689 old behavior: never abort, just warn.
5690 (gnutls-negotiate): Use it.
5692 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5694 * window.el (display-buffer-below-selected): Never split window
5695 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5697 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5699 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5700 (package-buffer-info): Use it (bug#15108).
5702 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5704 * icomplete.el (icomplete-completions): Make sure the prefix is already
5705 displayed elsewhere before hiding it (bug#16219).
5707 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5709 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5710 open-paren tokens when preceded by a open-paren, too.
5711 (ruby-smie-rules): Handle virtual indentation after open-paren
5712 tokens specially. If there is code between it and eol, return the
5713 column where is starts (Bug#16118).
5715 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5717 * progmodes/cfengine.el: Fix `add-hook' doc.
5718 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5719 (cfengine3--current-word): Fix parameters.
5720 (cfengine3-make-syntax-cache): Simplify further.
5721 (cfengine3-completion-function, cfengine3--current-function):
5722 Use `assq' for symbols.
5723 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5725 2013-12-13 Glenn Morris <rgm@gnu.org>
5727 * loadup.el (load-path): Warn if site-load or site-init changes it.
5728 No more need to reset it when bootstrapping.
5730 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5732 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5733 locations for cf-promises.
5734 (cfengine-mode-syntax-functions-regex): New caching variable.
5735 (cfengine3-fallback-syntax): Fallback syntax for cases where
5736 cf-promises doesn't run.
5737 (cfengine3--current-word): Reimplement using
5738 `cfengine-mode-syntax-functions-regex'.
5739 (cfengine3-completion-function, cfengine3--current-function):
5740 Use `cfengine3-make-syntax-cache' directly.
5741 (cfengine3-clear-syntax-cache): New function.
5742 (cfengine3-make-syntax-cache): Simplify and create
5743 `cfengine-mode-syntax-functions-regex' on demand.
5744 (cfengine3-format-function-docstring): Don't call
5745 `cfengine3-make-syntax-cache' explicitly.
5747 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5749 Fix windmove-find-other-window broken after pixelwise resizing
5751 * windmove.el (windmove-other-window-loc): Revert change from
5753 (windmove-find-other-window): Call window-in-direction.
5754 * window.el (window-in-direction): New arguments SIGN, WRAP and
5755 MINI to emulate original windmove-find-other-window behavior.
5757 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5759 * simple.el (blink-matching--overlay): New variable.
5760 (blink-matching-open): Instead of moving point, highlight the
5761 matching paren with an overlay
5762 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5764 * faces.el (paren-showing-faces, show-paren-match)
5765 (show-paren-mismatch): Move from paren.el.
5767 2013-12-13 Leo Liu <sdl.web@gmail.com>
5769 * indent.el (indent-region): Disable progress reporter in
5770 minibuffer. (Bug#16108)
5772 * bindings.el (visual-order-cursor-movement): Fix version.
5774 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5776 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5777 Also match after beginning of line.
5778 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5779 files. Thanks to Russell Sim. (Bug#15378)
5781 2013-12-13 Juri Linkov <juri@jurta.org>
5783 * simple.el <Keypad support>: Remove key bindings duplicated
5784 with bindings.el. (Bug#14397)
5786 2013-12-13 Juri Linkov <juri@jurta.org>
5788 * comint.el (comint-mode-map): Replace `delete-char' with
5789 `delete-forward-char'. (Bug#16109)
5791 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5793 * progmodes/python.el (python-indent-calculate-indentation):
5794 Fix de-denters cornercase. (Bug#15731)
5796 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5799 (advice--make): Pay attention to `depth'.
5800 (advice--make-1): Don't autoload commands eagerly.
5801 * emacs-lisp/elp.el (elp-instrument-function):
5802 * emacs-lisp/trace.el (trace-function-internal):
5803 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5805 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5807 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5809 * term/w32-win.el (w32-handle-dropped-file):
5810 * startup.el (normal-top-level):
5811 * net/browse-url.el (browse-url-file-url):
5812 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5813 decode file names using 'utf-8' rather than
5814 file-name-coding-system.
5816 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5818 * progmodes/python.el (python-indent-context)
5819 (python-indent-calculate-indentation): Fix auto-identation
5820 behavior for comment blocks. (Bug#15916)
5822 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5824 * progmodes/python.el (python-indent-calculate-indentation):
5825 When determining indentation, don't treat "return", "pass", etc., as
5826 operators when they are just string constituents. (Bug#15812)
5828 2013-12-12 Juri Linkov <juri@jurta.org>
5830 * uniquify.el (uniquify-buffer-name-style): Change default to
5831 `post-forward-angle-brackets'.
5833 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5834 `uniquify'. Change default to `post-forward-angle-brackets'.
5836 2013-12-11 Glenn Morris <rgm@gnu.org>
5838 * emacs-lisp/package.el (finder-list-matches):
5839 Autoload rather than falsely declaring.
5841 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5843 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5844 (eww-mode-map): Use them.
5846 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5848 * window.el (display-buffer-in-side-window): Fix doc-string
5851 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5853 * vc/vc-git.el: Silence byte-compiler warnings.
5854 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5855 (log-edit-set-header): Declare.
5857 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5859 * Makefile.in (custom-deps, finder-data): Run output file names
5860 through unmsys--file-name. (Bug#16099)
5862 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5864 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5865 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5867 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5868 instead of deleting the selection "by hand" (bug#16098).
5869 Rely on insert-for-yank to yank rectangles.
5870 (cua-highlight-region-shift-only): Mark obsolete.
5871 (cua-mode): Don't enable/disable transient-mark-mode,
5872 shift-select-mode (cua-mode works both with and without them), and
5873 pc-selection-mode (obsolete).
5874 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5875 (cua--deactivate-rectangle): Deactivate it.
5877 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5878 (delete-selection-helper): Make sure yank starts at the top of the
5880 (minibuffer-keyboard-quit): Use region-active-p.
5882 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5884 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5885 to `delete' (bug#16109).
5887 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5889 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5890 info manual and show keybindings and set `:group' keyword.
5892 2013-12-11 Juri Linkov <juri@jurta.org>
5894 * delsel.el (delete-active-region): Let-bind `this-command'
5895 to prevent `kill-region' from changing its original value.
5896 (delete-selection-helper): Handle `overwrite-mode' for the type
5897 `kill' exactly the same way as for the type `t'.
5898 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5899 Support more commands. (Bug#13312)
5901 2013-12-11 Juri Linkov <juri@jurta.org>
5903 * bindings.el: Map kp keys to non-kp keys systematically
5904 with basic modifiers control, meta and shift. (Bug#14397)
5906 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5908 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5909 "Close browser" menu items. Fix wrong function of "List
5912 2013-12-11 Juri Linkov <juri@jurta.org>
5914 * misearch.el (multi-isearch-buffers): Set the value of
5915 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5916 arg of isearch-forward to t.
5917 (multi-isearch-buffers-regexp): Set the value of
5918 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5919 arg of isearch-forward-regexp to t.
5920 (multi-isearch-files): Set the value of
5921 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5922 arg of isearch-forward to t.
5923 (multi-isearch-files-regexp): Set the value of
5924 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5925 arg of isearch-forward-regexp to t. (Bug#16035)
5927 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5928 arg of isearch-forward to t.
5929 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5930 arg of isearch-forward-regexp to t.
5931 (dired-isearch-filter-filenames): Remove unnecessary check for
5932 `dired-isearch-filenames'.
5934 * comint.el (comint-history-isearch-backward):
5935 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5936 (comint-history-isearch-backward-regexp):
5937 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5939 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5941 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5942 unmsys--file-name. (Bug#16099)
5944 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5946 * emacs-lisp/package.el (package-keyword-button-action):
5947 Remove finder.el require dependency.
5949 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5951 * emacs-lisp/package.el: Require finder.el.
5952 (describe-package-1): Add keyword buttons.
5953 (package-make-button): New convenience function.
5954 (package-keyword-button-action): Keyword button action using
5955 `finder-list-matches'.
5957 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5959 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5962 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5964 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5967 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5969 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5970 after the end of a percent literal.
5972 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5974 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5975 Handle caret-delimited strings (Bug#16079).
5977 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5979 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5980 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5981 `ruby-parse-partial' (Bug#16078).
5983 2013-12-09 Leo Liu <sdl.web@gmail.com>
5985 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5987 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5989 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5990 (js-switch-indent-offset): New option.
5991 (js--proper-indentation): Use it. And handle the case when
5992 "default" is actually a key in an object literal.
5993 (js--same-line): New function.
5994 (js--multi-line-declaration-indentation): Use it.
5995 (js--indent-in-array-comp, js--array-comp-indentation):
5997 (js--proper-indentation): Use them, to handle array comprehension
6000 2013-12-08 Leo Liu <sdl.web@gmail.com>
6002 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6003 (flymake-make-overlay): Remove arg MOUSE-FACE.
6004 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6006 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6010 (redisplay-highlight-region-function): Use it.
6012 * emulation/cua-base.el (cua--explicit-region-start)
6013 (cua--last-region-shifted): Remove.
6014 (cua--deactivate): Use deactivate-mark.
6015 (cua--pre-command-handler-1): Don't handle shift-selection.
6016 (cua--post-command-handler-1): Don't change transient-mark-mode.
6017 (cua--select-keymaps): Use region-active-p rather than
6018 cua--explicit-region-start or cua--last-region-shifted.
6019 (cua-mode): Enable shift-select-mode.
6021 2013-12-08 Leo Liu <sdl.web@gmail.com>
6023 * progmodes/flymake.el (flymake-popup-current-error-menu):
6024 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6025 (flymake-posn-at-point-as-event, flymake-popup-menu)
6026 (flymake-make-emacs-menu): Remove. (Bug#16077)
6028 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * rect.el (rectangle-mark-mode): Activate mark even if
6031 transient-mark-mode is off (bug#16066).
6032 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6033 is > mark and at bolp.
6035 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6036 (region-extract-function): Use it.
6037 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6038 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6040 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6041 kill-ring-save, kill-region, delete-char, delete-forward-char.
6042 Ignore self-insert-iso.
6044 * emulation/cua-gmrk.el (cua--init-global-mark):
6045 Ignore `self-insert-iso'.
6047 * emulation/cua-base.el (cua--prefix-copy-handler)
6048 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6049 checking cua--rectangle.
6050 (cua-delete-region): Use region-extract-function.
6051 (cua-replace-region): Delete function.
6052 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6053 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6054 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6055 (cua--init-keymaps): Don't remap delete-selection commands.
6056 (cua-mode): Use delete-selection-mode instead of rolling our own
6059 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6060 Obey region-extract-function.
6062 Make registers and delete-selection-mode work on rectangles.
6063 * register.el (describe-register-1): Don't modify the register's value.
6064 (copy-to-register): Obey region-extract-function.
6065 * delsel.el (delete-active-region): Obey region-extract-function.
6067 2013-12-08 Leo Liu <sdl.web@gmail.com>
6069 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6070 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6071 (flymake-compilation-prevents-syntax-check)
6072 (flymake-start-syntax-check-on-newline)
6073 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6074 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6075 (flymake-xml-program, flymake-master-file-dirs)
6076 (flymake-master-file-count-limit)
6077 (flymake-allowed-file-name-masks): Relocate.
6078 (flymake-makehash, flymake-float-time)
6079 (flymake-replace-regexp-in-string, flymake-split-string)
6080 (flymake-get-temp-dir): Remove.
6081 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6082 (flymake-current-row, flymake-selected-frame)
6083 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6084 related functions. (Bug#16077)
6086 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6088 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6090 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6092 * help-fns.el (describe-function-1): Use new advice-* functions
6093 rather than old ad-* functions. Fix function type description and
6094 source links for advised functions and subrs.
6096 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6100 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6102 * progmodes/compile.el (compilation-start):
6103 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6105 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6106 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6110 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6111 Touch up the last change.
6113 2013-12-06 Leo Liu <sdl.web@gmail.com>
6115 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6116 (inferior-octave-startup): Always use "octave> " for prompt.
6117 (octave-goto-function-definition)
6118 (octave-sync-function-file-names)
6119 (octave-find-definition-default-filename): Remove redundant backquotes.
6121 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6123 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6125 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6126 where appropriate already.
6127 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6128 end of method names (Bug#15874).
6130 2013-12-06 Juri Linkov <juri@jurta.org>
6132 * isearch.el (isearch--saved-overriding-local-map):
6133 New internal variable.
6134 (isearch-mode): Set it to the initial value of
6135 `overriding-terminal-local-map'.
6136 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6137 with `isearch--saved-overriding-local-map'. (Bug#16035)
6139 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6141 * progmodes/octave.el (inferior-octave-completion-table):
6142 Turn back into function, use `completion-table-with-cache'
6143 (Bug#11906). Update all references.
6145 * minibuffer.el (completion-table-with-cache): New function.
6147 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6149 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6151 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6153 * net/eww.el (eww-current-source): New variable to store page
6155 (eww-display-html, eww-mode, eww-save-history)
6156 (eww-restore-history): Use it.
6157 (eww-view-source): New command to view page source.
6158 Opportunistically uses `html-mode' to highlight the buffer.
6159 (eww-mode-map): Install it.
6161 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6163 * net/dbus.el (dbus-unregister-service)
6164 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6166 (dbus-unregister-service): Skip :serial entries in
6167 `dbus-registered-objects-table'.
6168 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6170 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6172 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6173 around keywords with extra `split-string' argument.
6175 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6177 * windmove.el (windmove-other-window-loc): Handle navigation
6178 between windows (excluding the minibuffer window - Bug#16017).
6180 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6182 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6183 in D-Bus type syntax.
6184 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6185 preserve unibyte strings. (Bug#16048)
6187 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6189 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6190 Call force-mode-line-update is the proper buffer (bug#16042).
6192 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6194 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6195 `log-edit-remember-comment', make argument optional. Adjust all
6197 (log-edit-mode): Add `log-edit-remember-comment' to
6198 `kill-buffer-hook' locally.
6199 (log-edit-kill-buffer): Don't remember comment explicitly since
6200 the buffer is killed anyway.
6202 2013-12-04 Juri Linkov <juri@jurta.org>
6204 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6205 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6207 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6209 * notifications.el (notifications-close-notification): Call the
6210 D-Bus method with ID being a `:uint32'. (Bug#16030)
6212 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6214 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6216 2013-12-03 Juri Linkov <juri@jurta.org>
6218 * progmodes/compile.el (compilation-start): Rename window alist
6219 entry `no-display-ok' to `allow-no-window'.
6221 * simple.el (shell-command): Add window alist entry
6222 `allow-no-window' to `display-buffer'.
6223 (async-shell-command): Doc fix.
6225 * window.el (display-buffer-no-window): New action function.
6226 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6228 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6230 * vc/log-edit.el (log-edit-set-header): Extract from
6231 `log-edit-toggle-header'.
6232 (log-edit-extract-headers): Separate the summary, when extracted
6233 from header, from the rest of the message with an empty line.
6235 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6236 line, if present, to the Summary header.
6238 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6241 in current-buffer (bug#16029).
6243 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6245 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6246 (debugger-mode-map): Bind it.
6247 (debugger--backtrace-base): New function.
6248 (debugger-eval-expression): Use it.
6249 (debugger-frame-number): Skip local vars when present.
6250 (debugger--locals-visible-p, debugger--insert-locals)
6251 (debugger--show-locals, debugger--hide-locals): New functions.
6253 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6255 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6257 (tramp-get-remote-locale): New defun.
6258 (tramp-open-connection-setup-interactive-shell): Use it.
6260 2013-12-02 Leo Liu <sdl.web@gmail.com>
6262 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6264 * progmodes/sh-script.el (sh-shell-process):
6265 * progmodes/octave.el (inferior-octave-process-live-p):
6266 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6267 (gdb-inferior-io-sentinel):
6268 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6270 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6272 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6273 `save-selected-window' to `log-edit-hide-buf'. This makes
6274 `log-edit-show-files' idempotent.
6275 (log-edit-show-files): Mark the new window as dedicated.
6277 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6279 * vc/log-edit.el (log-edit-mode-map): Add binding for
6280 `log-edit-kill-biffer'.
6281 (log-edit-hide-buf): Add a FIXME comment.
6282 (log-edit-add-new-comment): New function, extracted from
6284 (log-edit-done, log-edit-add-to-changelog): Use it.
6285 (log-edit-kill-buffer): New command.
6287 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6289 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6290 instead of killing the buffer.
6292 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6294 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6296 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6298 * net/eww.el (eww-form-checkbox-selected-symbol)
6299 (eww-form-checkbox-symbol): New customizable variable.
6300 (eww-form-checkbox, eww-toggle-checkbox):
6301 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6303 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6304 (shr--get-media-pref, shr--extract-best-source): New function.
6305 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6306 no :src tag was specified.
6308 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6309 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6310 Use \\` to match beginning of string instead of ^.
6311 (eww-browse-with-external-browser): Provide optional URL parameter.
6312 (eww-render): Set `eww-current-title' back to "".
6314 * net/shr.el (shr-tag-video): Display content for video if no
6315 poster is available.
6316 (shr-tag-audio): Add support for <audio> tag.
6318 * net/eww.el (eww-text-input-types): New const.
6319 (eww-process-text-input): Treat input types in
6320 `eww-text-input-types' as text.
6322 * net/shr.el (shr-tag-table): Fix comment typo.
6324 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326 * net/eww.el (eww-follow-link): New command to avoid reloading
6327 pages when we follow #target links (bug#15243).
6328 (eww-quit): Special mode buffers shouldn't query before exiting.
6330 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6332 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6335 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6337 * net/eww.el (eww-restore-history): Update the window title after
6338 moving in the history.
6339 (eww-current-dom): New variable used to save the current DOM.
6341 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6343 * vc/log-edit.el (log-edit-mode-map): Add binding for
6344 `log-edit-beginning-of-line'.
6345 (log-edit-setup-add-author): New user option.
6346 (log-edit-beginning-of-line): New command.
6347 (log-edit): Move major mode call above the contents setup so that
6348 the local variable values are already applied.
6349 (log-edit): Only insert "Author: " when
6350 `log-edit-setup-add-author' is non-nil.
6351 (log-edit): When SETUP is non-nil, position point after ": "
6352 instead of point-min.
6354 2013-12-01 Glenn Morris <rgm@gnu.org>
6356 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6358 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6360 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6361 redisplay to make sure the initial frame gets a chance to become
6362 visible. (Bug#16014)
6364 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6366 Support resizing frames and windows pixelwise.
6367 * cus-start.el (frame-resize-pixelwise)
6368 (window-resize-pixelwise): New entries.
6369 * emacs-lisp/debug.el (debug): Use window-total-height instead
6370 of window-total-size.
6371 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6372 * help.el (describe-bindings-internal): Use help-buffer as
6373 argument for with-help-window.
6374 (temp-buffer-max-width): New option.
6375 (resize-temp-buffer-window, help-window-setup)
6376 (with-help-window): Rewrite.
6377 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6379 * window.el (frame-char-size, window-min-pixel-height)
6380 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6381 (window-min-pixel-width, window-safe-min-pixel-size)
6382 (window-combination-p, window-safe-min-size)
6383 (window-resizable-p, window--size-to-pixel)
6384 (window--pixel-to-size, window--resize-apply-p): New functions.
6385 (window-safe-min-height): Fix doc-string.
6386 (window-size, window-min-size, window--min-size-1)
6387 (window-sizable, window-sizable-p, window--min-delta-1)
6388 (window-min-delta, window--max-delta-1, window-max-delta)
6389 (window--resizable, window--resizable-p, window-resizable)
6390 (window-full-height-p, window-full-width-p, window-at-side-p)
6391 (window--in-direction-2, window-in-direction)
6392 (window--resize-reset-1, window--resize-mini-window)
6393 (window-resize, window-resize-no-error)
6394 (window--resize-child-windows-normal)
6395 (window--resize-child-windows, window--resize-siblings)
6396 (window--resize-this-window, window--resize-root-window)
6397 (window--resize-root-window-vertically)
6398 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6399 (maximize-window, minimize-window, delete-window)
6400 (quit-restore-window, window-split-min-size, split-window)
6401 (balance-windows-2, balance-windows)
6402 (balance-windows-area-adjust, balance-windows-area)
6403 (window--state-get-1, window-state-get, window--state-put-1)
6404 (window--state-put-2, window-state-put)
6405 (display-buffer-record-window, window--display-buffer):
6406 Make functions handle pixelwise sizing of windows.
6407 (display-buffer--action-function-custom-type)
6408 (display-buffer-fallback-action):
6409 Add display-buffer-in-previous-window.
6410 (display-buffer-use-some-window): Resize window to height it had
6412 (fit-window-to-buffer-horizontally): New option.
6413 (fit-frame-to-buffer): Describe new values.
6414 (fit-frame-to-buffer-bottom-margin): Replace with
6415 fit-frame-to-buffer-margins.
6416 (window--sanitize-margin): New function.
6417 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6418 using window-text-pixel-size.
6420 2013-11-30 Glenn Morris <rgm@gnu.org>
6422 * emacs-lisp/bytecomp.el (byte-compile-form):
6423 Make the `interactive-only' warning like the `obsolete' one.
6424 * comint.el (comint-run):
6425 * files.el (insert-file-literally, insert-file):
6426 * replace.el (replace-string, replace-regexp):
6427 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6428 (goto-line, insert-buffer, next-line, previous-line):
6429 Tweak `interactive-only' spec.
6431 Stop keeping (most) generated cedet grammar files in the repository.
6432 * Makefile.in (semantic): New.
6433 (compile-main): Depend on semantic.
6435 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6438 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6440 * uniquify.el (uniquify-buffer-name-style): Change default.
6442 * loadup.el: Preload "uniquify".
6444 * time.el (display-time-update): Update all mode lines (bug#15999).
6446 * electric.el (electric-indent-mode): Enable by default.
6447 * loadup.el: Preload "electric".
6449 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6451 * emacs-lisp/helpers.el (string-empty-p): New function.
6452 (string-blank-p): New function.
6454 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6456 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6459 2013-11-29 Andreas Politz <politza@fh-trier.de>
6460 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6461 allow non-lambda lists as functions.
6462 (imenu--in-alist): Don't recurse into non-subalists.
6463 (imenu): Don't pass function itself as an argument (Bug#14029).
6465 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * progmodes/python.el (python-mode-map): Remove binding for ":".
6468 (python-indent-electric-colon): Remove command.
6469 (python-indent-post-self-insert-function): Integrate the previous code
6470 of python-indent-electric-colon. Make it conditional on
6471 electric-indent-mode.
6472 (python-mode): Add ?: to electric-indent-chars.
6473 Move python-indent-post-self-insert-function to the end of
6474 post-self-insert-hook.
6476 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * doc-view.el (doc-view-goto-page): Update mode-line.
6480 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6482 2013-11-27 Glenn Morris <rgm@gnu.org>
6484 * international/charprop.el, international/uni-bidi.el:
6485 * international/uni-category.el, international/uni-combining.el:
6486 * international/uni-comment.el, international/uni-decimal.el:
6487 * international/uni-decomposition.el, international/uni-digit.el:
6488 * international/uni-lowercase.el, international/uni-mirrored.el:
6489 * international/uni-name.el, international/uni-numeric.el:
6490 * international/uni-old-name.el, international/uni-titlecase.el:
6491 * international/uni-uppercase.el:
6492 Remove generated files from VCS repository.
6494 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6496 * filenotify.el (file-notify-add-watch): Don't special-case
6497 w32notify when computing the directory to watch.
6499 2013-11-27 Glenn Morris <rgm@gnu.org>
6501 Make bootstrap without generated uni-*.el files possible again.
6502 * loadup.el: Update command-line-args checking for unidata-gen.
6503 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6504 * composite.el, international/characters.el:
6505 Handle unicode tables being undefined.
6507 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6508 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6509 (compile-main): Depend on leim rule.
6511 * loadup.el: Move leim-list.el to leim/ subdirectory.
6512 * startup.el (normal-top-level): No more leim directory.
6513 * international/ja-dic-cnv.el (skkdic-convert):
6514 Disable version-control and autoloads in output files.
6515 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6516 Disable version-control and autoloads in output files.
6517 * leim/quail: Move here from ../leim.
6518 * leim/quail/hangul.el (hangul-input-method-activate):
6519 Add autoload cookie.
6520 (generated-autoload-load-name): Set file-local value.
6521 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6522 (generated-autoload-load-name): Set file-local value.
6524 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6526 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6527 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6528 (eww-quit): Ask confirmation before quitting eww.
6530 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6532 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6533 reading output from Diff on MS-Windows and MS-DOS.
6535 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6537 * emacs-lisp/helpers.el (string-reverse): New function.
6539 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6541 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6542 names on MS Windows, like "/[::1]:".
6544 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6547 2013-11-26 Glenn Morris <rgm@gnu.org>
6549 * progmodes/python.el (python-indent-guess-indent-offset):
6550 Avoid corner-case error. (Bug#15975)
6552 Preload leim-list.el. (Bug#4789)
6553 * loadup.el: Load leim-list.el when found.
6554 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6556 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6558 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6560 * emacs-lisp/helpers.el (string-join): New function.
6562 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6564 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6565 Mark as obsolete and replace it with a symbol property.
6566 (byte-compile-form): Use new 'interactive-only property.
6567 * comint.el, files.el, replace.el, simple.el:
6568 Apply new 'interactive-only properly.
6570 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6572 * window.el (display-buffer-at-bottom): Make sure that
6573 split-window-sensibly creates the new window on bottom
6576 2013-11-23 David Kastrup <dak@gnu.org>
6578 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6579 on the conflict markers when available.
6580 (smerge--get-marker): New function.
6581 (smerge-end-re, smerge-base-re): Add subgroup.
6583 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * frame.el (handle-focus-in, handle-focus-out): Add missing
6588 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6590 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6591 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6593 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6596 (gomoku--last-pos): New var.
6597 (gomoku--intangible-chars): New const.
6598 (gomoku--intangible): New function.
6599 (gomoku-mode): Use it. Derive from special-mode.
6600 (gomoku-move-up): Adjust line count.
6601 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6602 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6603 Simplify accordingly.
6605 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6606 Remove blink-cursor code.
6607 (blink-cursor-timer-function, blink-cursor-suspend):
6608 Don't special-case GUIs.
6609 (blink-cursor-mode): Use focus-in/out-hook.
6611 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6613 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6614 work when annotation is invisible (Bug#13886).
6616 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6618 * json.el (json-alist-p): Only return non-nil if the alist has
6619 simple keys (Bug#13518).
6621 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6623 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6624 when control-statement is the first statement in a buffer (Bug#15956).
6626 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6628 * imenu.el (imenu-generic-skip-comments-and-strings):
6629 New option (Bug#15560).
6630 (imenu--generic-function): Use it.
6632 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6634 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6637 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6639 * emacs-lisp/helpers.el: Add some string helpers.
6640 (string-trim-left): Removes leading whitespace.
6641 (string-trim-right): Removes trailing whitespace.
6642 (string-trim): Removes leading and trailing whitespace.
6644 * subr.el (string-suffix-p): New function.
6646 2013-11-23 Glenn Morris <rgm@gnu.org>
6648 * progmodes/python.el (python-shell-send-file):
6649 Add option to delete file when done. (Bug#15647)
6650 (python-shell-send-string, python-shell-send-region): Use it.
6652 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6654 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6655 to set buffer-read-only to t, never to nil. (Bug#15938)
6657 * textmodes/tex-mode.el (latex-noindent-environments):
6658 Add safe-local-variable property. (Bug#15936)
6660 2013-11-23 Glenn Morris <rgm@gnu.org>
6662 * textmodes/enriched.el (enriched-mode): Doc fix.
6663 * emacs-lisp/authors.el (authors-renamed-files-alist):
6664 Add enriched.doc -> enriched.txt.
6666 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6668 2013-11-22 Leo Liu <sdl.web@gmail.com>
6670 * progmodes/octave.el (inferior-octave-startup): Spit out error
6673 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6675 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6678 (ruby-encoding-magic-comment-style): Add :version.
6680 2013-11-22 Leo Liu <sdl.web@gmail.com>
6682 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6684 (octave-help-mode): Adapt to change to help-mode-finish to use
6685 derived-mode-p on 2013-09-17.
6686 (inferior-octave-prompt): Also match octave-gui.
6687 (octave-kill-process): Don't ask twice. (Bug#10564)
6689 2013-11-22 Leo Liu <sdl.web@gmail.com>
6691 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6692 (inferior-octave-startup, inferior-octave-check-process)
6693 (inferior-octave-track-window-width-change)
6694 (octave-completion-at-point, octave-eldoc-function): Use it.
6695 (octave-kill-process): Provide confirmation. (Bug#10564)
6697 2013-11-21 Leo Liu <sdl.web@gmail.com>
6699 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6700 Fix obsolete variable comment-use-global-state.
6702 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6704 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6705 Add `octave-source-file'.
6706 (octave-source-file): New function. (Bug#15935)
6708 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6710 * net/eww.el (eww-local-regex): New variable.
6711 (eww): Use it to detect localhost and similar.
6713 2013-11-21 Leo Liu <sdl.web@gmail.com>
6715 Add completion for command `ag'.
6716 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6717 (pcomplete/ag): New function.
6718 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6720 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6722 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6724 (make-obsolete): Remove interactive spec.
6726 2013-11-21 Glenn Morris <rgm@gnu.org>
6728 * startup.el (command-line-1): Use path-separator with -L.
6730 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6732 * emacs-lisp/package.el (describe-package-1): Add package archive
6735 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6737 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6738 Change default to "# encoding: %s" to differentiate it from the
6739 default Ruby encoding comment template.
6741 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6743 * ses.el (ses-mode): Doc fix. (Bug#14748)
6745 2013-11-20 Leo Liu <sdl.web@gmail.com>
6747 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6749 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6751 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6752 when rebase or bisect are in progress.
6754 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6756 * filenotify.el (file-notify-add-watch): Doc fix.
6758 2013-11-19 Leo Liu <sdl.web@gmail.com>
6760 * obsolete/rcompile.el: Mark obsolete.
6762 * progmodes/compile.el (compilation-start)
6763 (compilation-goto-locus, compilation-find-file):
6764 Pass no-display-ok and handle nil value from display-buffer.
6767 * window.el (display-buffer-alist, display-buffer): Document the
6768 new parameter no-display-ok. Return either a window or nil
6769 but never a non-window value.
6771 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6773 * electric.el (electric-indent-mode-map): Remove.
6774 (electric-indent-mode): Change the global-map instead (bug#15915).
6776 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6779 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * emacs-lisp/nadvice.el (remove-function): Align with
6782 add-function's behavior.
6784 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6785 (gdb--string-regexp): New constant.
6786 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6787 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6788 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6790 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6791 Adjust use accordingly.
6792 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6794 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6796 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6797 interpolation curlies (Bug#15914).
6799 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6801 * calc/calc.el (calc-context-sensitive-enter): New variable.
6802 (calc-enter): Use `calc-context-sensitive-enter'.
6804 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6806 * progmodes/cfengine.el: Version bump.
6807 (cfengine-cf-promises): New defcustom to locate cf-promises.
6808 (cfengine3-vartypes): Add new "data" type.
6809 (cfengine3--current-word): New function to get current name-like
6811 (cfengine3--current-function): New function to look up a CFEngine
6812 function's definition.
6813 (cfengine3-format-function-docstring): New function.
6814 (cfengine3-make-syntax-cache): New function.
6815 (cfengine3-documentation-function): New function: ElDoc glue.
6816 (cfengine3-completion-function): New function: completion glue.
6817 (cfengine3-mode): Set `compile-command',
6818 `eldoc-documentation-function', and add to
6819 `completion-at-point-functions'.
6821 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6823 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6824 `tramp-current-connection'.
6826 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6828 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6829 nil/self/true/false with "end of symbol".
6831 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6833 * subr.el (version-regexp-alist): Fix a typo.
6835 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6837 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6838 "en_US.utf8" and "LC_CTYPE" to "".
6839 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6840 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6842 2013-11-15 Leo Liu <sdl.web@gmail.com>
6844 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6846 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * progmodes/gud.el (ctl-x-map):
6849 Remove C-x SPC binding. (Bug#12342)
6850 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6852 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6854 * subr.el (version-regexp-alist):
6855 Recognize hg, svn and darcs versions as snapshot versions.
6857 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6858 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6859 (ruby--encoding-comment-required-p): Extract from
6860 `ruby-mode-set-encoding'.
6861 (ruby-mode-set-encoding): Add the ability to always insert an
6862 utf-8 encoding comment. Fix and simplify coding comment update
6865 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6867 * net/tramp-gvfs.el (top): Run init code only when
6868 `tramp-gvfs-enabled' is not nil.
6869 (tramp-gvfs-enabled): Check also :system bus.
6871 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6873 Sync with upstream verilog-mode revision 78e66ba.
6874 * progmodes/verilog-mode.el (verilog-end-of-defun)
6875 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6876 (verilog-get-end-of-defun): Remove unused argument.
6877 (verilog-comment-depth): Remove unused local `e'.
6878 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6879 Don't pass arg to verilog-get-end-of-defun.
6881 2013-11-14 Glenn Morris <rgm@gnu.org>
6883 * obsolete/assoc.el (aget): Prefix dynamic variable.
6885 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6887 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * widget.el, hfy-cmap.el: Remove bogus package version number.
6891 2013-11-13 Glenn Morris <rgm@gnu.org>
6893 * replace.el (replace-eval-replacement):
6894 Try to give more helpful error message. (Bug#15836)
6896 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6897 (archive-7z-update): Avoid custom type mismatches.
6899 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6901 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6903 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6904 address can be empty.
6906 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6907 Accept nil SWITCHES.
6908 (tramp-gvfs-handle-write-region): Implement APPEND.
6910 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6912 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6913 binary "|" operator and closing block args delimiter.
6914 Remove FIXME comment referring to Ruby 1.8-only syntax.
6915 (ruby-smie--implicit-semi-p): Not after "|" operator.
6916 (ruby-smie--closing-pipe-p): New function.
6917 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6918 (ruby-smie-rules): Indent after "|".
6920 2013-11-12 Glenn Morris <rgm@gnu.org>
6922 * ps-print.el (ps-face-attribute-list):
6923 Handle anonymous faces. (Bug#15827)
6925 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6927 * window.el (display-buffer-other-frame): Fix doc-string.
6930 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6934 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6936 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6937 (tramp-sh-handle-file-local-copy): Don't write a message when
6938 saving temporary files.
6940 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6941 both directories are remote.
6942 (tramp-smb-handle-directory-files): Do not return double entries.
6943 Do not expand full file names.
6944 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6945 (tramp-smb-handle-write-region): Implement APPEND.
6946 (tramp-smb-get-stat-capability): Fix a stupid bug.
6948 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6952 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6954 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6955 throwing error over malformed let/let* (bug#15814).
6957 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * iswitchb.el (iswitchb-mode): Mark obsolete.
6961 2013-11-11 Glenn Morris <rgm@gnu.org>
6963 * international/uni-bidi.el, international/uni-category.el:
6964 * international/uni-name.el, international/uni-numeric.el:
6965 Regenerate for Unicode 6.3.0.
6967 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6969 * net/tramp.el (tramp-methods):
6970 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6971 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6973 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6975 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6976 Force highlighting text after Summary keyword in doc face for rpm.
6978 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6980 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6981 available and the word has no wildcards, append one to the grep pattern.
6982 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6983 (ispell-complete-word): Call `ispell-lookup-words' with the value
6984 independent of `ispell-look-p'.
6986 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6988 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6990 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6993 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6995 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6996 (ruby-font-lock-keywords): Use backquote.
6998 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7000 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7001 (ruby-smie--backward-token): Only consider full-string matches.
7003 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7005 * faces.el (describe-face): Add distant-foreground.
7007 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7009 * progmodes/ruby-mode.el: Improve encoding comment handling.
7010 (ruby-encoding-magic-comment-style): New option.
7011 (ruby-custom-encoding-magic-comment-template): New option.
7012 (ruby--insert-coding-comment, ruby--detect-encoding):
7013 New functions extracted from `ruby-mode-set-encoding'.
7014 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7015 to control the style of the auto-inserted encoding comment.
7017 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7019 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7020 Use `smie-backward-sexp' with token argument.
7022 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7024 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7025 Remove instrumentation code.
7027 2013-11-08 Glenn Morris <rgm@gnu.org>
7029 * progmodes/autoconf.el (autoconf-mode):
7030 Tweak comment-start-skip. (Bug#15822)
7032 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7034 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7035 at bobp (bug#15826).
7036 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7038 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7040 * man.el (Man-start-calling): New macro, extracted from
7041 Man-getpage-in-background.
7042 (Man-getpage-in-background): Use it.
7043 (Man-update-manpage): New command.
7044 (Man-mode-map): Bind it.
7046 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7048 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7049 of "and", "or", "&&" and "||".
7050 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7051 argument. Prohibit opening curly brace because it could only be a
7052 block opener in that position.
7053 (ruby-smie--forward-token, ruby-smie--backward-token):
7054 Separate "|" from "&" or "*" going after it. That can happen in block
7056 (ruby-smie--indent-to-stmt): New function, seeks the end of
7057 previous statement or beginning of buffer.
7058 (ruby-smie-rules): Use it.
7059 (ruby-smie-rules): Check if there's a ":" before a curly block
7060 opener candidate; if there is, it's a hash.
7062 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7065 (cl--block-wrapper): Fix last accidental change.
7067 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7069 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7070 Instrument, in order to hunt failure on hydra.
7072 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7074 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7075 malformed bindings form (bug#15814).
7077 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7079 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7080 "." compared to " @ ". This incidentally fixes some indentation
7082 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7083 (ruby-smie-grammar): New tokens: "and" and "or".
7084 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7085 Exclude "and" and "or". Remove "do" in order to work around token
7087 (ruby-smie-rules): Add all infix tokens. Handle the case of
7088 beginning-of-buffer.
7090 2013-11-06 Glenn Morris <rgm@gnu.org>
7092 * Makefile.in (setwins_almost, setwins_for_subdirs):
7093 Avoid accidental matches.
7095 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * menu-bar.el (popup-menu): Use key-binding.
7099 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7101 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7102 menus, support also the menus produced by minor modes.
7105 2013-11-06 Leo Liu <sdl.web@gmail.com>
7107 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7108 DISTANCE to bound the search. All uses changed. (Bug#15808)
7110 2013-11-06 Glenn Morris <rgm@gnu.org>
7112 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7113 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7114 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7116 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7118 * electric.el (electric-indent-just-newline): New command.
7119 (electric-indent-mode-map): New keymap.
7120 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7121 Re-add :group which weren't redundant.
7123 * electric.el (electric-indent-local-mode): New minor mode.
7124 (electric-indent-functions-without-reindent): New var.
7125 (electric-indent-post-self-insert-function): Use it.
7126 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7128 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7130 * international/quail.el (quail-help): Be more explicit about the
7131 meaning of the labels shown on the keys. (Bug#15800)
7133 * startup.el (normal-top-level): Load the subdirs.el files before
7134 setting the locale environment. (Bug#15805)
7136 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7139 via arguments so as to get the right ones (bug#15418).
7141 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7143 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7145 Fix problems found while writing a test suite.
7147 * net/tramp-compat.el (tramp-compat-load): New defun.
7148 * net/tramp.el (tramp-handle-load): Use it.
7150 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7151 "(numberp ok-if-already-exists)" correctly.
7153 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7155 * international/characters.el (glyphless-char-display-control):
7158 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7160 * progmodes/python.el (python-mode):
7161 * progmodes/scheme.el (scheme-mode):
7162 * progmodes/prolog.el (prolog-mode):
7163 * progmodes/ruby-mode.el (ruby-mode):
7164 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7165 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7167 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7169 * rect.el (rectangle--highlight-for-redisplay):
7170 * emacs-lisp/smie.el (smie--next-indent-change):
7171 Use buffer-chars-modified-tick.
7173 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7175 * electric.el (electric-indent-post-self-insert-function):
7176 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7178 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7180 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7182 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7184 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7187 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7189 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7191 * progmodes/python.el: Fix up last change.
7192 (python-shell--save-temp-file): New function.
7193 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7194 `string' comes from the current buffer.
7195 (python-shell-send-string-no-output): Remove `msg' arg.
7196 (python--use-fake-loc): New var.
7197 (python-shell-buffer-substring): Obey it. Try to compensate for the
7198 extra coding line added by python-shell--save-temp-file.
7199 (python-shell-send-region): Use python-shell--save-temp-file and
7200 python-shell-send-file directly. Add `nomain' argument.
7201 (python-shell-send-buffer): Use python-shell-send-region.
7202 (python-electric-pair-string-delimiter): New function.
7203 (python-mode): Use it.
7205 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7207 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7208 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7209 environment and decoding all of the default-directory's to here
7211 (command-line): Decode also argv[0].
7213 * loadup.el: Error out if default-directory is a multibyte string
7214 when we are dumping.
7216 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7218 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7220 * emacs-lisp/package.el (package-menu-mode)
7221 (package-menu--print-info, package-menu--archive-predicate):
7222 Add Archive column to package list.
7224 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7226 Fix problems found while writing a test suite.
7228 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7229 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7230 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7231 to nil when running original file name handler. Otherwise,
7232 there are problems with constructs like "$$FOO".
7234 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7237 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7239 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7241 * subr.el (version<, version<=, version=):
7242 Update docstrings with information for snapshot versions.
7244 * helpers.el: New library for misc helper functions.
7245 (hash-table-keys): New function returning a list of hash keys.
7246 (hash-table-values): New function returning a list of hash values.
7248 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7250 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7251 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7253 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7255 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7256 checking whether point is after a 1-letter word.
7258 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7260 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7261 Don't infloop when expanding region over `multiline' syntax-type that
7262 begins a line (bug#15778).
7264 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7267 Make it into a proper minor mode.
7268 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
7269 (rectangle-mark-mode-map): New keymap.
7270 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7272 2013-11-04 Glenn Morris <rgm@gnu.org>
7274 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7276 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7278 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7279 (ruby-smie-rules): Use smie-rule-parent instead.
7281 * emacs-lisp/smie.el (smie-rule-parent): Always call
7282 smie-indent-virtual rather than only for hanging tokens.
7283 (smie--next-indent-change): New helper command.
7285 2013-11-03 Glenn Morris <rgm@gnu.org>
7287 * Makefile.in (abs_srcdir): Remove.
7288 (emacs): Unset EMACSLOADPATH.
7290 2013-11-02 Glenn Morris <rgm@gnu.org>
7292 * Makefile.in (EMACS): Use a relative filename.
7293 (abs_top_builddir): Remove.
7294 (custom-deps, finder-data, autoloads): Use --chdir.
7296 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7298 Use relative filenames in TAGS files.
7299 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7300 (lisptagsfiles4, TAGS): Use relative file names.
7301 (TAGS-LISP): Remove.
7302 (maintainer-clean): No more TAGS-LISP file.
7304 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7305 (lisptagsfiles4): Use absolute filenames again.
7306 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7307 Remove all *loaddefs files, not just the first. Remove esh-groups.
7308 (maintainer-clean): Delete TAGS, TAGS-LISP.
7310 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7312 * emacs-lisp/package.el (package-version-join):
7313 Recognize snapshot versions.
7315 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7317 * subr.el (version-regexp-alist): Add support for snapshot versions.
7319 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7321 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7322 New function, replacement for `smie-rule-parent' for when we want to
7323 skip over our direct parent if it's an assignment token..
7324 (ruby-smie-rules): Use it.
7326 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7328 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7329 unconditionally. Remove now unnecessary forward declarations.
7330 Remove XEmacs-specific setup.
7331 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7332 (ruby-font-lock-syntactic-keywords)
7333 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7334 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7335 (ruby-here-doc-end-syntax): Remove.
7336 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7337 defined as function.
7339 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7341 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7343 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7345 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7346 table and abbrev table, `define-derived-mode' does that for us
7349 2013-11-01 Glenn Morris <rgm@gnu.org>
7351 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7352 files is atomic for some time, so no parallel compilation issues).
7354 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7356 * faces.el (face-x-resources): Add :distant-foreground.
7357 (region): Use :distant-foreground for gtk and ns.
7359 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7361 Allow multiple bibliographies when BibLaTeX is used rather than
7363 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7364 (reftex-locate-bibliography-files): Us it.
7366 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7368 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7369 allow comments in pbm files.
7371 * term/w32-win.el (dynamic-library-alist): Support newer versions
7372 of libjpeg starting with v7: look only for the DLL from the
7373 version against which Emacs was built.
7374 Support versions of libpng beyond 1.4.x.
7375 Support libtiff v4.x.
7377 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7379 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7380 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7382 (ruby-deep-arglist): Add property :type.
7384 2013-10-31 Glenn Morris <rgm@gnu.org>
7386 * Makefile.in (custom-deps, finder-data): No need to setq the target
7387 variables, we are in the right directory and the defaults work fine.
7389 2013-10-30 Glenn Morris <rgm@gnu.org>
7391 * Makefile.in (autoloads): Do not use abs_lisp.
7393 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7394 `newline' does not respect `standard-output', so use `princ'.
7396 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7398 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7399 * buff-menu.el (Buffer-menu--unmark): New function.
7400 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7402 2013-10-30 Glenn Morris <rgm@gnu.org>
7404 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7406 * emacs-lisp/package.el (lm-homepage): Declare.
7408 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7411 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7413 * Makefile.in (finder-data, autoloads, update-subdirs)
7414 (compile-main, compile-clean, compile-always, bootstrap-clean):
7415 Check return value of cd.
7416 (compile-calc): Remove.
7418 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7420 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7422 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7423 (byte-compile-and-folded): New function.
7424 (=, <, >, <=, >=): Use it.
7426 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7427 (path-separator, null-device, buffer-file-coding-system)
7428 (lpr-headers-switches): Check system-type before modifying them.
7429 (find-buffer-file-type-coding-system): Mark obsolete.
7430 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7431 find-file-not-found-set-buffer-file-coding-system.
7432 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7433 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7434 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7435 (w32-direct-print-region-helper, w32-direct-print-region-function)
7436 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7437 * startup.el (normal-top-level-add-subdirs-to-load-path):
7438 * ps-print.el (ps-print-region-function):
7439 * lpr.el (print-region-function): Use new name.
7441 * subr.el (custom-declare-variable-early): Remove function.
7442 (custom-declare-variable-list): Remove var.
7443 (error, user-error): Remove `while' loop.
7444 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7445 (user-emacs-directory-warning, locate-user-emacs-file):
7447 * simple.el (read-quoted-char-radix, read-quoted-char):
7448 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7450 * custom.el (custom-declare-variable-list): Don't process
7451 custom-declare-variable-list.
7453 * progmodes/python.el (python-shell-get-buffer): New function.
7454 (python-shell-get-process): Use it.
7455 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7456 Python which encoding was used. Don't split-string since we only care
7457 about the first line. Return the temp-file, if applicable.
7458 (python-shell-send-region): Tell compile.el how to turn locations in
7459 the temp-file into locations in the source buffer.
7461 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * subr.el (undefined): Add missing behavior from the C code for
7466 * rect.el: Use lexical-binding. Add new rectangular region support.
7467 (rectangle-mark): New command.
7468 (rectangle--region): New var.
7469 (deactivate-mark-hook): Reset rectangle--region.
7470 (rectangle--extract-region, rectangle--insert-for-yank)
7471 (rectangle--highlight-for-redisplay)
7472 (rectangle--unhighlight-for-redisplay): New functions.
7473 (region-extract-function, redisplay-unhighlight-region-function)
7474 (redisplay-highlight-region-function): Use them to handle
7476 * simple.el (region-extract-function): New var.
7477 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7478 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7479 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7480 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7481 (redisplay-unhighlight-region-function)
7482 (redisplay-highlight-region-function): New vars.
7483 (redisplay--update-region-highlight): New function.
7484 (pre-redisplay-function): Use it.
7485 (exchange-point-and-mark): Don't deactivate the mark before
7486 reactivate-it anyway.
7487 * comint.el (comint-kill-region): Remove yank-handler argument.
7488 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7489 (delete-char): Remove property, since it's now part of their
7491 (self-insert-iso): Remove property since this command doesn't exist.
7493 * emacs-lisp/package.el (package--download-one-archive)
7494 (describe-package-1): Don't query the user about final newline.
7496 2013-10-29 Daniel Colascione <dancol@dancol.org>
7498 * net/tramp.el (tramp-methods): Document new functionality.
7499 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7500 tramp-hostname-checker if method provides one instead of scanning
7501 argument list for "%h" to decide hostname acceptability.
7503 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7505 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7506 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7507 Handle COPY-CONTENTS. (Bug#15737)
7509 2013-10-28 Daiki Ueno <ueno@gnu.org>
7512 (epa-file-cache-passphrase-for-symmetric-encryption):
7513 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7515 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7517 * image.el (defimage, image-load-path): Doc fixes.
7519 2013-10-27 Alan Mackenzie <acm@muc.de>
7521 Indent statements in macros following "##" correctly.
7522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7523 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7525 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7527 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7529 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7531 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7532 after `=' is probably a new expression.
7534 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7536 * man.el (man-imenu-title): New option.
7537 (Man-mode-map): Add menu. (Bug#15722)
7538 (Man-mode): Add imenu to menu.
7540 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7542 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7543 specific in what the first arg can be: a non-keyword word,
7544 string/regexp/percent literal opener, opening paren, or unary
7545 operator followed directly by word.
7547 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7550 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7551 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7552 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7553 Remove vars, they do not apply any more.
7554 (prolog-mode-abbrev-table): Remove redundant declaration.
7555 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7556 (prolog-use-smie): Remove.
7557 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7558 supported by prolog-electric-if-then-else-flag.
7559 (prolog-mode-variables, prolog-menu): Use setq-local.
7560 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7561 Remove binding to `Backspace' since this key doesn't exist anyway.
7562 Remove bindings for electric self-inserting keys.
7563 (prog-mode): Assume it's defined.
7564 (prolog-post-self-insert): New function.
7565 (prolog-mode): Use it.
7566 (prolog-indent-line, prolog-indent-level)
7567 (prolog-find-indent-of-matching-paren)
7568 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7569 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7570 (prolog-goto-next-paren, prolog-in-string-or-comment)
7571 (prolog-tokenize, prolog-inside-mline-comment)
7572 (prolog-find-start-of-mline-comment): Remove functions.
7573 (prolog-find-unmatched-paren, prolog-clause-end)
7574 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7575 (prolog-electric--if-then-else): Rename from
7576 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7577 (prolog-tokenize-searchkey): Remove const.
7578 (prolog-clause-info): Use forward-sexp.
7579 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7580 (prolog-electric-if-then-else): Remove commands.
7581 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7582 for use in post-self-insert-hook.
7583 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7584 for use in post-self-insert-hook.
7585 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7586 for use in post-self-insert-hook.
7587 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7588 adapt it for use in post-self-insert-hook.
7590 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7592 * emacs-lisp/ert.el (ert-run-tests-interactively):
7593 Use `completing-read'. (Bug#9756)
7595 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7597 * simple.el (line-move): Call line-move-1 instead of
7598 line-move-visual when the current window hscroll is zero, but
7599 temporary-goal-column indicates we will need to hscroll as result
7600 of the movement. (Bug#15712)
7602 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7604 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7605 capitalization. Use :visible instead of :active.
7606 Fix `ruby-indent-exp' reference. Add menu items for the generic
7607 commands that are used with SMIE.
7608 (ruby-do-end-to-brace): Insert space after `{'.
7610 2013-10-25 John Anthony <john@jo.hnanthony.com>
7612 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7614 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7616 2013-10-25 Glenn Morris <rgm@gnu.org>
7618 * vc/vc.el (vc-print-log): Don't use a working revision unless
7619 one was explicitly specified. (Bug#15322)
7621 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * subr.el (add-to-list): Preserve return value in compiler-macro
7626 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7628 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7629 result. Ask user to retry using '-all' flag. (Bug#15701)
7631 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7633 * emacs-lisp/smie.el: New smie-config system.
7634 (smie-config): New defcustom.
7635 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7636 (smie-config-guess, smie-config-save): New commands.
7637 (smie-config--mode-local, smie-config--buffer-local)
7638 (smie-config--trace, smie-config--modefuns): New vars.
7639 (smie-config--advice, smie-config--mode-hook)
7640 (smie-config--setter, smie-config-local, smie-config--get-trace)
7641 (smie-config--guess-value, smie-config--guess): New functions.
7642 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7643 text properties. Treat "string fence" syntax like string syntax.
7645 * progmodes/sh-script.el (sh-use-smie): Change default.
7646 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7647 (sh-var-value): Simplify by CSE.
7648 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7649 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7651 (sh-guess-basic-offset): Use cl-incf.
7652 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7654 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7656 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7659 2013-10-24 Glenn Morris <rgm@gnu.org>
7661 * Makefile.in (abs_top_srcdir): Remove.
7662 (update-subdirs): Use relative path to update-subdirs.
7664 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7666 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7667 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7668 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7669 Call unmsys--file-name before expand-file-name, not after it.
7671 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7673 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7674 (ert-test-skipped): New error.
7675 (ert-skip, ert-stats-skipped): New defuns.
7676 (ert--skip-unless): New macro.
7677 (ert-test-skipped): New struct.
7678 (ert--run-test-debugger, ert-test-result-type-p)
7679 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7680 (ert--stats-set-test-and-result, ert-char-for-test-result)
7681 (ert-string-for-test-result, ert-run-tests-batch)
7682 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7683 Handle skipped tests. (Bug#9803)
7685 2013-10-24 Glenn Morris <rgm@gnu.org>
7687 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7689 * Makefile.in (abs_top_srcdir): New, set by configure.
7690 (update-subdirs): Correct build-aux location.
7692 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7694 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7695 value, whether we could auto-deduce `backend', or not.
7697 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7698 with parameters" example. Simplify the "is it block or is it
7699 hash" check, but also make it more thorough.
7701 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7703 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7705 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7710 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7713 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7715 * progmodes/compile.el (compilation-directory-matcher)
7716 (compilation-page-delimiter):
7717 Support GNU Make-4.0 directory quoting. (Bug#15678)
7719 2013-10-23 Leo Liu <sdl.web@gmail.com>
7721 * ido.el (ido-tidy): Handle read-only text.
7723 2013-10-23 Glenn Morris <rgm@gnu.org>
7725 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7726 (emacs, compile, compile-always):
7727 Quote entities that might contain whitespace.
7728 (custom-deps, finder-data, autoloads): Use abs_lisp.
7729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7731 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7733 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7735 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7736 Use `following-char'.
7738 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7740 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7741 * progmodes/ruby-mode.el (ruby-smie-rules):
7742 Remove corresponding workaround. Fix indentation rule of ";" so it
7743 also applies when ";" is the parent.
7745 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7747 * frame.el (display-screens, display-pixel-height)
7748 (display-pixel-width, display-mm-width, display-backing-store)
7749 (display-save-under, display-planes, display-color-cells)
7750 (display-visual-class, display-monitor-attributes-list):
7751 Mention the optional ‘display’ argument in doc strings.
7753 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7755 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7756 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7758 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7760 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7761 TODO. Add "." after " @ ".
7762 (ruby-smie--at-dot-call): New function. Checks if point at method
7763 call with explicit target.
7764 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7765 to the method name tokens when it precedes them.
7766 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7767 (ruby-smie-rules): Add rule for indentation before and after "."
7770 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * textmodes/remember.el (remember-diary-extract-entries):
7775 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7778 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7780 * progmodes/ruby-mode.el (ruby-smie-grammar):
7781 Add (almost) all infix operators.
7782 (ruby-smie--implicit-semi-p): Add new operator chars.
7784 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7786 (ruby-smie--args-separator-p): Check that there's no newline
7787 between method call and its arguments.
7789 2013-10-20 Alan Mackenzie <acm@muc.de>
7791 Allow comma separated lists after Java "implements".
7793 * progmodes/cc-engine.el (c-backward-over-enum-header):
7795 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7796 from a "disallowed" list in enum fontification.
7798 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7800 * startup.el (default-frame-background-mode): Remove unused defvar.
7802 * progmodes/verilog-mode.el (verilog-mode): Don't set
7803 comment-indent-function globally.
7805 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7807 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7808 Move Info menu item creation to ns-win.el.
7810 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7813 * menu-bar.el: Move GNUstep specific menus...
7815 * term/ns-win.el (ns-initialize-window-system): ... to here.
7817 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7819 * simple.el (newline): Only run post-self-insert-hook when
7820 called interactively.
7822 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7824 * icomplete.el (icomplete-with-completion-tables): Add :version.
7826 2013-10-19 Alan Mackenzie <acm@muc.de>
7828 Fix fontification bugs with constructors and const.
7830 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7831 CASE 2) Remove the check for the absence of a suffix construct
7832 after a function declaration with only types (no identifiers) in
7833 the parentheses. Also, accept a function declaration with just a
7834 type inside the parentheses, if this type can be positively
7835 recognised as such, or if a prefix keyword like "explicit" nails
7836 down the construct as a declaration.
7838 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7840 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7841 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7842 the problem whereby selecting a menu item that leads to a
7843 minibuffer prompt moves the cursor out of the minibuffer window,
7844 making it hard to type at the prompt. Suggested by Stefan Monnier
7845 <monnier@iro.umontreal.ca>.
7847 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7849 * menu-bar.el: Don't make Services menu.
7851 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7853 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7854 (ffap-alist): Use ffap-c++-mode for c++-mode.
7855 (ffap-c++-path): New variable.
7856 (ffap-c++-mode): New function.
7858 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7860 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7862 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7864 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7865 introduced on 2013-09-08, which results in an infinite loop
7866 requesting a password.
7868 2013-10-18 Glenn Morris <rgm@gnu.org>
7870 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7872 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7874 Sync with upstream verilog-mode revision 1a6ecec7.
7875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7876 (verilog-mode-release-date): Remove.
7877 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7878 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7879 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7880 (verilog-auto-tieoff-ignore-regexp)
7881 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7882 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7883 (verilog-signals-with, verilog-dir-cache-preserving)
7884 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7886 (verilog-case-fold): New option, to control case folding in
7887 regexp searches, bug597.
7888 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7889 (verilog-string-match-fold, verilog-in-paren-count)
7890 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7891 (verilog-at-close-struct-p): New functions.
7892 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7893 (verilog-forward-sexp, verilog-set-auto-endcomments)
7894 (verilog-leap-to-case-head): Handle "unique0" case.
7895 (verilog-in-constraint-re): New constant.
7896 (verilog-keywords, verilog-type-font-keywords):
7897 Add some SystemVerilog 1800-2012 keywords.
7898 (verilog-label-be): Remove unimplemented argument, bug669.
7899 (verilog-batch-execute-func): When batch expanding clear
7900 create-lockfiles to prevent spurious user locks when a file ends
7902 (verilog-calculate-indent, verilog-calc-1)
7903 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7904 (verilog-do-indent): Fix indentation of nested constraints
7906 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7907 (verilog-auto-inst-param): Use verilog-string-match-fold.
7908 (verilog-read-inst-module-matcher):
7909 Fix AUTOINST on gate primitives with #1.
7910 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7911 Reads all user-defined typed variables.
7912 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7913 (verilog-signals-matching-regexp)
7914 (verilog-signals-not-matching-regexp, verilog-auto):
7915 Respect verilog-case-fold.
7916 (verilog-diff-report): Fix line count.
7917 (verilog-auto-assign-modport): Remove unused local `modi'.
7918 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7919 better handle multidimensional arrays.
7920 Fix packed array ports misadding bit index in AUTOINST, bug637.
7921 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7922 to not double-declare existing outputs and inputs, respectively.
7923 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7924 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7925 (verilog-sk-uvm-component): New skeleton.
7926 (verilog-submit-bug-report): Add verilog-case-fold,
7927 remove verilog-mode-release-date.
7929 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7931 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7934 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7936 * textmodes/remember.el (remember): Set buffer-offer-save in
7937 remember buffers (bug#13566).
7939 2013-10-18 Daniel Colascione <dancol@dancol.org>
7941 When evaluating forms in ielm, direct standard output to ielm
7942 buffer. Add new ielm-return-for-effect command. Remove trailing
7943 whitespace throughout.
7945 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7946 (ielm-return-for-effect): New command.
7947 (ielm-send-input): Accept optional `for-effect' parameter.
7948 (ielm-eval-input): Accept optional `for-effect' parameter.
7949 Bind `standard-output' to stream we create using
7950 `ielm-standard-output-impl'. Suppress printing result when
7952 (ielm-standard-output-impl): New function.
7953 (inferior-emacs-lisp-mode): Explain new features in documentation.
7955 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7959 * net/tramp.el (tramp-debug-message): Do not check for connection
7961 (tramp-message): Use "vector" connection property.
7963 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7964 (tramp-equal-remote, tramp-eshell-directory-change)
7965 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7966 (tramp-adb-handle-rename-file)
7967 * net/tramp-cmds.el (tramp-list-remote-buffers)
7968 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7969 * net/tramp-compat.el (tramp-compat-process-running-p)
7970 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7971 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7972 (tramp-gvfs-handle-rename-file)
7973 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7974 (tramp-set-file-uid-gid)
7975 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7976 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7979 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7981 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7982 (tramp-gw-open-network-stream): Suppress unrelated traces.
7984 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7987 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7988 connection property.
7990 * net/tramp-cache.el (top): Suppress traces when reading
7993 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7994 Refactor common code. Improve debug message.
7995 (tramp-maybe-open-connection)
7996 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7997 connection buffer too early.
7999 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8000 from `tramp-smb-actions-with-acl'.
8001 (tramp-smb-actions-set-acl): New defconst.
8002 (tramp-smb-handle-copy-directory)
8003 (tramp-smb-action-get-acl): New defun, renamed from
8004 `tramp-smb-action-with-acl'.
8005 (tramp-smb-action-set-acl): New defun.
8006 (tramp-smb-handle-set-file-acl): Rewrite.
8008 2013-10-17 Glenn Morris <rgm@gnu.org>
8010 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8012 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8014 * skeleton.el (skeleton-newline): Remove.
8015 (skeleton-internal-1): Use (insert "\n") instead.
8017 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8020 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8021 forward-sexp-function while we redo its job (bug#15613).
8023 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8025 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8026 represented by lists.
8028 2013-10-16 Glenn Morris <rgm@gnu.org>
8030 * tmm.el (tmm--history): New dynamic variable.
8031 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8033 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8035 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8036 (tramp-smb-errors): Add error messages.
8037 (tramp-smb-actions-with-acl): New defconst.
8038 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8039 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8040 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8041 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8042 (tramp-smb-get-stat-capability): Fix tests.
8044 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8046 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8049 2013-10-16 Glenn Morris <rgm@gnu.org>
8051 * ansi-color.el (ansi-color-drop-regexp):
8052 Add 1J, 1K, 2K. (Bug#15617)
8054 * files.el (hack-local-variables--warned-lexical): New.
8055 (hack-local-variables):
8056 Warn about misplaced lexical-binding. (Bug#15616)
8058 * net/eww.el (eww-render): Always set eww-current-url,
8059 and update header line. (Bug#15622)
8060 (eww-display-html): ... Rather than just doing it here.
8062 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8064 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8065 menu navigations commands.
8067 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8069 * progmodes/subword.el (subword-capitalize): Be careful when
8070 the search for [[:alpha:]] fails (bug#15580).
8072 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8074 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8075 to commands that scroll the menu.
8077 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8079 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8080 Handle methods ending with `?' and `!'.
8082 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8084 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8085 `japanese-cp932' to `cp932' to fix the problem where saving a
8086 source file written in Shift_JIS twice would end up having
8087 `coding: japanese-cp932' which Ruby could not recognize.
8088 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8089 in `ruby-encoding-map'.
8090 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8091 doesn't need to be explicitly declared in magic comment.
8092 (ruby-encoding-map): Add type declaration for better customize UI.
8094 2013-10-13 Glenn Morris <rgm@gnu.org>
8096 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8097 Occur buffers are read-only. http://bugs.debian.org/720775
8099 * emacs-lisp/authors.el (authors-fixed-entries):
8100 Comment out old alpha stuff.
8102 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8104 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8105 to `after-save-hook' instead of `before-save-hook'.
8106 (ruby-mode-set-encoding): Use the value of coding system used to
8107 write the file. Call `basic-save-buffer-1' after modifying the
8110 2013-10-13 Alan Mackenzie <acm@muc.de>
8112 Fix indentation/fontification of Java enum with
8113 "implements"/generic.
8115 * progmodes/cc-engine.el (c-backward-over-enum-header):
8116 Extracted from the three other places and enhanced to handle generics.
8117 (c-inside-bracelist-p): Uses new function above.
8118 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8120 (c-font-lock-enum-tail): Uses new function above.
8122 2013-10-13 Kenichi Handa <handa@gnu.org>
8124 * international/mule-cmds.el (select-safe-coding-system): Remove a
8125 superfluous condition in chekcing whether a coding system is safe
8128 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8130 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8132 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8134 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8136 2013-10-13 Glenn Morris <rgm@gnu.org>
8138 * menu-bar.el (menu-bar-update-buffers):
8139 Unify Buffers menu prompt string. (Bug#15576)
8141 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8143 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8145 (authors-fixed-entries): Use accented form of name.
8147 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8150 method calls (bug#15594).
8151 (ruby-smie--args-separator-p): New function.
8152 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8153 recognize paren-free method calls.
8155 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8156 internals of universal-argument.
8158 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8160 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8161 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8162 dropped menu on second mouse click on the menu bar.
8164 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8166 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8167 (explicit-shell-file-name): Declare.
8168 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8169 (sh-completion-at-point-function): New function.
8171 (sh-smie--keyword-p): Remove unused argument.
8172 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8174 (sh-set-shell): Always setup SMIE, even if we use the
8175 old indentation code.
8177 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8179 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8181 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8182 predicate would return nil are almost non-existent.
8183 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8185 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8186 cache also after commands that modify the buffer but don't move
8189 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * env.el (substitute-env-in-file-name): New function.
8192 (substitute-env-vars): Extend the meaning of the optional arg.
8194 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8196 * term/w32-win.el (dynamic-library-alist): Define separate lists
8197 of GIF DLLs for versions before and after 5.0.0 of giflib.
8200 2013-10-10 João Távora <joaotavora@gmail.com>
8202 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8203 not locked, use last revision and current source as
8204 defaults. (Bug#15569)
8206 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8208 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8211 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8213 * window.el (pop-to-buffer-same-window): Fix doc-string.
8216 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8218 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8220 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8222 * calendar/icalendar.el (icalendar-import-file):
8223 Fix interactive spec. (Bug#15482)
8225 2013-10-10 Glenn Morris <rgm@gnu.org>
8227 * desktop.el (desktop-save): Default to saving in .emacs.d,
8228 since PWD is no longer in desktop-path by default. (Bug#15319)
8230 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8231 now that text mode has a menu with the same entry.
8232 (menu-bar-text-mode-auto-fill): Remove now unused func.
8233 * textmodes/text-mode.el (text-mode-map):
8234 Use auto-fill help text from menu-bar.el.
8236 2013-10-10 John Anthony <john@jo.hnanthony.com>
8238 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8240 2013-10-09 Juri Linkov <juri@jurta.org>
8242 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8243 instead of this-command-keys. Add universal-argument-more and
8244 universal-argument-minus to the list of prefix commands. (Bug#15568)
8246 2013-10-09 Glenn Morris <rgm@gnu.org>
8248 * vc/vc-svn.el (vc-svn-create-repo):
8249 Expand paths in file://... url. (Bug#15446)
8251 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8253 (authors): Remove unused local variables.
8255 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8257 * profiler.el: Create a more coherent calltree from partial backtraces.
8258 (profiler-format): Hide the tail with `invisible' so that C-s can still
8259 find the hidden elements.
8260 (profiler-calltree-depth): Don't recurse so enthusiastically.
8261 (profiler-function-equal): New hash-table-test.
8262 (profiler-calltree-build-unified): New function.
8263 (profiler-calltree-build): Use it.
8264 (profiler-report-make-name-part): Indent the calltree less.
8265 (profiler-report-mode): Add visibility specs for profiler-format.
8266 (profiler-report-expand-entry, profiler-report-toggle-entry):
8267 Expand the whole subtree when provided with a prefix arg.
8269 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8271 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8273 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8274 hanging iuwu-mod token.
8275 (ruby-smie--forward-token): Do not include a dot after a token in
8277 (ruby-smie--backward-token): Likewise.
8279 2013-10-08 Juri Linkov <juri@jurta.org>
8281 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8282 to isearch-other-control-char.
8283 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8284 and isearch-post-command-hook to post-command-hook.
8285 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8286 and isearch-post-command-hook from post-command-hook.
8287 (isearch-unread-key-sequence)
8288 (isearch-reread-key-sequence-naturally)
8289 (isearch-lookup-scroll-key, isearch-other-control-char)
8290 (isearch-other-meta-char): Remove functions.
8291 (isearch-pre-command-hook, isearch-post-command-hook):
8292 New functions based on isearch-other-meta-char rewritten
8293 relying on the new behavior of overriding-terminal-local-map
8294 that does not replace the local keymaps any more. (Bug#15200)
8296 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8298 Support menus on text-mode terminals.
8299 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8302 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8304 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8305 Move here from mouse.el.
8306 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8308 (tty-menu-navigation-map): New map for TTY menu navigation.
8310 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8312 * frame.el (display-mouse-p): Report text-mode mouse as available
8314 (display-popup-menus-p): Report availability if mouse is
8315 available; don't condition on window-system.
8317 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8318 (tty-menu-selected-face): New faces.
8320 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8323 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8324 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8325 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8327 (lisp-mode-variables): New `elisp' argument.
8328 (emacs-lisp-mode): Use it.
8329 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8330 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8332 * indent.el: Use lexical-binding.
8333 (indent-region): Add progress reporter.
8334 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8336 (indent--next-tab-stop): New function to implement this behavior.
8337 (tab-to-tab-stop, move-to-tab-stop): Use it.
8339 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8341 * indent.el (indent-rigidly--current-indentation): New function.
8342 (indent-rigidly-map): New var.
8343 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8345 2013-10-08 Bastien Guerry <bzg@gnu.org>
8347 * register.el (insert-register): Fix 2013-10-07 change.
8349 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8351 * progmodes/perl-mode.el: Use lexical-binding.
8352 Remove redundant :group args.
8353 (perl-nochange): Change default to be closer to other major modes's
8355 (perl-indent-line): Don't consider text on current line as a
8356 valid beginning of function from which to indent.
8358 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8359 with more than one argument (bug#15538).
8361 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8363 * vc/pcvs.el: Use lexical-binding.
8364 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8365 environment of `eval'.
8366 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8367 than a list of expressions. Adjust callers.
8368 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8370 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8373 case of the dot in a chained method call being on the following line.
8375 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8377 * electric.el (electric-indent-inhibit): New var.
8378 (electric-indent-post-self-insert-function): Use it.
8379 * progmodes/python.el (python-mode): Set it.
8381 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8384 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8386 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8387 (css-mode): Use electric-indent-chars.
8389 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8390 (font-lock-beg, font-lock-end): Move before first use.
8391 (nxml-mode): Use syntax-propertize-function.
8392 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8393 (nxml-extend-after-change-region): Remove.
8394 * nxml/xmltok.el: Use lexical-binding.
8395 (xmltok-save): Use `declare'.
8396 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8397 * nxml/nxml-util.el: Use lexical-binding.
8398 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8400 * nxml/nxml-ns.el: Use lexical-binding.
8401 (nxml-ns-save): Use `declare'.
8402 (nxml-ns-prefixes-for): Avoid add-to-list.
8403 * nxml/rng-match.el: Use lexical-binding.
8404 (rng--ipattern): Use cl-defstruct.
8405 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8406 (rng-cons-group-after, rng-subst-group-after)
8407 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8408 Use closures instead of `(lambda...).
8410 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8412 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8416 Use `tramp-handle-insert-file-contents'.
8417 (tramp-gvfs-handle-insert-file-contents): Remove function.
8419 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8420 Use `save-restriction' in order to keep markers.
8422 * net/trampver.el: Update release number.
8424 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8426 * progmodes/compile.el (compilation-parse-errors):
8427 Use compilation--put-prop.
8428 (compilation--ensure-parse): Check compilation-multiline.
8430 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8432 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8435 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8437 * progmodes/ruby-mode.el: Fix recently added tests.
8438 (ruby-smie-grammar): Add - and +.
8439 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8440 (ruby-smie--backward-id): New functions.
8441 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8442 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8445 2013-10-07 Leo Liu <sdl.web@gmail.com>
8447 * register.el (register-preview-delay)
8448 (register-preview-functions): New variables.
8449 (register-read-with-preview, register-preview)
8450 (register-describe-oneline): New functions.
8451 (point-to-register, window-configuration-to-register)
8452 (frame-configuration-to-register, jump-to-register)
8453 (number-to-register, view-register, insert-register)
8454 (copy-to-register, append-to-register, prepend-to-register)
8455 (copy-rectangle-to-register): Use register-read-with-preview to
8456 read register. (Bug#15525)
8458 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8460 * net/network-stream.el (network-stream-open-starttls): Don't add
8461 --insecure if it's already present, because that gnutls-cli
8462 rejects getting that parameter twice.
8464 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8466 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8469 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8471 * newcomment.el (comment-use-global-state): Change default value
8472 to t, mark obsolete (Bug#15251).
8473 (comment-beginning): In addition to `comment-to-syntax', check the
8474 value of `comment-use-global-state'.
8476 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8478 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8479 (ruby-comment-column): Follow the global default, by default.
8480 (ruby-smie-grammar): Add assignment syntax.
8481 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8482 open-paren, a comma, or a \.
8483 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8484 and line continuations.
8485 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8486 followed by implicit semi-colons. Add rule for string concatenation
8487 and for indentation at BOB.
8488 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8490 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8491 calling next-sexp, since next-token may have skipped chars which
8492 next-sexp doesn't know should be skipped!
8494 2013-10-05 Leo Liu <sdl.web@gmail.com>
8496 * progmodes/octave.el (octave-send-region):
8497 Call compilation-forget-errors.
8499 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8501 * vc/vc-svn.el (vc-svn-find-admin-dir):
8502 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8503 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8504 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8505 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8507 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8511 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8513 * subr.el (read-passwd): Hide chars even when called within a context
8514 where after-change-functions is disabled (bug#15501).
8515 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8516 until we removed ourself from overriding-terminal-local-map.
8518 2013-10-04 Leo Liu <sdl.web@gmail.com>
8520 * progmodes/octave.el (inferior-octave-mode):
8521 Call compilation-forget-errors.
8523 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8525 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8527 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8529 * net/secrets.el (secrets-create-collection): Add optional
8530 argument ALIAS. Use proper Label keyword. Append ALIAS as
8531 dbus-call-method argument. (Bug#15516)
8533 2013-10-04 Leo Liu <sdl.web@gmail.com>
8535 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8536 (inferior-octave-compilation-font-lock-keywords): New variables.
8537 (compilation-error-regexp-alist)
8538 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8539 (inferior-octave-mode): Use compilation-shell-minor-mode.
8541 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8543 * minibuffer.el (completion--replace): Be careful that `end' might be
8546 2013-10-03 Daiki Ueno <ueno@gnu.org>
8548 Add support for package signature checking.
8549 * emacs-lisp/package.el (url-http-file-exists-p)
8550 (epg-make-context, epg-context-set-home-directory)
8551 (epg-verify-string, epg-context-result-for)
8552 (epg-signature-status, epg-signature-to-string)
8553 (epg-check-configuration, epg-configuration)
8554 (epg-import-keys-from-file): Declare.
8555 (package-check-signature): New user option.
8556 (package-unsigned-archives): New user option.
8557 (package-desc): Add `signed' field.
8558 (package-load-descriptor): Set `signed' field if .signed file exists.
8559 (package--archive-file-exists-p): New function.
8560 (package--check-signature): New function.
8561 (package-install-from-archive): Check package signature.
8562 (package--download-one-archive): Check archive signature.
8563 (package-delete): Remove .signed file.
8564 (package-import-keyring): New command.
8565 (package-refresh-contents): Import default keyring.
8566 (package-desc-status): Add "unsigned" status.
8567 (describe-package-1, package-menu--print-info)
8568 (package-menu-mark-delete, package-menu--find-upgrades)
8569 (package-menu--status-predicate): Support "unsigned" status.
8571 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8574 the new compilation scheme using the new byte-codes.
8576 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8577 (byte-pophandler): New byte codes.
8578 (byte-goto-ops): Adjust accordingly.
8579 (byte-compile--use-old-handlers): New var.
8580 (byte-compile-catch): Use new byte codes depending on
8581 byte-compile--use-old-handlers.
8582 (byte-compile-condition-case--old): Rename from
8583 byte-compile-condition-case.
8584 (byte-compile-condition-case--new): New function.
8585 (byte-compile-condition-case): New function that dispatches depending
8586 on byte-compile--use-old-handlers.
8587 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8590 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8591 Optimize under `condition-case' and `catch' if
8592 byte-compile--use-old-handlers is nil.
8593 (disassemble-offset): Handle new bytecodes.
8595 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * subr.el (error): Use `declare'.
8598 (decode-char, encode-char): Use advertised-calling-convention instead
8599 of the docstring to discourage use of the `restriction' arg.
8601 2013-10-03 Daiki Ueno <ueno@gnu.org>
8603 * epg.el (epg-verify-file): Add a comment saying that it does not
8604 notify verification error as a return value nor a signal.
8605 (epg-verify-string): Ditto.
8607 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8609 * progmodes/compile.el (compilation-start): Try globbing the arg to
8612 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8614 Sync with Tramp 2.2.8.
8616 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8617 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8618 * net/trampver.el: Update release number.
8620 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8622 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8623 and default-process-coding-system for darwin only.
8625 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8629 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8631 * vc/vc-git.el (vc-git-grep): Disable pager.
8633 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8635 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8636 Use :url instead of :homepage, as per
8637 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8639 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8640 non-nil, use `syntax-ppss' (Bug#15251).
8642 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8644 * progmodes/octave.el (inferior-octave-startup-file):
8645 Prefer ~/.emacs.d/init_octave.m.
8647 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8649 * emacs-lisp/package.el (package-desc-from-define):
8650 Accept additional arguments as plist, convert them to an alist and store
8651 them in the `extras' slot.
8652 (package-generate-description-file): Convert extras alist back to
8653 plist and append to the `define-package' form arguments.
8654 (package--alist-to-plist): New function.
8655 (package--ac-desc): Add `extras' slot.
8656 (package--add-to-archive-contents): Check if the archive-contents
8657 vector is long enough, and if it is, pass its `extras' slot value
8658 to `package-desc-create'.
8659 (package-buffer-info): Call `lm-homepage', pass the returned value
8660 to `package-desc-from-define'.
8661 (describe-package-1): Render the homepage button (Bug#13291).
8663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8664 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8666 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8668 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8669 and default-process-coding-system to utf-8-unix (Bug#15402).
8671 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8673 * subr.el (looking-back): Do not recommend using looking-back.
8675 2013-09-28 Alan Mackenzie <acm@muc.de>
8677 Fix indentation/fontification of Java enum with "implements".
8679 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8680 regexp which matches "implements", etc., in Java.
8681 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8682 specifier clauses coming after "enum".
8683 * progmodes/cc-fonts.el (c-font-lock-declarations)
8684 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8687 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8689 * faces.el (region): Change ns_selection_color to
8690 ns_selection_fg_color, add ns_selection_bg_color.
8692 2013-09-28 Leo Liu <sdl.web@gmail.com>
8694 * progmodes/octave.el (inferior-octave-completion-table)
8695 (inferior-octave-completion-at-point): Minor tweaks.
8697 * textmodes/ispell.el (ispell-lookup-words): Rename from
8698 lookup-words. (Bug#15460)
8699 (lookup-words): Obsolete.
8700 (ispell-complete-word, ispell-command-loop): All uses changed.
8702 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8704 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8705 (octave-mode-menu): Add octave-send-buffer.
8706 (octave-send-buffer): New function.
8708 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8710 * progmodes/octave.el (octave-mode-map): Add key binding for
8712 (octave-mode-menu): Add octave-lookfor.
8713 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8715 (octave-lookfor): New function.
8717 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8720 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8722 (cl--loop-set-iterator-function): New function.
8723 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8724 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8725 Bind `it' with `let' instead of substituting it with `cl-subst'.
8726 (cl--unused-var-p): New function.
8727 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8728 Eliminate some unused variable warnings (bug#15326).
8730 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8732 * doc-view.el (doc-view-scale-reset): Rename from
8733 `doc-view-reset-zoom-level'.
8734 (doc-view-scale-adjust): New command.
8735 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8736 `doc-view-scale-adjust'.
8738 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8740 * doc-view.el (doc-view-reset-zoom-level): New command.
8741 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8742 zoom commands (bug#15466).
8744 2013-09-26 Kenichi Handa <handa@gnu.org>
8746 * international/quail.el (quail-help): Make it not a command.
8748 2013-09-26 Leo Liu <sdl.web@gmail.com>
8750 * minibuffer.el (completion-all-sorted-completions): Make args
8751 optional as they are.
8753 2013-09-25 Daniel Colascione <dancol@dancol.org>
8755 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8756 specs are and that they're not evaluated.
8758 2013-09-24 Sam Steingold <sds@gnu.org>
8760 * midnight.el (clean-buffer-list-kill-regexps)
8761 (clean-buffer-list-kill-buffer-names): Update for the new Man
8762 buffer naming which includes the object name.
8764 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8767 (eshell-parse-command, eshell-parse-pipeline): Use it since
8768 eshell-separate-commands requires a dynamic scoped var.
8769 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8771 2013-09-23 Leo Liu <sdl.web@gmail.com>
8773 * autoinsert.el (auto-insert-alist): Make the value of
8774 lexical-binding match its file setting.
8776 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8778 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8780 * autoarg.el (autoarg-kp-digit-argument):
8781 * electric.el (Electric-command-loop):
8782 * kmacro.el (kmacro-step-edit-insert):
8783 Do not set universal-argument-num-events.
8785 2013-09-22 Leo Liu <sdl.web@gmail.com>
8787 * files.el (interpreter-mode-alist): Add octave.
8789 2013-09-21 Alan Mackenzie <acm@muc.de>
8791 C++: fontify identifier in declaration following "public:" correctly.
8792 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8793 to match "public", etc.
8794 (c-decl-prefix-re): Add ":" into the C++ value.
8795 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8796 bit. Add a check for a ":" preceded by "public", etc.
8798 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8800 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8801 recognized by GDB 7.5 and later.
8803 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8805 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8807 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8809 * subr.el (internal--call-interactively): New const.
8810 (called-interactively-p): Use it (bug#3984).
8812 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8814 * vc/pcvs.el (cvs-mode-ignore):
8815 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8816 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8818 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8820 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8821 (eshell-ls-orig-insert-directory): Remove.
8822 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8823 (eshell-ls-use-in-dired): Use advice-add/remove.
8824 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8825 Add `orig-fun' arg for use in :around advice.
8826 Make it check (redundantly) eshell-ls-use-in-dired.
8828 2013-09-19 Glenn Morris <rgm@gnu.org>
8830 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8832 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8834 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8836 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8838 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8839 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8840 (tramp-get-remote-python): New defuns.
8841 (tramp-get-remote-uid-with-perl)
8842 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8843 contributed by yary <not.com@gmail.com> (tiny change).
8844 (tramp-get-remote-uid-with-python)
8845 (tramp-get-remote-gid-with-python): New defuns. Python code
8846 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8847 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8849 2013-09-19 Glenn Morris <rgm@gnu.org>
8851 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8853 * eshell/em-unix.el (eshell-remove-entries):
8854 Rename argument to avoid name-clash with global `top-level'.
8856 * eshell/esh-proc.el (eshell-kill-process-function):
8857 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8858 (eshell-reset-after-proc): Remove unused arg `proc'.
8860 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8861 (directory-files-and-attributes): Mark unused arg.
8863 * eshell/em-unix.el (eshell-remove-entries):
8864 Remove unused arg `path'. Update callers.
8866 * eshell/em-hist.el (eshell-hist-parse-arguments):
8867 Remove unused arg `silent'. Update callers.
8869 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8870 Fix (f)boundp mix-up.
8872 * eshell/em-smart.el (eshell-smart-scroll-window)
8873 (eshell-disable-after-change):
8874 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8876 2013-09-18 Alan Mackenzie <acm@muc.de>
8878 Fix fontification of type when followed by "const".
8879 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8880 "known" types from fontification.
8882 2013-09-18 Glenn Morris <rgm@gnu.org>
8884 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8885 (chart-face-list): Drop Emacsen without display-color-p.
8887 * net/eww.el (libxml-parse-html-region): Declare.
8888 (eww-display-html): Explicit error if no libxml2 support.
8890 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8892 * image.el (image-type-from-buffer, image-multi-frame-p):
8893 Remove --without-x warning/error.
8895 * mouse.el (mouse-yank-primary):
8896 * term.el (term-mouse-paste):
8897 Reorder to silence --without-x compilation.
8899 * mpc.el (doc-view-mode): Silence --without-x compilation.
8901 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8902 Silence --without-x compilation.
8904 * progmodes/gud.el (gud-find-file, gud-mode):
8905 Silence --without-x compilation.
8906 (tooltip-mode): Declare.
8908 * wdired.el (dired-backup-overwrite): Remove declaration.
8909 (wdired-mode-map): Add doc string.
8911 * custom.el (x-get-resource): Declare.
8913 * eshell/em-glob.el (ange-cache):
8914 * eshell/em-unix.el (ange-cache): Declare.
8916 * faces.el (x-display-list, x-open-connection, x-get-resource):
8919 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8920 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8923 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8925 * net/gnutls.el (gnutls-log-level): Declare.
8927 * net/shr.el (image-size, image-animate): Declare.
8929 * simple.el (font-info): Declare.
8931 * subr.el (x-popup-dialog): Declare.
8933 * term/common-win.el (x-select-enable-primary)
8934 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8937 * term/ns-win.el (x-handle-args): Declare.
8939 * term/x-win.el (x-select-enable-clipboard): Declare.
8941 * term/w32-win.el (create-default-fontset): Declare.
8943 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8946 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8947 (fit-frame-to-buffer): Explicit error if --without-x.
8948 (mouse-autoselect-window-select): Silence compiler.
8950 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8952 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8953 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8954 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8955 * eshell/esh-util.el (eshell-sublist):
8956 Remove unused local variables.
8958 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8960 * textmodes/two-column.el: Make 2C-split work for --without-x.
8961 (scroll-bar-columns): Autoload.
8962 (top-level): Require fringe when compiling.
8964 2013-09-18 Leo Liu <sdl.web@gmail.com>
8966 * subr.el (add-hook): Robustify to handle closure as well.
8968 2013-09-17 Glenn Morris <rgm@gnu.org>
8970 * simple.el (messages-buffer-mode-map): Unbind "g".
8972 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * help-mode.el (help-mode-finish): Use derived-mode-p.
8975 Remove obsolete highlighting.
8977 * play/life.el (life-mode): Use define-derived-mode. Derive from
8979 (life): Let-bind inhibit-read-only.
8980 (life-setup): Avoid `setq'. Use `life-mode'.
8982 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8983 which should not be needed any more.
8984 (package-menu-refresh, package-menu-describe-package): Use user-error.
8986 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8987 (eshell-post-rewrite-command-hook): Make obsolete.
8988 (eshell-parse-command): Simplify.
8989 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8990 (eshell--cmd): Declare.
8991 (eshell-parse-pipeline): Remove unused var `final-p'.
8992 Pass a dynvar to eshell-post-rewrite-command-hook.
8993 Implement the new eshell-post-rewrite-command-function.
8994 (eshell-invoke-directly): Remove unused arg `input'.
8995 * eshell/esh-io.el (eshell-io-initialize):
8996 Use eshell-post-rewrite-command-function (bug#15399).
8997 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8998 adjust to new calling convention.
8999 (eshell-create-handles): Rename args to avoid clashing with dynvar
9002 2013-09-17 Glenn Morris <rgm@gnu.org>
9004 * simple.el (messages-buffer-mode): New major mode.
9005 (messages-buffer): New function.
9006 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9007 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9008 (ert-run-test): Use `messages-buffer' function.
9009 (ert--force-message-log-buffer-truncation): Ignore read-only.
9010 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9011 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9013 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9015 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9017 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9019 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9021 * icomplete.el (icomplete-in-buffer): New var.
9022 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9023 vars and replace them with functions.
9024 (icomplete-minibuffer-setup): Adjust accordingly.
9025 (icomplete--completion-table, icomplete--completion-predicate)
9026 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9028 (icomplete-forward-completions, icomplete-backward-completions)
9029 (icomplete-simple-completing-p, icomplete-exhibit)
9030 (icomplete-completions): Use them.
9031 (icomplete--in-region-buffer): New var.
9032 (icomplete--in-region-setup): New function.
9033 (icomplete-mode): Use it.
9035 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9037 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9038 return args and options.
9039 (eshell-eval-using-options): Use the new return value of
9040 eshell--do-opts to set the options's vars in their scope.
9041 (eshell--set-option): Rename from eshell-set-option.
9043 (eshell--process-option): Rename from eshell-process-option.
9045 (eshell--process-args): Use an `opt-vals' alist to store the options's
9046 values during their processing and return them additionally to the
9049 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9051 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9052 continuation character an operator, as far as indentation is
9053 concerned (Bug#15369).
9055 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9057 * window.el (window--state-put-2): Don't process buffer state
9058 when buffer doesn't exist any more (Bug#15382).
9060 2013-09-15 Glenn Morris <rgm@gnu.org>
9062 * eshell/em-unix.el (eshell/rm):
9063 Make -f ignore missing files. (Bug#15373)
9065 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9066 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9067 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9069 2013-09-14 Glenn Morris <rgm@gnu.org>
9071 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9073 2013-09-13 Glenn Morris <rgm@gnu.org>
9075 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9076 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9078 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9080 * frame.el (x-focus-frame): Mark as declared in frame.c.
9082 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * ls-lisp.el: Use advice-add.
9085 (original-insert-directory): Remove.
9086 (ls-lisp--insert-directory): Rename from insert-directory; add
9087 `orig-fun' argument.
9088 (insert-directory): Advise.
9090 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9092 * term.el (term-emulate-terminal): Decode the command string
9093 before passing it to term-command-hook. (Bug#15337)
9095 2013-09-13 Glenn Morris <rgm@gnu.org>
9097 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9099 * eshell/esh-ext.el (eshell-search-path): Declare.
9101 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9102 Otherwise an error occurs if eshell-dirs module not loaded.
9104 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9106 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9108 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9109 `tramp-check-proper-host'. Check for a valid method name.
9111 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9112 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9113 * net/tramp-sh.el (tramp-maybe-open-connection):
9114 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9116 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9117 also for hash values.
9119 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9121 * term/ns-win.el (parameters): Don't declare as dynamic.
9122 (before-make-frame-hook): Don't add ineffective function.
9124 * eshell/*.el: Use lexical-binding (bug#15231).
9126 2013-09-12 Kenichi Handa <handa@gnu.org>
9128 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9130 2013-09-12 Glenn Morris <rgm@gnu.org>
9132 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9133 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9135 * subr.el (do-after-load-evaluation): Also give compiler warnings
9136 when obsolete files are used (except by obsolete files).
9138 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9139 in the status output, assume `filename' is the first. (Bug#15322)
9141 * vc/vc.el (vc-deduce-fileset): Doc fix.
9143 * calc/calc-help.el (Info-goto-node):
9144 * progmodes/cperl-mode.el (Info-find-node):
9145 * vc/ediff.el (Info-goto-node): Update declarations.
9147 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9149 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9150 (vc-bzr-pull): Require vc-dispatcher.
9151 * vc/vc-git.el (vc-compilation-mode): Declare.
9152 (vc-git-pull): Require vc-dispatcher.
9154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9156 * progmodes/octave.el (help-button-action): Declare.
9158 * shell.el (shell-directory-tracker): Output error as a message
9159 rather than just returning it as a string.
9160 (shell-process-pushd): Remove useless use of message.
9162 * dframe.el (dframe-timer-fn):
9163 * files.el (dir-locals-read-from-file):
9164 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9166 * reveal.el (reveal-post-command):
9167 * saveplace.el (load-save-place-alist-from-file):
9168 * shell.el (shell-resync-dirs):
9169 * w32-common-fns.el (x-get-selection-value):
9170 * emacs-lisp/copyright.el (copyright-find-copyright):
9171 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9172 * emulation/tpu-edt.el (tpu-copy-keyfile):
9173 * play/bubbles.el (bubbles--mark-neighbourhood):
9174 * progmodes/executable.el
9175 (executable-make-buffer-file-executable-if-script-p):
9176 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9178 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9180 Cleanup Eshell to rely less on dynamic scoping.
9181 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9182 last-value, and ext-command here. Bind `args' closer to `body'.
9183 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9184 (eshell--args): Declare new dynamic var.
9185 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9186 last-value, and ext-command. Pass `args' to `body'.
9187 (eshell-process-args): Bind eshell--args.
9188 (eshell-set-option): Use eshell--args.
9189 * eshell/eshell.el (eshell): Use derived-mode-p.
9190 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9191 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9192 (eshell-glob-function): Declare.
9193 * eshell/esh-util.el: Require cl-lib.
9194 (eshell-read-hosts-file): Avoid add-to-list.
9195 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9197 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9199 (eshell/diff): Remove unused var `err'.
9200 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9202 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9203 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9205 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9206 Move declaration before first use.
9207 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9208 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9211 2013-09-12 Glenn Morris <rgm@gnu.org>
9213 * term/ns-win.el (global-map): Remove binding for ispell-next,
9214 deleted 1999-05-29. (Bug#15357)
9216 2013-09-11 Glenn Morris <rgm@gnu.org>
9218 * echistory.el (electric-command-history): Remove call to deleted func.
9220 * play/landmark.el (landmark-mode): Fix typos.
9222 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9223 Check cvs-sort-ignore-file is bound.
9225 * savehist.el: No need for cl when compiling on Emacs.
9227 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9229 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9231 (eshell-self-insert-command, eshell-send-invisible):
9232 Remove unused argument.
9233 (eshell-handle-control-codes): Remove unused var `orig'.
9234 Avoid delete-backward-char.
9236 * files.el (set-auto-mode): Simplify a bit further.
9238 2013-09-11 Glenn Morris <rgm@gnu.org>
9240 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9241 (set-auto-mode): Don't regexp-quote elements.
9242 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9243 * progmodes/cc-mode.el (interpreter-mode-alist):
9244 * progmodes/ruby-mode.el (interpreter-mode-alist):
9245 Revert previous change.
9247 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9249 * play/snake.el (snake-mode):
9250 * play/mpuz.el (mpuz-mode):
9251 * play/landmark.el (lm-mode):
9252 * play/blackbox.el (blackbox-mode):
9253 * play/5x5.el (5x5-mode):
9254 * obsolete/options.el (Edit-options-mode):
9255 * net/quickurl.el (quickurl-list-mode):
9256 * net/newst-treeview.el (newsticker-treeview-mode):
9257 * mail/rmailsum.el (rmail-summary-mode):
9258 * mail/mspools.el (mspools-mode):
9259 * locate.el (locate-mode):
9260 * ibuffer.el (ibuffer-mode):
9261 * emulation/ws-mode.el (wordstar-mode):
9262 * emacs-lisp/debug.el (debugger-mode):
9263 * array.el (array-mode):
9264 * net/eudc.el (eudc-mode): Use define-derived-mode.
9265 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9266 Move initialization into declaration.
9267 (mairix-searches-mode): Use define-derived-mode.
9268 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9269 (eudc-edit-hotlist): Use dolist.
9270 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9271 (Man-mode): Use define-derived-mode.
9272 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9273 (Info-edit-mode): Use define-derived-mode.
9274 (Info-cease-edit): Use Info-mode.
9275 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9277 (eshell-mode): Use define-derived-mode.
9278 * chistory.el (command-history-mode-map): Rename from
9279 command-history-map.
9280 (command-history-mode): Use define-derived-mode.
9281 (Command-history-setup): Remove function.
9282 * calc/calc.el (calc-trail-mode-map): New var.
9283 (calc-trail-mode): Use define-derived-mode.
9284 (calc-trail-buffer): Set calc-main-buffer manually.
9285 * bookmark.el (bookmark-insert-annotation): New function.
9286 (bookmark-edit-annotation): Use it.
9287 (bookmark-edit-annotation-mode): Make it a proper major mode.
9288 (bookmark-send-edited-annotation): Use derived-mode-p.
9289 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9290 closer to its ideal place. Use \' to match EOS.
9292 * profiler.el (profiler-calltree-find): Use function-equal.
9294 2013-09-10 Glenn Morris <rgm@gnu.org>
9296 * files.el (interpreter-mode-alist): Convert to regexps.
9297 (set-auto-mode): Adapt for this. (Bug#15306)
9298 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9299 Comment out unused variable.
9300 * progmodes/cc-mode.el (interpreter-mode-alist):
9301 * progmodes/python.el (interpreter-mode-alist):
9302 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9303 * progmodes/sh-script.el (sh-set-shell):
9304 No longer use interpreter-mode-alist to get list of shells.
9306 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9308 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9310 * simple.el: Use set-temporary-overlay-map for universal-argument.
9311 (universal-argument-map): Don't use default-bindings (bug#15317).
9312 Bind switch-frame explicitly. Replace universal-argument-minus with
9313 a conditional binding.
9314 (universal-argument-num-events, saved-overriding-map): Remove.
9315 (restore-overriding-map): Remove.
9316 (universal-argument--mode): Rename from save&set-overriding-map,
9318 (universal-argument, universal-argument-more, negative-argument)
9319 (digit-argument): Adjust accordingly.
9320 (universal-argument-minus): Remove.
9321 (universal-argument-other-key): Remove.
9323 * subr.el (with-demoted-errors): Add `format' argument.
9325 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9327 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9328 `tramp-cleanup-connection'.
9330 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9331 parameters KEEP-DEBUG and KEEP-PASSWORD.
9333 * net/tramp.el (tramp-file-name-handler):
9334 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9335 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9336 (tramp-maybe-open-connection):
9337 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9338 Use `tramp-cleanup-connection'.
9340 * net/tramp-sh.el (tramp-maybe-open-connection):
9341 Catch 'uname-changed inside the progress reporter.
9343 2013-09-10 Glenn Morris <rgm@gnu.org>
9345 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9347 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9348 returns "alternate access method" in mode (eg "-rw-r--r--.").
9350 2013-09-08 Glenn Morris <rgm@gnu.org>
9352 * saveplace.el (load-save-place-alist-from-file):
9353 Demote errors. (Bug#15305)
9355 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9357 Improve compatibility with older Emacsen, and XEmacs.
9359 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9360 only if it is bound. It isn't for XEmacs.
9361 (with-tramp-progress-reporter): Do not let-bind `result'.
9362 This yields to scoping errors in XEmacs.
9363 (tramp-handle-make-auto-save-file-name): New function, moved from
9366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9367 for `make-auto-save-file-name'.
9368 (tramp-adb--gnu-switches-to-ash):
9369 Use `tramp-compat-replace-regexp-in-string'.
9371 * net/tramp-cache.el (tramp-cache-print): Call
9372 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9374 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9375 bound. It isn't for XEmacs.
9377 * net/tramp-compat.el (tramp-compat-copy-file):
9378 Catch `wrong-number-of-arguments' error.
9379 (tramp-compat-replace-regexp-in-string): New defun.
9381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9382 for `make-auto-save-file-name'.
9383 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9385 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9386 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9387 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9389 * net/tramp-gw.el (tramp-gw-open-network-stream):
9390 Use `tramp-compat-replace-regexp-in-string'.
9392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9393 Call `tramp-handle-make-auto-save-file-name'.
9394 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9395 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9396 (tramp-sh-file-inotifywait-process-filter):
9397 Use `tramp-compat-replace-regexp-in-string'.
9398 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9401 for `make-auto-save-file-name'.
9402 (tramp-smb-handle-copy-directory):
9403 Call `tramp-compat-replace-regexp-in-string'.
9404 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9405 (tramp-smb-handle-copy-file): Improve error message.
9406 (tramp-smb-handle-rename-file): Rename directly only in case
9407 `newname' does not exist yet. This is a restriction of smbclient.
9408 (tramp-smb-maybe-open-connection): Rerun the function only when
9409 `auth-sources' is non-nil.
9411 2013-09-08 Kenichi Handa <handa@gnu.org>
9413 * international/characters.el: Set category "^" (Combining) for
9416 2013-09-07 Alan Mackenzie <acm@muc.de>
9418 Correctly fontify Java class constructors.
9419 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9421 (c-recognize-typeless-decls): Set the Java value to t.
9422 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9423 While handling a "(", add a check for, effectively, Java, and handle a
9424 "typeless" declaration there.
9426 2013-09-07 Roland Winkler <winkler@gnu.org>
9428 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9429 field subtitle for entry type book.
9431 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9433 * minibuffer.el: Make minibuffer-complete call completion-in-region
9434 rather than other way around.
9435 (completion--some, completion-pcm--find-all-completions):
9436 Don't delay signals when debugging.
9437 (minibuffer-completion-contents): Beware fields within the
9438 minibuffer contents.
9439 (completion-all-sorted-completions): Use defvar-local.
9440 (completion--do-completion, completion--cache-all-sorted-completions)
9441 (completion-all-sorted-completions, minibuffer-force-complete):
9442 Add args `beg' and `end'.
9443 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9444 (minibuffer-complete): Use completion-in-region.
9445 (completion-complete-and-exit): New fun, extracted from
9446 minibuffer-complete-and-exit.
9447 (minibuffer-complete-and-exit): Use it.
9448 (completion--complete-and-exit): Rename from
9449 minibuffer--complete-and-exit.
9450 (completion-in-region--single-word): New function, extracted from
9451 minibuffer-complete-word.
9452 (minibuffer-complete-word): Use it.
9453 (display-completion-list): Make `common-substring' argument obsolete.
9454 (completion--in-region): Call completion--in-region-1 instead of
9455 minibuffer-complete.
9456 (completion-help-at-point): Pass boundaries to
9457 minibuffer-completion-help as args rather than via an overlay.
9458 (completion-pcm--string->pattern): Use `any-delim'.
9459 (completion-pcm--optimize-pattern): New function.
9460 (completion-pcm--pattern->regex): Handle `any-delim'.
9461 * icomplete.el (icomplete-forward-completions)
9462 (icomplete-backward-completions, icomplete-completions):
9463 Adjust calls to completion-all-sorted-completions and
9464 completion--cache-all-sorted-completions.
9465 (icomplete-with-completion-tables): Default to t.
9466 * emacs-lisp/crm.el (crm--current-element): Rename from
9467 crm--select-current-element. Don't put an overlay but return the
9469 (crm--completion-command): Take two new args to bind to the boundaries.
9470 (crm-completion-help): Adjust accordingly.
9471 (crm-complete): Use completion-in-region.
9472 (crm-complete-word): Use completion-in-region--single-word.
9473 (crm-complete-and-exit): Use completion-complete-and-exit.
9475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9480 2013-09-06 Juri Linkov <juri@jurta.org>
9482 * info.el (Info-display-images-node): When image file doesn't exist
9483 display text version of the image if it's provided in the Info file.
9484 Otherwise, display the location of missing image from SRC attribute.
9485 Add help-echo text property from ALT attribute. (Bug#15279)
9487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9489 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9490 (edit-abbrevs-mode): Use define-derived-mode.
9492 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9493 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9495 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9496 Use define-derived-mode.
9498 * epg.el (epg-start-encrypt): Minor CSE simplification.
9500 2013-09-06 William Xu <william.xwl@gmail.com>
9502 * arc-mode.el: Add support for 7za (bug#15264).
9503 (archive-7z-program): New var.
9504 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9505 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9506 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9508 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9512 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9513 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9514 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9515 (tramp-postfix-host-format, tramp-file-name-regexp)
9516 (tramp-completion-file-name-regexp)
9517 (tramp-completion-dissect-file-name)
9518 (tramp-handle-substitute-in-file-name): Remove 'url case.
9519 (tramp-file-name-regexp-url)
9520 (tramp-completion-file-name-regexp-url): Remove constants.
9522 2013-09-06 Glenn Morris <rgm@gnu.org>
9524 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9526 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9529 keywords" below "here-doc beginnings" (Bug#15270).
9531 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9533 * subr.el (pop): Use `car-safe'.
9534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9535 to detect unused `pop' return value.
9537 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9539 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9540 (python-fill-string): Remove unused var `marker'.
9541 (python-skeleton-add-menu-items): Remove unused var `items'.
9543 * international/mule-cmds.el: Require CL.
9544 (find-coding-systems-for-charsets): Avoid add-to-list.
9545 (sanitize-coding-system-list): New function, extracted from
9546 select-safe-coding-system-interactively.
9547 (select-safe-coding-system-interactively): Use it.
9548 (read-input-method-name): Accept symbols for `default'.
9550 * emacs-lisp/advice.el (defadvice): Add indent rule.
9552 2013-09-05 Daniel Hackney <dan@haxney.org>
9556 * net/browse-url.el:
9559 * net/eudcb-ldap.el:
9572 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9573 byte compiler. Remove some unused let-bound variables.
9575 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9577 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9578 a "ref-cell", since it gets better optimized (bug#14883).
9580 2013-09-05 Glenn Morris <rgm@gnu.org>
9582 * progmodes/cc-awk.el (c-forward-sws): Declare.
9584 2013-09-04 Glenn Morris <rgm@gnu.org>
9586 * generic-x.el [rul-generic-mode]: Require cc-mode.
9587 (c++-mode-syntax-table): Declare.
9588 (rul-generic-mode-syntax-table): Init in the defvar.
9590 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9592 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9593 (vc-do-command, vc-set-async-update):
9594 * vc/vc-mtn.el (vc-mtn-dir-status):
9595 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9596 (vc-hg-pull, vc-hg-merge-branch):
9597 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9598 (vc-git-merge-branch):
9599 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9600 (vc-cvs-dir-status-files):
9601 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9602 (vc-bzr-dir-status-files):
9603 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9604 * vc/vc-annotate.el: Use lexical-binding.
9605 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9606 (vc-sentinel-movepoint): Declare.
9607 (vc-annotate): Don't use `goto-line'.
9608 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9609 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9610 (vc-sentinel-movepoint): Declare.
9611 * vc/vc-svn.el: Use lexical-binding.
9612 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9614 * vc/vc-rcs.el: Use lexical-binding.
9616 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9617 `deleted'. Don't drop errors silently.
9619 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9621 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9623 * vc/vc.el (vc-ignore): Rewrite.
9624 (vc-default-ignore): New function.
9625 (vc-default-ignore-completion-table): Use find-ignore-file.
9627 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9628 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9629 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9630 Remove. Most code moved to vc.el.
9632 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9634 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9635 * net/tramp-smb.el (tramp-smb-get-file-entries):
9636 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9637 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9639 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9641 (eww-change-select): Remove unused var `properties'.
9642 (eww-make-unique-file-name): Remove unused var `base'.
9644 * finder.el (finder-compile-keywords): Don't mess with windows.
9646 * calculator.el (calculator-funcall): Fix typo in last change.
9648 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9650 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9651 <pkg>-autoloads.el file stop us.
9653 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9654 warnings, and factor out common code.
9656 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9658 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9659 two-character operators and whether the character preceding them
9660 changes their meaning (Bug#15208).
9662 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9664 Format code sent to Python shell for robustness.
9665 * progmodes/python.el (python-shell-buffer-substring):
9667 (python-shell-send-region, python-shell-send-buffer): Use it.
9669 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9671 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9672 * net/tramp.el (tramp-user-error): ... here.
9673 (tramp-find-method, tramp-check-proper-host)
9674 (tramp-dissect-file-name, tramp-debug-message)
9675 (tramp-handle-shell-command):
9676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9681 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9683 * avoid.el (mouse-avoidance-point-position)
9684 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9687 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9689 * progmodes/python.el (python-shell-completion-get-completions):
9690 Drop use of deleted `comint-last-prompt-overlay'.
9691 (python-nav-if-name-main): New command.
9693 2013-09-01 Glenn Morris <rgm@gnu.org>
9695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9696 Avoid leading space in $wins. Otherwise the sed command used by
9697 eg compile-main ends up containing "/*.el". (Bug#15170)
9699 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9701 2013-08-30 Glenn Morris <rgm@gnu.org>
9703 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9704 Fix is-this-a-directory logic. (Bug#15220)
9706 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9708 * textmodes/css-mode.el: Use SMIE.
9709 (css-smie-grammar): New var.
9710 (css-smie--forward-token, css-smie--backward-token)
9711 (css-smie-rules): New functions.
9712 (css-mode): Use them.
9713 (css-navigation-syntax-table): Remove var.
9714 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9715 (css-indent-calculate, css-indent-line): Remove functions.
9717 Misc changes to reduce use of `(lambda...); and other cleanups.
9718 * cus-edit.el: Use lexical-binding.
9719 (customize-push-and-save, customize-apropos)
9720 (custom-buffer-create-internal): Use closures.
9721 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9722 * progmodes/ada-xref.el: Use setq.
9723 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9724 * dframe.el: Use lexical-binding.
9725 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9726 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9727 * descr-text.el: Use lexical-binding.
9728 (describe-text-widget, describe-text-sexp, describe-property-list):
9730 * comint.el (comint-history-isearch-push-state): Use a closure.
9731 * calculator.el: Use lexical-binding.
9732 (calculator-number-to-string): Make it work with lexical-binding.
9733 (calculator-funcall): Same and use cl-letf.
9735 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9736 (lisp--company-doc-string, lisp--company-location): New functions.
9737 (lisp-completion-at-point): Use them to improve Company support.
9739 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9740 params of lambda expressions.
9741 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9742 (ruby-smie--opening-pipe-p): New function.
9743 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9744 symbols and matched |...| for formal params.
9745 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9746 from being treated as hanging. Handle "rescue".
9748 2013-08-29 Glenn Morris <rgm@gnu.org>
9750 * progmodes/cc-engine.el (c-pull-open-brace):
9751 Move definition before use.
9753 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9755 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9756 are immutable. Don't use `unsafe' any more.
9757 (cl--defsubst-expand): Don't substitute at the same time as keeping
9758 a residual unused let-binding. Don't use `unsafe' any more.
9760 2013-08-29 Glenn Morris <rgm@gnu.org>
9762 * calendar/cal-china.el (calendar-chinese-year-cache):
9765 * nxml/nxml-util.el (nxml-debug-clear-inside):
9766 Use cl-loop rather than loop.
9768 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9770 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9772 2013-08-28 Glenn Morris <rgm@gnu.org>
9774 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9776 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9778 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9780 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * simple.el (repeat-complex-command--called-interactively-skip):
9784 (repeat-complex-command): Use it (bug#14136).
9786 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9787 (c-define-abbrev-table): Add `doc' argument.
9788 (c-mode-abbrev-table, c++-mode-abbrev-table)
9789 (objc-mode-abbrev-table, java-mode-abbrev-table)
9790 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9791 (awk-mode-abbrev-table): Use it.
9792 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9793 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9794 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9795 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9796 Move initialization into the declaration; and remove any
9799 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9800 and dynamic let binding.
9802 * vc/smerge-mode.el: Remove redundant :group args.
9804 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9807 2013-08-28 Juri Linkov <juri@jurta.org>
9809 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9810 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9811 (isearch-other-meta-char): Handle an undefined shifted printing
9812 character by downshifting it. (Bug#15200)
9814 2013-08-28 Juri Linkov <juri@jurta.org>
9816 * isearch.el (isearch-search): Change regexp error message for
9817 non-regexp searches. (Bug#15166)
9819 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9821 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9822 for portability to hosts where /bin/sh has problems.
9824 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9828 2013-08-27 Juri Linkov <juri@jurta.org>
9830 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9831 in the keyboard macro. (Bug#15126)
9833 2013-08-27 Juri Linkov <juri@jurta.org>
9835 * isearch.el (isearch-quote-char): Comment out converting unibyte
9836 to multibyte, thus syncing with its `quoted-insert' counterpart.
9839 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9841 * window.el (display-buffer-use-some-window): Add missing
9842 argument in call of get-largest-window (Bug#15185).
9843 Reported by Stephen Leake.
9845 2013-08-27 Glenn Morris <rgm@gnu.org>
9847 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9849 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9852 from a matcher-function unless there's no more matches (bug#15161).
9854 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9856 * minibuffer.el: Revert change from 2013-08-20.
9858 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9859 with text property `tramp-default', if appropriate.
9860 (tramp-check-proper-host): New defun.
9861 (tramp-dissect-file-name): Do not check hostname. Revert change
9863 (tramp-backtrace): Make VEC-OR-PROC optional.
9865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9866 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9867 * net/tramp-sh.el (tramp-maybe-open-connection):
9868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9869 Apply `tramp-check-proper-host'.
9871 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9873 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9874 lambda expression in order to have `describe-variable' display it.
9876 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9878 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9879 BUF can be optional. (Bug#15186)
9881 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9883 * progmodes/flymake.el (flymake-get-real-file-name-function):
9884 Fix broken customization. (Bug#15184)
9886 2013-08-25 Alan Mackenzie <acm@muc.de>
9888 Improve indentation of bracelists defined by macros (without "=").
9890 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9891 expansion begins with "{", regard it as bracelist when it doesn't
9894 Parse C++ inher-intro when there's a template split over 2 lines.
9896 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9897 rigorously the search for "class" etc. followed by ":".
9899 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9900 random languages a regexp which never matches rather than nil.
9902 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9904 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9905 (c-awk-regexp-one-line-possibly-open-char-list-re)
9906 (c-awk-one-line-possibly-open-regexp-re)
9907 (c-awk-one-line-non-syn-ws*-re): Remove.
9908 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9909 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9910 (c-awk-space*-unclosed-regexp-/-re): New constants.
9911 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9912 aren't regexp delimiters.
9914 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9915 handling for a rare situation in AWK Mode involving unterminated
9918 2013-08-23 Glenn Morris <rgm@gnu.org>
9920 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9922 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9924 * files.el (create-file-buffer): If the result would begin with
9925 spaces, prepend a "|" instead of removing them. (Bug#15162)
9927 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9929 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9930 text-properties (bug#15155).
9932 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9934 (calc-keypad-redraw): Remove unused var `pad'.
9935 (calc-keypad-press): Remove unused var `menu'.
9937 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9939 * window.el (display-buffer-pop-up-frame):
9940 Call pop-up-frame-function with BUFFER current so `make-frame' will
9941 use it as the new frame's buffer (Bug#15133).
9943 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * calendar/timeclock.el: Minor cleanups.
9946 (timeclock-ask-before-exiting, timeclock-use-display-time):
9948 (timeclock-modeline-display): Define as alias before the
9950 (timeclock-mode-line-display): Use define-minor-mode.
9951 (timeclock-day-list-template): Make it a function, add an argument.
9952 (timeclock-day-list-required, timeclock-day-list-length)
9953 (timeclock-day-list-debt, timeclock-day-list-span)
9954 (timeclock-day-list-break): Adjust calls accordingly.
9956 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9959 Use read--expression so that completion works again.
9961 2013-08-21 Sam Steingold <sds@gnu.org>
9963 Add rudimentary inferior shell interaction
9964 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9965 (sh-set-shell): Reset it.
9966 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9967 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9969 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9971 * align.el: Use lexical-binding.
9972 (align-region): Simplify accordingly.
9974 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9976 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9978 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9981 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9985 * net/tramp-cmds.el:
9987 * net/tramp-gvfs.el:
9989 * net/tramp-sh.el: Don't wrap external variable declarations by
9990 `eval-when-compile'.
9992 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9994 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9995 now that Emacs supports ImageMagick animations.
9997 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9999 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10000 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10002 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10004 * window.el (mouse-autoselect-window-select): Do autoselect when
10005 mouse pointer is on margin.
10007 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10009 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10011 2013-08-16 Glenn Morris <rgm@gnu.org>
10013 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10014 Handle "Remote Directory" response of some clients. (Bug#15058)
10016 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10017 Tweak warning. (Bug#14926)
10019 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10020 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10022 * image-mode.el (image-mode-map): Add menu items to reverse,
10023 increase, decrease, reset animation speed.
10024 (image--set-speed, image-increase-speed, image-decrease-speed)
10025 (image-reverse-speed, image-reset-speed): New functions.
10026 (image-mode-map): Add bindings for speed commands.
10028 * image.el (image-animate-get-speed, image-animate-set-speed):
10030 (image-animate-timeout): Respect image :speed property.
10032 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10035 previous line (bug#15101).
10036 (debugger-eval-expression, debugger-record-expression):
10037 Use read--expression (bug#15102).
10039 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10041 Remove byte compiler warnings, visible when compiling with
10042 `byte-compile-force-lexical-warnings' set to t.
10044 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10045 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10046 (tramp-handle-unhandled-file-name-directory)
10047 (tramp-handle-file-notify-add-watch, tramp-action-login)
10048 (tramp-action-succeed, tramp-action-permission-denied)
10049 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10050 arguments with "_".
10052 * net/tramp-adb.el (tramp-adb-parse-device-names)
10053 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10054 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10055 (tramp-adb-handle-file-truename): Remove unused arguments.
10057 * net/tramp-cache.el (tramp-flush-directory-property)
10058 (tramp-flush-connection-property, tramp-list-connections)
10059 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10061 * net/tramp-compat.el (tramp-compat-make-temp-file):
10062 Rename FILENAME to F.
10064 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10065 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10066 (tramp-zeroconf-parse-workstation-device-names)
10067 (tramp-zeroconf-parse-webdav-device-names)
10068 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10070 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10071 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10073 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10075 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10076 (tramp-sh-handle-insert-file-contents-literally)
10077 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10079 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10080 Remove unused variables.
10082 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10083 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10084 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10086 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10087 Make them a defconst.
10088 (tramp-uuencode-region): Remove unused variable.
10090 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10092 * frameset.el (frameset--prop-setter): New function.
10093 (frameset-prop): Add gv-setter declaration.
10094 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10095 parameter was already set in FILTERED. Doc fix.
10096 (frameset--record-minibuffer-relationships): Allow saving a
10097 minibufferless frame without its corresponding minibuffer frame.
10098 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10099 frame, if the frame id matches.
10100 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10101 frames before orphaned ones.
10102 (frameset-restore): Warn about orphaned windows, instead of error out.
10104 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10106 * window.el (window-make-atom): Don't overwrite parameter
10108 (display-buffer-in-atom-window): Handle special case where we
10109 split an already atomic window.
10110 (window--major-non-side-window, display-buffer-in-side-window)
10111 (window--side-check): Ignore minibuffer window when walking
10113 (window-deletable-p): Return 'frame only if no other frame uses
10114 our minibuffer window.
10115 (record-window-buffer): Run buffer-list-update-hook.
10116 (split-window): Make sure window--check-frame won't destroy an
10117 existing atomic window in case the new window gets nested
10119 (display-buffer-at-bottom): Ignore minibuffer window when
10120 walking window tree. Don't split a side window.
10121 (pop-to-buffer): Don't set-buffer here, the select-window call
10123 (mouse-autoselect-window-select): Autoselect only if we are in the
10124 text portion of the window.
10126 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128 * net/shr.el (shr-parse-image-data): New function to grab both the
10129 data itself and the Content-Type.
10130 (shr-put-image): Use it.
10132 * net/eww.el (eww-display-image): Ditto.
10134 * image.el (image-content-type-suffixes): New variable.
10136 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10138 * progmodes/python.el (python-imenu--build-tree)
10139 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10141 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10143 * simple.el (backward-word): Mention the optional argument.
10145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * frameset.el (frameset--make): Rename constructor from make-frameset.
10148 (frameset-p, frameset-valid-p): Don't autoload.
10149 (frameset-valid-p): Use normal accessors.
10151 2013-08-13 Glenn Morris <rgm@gnu.org>
10153 * progmodes/compile.el (compile-command): Tweak example in doc.
10154 * obsolete/scribe.el (scribe-mode):
10155 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10157 * mail/feedmail.el (feedmail-confirm-outgoing)
10158 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10160 * cus-start.el (truncate-partial-width-windows): Fix type.
10162 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10164 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10166 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * emacs-lisp/timer.el (timer--time-setter): New function.
10169 (timer--time): Use it as gv-setter.
10171 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10172 setter is not a symbol.
10174 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10176 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10177 if sending fails. This makes debugging easier.
10179 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10181 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10182 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10183 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10185 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10187 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10189 2013-08-12 Glenn Morris <rgm@gnu.org>
10191 * format.el (format-annotate-function):
10192 Handle read-only text properties in the source. (Bug#14887)
10194 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10196 * net/eww.el (eww-display-html): Ignore coding system errors.
10197 One web site uses "utf-8lias" as the coding system.
10199 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10201 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10203 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10205 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10206 (tutorial--detailed-help): Remove unused local variables.
10207 (tutorial--save-tutorial-to): Use ignore-errors.
10208 (help-with-tutorial): Use looking-at-p.
10210 * view.el (view-buffer-other-window, view-buffer-other-frame):
10211 Mark unused arguments.
10213 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10214 (woman-select-symbol-fonts, woman, woman-find-file)
10215 (woman-insert-file-contents, woman-non-underline-faces):
10216 Use string-match-p.
10217 (woman1-unquote): Move declaration.
10219 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10220 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10221 argument. Remove unused local variable.
10222 (xml-parse-elem-type): Use string-match-p.
10223 (xml-substitute-numeric-entities): Use ignore-errors.
10225 * calculator.el (calculator): Mark unused argument.
10226 (calculator-paste, calculator-quit, calculator-integer-p):
10228 (calculator-string-to-number, calculator-decimal, calculator-exp)
10229 (calculator-op-or-exp): Use string-match-p.
10231 * dired.el (dired-buffer-more-recently-used-p): Declare.
10232 (dired-insert-set-properties, dired-insert-old-subdirs):
10235 * dired-aux.el (dired-compress): Use ignore-errors.
10236 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10237 (dired-do-async-shell-command, dired-do-shell-command)
10238 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10239 (dired-insert-subdir-validate): Use string-match-p.
10240 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10241 (dired-add-entry): Use string-match-p, looking-at-p.
10242 (dired-insert-subdir-newpos): Remove unused local variable.
10244 * filenotify.el (file-notify-callback): Remove unused local variable.
10246 * filesets.el (filesets-error): Mark unused argument.
10247 (filesets-which-command-p, filesets-filter-dir-names)
10248 (filesets-directory-files, filesets-get-external-viewer)
10249 (filesets-ingroup-get-data): Use string-match-p.
10251 * find-file.el (ff-other-file-name, ff-other-file-name)
10252 (ff-find-the-other-file, ff-cc-hh-converter):
10253 Remove unused local variables.
10254 (ff-get-file-name): Use string-match-p.
10255 (ff-all-dirs-under): Use ignore-errors.
10257 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10258 (follow-select-if-visible): Remove unused local variable.
10260 * forms.el (read-file-filter): Move declaration.
10261 (forms--make-format, forms--make-parser, forms-insert-record):
10262 Quote function with #'.
10263 (forms--update): Use string-match-p. Quote function with #'.
10265 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10266 (help-make-xrefs): Use looking-at-p.
10267 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10269 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10270 (ibuffer-confirm-operation-on): Use string-match-p.
10272 * msb.el (msb-item-handler, msb-dired-item-handler):
10273 Mark unused arguments.
10275 * ses.el (ses-decode-cell-symbol)
10276 (ses-kill-override): Remove unused local variable.
10277 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10278 (ses-load): Use ignore-errors, looking-at-p.
10279 (ses-jump-safe): Use ignore-errors.
10280 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10282 * tabify.el (untabify, tabify): Mark unused arguments.
10284 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10285 Mark unused argument.
10286 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10287 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10289 * emacs-lisp/timer.el (timer--time): Define setter with
10290 gv-define-setter to avoid deprecation warning.
10292 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10293 (*record-cmpl-statistics-p*): Remove (was commented out).
10294 (cmpl-statistics-block): Remove (body was commented out).
10295 All callers changed.
10296 (add-completions-from-buffer, load-completions-from-file):
10297 Remove unused variables.
10299 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10301 * filecache.el (file-cache-delete-file-list):
10302 Print message only when told so.
10303 (file-cache-files-matching): Use #' in mapconcat argument.
10305 * ffap.el (ffap-url-at-point): Fix reference to variable
10306 thing-at-point-default-mail-uri-scheme.
10308 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10310 * subr.el (define-error): New function.
10311 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10312 error-file-not-found and define with define-error.
10313 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10314 and define with define-error.
10315 * userlock.el (file-locked, file-supersession):
10316 * simple.el (mark-inactive):
10317 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10318 * progmodes/ada-mode.el (ada-mode-errors):
10319 * play/life.el (life-extinct):
10320 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10321 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10322 * nxml/rng-util.el (rng-error):
10323 * nxml/rng-uri.el (rng-uri-error):
10324 * nxml/rng-match.el (rng-compile-error):
10325 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10326 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10327 * nxml/nxml-rap.el (nxml-scan-error):
10328 * nxml/nxml-outln.el (nxml-outline-error):
10329 * net/soap-client.el (soap-error):
10330 * net/gnutls.el (gnutls-error):
10331 * net/ange-ftp.el (ftp-error):
10332 * mpc.el (mpc-proc-error):
10333 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10334 (json-number-format, json-string-escape, json-string-format)
10335 (json-key-format, json-object-format):
10336 * jka-compr.el (compression-error):
10337 * international/quail.el (quail-error):
10338 * international/kkc.el (kkc-error):
10339 * emacs-lisp/ert.el (ert-test-failed):
10340 * calc/calc.el (calc-error, inexact-result, math-overflow)
10342 * bookmark.el (bookmark-error-no-filename):
10343 * epg.el (epg-error): Define with define-error.
10345 * time.el (display-time-event-handler)
10346 (display-time-next-load-average): Don't call sit-for since it seems
10347 unnecessary (bug#15045).
10349 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10350 Use #' instead of ' to quote functions.
10351 (checkdoc-output-mode): Use setq-local.
10352 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10353 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10354 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10355 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10356 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10357 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10358 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10359 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10361 * ido.el (ido-completion-help): Fix up compiler warning.
10363 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10365 * frameset.el (frameset-p): Add autoload cookie.
10366 (frameset--jump-to-register): New function, based on code moved from
10368 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10370 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10371 (frameset-restore, frameset-save, frameset-session-filter-alist):
10372 Remove declarations.
10373 (register-alist): Doc fix.
10374 (frameset-to-register): Move to frameset.el.
10375 (jump-to-register, describe-register-1): Remove frameset-specific code.
10377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10379 * allout-widgets.el (allout-widgets-pre-command-business)
10380 (allout-widgets-post-command-business)
10381 (allout-widgets-after-change-handler)
10382 (allout-decorate-item-and-context, allout-set-boundary-marker)
10383 (allout-body-modification-handler)
10384 (allout-graphics-modification-handler): Mark ignored arguments.
10385 (allout-widgets-post-command-business)
10386 (allout-widgets-exposure-change-processor)
10387 (allout-widgets-exposure-undo-processor)
10388 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10389 (allout-parse-item-at-point, allout-decorate-item-guides)
10390 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10391 * allout.el (epa-passphrase-callback-function): Declare.
10392 (allout-overlay-insert-in-front-handler)
10393 (allout-overlay-interior-modification-handler)
10394 (allout-isearch-end-handler, allout-chart-siblings)
10395 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10396 (allout-yank-processing, allout-process-exposed)
10397 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10398 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10399 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10400 (lisp-indent-defform): Mark ignored arguments.
10401 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10402 (calculate-lisp-indent): Remove unused variables.
10403 * international/characters.el (indian-2-column, arabic-2-column)
10404 (tibetan): Mark ignored arguments.
10405 (use-cjk-char-width-table): Mark ignored arguments.
10406 Remove unused variables.
10407 * international/fontset.el (build-default-fontset-data)
10408 (x-compose-font-name, create-fontset-from-fontset-spec):
10409 Mark ignored arguments.
10410 (fontset-plain-name): Remove unused variables.
10411 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10412 (keyboard-coding-system): Mark ignored arguments.
10413 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10414 * help.el (resize-temp-buffer-window):
10415 * window.el (display-buffer-in-major-side-window)
10416 (display-buffer-in-side-window, display-buffer-in-previous-window):
10417 Remove unused variables.
10418 * isearch.el (isearch-forward-symbol):
10419 * version.el (emacs-bzr-version-bzr):
10420 * international/mule-cmds.el (current-language-environment):
10421 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10422 (x-handle-display):
10423 * term/pc-win.el (x-list-fonts, x-display-planes)
10424 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10425 (x-server-version, x-display-screens, x-display-mm-height)
10426 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10427 (x-selection-owner-p, x-own-selection-internal)
10428 (x-disown-selection-internal, x-get-selection-internal)
10429 (msdos-initialize-window-system):
10430 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10431 * term/x-win.el (x-handle-no-bitmap-icon):
10432 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10433 (vc-default-find-file-hook, vc-default-extra-menu):
10434 Mark ignored arguments.
10436 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10438 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10439 break-condition in the context of the debugged code (bug#12685).
10441 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10444 Do not use an overlay to highlight the last prompt. (Bug#14744)
10445 (comint-mode): Make comint-last-prompt buffer local.
10446 (comint-last-prompt): New variable.
10447 (comint-last-prompt-overlay): Remove. Superseded by
10448 comint-last-prompt.
10449 (comint-snapshot-last-prompt, comint-output-filter):
10450 Use comint-last-prompt.
10452 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10454 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10455 (frameset-save): Check validity of the resulting frameset.
10457 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10459 * ido.el (ido-record-command): Add doc string.
10461 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10463 * frameset.el (frameset): Do not disable creation of the default
10464 frameset-p predicate. Doc fix.
10465 (frameset-valid-p): New function, copied from the old predicate-p.
10466 Add additional checks.
10467 (frameset-restore): Check with frameset-valid-p.
10468 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10469 (frameset-name, frameset-description, frameset-properties)
10470 (frameset-states): Add docstring.
10471 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10472 (frameset-filter-alist): Doc fixes.
10474 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10476 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10478 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10480 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10481 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10482 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10483 (byte-compile-normal-call): Remove obsolescence check.
10485 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10487 * frameset.el (frameset-restore): Doc fix.
10489 * register.el (frameset-frame-id, frameset-frame-with-id)
10490 (frameset-p, frameset-restore, frameset-save): Declare.
10491 (register-alist): Document framesets.
10492 (frameset-session-filter-alist): Declare.
10493 (frameset-to-register): New function.
10494 (jump-to-register): Implement jumping to framesets. Doc fix.
10495 (describe-register-1): Describe framesets.
10497 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10499 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10501 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10502 Use lexical-binding.
10504 * frameset.el (frameset): Use type vector, not list (incompatible
10505 change). Do not declare a new constructor, use the default one.
10506 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10507 `name' and `description', respectively, and add read-only slot
10508 `timestamp'. Doc fixes.
10509 (frameset-copy, frameset-persistent-filter-alist)
10510 (frameset-filter-alist, frameset-switch-to-gui-p)
10511 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10512 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10513 (frameset-filter-iconified, frameset-keep-original-display-p):
10515 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10516 Rename from frameset-filter-(save|restore)-param. All callers changed.
10518 (frameset-p): Adapt to change to vector and be more thorough.
10519 Change arg name to OBJECT. Doc fix.
10520 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10521 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10522 All callers changed.
10523 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10524 All callers changed.
10525 (frameset--record-minibuffer-relationships): Rename from
10526 frameset--process-minibuffer-frames. All callers changed.
10527 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10528 Use new default constructor (again). Doc fix.
10529 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10530 All callers changed.
10531 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10532 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10534 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10535 PARAMETERS and WINDOW-STATE, respectively.
10536 (frameset-restore): Add new keyword argument PREDICATE.
10537 Reset frameset--target-display to nil. Doc fix.
10539 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10541 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10542 (bat-mode): Use it.
10543 (bat-mode-syntax-table): Mark \n as end-of-comment.
10544 (bat-font-lock-keywords): Remove comment rule.
10546 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10547 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10549 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10550 (byte-compile-callargs-warn): Use `push'.
10551 (byte-compile-arglist-warn): Ignore higher-order "calls".
10552 (byte-compile-file-form-autoload): Use `pcase'.
10553 (byte-compile-function-form): If quoting a symbol, check that it exists.
10555 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10557 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10558 and add a few popular commands found in batch files.
10559 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10560 (dos-mode): Doc fixes.
10562 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10565 (dos-mode): Use setq-local. Add space after "rem".
10566 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10567 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10569 2013-08-07 Arni Magnusson <arnima@hafro.is>
10571 * progmodes/dos.el: New file.
10572 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10575 2013-08-06 Glenn Morris <rgm@gnu.org>
10577 * calendar/calendar.el: Add new faces, and day-header-array.
10578 (calendar-weekday-header, calendar-weekend-header)
10579 (calendar-month-header): New faces.
10580 (calendar-day-header-construct): New function.
10581 (calendar-day-header-width): Also :set calendar-day-header-array.
10582 (calendar-american-month-header, calendar-european-month-header)
10583 (calendar-iso-month-header): Use calendar- faces.
10584 (calendar-generate-month):
10585 Use calendar-day-header-array for day headers; apply faces to them.
10586 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10587 (calendar-abbrev-construct): Add optional maxlen argument.
10588 (calendar-day-name-array): Doc fix.
10589 (calendar-day-name-array, calendar-abbrev-length)
10590 (calendar-day-abbrev-array):
10591 Also :set calendar-day-header-array, and maybe redraw.
10592 (calendar-day-header-array): New option. (Bug#15007)
10593 (calendar-font-lock-keywords): Set to nil and make obsolete.
10594 (calendar-day-name): Add option to use header array.
10596 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10598 * net/shr.el (shr-render-td): Remove debugging.
10599 (shr-render-td): Make width computation consistent by defaulting
10600 all zero-width columns to 10 characters. This may not be optimal,
10601 but it's at least consistent.
10602 (shr-make-table-1): Redo last change to fix the real problem in
10605 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10607 * files.el (cache-long-line-scans):
10608 Make obsolete alias to `cache-long-scans'.
10610 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10612 * frameset.el (frameset, frameset-filter-alist)
10613 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10614 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10615 (frameset-compute-pos): Rename from frameset--compute-pos,
10617 (frameset-move-onscreen): Use frameset-compute-pos.
10618 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10620 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10621 Fix typos in docstrings.
10623 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10625 * frame.el (get-other-frame): Tiny cleanup.
10627 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10629 * vc/vc.el (vc-default-ignore-completion-table):
10630 Silence byte-compiler warning.
10632 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10633 slot, which can indeed be nil.
10634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10635 Move entry for `left' from persistent to live filter alist.
10636 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10638 (frameset-filter-params): When restoring a frame, copy items added to
10639 `filtered', to avoid unwittingly modifying the original parameters.
10640 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10641 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10643 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10644 to use looking-at-p instead of looking-at. (Bug#15028)
10646 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10648 Revert introduction of isearch-filter-predicates (bug#14714).
10649 Rely on add-function instead.
10650 * isearch.el (isearch-filter-predicates): Rename it back to
10651 isearch-filter-predicate.
10652 (isearch-message-prefix): Use advice-function-mapc and advice
10653 properties to get the isearch-message-prefix.
10654 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10655 instead of run-hook-with-args-until-failure.
10656 (isearch-filter-visible): Not obsolete any more.
10657 * loadup.el: Preload nadvice.
10658 * replace.el (perform-replace): Revert to funcall
10659 instead of run-hook-with-args-until-failure.
10660 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10661 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10662 dired-isearch-filenames-toggle; make it into a proper minor mode.
10663 Use add/remove-function.
10664 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10665 Call the minor-mode rather than add/remove-hook.
10666 (dired-isearch-filter-filenames):
10667 Remove isearch-message-prefix property.
10668 * info.el (Info--search-loop): New function, extracted from Info-search.
10669 Funcall isearch-filter-predicate instead of
10670 run-hook-with-args-until-failure isearch-filter-predicates.
10671 (Info-search): Use it.
10672 (Info-mode): Use isearch-filter-predicate instead of
10673 isearch-filter-predicates.
10675 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10677 Do not call to `selected-window' where it is assumed by default.
10678 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10679 `window-hscroll', `window-width', `window-height', `window-buffer',
10680 `window-frame', `window-start', `window-point', `next-window'
10681 and `window-display-table'.
10682 * abbrev.el (abbrev--default-expand):
10683 * bs.el (bs--show-with-configuration):
10684 * buff-menu.el (Buffer-menu-mouse-select):
10685 * calc/calc.el (calc):
10686 * calendar/calendar.el (calendar-generate-window):
10687 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10688 (diary-make-entry):
10689 * comint.el (send-invisible, comint-dynamic-complete-filename)
10690 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10691 * completion.el (complete):
10692 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10693 * disp-table.el (describe-current-display-table):
10694 * doc-view.el (doc-view-insert-image):
10695 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10696 * ehelp.el (with-electric-help):
10697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10698 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10699 * emacs-lisp/helper.el (Helper-help-scroller):
10700 * emulation/cua-base.el (cua--post-command-handler-1):
10701 * eshell/esh-mode.el (eshell-output-filter):
10702 * ffap.el (ffap-gnus-wrapper):
10703 * help-macro.el (make-help-screen):
10704 * hilit-chg.el (highlight-compare-buffers):
10705 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10706 * hl-line.el (global-hl-line-highlight):
10707 * icomplete.el (icomplete-simple-completing-p):
10708 * isearch.el (isearch-done):
10709 * jit-lock.el (jit-lock-stealth-fontify):
10710 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10711 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10712 * mpc.el (mpc-tagbrowser, mpc):
10713 * net/rcirc.el (rcirc-any-buffer):
10714 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10715 * play/landmark.el (landmark-max-width, landmark-max-height):
10716 * play/zone.el (zone):
10717 * progmodes/compile.el (compilation-goto-locus):
10718 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10719 * progmodes/etags.el (find-tag-other-window):
10720 * progmodes/fortran.el (fortran-column-ruler):
10721 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10722 * progmodes/verilog-mode.el (verilog-point-text):
10723 * reposition.el (reposition-window):
10724 * rot13.el (toggle-rot13-mode):
10725 * server.el (server-switch-buffer):
10726 * shell.el (shell-dynamic-complete-command)
10727 (shell-dynamic-complete-environment-variable):
10728 * simple.el (insert-buffer, set-selective-display)
10729 (delete-completion-window):
10730 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10731 (speedbar-recenter):
10732 * startup.el (fancy-splash-head):
10733 * textmodes/ispell.el (ispell-command-loop):
10734 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10735 * tutorial.el (help-with-tutorial):
10736 * vc/add-log.el (add-change-log-entry):
10737 * vc/compare-w.el (compare-windows):
10738 * vc/ediff-help.el (ediff-indent-help-message):
10739 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10740 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10741 (ediff-setup-control-frame):
10742 * vc/emerge.el (emerge-position-region):
10743 * vc/pcvs-util.el (cvs-bury-buffer):
10744 * window.el (walk-windows, mouse-autoselect-window-select):
10745 * winner.el (winner-set-conf, winner-undo): Related users changed.
10747 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10749 * frameset.el (frameset--set-id): Doc fix.
10750 (frameset-frame-id, frameset-frame-id-equal-p)
10751 (frameset-locate-frame-id): New functions.
10752 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10753 (frameset-restore): Use them.
10755 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10757 Do not call to `selected-frame' where it is assumed by default.
10758 Affected functions are `raise-frame', `redraw-frame',
10759 `frame-first-window', `frame-terminal' and `delete-frame'.
10760 * calendar/appt.el (appt-disp-window):
10761 * epg.el (epg-wait-for-completion):
10762 * follow.el (follow-delete-other-windows-and-split)
10763 (follow-avoid-tail-recenter):
10764 * international/mule.el (set-terminal-coding-system):
10765 * mail/rmail.el (rmail-mail-return):
10766 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10767 * progmodes/f90.el (f90-add-imenu-menu):
10768 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10769 * server.el (server-switch-buffer):
10770 * simple.el (delete-completion-window):
10772 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10773 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10774 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10775 * vc/ediff.el (ediff-documentation): Related users changed.
10776 * frame.el (selected-terminal): Remove the leftover.
10778 2013-08-05 Glenn Morris <rgm@gnu.org>
10780 * calendar/calendar.el (calendar-generate-month):
10781 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10782 (calendar-generate-month, calendar-font-lock-keywords):
10783 Fix for calendar-day-header-width > length of any day name.
10785 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10787 * desktop.el (desktop-clear): Use new name of sort predicate.
10789 * frameset.el (frameset): Add docstring. Move :version property to its
10790 own `version' slot.
10791 (frameset-copy): Rename from copy-frameset.
10792 (frameset-p): Check more thoroughly.
10793 (frameset-prop): Do not check for :version, which is no longer a prop.
10794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10795 Use new :never value instead of t.
10796 (frameset-filter-alist): Expand and clarify docstring.
10797 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10798 (frameset-filter-minibuffer, frameset-filter-save-param)
10799 (frameset-filter-restore-param, frameset-filter-iconified):
10800 Add pointer to docstring of frameset-filter-alist.
10801 (frameset-filter-params): Rename filter values to be more meaningful:
10802 :never instead of t, and reverse the meanings of :save and :restore.
10803 (frameset--process-minibuffer-frames): Clarify error message.
10804 (frameset-save): Avoid unnecessary and confusing call to framep.
10805 Use new BOA constructor for framesets.
10806 (frameset--reuse-list): Doc fix.
10807 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10808 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10809 (frameset-minibufferless-first-p): Doc fix.
10810 Rename from frameset-sort-frames-for-deletion.
10811 (frameset-restore): Doc fixes. Use new function names.
10812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10814 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10816 * desktop.el (desktop-restore-forces-onscreen)
10817 (desktop-restore-reuses-frames): Document :keyword constant values.
10818 (desktop-filter-parameters-alist): Remove, now identical to
10819 frameset-filter-alist.
10820 (desktop--filter-tty*): Remove, moved to frameset.el.
10821 (desktop-save-frameset, desktop-restore-frameset):
10822 Do not pass :filters argument.
10824 * frameset.el (frameset-live-filter-alist)
10825 (frameset-persistent-filter-alist): New variables.
10826 (frameset-filter-alist): Use them. Add autoload cookie.
10827 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10828 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10829 `frameset--id' (it's supposed to be internal to frameset.el).
10830 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10831 (frameset--initial-params): New function.
10832 (frameset--get-frame): Use it. Doc fix.
10833 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10834 Accept :all, not 'all.
10835 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10836 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10837 with fbound symbols. Fix frame id matching, and remove matching ids if
10838 the frame being restored is deleted. Obey :delete.
10840 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10842 * subr.el (macrop): New function.
10843 (text-clone--maintaining): New var.
10844 (text-clone--maintain): Rename from text-clone-maintain. Use it
10845 instead of inhibit-modification-hooks.
10847 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10848 a proxy, so as handle autoloads and redefinitions of the target.
10849 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10851 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10852 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10853 (pcase--mutually-exclusive-p): New function.
10854 (pcase--split-consp): Use it.
10855 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10856 mutually exclusive with the current predicate.
10858 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10859 (edebug-macrop): Remove. Use `macrop' instead.
10860 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10862 * eshell/esh-cmd.el (eshell-macrop):
10863 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10865 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10867 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10868 (advice-mapc): New function, using it.
10869 (advice-function-member-p): New function.
10870 (advice--normalize): Store the cdr in advice--saved-rewrite since
10871 that's the part that will be changed.
10872 (advice--symbol-function): New function.
10873 (advice-remove): Handle removal before the function is defined.
10874 Adjust to new advice--saved-rewrite.
10875 (advice-member-p): Use advice-function-member-p and
10876 advice--symbol-function.
10878 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10880 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10881 (frameset-filter-minibuffer): Doc fix.
10882 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10883 (frameset--set-id, frameset--process-minibuffer-frames)
10884 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10885 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10887 * desktop.el (desktop-clear): Only delete frames when called
10888 interactively and desktop-restore-frames is non-nil. Doc fix.
10889 (desktop-read): Set desktop-saved-frameset to nil.
10891 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10893 * vc/vc.el (vc-ignore): Rewrite.
10894 (vc-default-ignore-completion-table, vc--read-lines)
10895 (vc--add-line, vc--remove-regexp): New functions.
10897 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10898 (vc-svn-ignore-completion-table): New function.
10900 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10901 (vc-hg-ignore-completion-table)
10902 (vc-hg-find-ignore-file): New functions.
10904 * vc/vc-git.el (vc-git-ignore): Rewrite.
10905 (vc-git-ignore-completion-table)
10906 (vc-git-find-ignore-file): New functions.
10908 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10910 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10911 (vc-bzr-ignore-completion-table)
10912 (vc-bzr-find-ignore-file): New functions.
10914 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10916 * frameset.el (frameset-prop): New function and setter.
10917 (frameset-save): Do not modify frame list passed by the caller.
10919 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10921 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10923 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10926 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10928 * custom.el (custom-initialize-default, custom-initialize-set)
10929 (custom-initialize-reset, custom-initialize-changed): Affect the
10930 toplevel-default-value (bug#6275, bug#14586).
10931 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10934 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10936 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10937 Add cl-def* expressions.
10939 * frameset.el (frameset-filter-params): Fix order of arguments.
10941 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10943 Move code related to saving frames to frameset.el.
10944 * desktop.el: Require frameset.
10945 (desktop-restore-frames): Doc fix.
10946 (desktop-restore-reuses-frames): Rename from
10947 desktop-restoring-reuses-frames.
10948 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10949 (desktop-clear): Clear frames too.
10950 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10951 (desktop--filter-tty*, desktop-save, desktop-read):
10952 Use frameset functions.
10953 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10954 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10955 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10956 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10957 (desktop--process-minibuffer-frames, desktop-save-frames)
10958 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10959 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10960 (desktop--sort-states, desktop-restoring-frames-p)
10961 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10962 (desktop-restoring-frameset-p, desktop-restore-frameset)
10963 (desktop--check-dont-save, desktop-save-frameset): New functions.
10964 (desktop--app-id): New constant.
10965 (desktop-first-buffer, desktop-buffer-ok-count)
10966 (desktop-buffer-fail-count): Move before first use.
10967 * frameset.el: New file.
10969 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10971 * files.el: Use lexical-binding.
10972 (dir-locals-read-from-file): Remove unused `err' variable.
10973 (hack-dir-local-variables--warned-coding): New var.
10974 (hack-dir-local-variables): Use it to avoid repeated warnings.
10975 (make-backup-file-name--default-function): New function.
10976 (make-backup-file-name-function): Use it as default.
10977 (buffer-stale--default-function): New function.
10978 (buffer-stale-function): Use it as default.
10979 (revert-buffer-insert-file-contents--default-function): New function.
10980 (revert-buffer-insert-file-contents-function): Use it as default.
10981 (insert-directory): Avoid add-to-list.
10983 * autorevert.el (auto-revert-handler): Simplify.
10984 Use buffer-stale--default-function.
10986 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10988 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10990 * whitespace.el (whitespace-ensure-local-variables): New function.
10991 (whitespace-cleanup-region): Call it.
10992 (whitespace-turn-on): Call it.
10994 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10996 Complete file name handlers.
10998 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10999 (tramp-handle-verify-visited-file-modtime)
11000 (tramp-handle-file-notify-rm-watch): New functions.
11001 (tramp-call-process): Do not bind `default-directory'.
11003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11004 Order alphabetically.
11005 <access-file, add-name-to-file, dired-call-process>:
11006 <dired-compress-file, file-acl, file-notify-rm-watch>:
11007 <file-ownership-preserved-p, file-selinux-context>:
11008 <make-directory-internal, make-symbolic-link, set-file-acl>:
11009 <set-file-selinux-context, set-visited-file-modtime>:
11010 <verify-visited-file-modtime>: Add handler.
11011 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11014 <file-notify-add-watch, file-notify-rm-watch>:
11015 <set-file-times, set-visited-file-modtime>:
11016 <verify-visited-file-modtime>: Add handler.
11017 (with-tramp-gvfs-error-message)
11018 (tramp-gvfs-handle-set-visited-file-modtime)
11019 (tramp-gvfs-fuse-file-name): Remove.
11020 (tramp-gvfs-handle-file-notify-add-watch)
11021 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11022 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11025 Order alphabetically.
11026 <file-notify-rm-watch>: Use default Tramp handler.
11027 <executable-find>: Remove private handler.
11028 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11029 `default-directory'.
11030 (tramp-sh-handle-executable-find)
11031 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11032 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11033 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11034 Do not use `format' in `tramp-message'.
11036 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11037 <file-notify-rm-watch, set-visited-file-modtime>:
11038 <verify-visited-file-modtime>: Add handler.
11039 (tramp-smb-call-winexe): Do not bind `default-directory'.
11041 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11043 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11045 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11047 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11049 (log-view-diff-changeset): Same.
11050 (log-view-diff-common): Call backend command `previous-revision'
11051 to find out the previous revision, in both cases. Swap the
11052 variables `to' and `fr', so that `fr' usually refers to the
11053 earlier revision (Bug#14989).
11055 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11057 * ibuf-ext.el (ibuffer-filter-by-filename):
11058 Make it work with dired buffers too.
11060 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11062 * emacs-lisp/re-builder.el (reb-color-display-p):
11063 * files.el (save-buffers-kill-terminal):
11064 * net/browse-url.el (browse-url):
11065 * server.el (server-save-buffers-kill-terminal):
11066 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11067 Prefer nil to selected-frame for the first arg of frame-parameter.
11069 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11071 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11073 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11075 * minibuffer.el (completion--twq-all): Try and preserve each
11076 completion's case choice (bug#14907).
11078 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11080 * net/network-stream.el (open-network-stream): Mention the new
11081 :nogreeting parameter.
11082 (network-stream-open-starttls): Use the :nogreeting parameter
11085 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11087 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11088 more natural than popping.
11090 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11091 (shr-urlify): Highlight under mouse.
11093 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11095 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11097 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11099 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11102 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11103 point-min==1. Fix search string. Fix parentheses missing.
11105 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11106 assume point-min==1. Fix search string. Fix parentheses missing.
11108 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11110 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11113 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11115 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11116 initial frame is minibuffer-less. (Bug#14841)
11118 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11120 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11124 (tramp-maybe-open-connection): Use it.
11126 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11128 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11129 minimal set of parameters passed when creating a frame, because
11130 the minibuffer status of a frame cannot be changed later.
11132 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11134 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11135 replace-regexp-in-string and inadvertent omissions in previous change.
11136 (todo-filter-items): Ensure only file names are comma-separated in
11137 name of filtered items buffer.
11139 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11141 * desktop.el: Optionally force offscreen frames back onscreen.
11142 (desktop-restoring-reuses-frames): New option.
11143 (desktop--compute-pos, desktop--move-onscreen): New functions.
11144 (desktop--make-frame): Use desktop--move-onscreen.
11146 2013-07-27 Alan Mackenzie <acm@muc.de>
11148 Fontify a Java generic method as a function.
11149 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11152 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11154 * calendar/todo-mode.el: Add command to rename todo files.
11155 (todo-rename-file): New command.
11156 (todo-key-bindings-t): Add key binding for it. Change the
11157 bindings of todo-filter-regexp-items(-multifile) to use `x'
11158 instead of `r', since the latter is better suited to the new
11161 2013-07-27 Alan Mackenzie <acm@muc.de>
11163 Make Java try-with-resources statement parse properly.
11164 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11165 (c-block-stmt-1-2-key): New language constants/variables.
11166 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11167 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11168 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11169 with c-block-stmt-1-2-key.
11171 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11173 * desktop.el (desktop--make-frame): Apply most frame parameters after
11174 creating the frame to force (partially or totally) offscreen frames to
11175 be restored as such.
11177 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11179 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11182 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11184 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11185 `base' arg of backtrace-frame.
11187 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11189 * simple.el (list-processes): Doc fix.
11191 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11193 * desktop.el (desktop--select-frame):
11194 Try harder to reuse existing frames.
11196 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11198 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11199 (edebug-eval): Use backtrace-eval.
11200 (edebug--display, edebug--recursive-edit): Don't let-bind the
11201 edebug-outer-* vars that keep track of variables we locally let-bind.
11202 (edebug-outside-excursion): Don't restore outside values of locally
11204 (edebug--display): Use user-error.
11205 (cl-lexical-debug, cl-debug-env): Remove.
11207 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11209 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11210 are restored to be sure that they are visible before deleting any
11213 2013-07-26 Matthias Meulien <orontee@gmail.com>
11215 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11216 vc-print-root-log. (Bug#14948)
11218 2013-07-26 Richard Stallman <rms@gnu.org>
11220 Add aliases for encrypting mail.
11221 * epa.el (epa-mail-aliases): New option.
11222 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11223 Bind inhibit-read-only so read-only text doesn't ruin everything.
11224 (epa-mail-default-recipients): New subroutine broken out.
11225 Handle epa-mail-aliases.
11227 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11229 Add support for lexical variables to the debugger's `e' command.
11230 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11231 vars, except for debugger-outer-match-data.
11232 (debugger-frame-number): Move check for "on a function call" from
11233 callers into it. Add `skip-base' argument.
11234 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11235 (debugger-env-macro): Only reset the state stored in non-variables,
11236 i.e. current-buffer and match-data.
11237 (debugger-eval-expression): Rewrite using backtrace-eval.
11238 * subr.el (internal--called-interactively-p--get-frame): Remove.
11239 (called-interactively-p):
11240 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11241 `base' arg of backtrace-frame instead.
11243 2013-07-26 Glenn Morris <rgm@gnu.org>
11245 * align.el (align-regexp): Doc fix. (Bug#14857)
11246 (align-region): Explicit error if subexpression missing/does not match.
11248 * simple.el (global-visual-line-mode):
11249 Do not duplicate the mode lighter. (Bug#14858)
11251 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11253 * window.el (display-buffer): In display-buffer bind
11254 split-window-keep-point to t, bug#14829.
11256 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11258 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11259 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11260 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11261 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11262 Change accordingly.
11263 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11264 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11266 2013-07-25 Glenn Morris <rgm@gnu.org>
11268 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11270 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11272 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11273 parameter to modify-frame-parameters if the value has not changed;
11274 this is a workaround for bug#14949.
11275 (desktop--make-frame): On cl-delete-if call, check parameter name,
11276 not full parameter.
11278 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11280 * vc/vc.el (vc-ignore): New function.
11282 * vc/vc-svn.el (vc-svn-ignore): New function.
11284 * vc/vc-hg.el (vc-hg-ignore): New function.
11286 * vc/vc-git.el (vc-git-ignore): New function.
11288 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11289 (vc-dir-ignore): New function.
11291 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11292 (cvs-append-to-ignore): Move here from pcvs.el.
11294 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11296 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11298 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11300 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11301 (desktop-restore-frames): Warn when deleting an existing frame failed.
11303 2013-07-24 Glenn Morris <rgm@gnu.org>
11305 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11307 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11309 * filenotify.el (file-notify-supported-p):
11310 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11313 * autorevert.el (auto-revert-use-notify)
11314 (auto-revert-notify-add-watch):
11315 * net/tramp.el (tramp-file-name-for-operation):
11316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11319 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11320 Remove `file-notify-supported-p' entry.
11322 2013-07-24 Glenn Morris <rgm@gnu.org>
11324 * printing.el: Replace all uses of deleted ps-windows-system,
11325 ps-lp-system, ps-flatten-list with lpr- versions.
11327 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11329 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11330 checked with memq (bug#14935).
11332 * files.el (revert-buffer-function): Use a non-nil default.
11333 (revert-buffer-preserve-modes): Declare var to
11334 provide access to the `preserve-modes' argument.
11335 (revert-buffer): Let-bind it.
11336 (revert-buffer--default): New function, extracted from revert-buffer.
11338 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11340 * lpr.el: Signal print errors more prominently.
11341 (print-region-function): Don't default to nil.
11342 (lpr-print-region): New function, extracted from print-region-1.
11343 Check lpr's return value and signal an error in case of problem.
11344 (print-region-1): Use it.
11345 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11347 (ps-printer-name): Default to nil.
11348 (ps-printer-name-option): Default to lpr-printer-switch.
11349 (ps-print-region-function): Don't default to nil.
11350 (ps-postscript-code-directory): Simplify default.
11351 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11352 (ps-string-list, ps-eval-switch, ps-flatten-list)
11353 (ps-flatten-list-1): Remove.
11354 (ps-multibyte-buffer): Avoid setq.
11355 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11356 (print-region-function, ps-print-region-function): Don't set them here.
11358 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11360 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11361 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11362 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11363 (ido-decorations): Doc fix.
11365 * ansi-color.el: Fix old URL.
11367 2013-07-23 Michael R. Mauger <michael@mauger.com>
11369 * progmodes/sql.el: Version 3.3
11370 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11371 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11372 (sql-interactive-remove-continuation-prompt): Rewrite, use
11373 functions above. Fix continuation prompt and complete output line
11375 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11376 redirected output buffer.
11377 (sql-mode): Restore deleted code (Bug#13591).
11379 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11381 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11383 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11385 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11387 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11391 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11393 * desktop.el (desktop-clear): Simplify; remove useless checks
11394 against invalid buffer names.
11395 (desktop-list*): Use cl-list*.
11396 (desktop-buffer-info, desktop-create-buffer): Simplify.
11398 2013-07-23 Leo Liu <sdl.web@gmail.com>
11400 * bookmark.el (bookmark-make-record): Restore NAME as a default
11403 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11405 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11406 extracted from autoload--insert-text.
11407 (autoload--insert-text): Remove.
11408 (autoload--print-cookie-text): New function, extracted from
11409 autoload--insert-cookie-text.
11410 (autoload--insert-cookie-text): Remove.
11411 (autoload-generate-file-autoloads): Adjust calls accordingly.
11413 * winner.el (winner-hook-installed-p): Remove.
11414 (winner-mode): Simplify accordingly.
11416 * subr.el (add-to-list): Fix compiler-macro when `append' is
11417 not constant. Don't use `cl-member' for the base case.
11419 * progmodes/subword.el: Fix boundary case (bug#13758).
11420 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11422 (subword-backward-regexp): Make it a constant.
11423 (subword-forward-internal): Don't treat a trailing capital as the
11424 beginning of a word.
11426 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11428 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11429 global value of tabulated-list-revert-hook (bug#14930).
11431 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11433 * desktop.el: Require 'cl-lib.
11434 (desktop-before-saving-frames-functions): New hook.
11435 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11436 for frames being saved. Rename from desktop--save-minibuffer-frames.
11437 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11438 Do not save frames with non-nil `desktop-dont-save' parameter.
11439 Filter out deleted frames.
11440 (desktop--find-frame): Use cl-find-if.
11441 (desktop--select-frame): Use cl-(first|second|third) to access values
11443 (desktop--make-frame): Use cl-delete-if.
11444 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11445 (desktop-restore-frames): Use cl-(first|second|third) to access values
11446 of desktop-mini. Look for visible frame at the end, not while
11449 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11450 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11451 Use string-match-p, looking-at-p (bug#14927).
11453 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11455 * desktop.el (desktop-saved-frame-states):
11456 Rename from desktop--saved-states; all users changed.
11457 (desktop-save-frames): Rename from desktop--save-frames.
11458 Do not save state to desktop file.
11459 (desktop-save): Save desktop-saved-frame-states to desktop file
11461 (desktop-restoring-frames-p): New function.
11462 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11463 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11464 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11466 * desktop.el: Correctly restore iconified frames.
11467 (desktop--filter-iconified-position): New function.
11468 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11470 2013-07-20 Glenn Morris <rgm@gnu.org>
11472 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11473 Let `message' do the formatting.
11474 (def-gdb-preempt-display-buffer): Add explicit format.
11476 * image-dired.el (image-dired-track-original-file):
11477 Use with-current-buffer.
11478 (image-dired-track-thumbnail): Use with-current-buffer.
11479 Avoid changing point of wrong window.
11481 * image-dired.el (image-dired-track-original-file):
11482 Avoid changing point of wrong window. (Bug#14909)
11484 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11486 * progmodes/gdb-mi.el (gdb-done-or-error):
11487 Guard against "%" in gdb output. (Bug#14127)
11489 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11491 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11494 * international/mule.el (coding-system-iso-2022-flags): Fix last
11497 2013-07-20 Kenichi Handa <handa@gnu.org>
11499 * international/mule.el (coding-system-iso-2022-flags):
11500 Add `8-bit-level-4'. (Bug#8522)
11502 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11504 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11507 * net/eww.el (eww-process-text-input): Allow inputting when the
11508 point is at the start of the line, as the properties aren't
11511 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11514 2013-07-19 Richard Stallman <rms@gnu.org>
11516 * epa.el (epa-popup-info-window): Doc fix.
11518 * subr.el (split-string): New arg TRIM.
11520 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11522 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11523 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11525 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11527 * filenotify.el (file-notify--library): Rename from
11528 `file-notify-support'. Do not autoload. Adapt all uses.
11529 (file-notify-supported-p): New defun.
11531 * autorevert.el (auto-revert-use-notify):
11532 Use `file-notify-supported-p' instead of `file-notify-support'.
11534 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11536 * net/tramp.el (tramp-file-name-for-operation):
11537 Add `file-notify-supported-p'.
11539 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11541 (tramp-sh-file-name-handler-alist): Add it as handler for
11542 `file-notify-supported-p '.
11544 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11545 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11546 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11547 Add `ignore' as handler for `file-notify-*' functions.
11549 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11551 * simple.el (line-move-partial, line-move): Don't start vscroll or
11552 scroll-up if the current line is not taller than the window.
11555 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11558 highlight question marks in the method names as strings.
11559 (ruby-block-beg-keywords): Inline.
11560 (ruby-font-lock-keyword-beg-re): Extract from
11561 `ruby-font-lock-keywords'.
11563 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11565 * frame.el (blink-cursor-blinks): New defcustom.
11566 (blink-cursor-blinks-done): New defvar.
11567 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11568 (blink-cursor-timer-function): Check if number of blinks has been
11570 (blink-cursor-suspend, blink-cursor-check): New defuns.
11572 2013-07-15 Glenn Morris <rgm@gnu.org>
11574 * edmacro.el (edmacro-format-keys): Fix previous change.
11576 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11578 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11579 The hack didn't work outside English locales anyway.
11581 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11583 * simple.el (define-alternatives): Rename from alternatives-define,
11584 per RMS' suggestion.
11586 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11588 * desktop.el (desktop-restore-frames): Change default to t.
11589 (desktop-restore-in-current-display): Now offer more options.
11590 (desktop-restoring-reuses-frames): New customization option.
11591 (desktop--saved-states): Doc fix.
11592 (desktop-filter-parameters-alist): New variable, renamed and expanded
11593 from desktop--excluded-frame-parameters.
11594 (desktop--target-display): New variable.
11595 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11596 (desktop--filter-tty*, desktop--filter-*-color)
11597 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11598 (desktop--filter-save-desktop-parm)
11599 (desktop-restore-in-original-display-p): New functions.
11600 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11601 (desktop--save-minibuffer-frames): New function, inspired by a similar
11602 function from Martin Rudalics.
11603 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11604 (desktop--restore-in-this-display-p): Remove.
11605 (desktop--find-frame): Rename from desktop--find-frame-in-display
11606 and add predicate argument.
11607 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11608 (desktop--reuse-list): New variable.
11609 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11611 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11613 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11615 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11617 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11620 Highlight conversion methods on Kernel.
11622 2013-07-13 Alan Mackenzie <acm@muc.de>
11624 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11625 and comment it out. This out-commenting enables certain C++
11626 declarations to be parsed correctly.
11628 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11630 * international/mule.el (define-coding-system): Doc fix.
11632 * simple.el (default-font-height): Don't call font-info if the
11633 frame's default font didn't change since the frame was created.
11636 2013-07-13 Leo Liu <sdl.web@gmail.com>
11638 * ido.el (ido-read-file-name): Guard against non-symbol value.
11640 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11642 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11645 2013-07-13 Leo Liu <sdl.web@gmail.com>
11647 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11648 ido-set-matches call. (Bug#6852)
11650 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11652 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11653 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11655 (ruby-font-lock-keywords): Distinguish calls to functions with
11656 module-like names from module references. Highlight character
11659 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11661 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11662 (gdb-send): Handle continued commands. (Bug#14847)
11664 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11666 * desktop.el (desktop--v2s): Remove unused local variable.
11667 (desktop-save-buffer): Make defvar-local; adjust docstring.
11668 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11669 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11671 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11673 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11675 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11677 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11680 2013-07-12 Glenn Morris <rgm@gnu.org>
11682 * doc-view.el: Require cl-lib at runtime too.
11683 (doc-view-remove-if): Remove.
11684 (doc-view-search-next-match, doc-view-search-previous-match):
11687 * edmacro.el: Require cl-lib at runtime too.
11688 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11689 (edmacro-mismatch, edmacro-subseq): Remove.
11691 * shadowfile.el: Require cl-lib.
11692 (shadow-remove-if): Remove.
11693 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11696 * wid-edit.el: Require cl-lib.
11697 (widget-choose): Use cl-remove-if.
11698 (widget-remove-if): Remove.
11700 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11701 (ebrowse-delete-if-not): Remove.
11702 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11703 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11704 Use cl-delete-if-not.
11706 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11708 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11709 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11711 2013-07-12 Leo Liu <sdl.web@gmail.com>
11713 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11715 2013-07-11 Glenn Morris <rgm@gnu.org>
11717 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11718 (edebug-gensym-index, edebug-gensym):
11719 Remove reimplementation of cl-gensym.
11720 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11722 * thumbs.el: Require cl-lib at run-time too.
11723 (thumbs-gensym-counter, thumbs-gensym):
11724 Remove reimplementation of cl-gensym.
11725 (thumbs-temp-file): Use cl-gensym.
11727 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11728 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11729 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11730 (ert--union, ert--gensym-counter, ert--gensym-counter)
11731 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11732 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11733 (ert-make-test-unbound, ert--expand-should-1)
11734 (ert--expand-should, ert--should-error-handle-error)
11735 (should-error, ert--explain-equal-rec)
11736 (ert--plist-difference-explanation, ert-select-tests)
11737 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11738 Use cl-lib functions rather than reimplementations.
11740 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11742 * net/tramp.el (tramp-methods): Extend docstring.
11743 (tramp-connection-timeout): New defcustom.
11744 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11745 (with-tramp-progress-reporter): Simplify.
11746 (tramp-process-actions): Improve messages.
11748 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11749 * net/tramp-sh.el (tramp-maybe-open-connection):
11750 Use `tramp-connection-timeout'.
11751 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11754 2013-07-11 Leo Liu <sdl.web@gmail.com>
11756 * ido.el (ido-read-file-name): Conform to the requirements of
11757 read-file-name. (Bug#11861)
11758 (ido-read-directory-name): Conform to the requirements of
11759 read-directory-name.
11761 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11763 * subr.el (delay-warning): New function.
11765 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11767 * simple.el (default-line-height): New function.
11768 (line-move-partial, line-move): Use it instead of computing the
11769 line height inline.
11770 (line-move-partial): Always compute ROWH. If the last line is
11771 partially-visible, but its text is completely visible, allow
11772 cursor to enter such a partially-visible line.
11774 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11776 Improve error messages. (Bug#14808)
11778 * net/tramp.el (tramp-current-connection): New defvar, moved from
11780 (tramp-message-show-progress-reporter-message): Remove, not
11782 (tramp-error-with-buffer): Show message in minibuffer.
11783 Discard input before waiting. Reset connection timestamp.
11784 (with-tramp-progress-reporter): Improve messages.
11785 (tramp-process-actions): Use progress reporter. Delete process in
11786 case of error. Improve messages.
11788 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11789 Call `tramp-error-with-buffer' with vector and buffer.
11790 (tramp-current-connection): Remove.
11791 (tramp-maybe-open-connection): The car of
11792 `tramp-current-connection' are the first 3 slots of the vector.
11794 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11796 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11797 inside continued strings.
11799 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11801 Timestamp fixes for undo (Bug#14824).
11802 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11804 2013-07-10 Leo Liu <sdl.web@gmail.com>
11806 * files.el (require-final-newline): Allow safe local value.
11809 2013-07-09 Leo Liu <sdl.web@gmail.com>
11811 * ido.el (ido-read-directory-name): Handle fallback.
11812 (ido-read-file-name): Update DIR to ido-current-directory.
11814 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11816 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11818 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11819 "autoload". Remove "warn lower camel case" section, previously
11820 commented out. Highlight negation char. Do not highlight the
11821 target in singleton method definitions.
11823 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11825 * faces.el (tty-setup-hook): Declare the hook.
11827 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11828 and detect when a guard/pred depends on local vars (bug#14773).
11829 (pcase--u1): Adjust caller.
11831 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11833 * simple.el (line-move-partial, line-move): Account for
11835 (line-move-partial): Avoid setting vscroll when the last
11836 partially-visible line in window is of default height.
11838 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11843 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11845 * subr.el (read-quoted-char): Remove unused local variable `char'.
11847 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11849 * vc/ediff.el (ediff-version): Version update.
11850 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11851 (ediff-merge-with-ancestor-command, ediff-directories-command)
11852 (ediff-directories3-command, ediff-merge-directories-command)
11853 (ediff-merge-directories-with-ancestor-command): New functions.
11854 All are command-line interfaces to ediff: to facilitate calling
11855 Emacs with the appropriate ediff functions invoked.
11857 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11859 (viper-save-kill-buffer): Check if buffer is modified.
11861 * emulation/viper.el (viper-version): Version update.
11862 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11864 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11867 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11868 (viper-intercept-ESC-key): Simplify.
11869 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11871 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11872 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11873 (viper-setup-ESC-to-escape): New functions.
11874 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11875 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11877 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11879 * simple.el (default-font-height, window-screen-lines):
11881 (line-move, line-move-partial): Use them instead of
11882 frame-char-height and window-text-height. This makes scrolling
11883 text smoother when the buffer's default face uses a font that is
11884 different from the frame's default font.
11886 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11888 * files.el (write-file): Do not display confirm dialog for NS,
11889 it does its own dialog, which can't be canceled (Bug#14578).
11891 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11893 * simple.el (line-move-partial): Adjust the row returned by
11894 posn-at-point for the current window-vscroll. (Bug#14567)
11896 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11898 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11899 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11902 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11904 * window.el (window-state-put-stale-windows): New variable.
11905 (window--state-put-2): Save list of windows without matching buffer.
11906 (window-state-put): Remove "bufferless" windows if possible.
11908 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11910 * simple.el (alternatives-define): Remove leftover :group keyword.
11913 2013-07-06 Leo Liu <sdl.web@gmail.com>
11915 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11916 (ido-enable-virtual-buffers): New variable.
11917 (ido-buffer-internal, ido-toggle-virtual-buffers)
11918 (ido-make-buffer-list): Use it.
11919 (ido-exhibit): Support turning on and off virtual buffers
11922 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11924 * simple.el (alternatives-define): New macro.
11926 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11928 * subr.el (read-quoted-char): Use read-key.
11929 (sit-for): Let read-event decode tty input (bug#14782).
11931 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11933 * calendar/todo-mode.el: Add handling of file deletion, both by
11934 mode command and externally. Fix various related bugs.
11935 Clarify Commentary and improve some documentation strings and code.
11936 (todo-delete-file): New command.
11937 (todo-check-file): New function.
11938 (todo-show): Handle external deletion of the file we're trying to
11939 show (bug#14688). Replace called-interactively-p by an optional
11940 prefix argument to avoid problematic interaction with catch form
11941 when byte compiled (bug#14702).
11942 (todo-quit): Handle external deletion of the archive's todo file.
11943 Make sure the buffer that was visiting the archive file is still
11944 live before trying to bury it.
11945 (todo-category-completions): Handle external deletion of any
11946 category completion files.
11947 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11948 of todo files, in case of external deletion.
11949 (todo-add-file): Replace unnecessary setq by let-binding.
11950 (todo-find-archive): Check whether there are any archives.
11951 Replace unnecessary setq by let-binding.
11952 (todo-archive-done-item): Use find-file-noselect to get the
11953 archive buffer whether or not the archive already exists.
11954 Remove superfluous code. Use file size instead of buffer-file-name to
11955 check if the archive is new; if it is, update list of archives.
11956 (todo-default-todo-file): Allow nil to be a valid value for when
11957 there are no todo files.
11958 (todo-reevaluate-default-file-defcustom): Use corrected definition
11959 of todo-default-todo-file.
11960 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11961 (todo-delete-category, todo-show-categories-table)
11962 (todo-category-number): Clarify comment.
11963 (todo-filter-items): Clarify documentation string.
11964 (todo-show-current-file, todo-display-as-todo-file)
11965 (todo-reset-and-enable-done-separator): Tweak documentation string.
11966 (todo-done-separator): Make separator length window-width, since
11967 bug#2749 is now fixed.
11969 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11971 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11972 Support both "gvfs-monitor-dir" and "inotifywait".
11973 (tramp-sh-file-inotifywait-process-filter): Rename from
11974 `tramp-sh-file-notify-process-filter'.
11975 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11976 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11978 2013-07-05 Leo Liu <sdl.web@gmail.com>
11980 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11982 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11984 * frame.el (display-pixel-height, display-pixel-width)
11985 (display-mm-height, display-mm-width): Mention behavior on
11986 multi-monitor setups in docstrings.
11987 (w32-display-monitor-attributes-list): Declare function.
11988 (display-monitor-attributes-list): Use it.
11990 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11992 * filenotify.el: New package.
11994 * autorevert.el (top): Require filenotify.el.
11995 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11997 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11998 (auto-revert-notify-handler): Use `file-notify-*' functions.
12000 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12002 * net/tramp.el (tramp-file-name-for-operation):
12003 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12006 for `file-notify-add-watch' and `file-notify-rm-watch'.
12007 (tramp-process-sentinel): Improve trace.
12008 (tramp-sh-handle-file-notify-add-watch)
12009 (tramp-sh-file-notify-process-filter)
12010 (tramp-sh-handle-file-notify-rm-watch)
12011 (tramp-get-remote-inotifywait): New defuns.
12013 2013-07-03 Juri Linkov <juri@jurta.org>
12015 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12016 call of `occur-read-primary-args' to interactive spec.
12018 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12019 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12021 2013-07-03 Matthias Meulien <orontee@gmail.com>
12023 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12024 `Buffer-menu-multi-occur'. Add it to the menu.
12025 (Buffer-menu-mode): Document it in docstring.
12026 (Buffer-menu-multi-occur): New command. (Bug#14673)
12028 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12031 keywords and built-ins.
12033 2013-07-03 Glenn Morris <rgm@gnu.org>
12035 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12037 Make info-xref checks case-sensitive by default
12038 * info.el (Info-find-node, Info-find-in-tag-table)
12039 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12040 Add option for exact case matching of nodes.
12041 * info-xref.el (info-xref): New custom group.
12042 (info-xref-case-fold): New option.
12043 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12045 2013-07-03 Leo Liu <sdl.web@gmail.com>
12047 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12049 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12051 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12052 middle of block statement initially, lower the depth. Remove
12053 FIXME comment, not longer valid. Remove middle of block statement
12054 detection, no need to do that anymore since we've been using
12055 `ruby-parse-region' here.
12057 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12059 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12061 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12063 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12065 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12067 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12068 (desktop-restore-in-current-display): New customization option.
12069 (desktop--excluded-frame-parameters): Add `font'.
12070 (desktop--save-frames): Rename from desktop--save-windows.
12071 (desktop--restore-in-this-display-p): New function.
12072 (desktop--make-full-frame): Remove unwanted width/height from
12073 full(width|height) frames.
12074 (desktop--restore-frames): Rename from desktop--restore-windows.
12075 Obey desktop-restore-current-display. Do not delete old frames or
12076 select a new frame unless we were able to restore at least one frame.
12078 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12080 * files.el (find-file-noselect): Simplify conditional expression.
12082 * textmodes/remember.el (remember-append-to-file):
12083 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12085 Add `remember-notes' function to store random notes across Emacs
12087 * textmodes/remember.el (remember-data-file): Add :set callback to
12088 affect notes buffer (if any).
12089 (remember-notes): New command.
12090 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12091 New defcustoms for the `remember-notes' function.
12092 (remember-notes-save-and-bury-buffer): New command.
12093 (remember-notes-mode-map): New variable.
12094 (remember-mode): New minor mode.
12095 (remember-notes--kill-buffer-query): New function.
12096 * startup.el (initial-buffer-choice): Add notes to custom type.
12098 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12100 * bindings.el (right-char, left-char): Don't call sit-for, this is
12101 no longer needed. Use arithmetic comparison only for numerical
12104 * international/mule-cmds.el (select-safe-coding-system):
12105 Handle the case of FROM being a string correctly. (Bug#14755)
12107 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12109 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12110 progression on degenerate tables.
12111 (shr-rescale-image): ImageMagick animated images currently don't work.
12113 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12115 Some fixes and improvements for desktop frame restoration.
12116 It is still experimental and disabled by default.
12117 * desktop.el (desktop--save-windows): Put the selected frame at
12118 the head of the list.
12119 (desktop--make-full-frame): New function.
12120 (desktop--restore-windows): Try to re-select the frame that was
12121 selected upon saving. Do not abort if some frames fail to restore,
12122 just show an error message and continue. Set up maximized frames
12123 so they have default non-maximized dimensions.
12125 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12127 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12128 Don't start heredoc inside a string or comment.
12130 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12132 * bindings.el (visual-order-cursor-movement): New defcustom.
12133 (right-char, left-char): Provide visual-order cursor motion by
12134 calling move-point-visually. Update the doc strings.
12136 2013-06-28 Kenichi Handa <handa@gnu.org>
12138 * international/mule.el (define-coding-system): New coding system
12139 properties :inhibit-null-byte-detection,
12140 :inhibit-iso-escape-detection, and :prefer-utf-8.
12141 (set-buffer-file-coding-system): If :charset-list property of
12142 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12143 appropriate for setting.
12145 * international/mule-cmds.el (select-safe-coding-system):
12146 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12147 multibyte characters, return utf-8 (or one of its siblings).
12149 * international/mule-conf.el (prefer-utf-8): New coding system.
12150 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12153 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12155 * net/shr.el (shr-render-region): New function.
12157 * net/eww.el: Autoload `eww-browse-url'.
12159 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12162 Adapt to `package-desc-version' being a list.
12163 Use `package--ac-desc-version' to retrieve version from a package
12166 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12168 New experimental feature to save&restore window and frame setup.
12169 * desktop.el (desktop-save-windows): New defcustom.
12170 (desktop--saved-states): New var.
12171 (desktop--excluded-frame-parameters): New defconst.
12172 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12173 (desktop--restore-windows, desktop--save-windows): New functions.
12174 (desktop-save): Call `desktop--save-windows'.
12175 (desktop-read): Call `desktop--restore-windows'.
12177 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12179 * net/shr.el (add-face-text-property): Remove compat definition.
12181 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12183 * info.el (Info-try-follow-nearest-node): Move search for footnote
12184 above search for node name to prevent missing a footnote (bug#14717).
12186 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12188 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12190 2013-06-27 Leo Liu <sdl.web@gmail.com>
12192 * net/eww.el (eww-read-bookmarks): Check file size.
12194 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12196 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12197 advice--pending if newdef is nil or an autoload (bug#13820).
12198 (advice-mapc): New function.
12200 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12204 (eww-mode-map): Add a menu bar.
12205 (eww-add-bookmark): New command.
12206 (eww-bookmark-mode): New mode and commands.
12207 (eww-add-bookmark): Remove newlines from the title.
12208 (eww-bookmark-browse): Don't bug out if it's the only window.
12210 2013-06-26 Glenn Morris <rgm@gnu.org>
12212 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12213 (hfy-size): Handle ttys. (Bug#14668)
12215 * info-xref.el: Update for Texinfo 5 change in *note format.
12216 (info-xref-node-re, info-xref-note-re): New constants.
12217 (info-xref-check-buffer): Use info-xref-note-re.
12219 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12221 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12223 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12224 nil terminate the loop (bug#14718).
12226 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12228 * net/eww.el: Rework history traversal. When going forward/back,
12229 put these actions into the history, too, so that they can be
12231 (eww-render): Move the history reset to the correct buffer.
12233 2013-06-25 Juri Linkov <juri@jurta.org>
12235 * files-x.el (modify-dir-local-variable): Change the header comment
12236 in the file with directory local variables. (Bug#14692)
12238 * files-x.el (read-file-local-variable-value): Add `default'.
12241 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12243 * net/eww.el (eww-make-unique-file-name): Create a unique file
12244 name before saving to entering `y' accidentally asynchronously.
12246 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12248 * net/eww.el (eww-download): New command and keystroke.
12250 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12252 * net/eww.el (eww-copy-page-url): Change name of command.
12254 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12255 be more consistent with Info and dired.
12257 * net/eww.el (eww-mode-map): Ditto.
12259 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12261 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12262 packages from archives.
12263 (package-archive-contents): Change format; include obsolete packages.
12264 (package-desc): Use `dir' to mark builtin packages.
12265 (package--from-builtin): Set the `dir' field to `builtin'.
12266 (generated-autoload-file, version-control): Declare.
12267 (package-compute-transaction): Change first arg and return value to be
12268 lists of package-descs. Adjust to new package-archive-contents format.
12269 (package--add-to-archive-contents): Adjust to new
12270 package-archive-contents format.
12271 (package-download-transaction): Arg is now a list of package-descs.
12272 (package-install): If `pkg' is a package name, pass it as
12273 a requirement, so it is subject to the usual (e.g. disabled) checks.
12274 (describe-package): Accept package-desc as well.
12275 (describe-package-1): Describe a specific package-desc. Add links to
12276 other package-descs for the same package name.
12277 (package-menu-describe-package): Pass the actual package-desc.
12278 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12280 (package-desc-status): New function.
12281 (package-menu--refresh): New function, extracted
12282 from package-menu--generate.
12283 (package-menu--generate): Use it.
12284 (package-delete): Update package-alist.
12285 (package-menu-execute): Don't call package-initialize.
12287 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12288 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12289 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12290 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12291 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12292 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12294 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12296 * window.el (window--state-get-1): Workaround for bug#14527.
12297 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12299 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12301 * net/eww.el (eww-back-url): Implement the history by stashing all
12302 the data into a list.
12303 (eww-forward-url): Allow going forward in the history, too.
12305 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12308 for values and use read--expression for expressions (bug#14710).
12309 (read-file-local-variable): Avoid setq.
12310 (read-file-local-variable-mode): Use minor-mode-list.
12312 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12314 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12317 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12319 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12320 Update imenu-support when dialect changes.
12322 2013-06-25 Leo Liu <sdl.web@gmail.com>
12324 * ido.el (ido-read-internal): Allow forward slash on windows.
12326 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12328 * net/eww.el (eww): Start of strings is \\`, not ^.
12330 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12332 * net/shr.el (shr-browse-url): Fix interactive spec.
12334 * net/eww.el (eww): Add a trailing slash to domain names.
12336 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12338 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12340 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12342 * net/shr.el (shr-browse-url): Use an external browser if given a
12345 * net/eww.el (eww-external-browser): Move to shr.
12347 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12349 * net/eww.el (eww): Work more correctly for file: URLs.
12350 (eww-detect-charset): Allow quoted charsets.
12351 (eww-yank-page-url): New command and keystroke.
12353 2013-06-24 Daiki Ueno <ueno@gnu.org>
12355 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12356 file name of gpg executable.
12357 (epg-context-program): New function.
12358 (epg-context-home-directory): New function.
12359 (epg-context-set-program): New function.
12360 (epg-context-set-home-directory): New function.
12361 (epg--start): Use `epg-context-program' instead of
12363 (epg--list-keys-1): Likewise.
12365 2013-06-24 Leo Liu <sdl.web@gmail.com>
12367 * ido.el (ido-read-internal): Fix bug#14620.
12369 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12371 * faces.el (face-documentation): Simplify.
12372 (read-face-attribute, tty-find-type, x-resolve-font-name):
12373 Use `string-match-p'.
12374 (list-faces-display): Use `string-match-p'. Simplify.
12375 (face-spec-recalc): Check face to avoid face alias loops.
12376 (read-color): Use `string-match-p' and non-capturing parenthesis.
12378 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12380 * net/shr.el (shr-rescale-image): Use the new
12381 :max-width/:max-height functionality.
12383 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12385 * net/eww.el (eww-search-prefix): New variable.
12387 (eww-external-browser): New variable.
12388 (eww-mode-map): New keystroke.
12389 (eww-browse-with-external-browser): New command.
12391 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12393 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12395 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12396 Don't skip aligning the next header field when padding is 0;
12397 otherwise, field width is not respected unless the title is as
12400 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12402 * emacs-lisp/package.el (package-el-version): Remove.
12403 (package-process-define-package): Fix inf-loop.
12404 (package-install): Allow symbols as arguments again.
12406 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12409 add some more keyword-like methods.
12410 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12412 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12414 * bs.el (bs-buffer-show-mark): Make defvar-local.
12415 (bs-mode): Use setq-local.
12417 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12418 (emacs-lock--try-unlocking): Make defvar-local.
12420 2013-06-22 Glenn Morris <rgm@gnu.org>
12422 * play/cookie1.el (cookie-apropos): Minor simplification.
12424 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12426 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12428 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12429 `regexp-opt', it breaks the build during dumping.
12431 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12433 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12434 Highlight keyword-like methods on Kernel and Module with
12435 font-lock-builtin-face.
12436 (auto-mode-alist): Consolidate different entries into one regexp
12437 and add more *file-s.
12439 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12441 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12443 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12444 (diary-entry): Use it in the action of this button type instead of
12447 * calendar/todo-mode.el: New version.
12448 (todo-add-category): Append new category to end of file and give
12449 it the highest number, instead of putting it at the beginning and
12450 giving it 0. Incorporate noninteractive functionality.
12451 (todo-forward-category): Adapt to 1-based category numbering.
12452 Allow skipping over archived categories.
12453 (todo-backward-category): Derive from todo-forward-category.
12454 (todo-backward-item, todo-forward-item): Make noninteractive and
12455 delegate interactive part to new commands. Make sensitive to done items.
12456 (todo-categories): Make value an alist of category names and
12457 vectors of item counts.
12458 (todo-category-beg): Make a defconst.
12459 (todo-category-number): Use 1 instead of 0 as initial value.
12460 (todo-category-select): Make sensitive to overlays, optional item
12461 highlighting and done items.
12462 (todo-delete-item): Make sensitive to overlays and marked and done items.
12463 (todo-edit-item): Make sensitive to overlays and editing of
12464 date/time header optional. Add format checks.
12465 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12466 no-op if point is not on an item. Advertise using todo-edit-quit.
12467 (todo-edit-mode): Make sensitive to new format, font-locking, and
12468 multiple todo files.
12469 (todo-insert-item, todo-insert-item-here): Derive from
12470 todo-basic-insert-item and extend functionality.
12471 (todo-item-end, todo-item-start): Make sensitive to done items.
12472 (todo-item-string): Don't return text properties. Restore point.
12473 (todo-jump-to-category): Make sensitive to multiple todo files and
12474 todo archives. Use extended category completion.
12475 (todo-lower-item, todo-raise-item): Rename to *-priority and
12476 derive from todo-set-item-priority.
12477 (todo-mode): Derive from special-mode. Make sensitive to new
12478 format, font-locking and multiple todo files. Make read-only.
12479 (todo-mode-map): Don't suppress digit keys, so they can supply
12480 prefix arguments. Add many new key bindings.
12481 (todo-prefix): Insert as an overlay instead of file text.
12482 Change semantics from diary date expression to purely visual mark.
12483 (todo-print): Rename to todo-print-buffer. Make buffer display
12484 features printable. Remove option to restrict number of items
12485 printed. Add option to print to file.
12486 (todo-print-function): Rename to todo-print-buffer-function.
12487 (todo-quit): Extend to handle exiting new todo modes.
12488 (todo-remove-item): Make sensitive to overlays.
12489 (todo-save): Extend to buffers of filtered items.
12490 (todo-show): Make sensitive to done items, multiple todo files and
12491 new todo modes. Offer to convert legacy todo file before creating
12492 first new todo file.
12493 (todo-show-priorities): Rename to todo-top-priorities.
12494 Change semantics of value 0.
12495 (todo-top-priorities): Rename to todo-filter-top-priorities,
12496 derive from todo-filter-items and extend functionality.
12497 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12498 and extend functionality to other types of filtered items.
12499 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12500 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12501 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12502 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12503 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12504 (todo-edit-mode-hook, todo-entry-prefix-function)
12505 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12506 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12507 (todo-initials, todo-insert-threshold, todo-item-string-start)
12508 (todo-line-string, todo-menu, todo-mode-hook)
12509 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12510 (todo-print-priorities, todo-remove-separator)
12511 (todo-save-top-priorities-too, todo-string-count-lines)
12512 (todo-string-multiline-p, todo-time-string-format)
12513 (todo-tmp-buffer-name): Remove.
12514 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12515 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12516 (todo-edit-category-diary-inclusion)
12517 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12518 (todo-edit-file, todo-edit-item-date-day)
12519 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12520 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12521 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12522 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12523 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12524 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12525 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12526 (todo-filter-top-priorities-multifile, todo-find-archive)
12527 (todo-find-filtered-items-file, todo-go-to-source-item)
12528 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12529 (todo-jump-to-archive-category, todo-lower-category)
12530 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12531 (todo-move-category, todo-move-item, todo-next-button)
12532 (todo-next-item, todo-padded-string, todo-powerset)
12533 (todo-previous-button, todo-previous-item)
12534 (todo-print-buffer-to-file, todo-raise-category)
12535 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12536 (todo-set-category-number, todo-set-item-priority)
12537 (todo-set-top-priorities-in-category)
12538 (todo-set-top-priorities-in-file, todo-show-categories-table)
12539 (todo-sort-categories-alphabetically-or-numerically)
12540 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12541 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12542 (todo-toggle-item-header, todo-toggle-item-highlighting)
12543 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12544 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12545 (todo-unarchive-items, todo-unmark-category): New commands.
12546 (todo-absolute-file-name, todo-add-to-buffer-list)
12547 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12548 (todo-basic-insert-item, todo-category-completions)
12549 (todo-category-number, todo-category-string-matcher-1)
12550 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12551 (todo-check-format, todo-clear-matches)
12552 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12553 (todo-current-category, todo-date-string-matcher)
12554 (todo-define-insertion-command, todo-diary-expired-matcher)
12555 (todo-diary-goto-entry, todo-diary-item-p)
12556 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12557 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12558 (todo-done-item-section-p, todo-done-separator)
12559 (todo-done-string-matcher, todo-files, todo-filter-items)
12560 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12561 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12562 (todo-insert-category-line, todo-insert-item-from-calendar)
12563 (todo-insert-sort-button, todo-insert-with-overlays)
12564 (todo-insertion-command-name, todo-insertion-key-bindings)
12565 (todo-label-to-key, todo-longest-category-name-length)
12566 (todo-make-categories-list, todo-mode-external-set)
12567 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12568 (todo-modes-set-3, todo-multiple-filter-files)
12569 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12570 (todo-read-category, todo-read-date, todo-read-dayname)
12571 (todo-read-file-name, todo-read-time)
12572 (todo-reevaluate-category-completions-files-defcustom)
12573 (todo-reevaluate-default-file-defcustom)
12574 (todo-reevaluate-filelist-defcustoms)
12575 (todo-reevaluate-filter-files-defcustom)
12576 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12577 (todo-reset-done-separator, todo-reset-done-separator-string)
12578 (todo-reset-done-string, todo-reset-global-current-todo-file)
12579 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12580 (todo-reset-prefix, todo-set-categories)
12581 (todo-set-date-from-calendar, todo-set-show-current-file)
12582 (todo-set-top-priorities, todo-short-file-name)
12583 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12584 (todo-total-item-counts, todo-update-buffer-list)
12585 (todo-update-categories-display, todo-update-categories-sexp)
12586 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12588 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12590 (todo-categories, todo-display, todo-edit, todo-faces)
12591 (todo-filtered): New defgroups.
12592 (todo-archived-only, todo-button, todo-category-string, todo-date)
12593 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12594 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12595 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12596 (todo-add-item-if-new-category, todo-always-add-time-string)
12597 (todo-categories-align, todo-categories-archived-label)
12598 (todo-categories-category-label, todo-categories-diary-label)
12599 (todo-categories-done-label, todo-categories-number-separator)
12600 (todo-categories-todo-label, todo-categories-totals-label)
12601 (todo-category-completions-files, todo-completion-ignore-case)
12602 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12603 (todo-done-separator-string, todo-done-string)
12604 (todo-files-function, todo-filter-done-items, todo-filter-files)
12605 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12606 (todo-initial-category, todo-initial-file, todo-item-mark)
12607 (todo-legacy-date-time-regexp, todo-mode-line-function)
12608 (todo-nondiary-marker, todo-number-prefix)
12609 (todo-print-buffer-function, todo-show-current-file)
12610 (todo-show-done-only, todo-show-first, todo-show-with-done)
12611 (todo-skip-archived-categories, todo-top-priorities-overrides)
12612 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12613 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12615 (todo-category-done, todo-date-pattern, todo-date-string-start)
12616 (todo-diary-items-buffer, todo-done-string-start)
12617 (todo-filtered-items-buffer, todo-item-start)
12618 (todo-month-abbrev-array, todo-month-name-array)
12619 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12620 (todo-top-priorities-buffer): New defconsts.
12621 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12622 (todo-categories-with-marks, todo-category-string-face)
12623 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12624 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12625 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12626 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12627 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12628 (todo-font-lock-keywords, todo-global-current-todo-file)
12629 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12630 (todo-insertion-commands-args)
12631 (todo-insertion-commands-args-genlist)
12632 (todo-insertion-commands-names, todo-insertion-map)
12633 (todo-key-bindings-t, todo-key-bindings-t+a)
12634 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12635 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12636 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12637 (todo-visited): New variables.
12639 2013-06-21 Glenn Morris <rgm@gnu.org>
12641 * play/cookie1.el (cookie-apropos): Add optional display argument.
12642 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12643 (psychoanalyze-pinhead): Use cookie-doctor.
12645 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12647 * emacs-lisp/package.el (tar-get-file-descriptor)
12648 (tar--extract): Declare.
12650 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12652 Extend flymake's warning predicate to be a function (bug#14217).
12653 * progmodes/flymake.el (flymake-warning-predicate): New.
12654 (flymake-parse-line): Use it.
12655 (flymake-warning-re): Make obsolete alias to
12656 `flymake-warning-predicate'.
12658 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12660 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12661 (package-obsolete-list): Remove.
12662 (package-activate): Remove min-version argument. Add `force' argument.
12663 Adjust to new package-alist format.
12664 (package-mark-obsolete): Remove.
12665 (package-unpack): Force reload of the package's autoloads.
12666 (package-installed-p): Check builtins if the installed package is not
12668 (package-initialize): Don't reset package-obsolete-list.
12669 Don't specify which package version to activate.
12670 (package-process-define-package, describe-package-1)
12671 (package-menu--generate): Adjust to new package-alist format.
12673 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12675 * allout-widgets.el (allout-widgets-mode-off)
12676 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12677 (allout-widgets-post-command-business)
12678 (allout-widgets-after-copy-or-kill-function)
12679 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12680 (allout-decorate-item-and-context)
12681 (allout-graphics-modification-handler): Fix typos in docstrings.
12682 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12684 * cmuscheme.el (scheme-start-file): Doc fix.
12685 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12686 (scheme-input-filter): Use `string-match-p'.
12688 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12690 * dired-x.el: Use Dired consistently in docstrings.
12692 * dired.el: Use Dired consistently in docstrings.
12693 (dired-readin, dired-mode): Use `setq-local'.
12694 (dired-switches-alist): Make defvar-local.
12695 (dired-buffers-for-dir): Use `zerop'.
12696 (dired-safe-switches-p, dired-switches-escape-p)
12697 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12698 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12699 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12700 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12701 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12702 (dired-toggle-marks, dired-mark-files-containing-regexp)
12703 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12704 (dired-flag-auto-save-files, dired-flag-backup-files):
12705 Use `looking-at-p'.
12706 (dired-mark-files-regexp, dired-build-subdir-alist):
12707 Use `string-match-p', `looking-at-p'.
12709 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12710 (direct-print-region-helper): Use `string-match-p'.
12712 2013-06-21 Leo Liu <sdl.web@gmail.com>
12714 * comint.el (comint-redirect-results-list-from-process):
12717 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12719 * net/eww.el (eww-update-header-line-format): Quote % characters.
12721 2013-06-21 Glenn Morris <rgm@gnu.org>
12723 * play/cookie1.el (cookie): New custom group.
12724 (cookie-file): New option.
12725 (cookie-check-file): New function.
12726 (cookie): Make it interactive. Make start and end messages optional.
12727 Interactively, display the result. Default to cookie-file.
12728 (cookie-insert): Default to cookie-file.
12729 (cookie-snarf): Make start and end messages optional.
12730 Default to cookie-file. Use with-temp-buffer.
12731 (cookie-read): Rename from read-cookie.
12732 Make start and end messages optional. Default to cookie-file.
12733 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12734 Do not autoload it.
12735 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12736 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12738 2013-06-21 Leo Liu <sdl.web@gmail.com>
12740 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12742 2013-06-21 Glenn Morris <rgm@gnu.org>
12744 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12746 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12747 Daniel Hackney <dan@haxney.org>
12749 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12750 Consolidate the single-file vs tarball code.
12751 (package-desc-suffix): New function.
12752 (package-desc-full-name): Don't bother inlining it.
12753 (package-load-descriptor): Return the new package-desc.
12754 (package-mark-obsolete): Remove unused arg `package'.
12755 (package-unpack): Make it work for single files as well.
12756 Make it update package-alist.
12757 (package--make-autoloads-and-stuff): Rename from
12758 package--make-autoloads-and-compile. Don't compile any more.
12759 (package--compile): New function.
12760 (package-generate-description-file): New function, extracted from
12761 package-unpack-single.
12762 (package-unpack-single): Remove.
12763 (package--with-work-buffer): Add indentation and debugging info.
12764 (package-download-single): Remove.
12765 (package-install-from-archive): Rename from package-download-tar, make
12766 it take a pkg-desc, and make it work for single files as well.
12767 (package-download-transaction): Simplify.
12768 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12769 external tar program.
12770 (package-install-from-buffer): Remove `pkg-desc' argument.
12771 Use package-tar-file-info for tar-mode buffers.
12772 (package-install-file): Simplify accordingly.
12773 (package-archive-base): Change to take a pkg-desc.
12774 * tar-mode.el (tar--check-descriptor): New function, extracted from
12775 tar-get-descriptor.
12776 (tar-get-descriptor): Use it.
12777 (tar-get-file-descriptor): New function.
12778 (tar--extract): New function, extracted from tar-extract.
12779 (tar--extract): Use it.
12780 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12781 case the summary uses non-ascii. Adjust to new calling convention of
12782 package-tar-file-info.
12784 2013-06-21 Leo Liu <sdl.web@gmail.com>
12786 * comint.el (comint-redirect-results-list-from-process):
12787 Fix random delay. (Bug#14681)
12789 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12791 * profiler.el (profiler-format-number): Use log, not log10.
12793 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12795 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12797 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12800 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12802 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12803 (AUTOGENEL): ... here.
12804 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12805 (cl--defsubst-expand): Use it.
12807 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12809 * subr.el (log10): Move here from C code, and declare as obsolete.
12810 All uses of (log10 X) replaced with (log X 10).
12812 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12814 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12815 Declare with `defvar-local'.
12816 (tabulated-list-use-header-line, tabulated-list-entries)
12817 (tabulated-list-padding, tabulated-list-printer)
12818 (tabulated-list-sort-key): Declare with `defvar-local'.
12819 (tabulated-list-init-header, tabulated-list-print-fake-header):
12822 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12824 * arc-mode.el (archive-mode): Add `archive-write-file' to
12825 `write-contents-functions' also for remote files. (Bug#14652)
12827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12829 * cus-edit.el (custom-commands): Fix typos.
12830 (custom-display): Fix tooltip text.
12831 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12832 Fix typos in docstrings.
12833 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12834 (custom-unlispify-menu-entry, custom-magic-value-create)
12835 (custom-add-see-also, custom-group-value-create): Use ?\s.
12836 (custom-guess-type, customize-apropos, editable-field)
12837 (custom-face-value-create): Use `string-match-p'.
12838 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12840 * custom.el (custom-load-symbol): Use `string-match-p'.
12842 * ansi-color.el: Convert to lexical binding.
12843 (ansi-colors): Fix URL.
12844 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12845 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12846 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12848 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12850 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12852 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12854 2013-06-19 Tom Tromey <tromey@redhat.com>
12856 * net/eww.el (eww-top-url): Remove.
12857 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12858 (eww-render): Set new variables. Don't set eww-top-url.
12859 (eww-handle-link): Handle "prev", "home", and "contents".
12860 Downcase the rel text.
12861 (eww-top-url): Choose best top URL.
12863 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12865 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12866 relying in widget.el. Using widget.el leads to too many
12867 user interface inconsistencies.
12868 (eww-self-insert): Implement entering commands in text fields.
12869 (eww-process-text-input): New function to make text input field editing
12871 (eww-submit): Rewrite to use the new-style form methods.
12872 (eww-select-display): Display the correct selected item.
12873 (eww-change-select): Implement changing the select value.
12874 (eww-toggle-checkbox): Implement radio/checkboxes.
12875 (eww-update-field): Fix compilation error.
12876 (eww-tag-textarea): Implement <textarea>.
12878 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12879 we don't shadow mode-specific bindings.
12881 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12884 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12886 2013-06-19 Glenn Morris <rgm@gnu.org>
12888 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12890 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12892 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12895 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12897 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899 * net/browse-url.el (browse-url-browser-function):
12900 `eww-browse-url' has the right calling signature, `eww' does not.
12902 2013-06-19 Glenn Morris <rgm@gnu.org>
12904 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12905 Only eval autoloaded macros.
12906 (byte-compile-autoload): Only give the macro warning for macros.
12908 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12909 (ps-underlined-faces): Declare.
12911 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12912 (speedbar-add-supported-extension): Declare.
12914 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12915 Don't include a date stamp in the header of the generated file;
12916 it leads to needless differences between output files.
12918 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12920 * net/secrets.el (secrets-struct-secret-content-type):
12921 Replace check of introspection data by a test call of "CreateItem".
12922 Some servers do not offer introspection.
12924 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12926 * electric.el (electric-pair-mode): Improve interaction with
12927 electric-layout-mode.
12928 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12929 (electric-pair-syntax): Use text-mode-syntax-table in comments
12931 (electric-pair--insert): New function.
12932 (electric-pair-post-self-insert-function): Use it and
12933 electric--after-char-pos.
12935 2013-06-19 Leo Liu <sdl.web@gmail.com>
12937 * progmodes/octave.el (octave-help): Fix regexp.
12939 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12941 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12942 (shr-table-horizontal-line): Allow nil as a value, and change the
12944 (shr-insert-table-ruler): Respect the nil value.
12946 2013-06-18 Tom Tromey <tromey@barimba>
12948 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12950 (eww-open-file): New defun.
12951 (eww-render): Initialize new variables.
12952 (eww-display-html): Handle "link" and "a".
12953 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12954 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12955 (eww-back-url): Rename from eww-previous-url.
12956 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12959 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12961 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12962 Distinguish ternary operator tokens from slash symbol and slash
12965 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12967 Convert symbol prettification into minor mode and global minor mode.
12969 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12970 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12971 (prettify-symbols--keywords): Rename from
12972 `prog-prettify-symbols-alist' and make a local defvar.
12973 (prettify-symbols--compose-symbol): Rename from
12974 `prog--prettify-font-lock-compose-symbol'.
12975 (prettify-symbols--make-keywords): Rename from
12976 `prog-prettify-font-lock-symbols-keywords' and simplify.
12977 (prog-prettify-install): Remove.
12978 (prettify-symbols-mode): New minor mode, based on
12979 `prog-prettify-install'.
12980 (turn-on-prettify-symbols-mode): New function.
12981 (global-prettify-symbols-mode): New globalized minor mode.
12983 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12984 * progmodes/cfengine.el (cfengine3-mode):
12985 * progmodes/perl-mode.el (perl-mode): Don't call
12986 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12988 2013-06-18 Juri Linkov <juri@jurta.org>
12990 * files-x.el (modify-file-local-variable-message): New function.
12991 (modify-file-local-variable)
12992 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12993 and call `modify-file-local-variable-message' when it's non-nil.
12994 (add-file-local-variable, delete-file-local-variable)
12995 (add-file-local-variable-prop-line)
12996 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12997 and use it. (Bug#9820)
12999 2013-06-18 Juri Linkov <juri@jurta.org>
13001 * emulation/vi.el (vi-shell-op):
13002 * emulation/vip.el (vip-execute-com, ex-command):
13003 * emulation/viper-cmd.el (viper-exec-bang):
13004 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13005 the call of `shell-command-on-region'. (Bug#14637)
13007 * simple.el (shell-command-on-region): Doc fix.
13009 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13014 2013-06-18 Glenn Morris <rgm@gnu.org>
13016 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13018 * newcomment.el (comment-search-forward, comment-search-backward):
13019 Doc fix. (Bug#14376)
13021 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13023 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13024 (buffer-face-mode-invoke): Doc fix.
13026 2013-06-18 Matthias Meulien <orontee@gmail.com>
13028 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13029 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13031 2013-06-18 Glenn Morris <rgm@gnu.org>
13033 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13034 Replace obsolete function generic-make-keywords with its expansion.
13036 * progmodes/python.el (ffap-alist): Declare.
13038 * textmodes/reftex.el (bibtex-mode-map): Declare.
13040 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13043 (package-unpack, package-unpack-single): Return the pkg-dir.
13044 (package-download-transaction): Use it to update package-alist.
13046 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13048 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13051 2013-06-17 Juri Linkov <juri@jurta.org>
13053 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13055 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13057 * emacs-lisp/package.el (package-load-descriptor):
13058 Remove `with-syntax-table' call, `read' doesn't need it.
13059 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13061 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13063 * startup.el (command-line): Expand package name returned by
13064 `package--description-file' (bug#14639).
13066 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13068 * emacs-lisp/package.el (package-load-descriptor): Do not call
13069 `emacs-lisp-mode', just use its syntax table.
13071 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13073 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13074 `font-lock-extra-managed-props' if any prettifying keyword is added.
13075 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13076 (prog-mode): Use `setq-local'.
13078 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13080 * international/characters.el (standard-case-table): Set syntax of ?»
13081 and ?« to punctuation.
13083 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13085 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13086 Save relevant match data before calling `syntax-ppss' (bug#14595).
13088 2013-06-15 Juri Linkov <juri@jurta.org>
13090 * files-x.el (modify-file-local-variable-prop-line): Add local
13091 variables to the end of the existing comment on the first line.
13092 Use `file-auto-mode-skip' to skip interpreter magic line,
13093 and also skip XML declaration.
13095 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13097 * startup.el (package--builtin-versions): New var.
13098 (package-subdirectory-regexp): Remove.
13099 (package--description-file): Hard code its value instead.
13101 * emacs-lisp/package.el: Don't activate packages older than builtin.
13102 (package-obsolete-list): Rename from package-obsolete-alist, and make
13103 it into a simple list of package-desc.
13104 (package-strip-version): Remove.
13105 (package-built-in-p): Use package--builtin-versions.
13106 (package-mark-obsolete): Simplify.
13107 (package-process-define-package): Mark it obsolete if older than the
13109 (package-handle-response): Use line-end-position.
13110 (package-read-archive-contents, package--download-one-archive):
13112 (package--add-to-archive-contents): Skip if older than the builtin or
13114 (package-menu-describe-package): Fix last change.
13115 (package-list-unversioned): New var.
13116 (package-menu--generate): Use it.
13118 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13119 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13120 (autoload-builtin-package-versions): New variable.
13121 (autoload-generate-file-autoloads): Use them.
13122 Remove the list of autoloaded functions/macros from the
13123 (autoload...) comments.
13125 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13127 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13129 * simple.el (line-move-partial): Don't jump to the next screen
13130 line as soon as it becomes visible. Instead, continue enlarging
13131 the vscroll until the portion of a tall screen line that's left on
13132 display is about the height of the frame's default font.
13135 2013-06-15 Glenn Morris <rgm@gnu.org>
13137 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13138 compilation-error-regexp-alist void, or local while let-bound.
13140 * progmodes/make-mode.el (makefile-mode-syntax-table):
13141 Treat "=" as punctuation. (Bug#14614)
13143 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13145 * help-fns.el (describe-variable):
13146 Add extra line for permanent-local variables.
13148 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13150 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13151 Add export, import, library. (Bug#9164)
13152 (library): Set indent function.
13154 2013-06-14 Glenn Morris <rgm@gnu.org>
13156 * term/xterm.el (xterm--query):
13157 Stop after first matching handler. (Bug#14615)
13159 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13161 Add support for dired in saveplace.
13162 * dired.el (dired-initial-position-hook): New variable.
13163 (dired-initial-position): Call hook to place cursor position.
13164 * saveplace.el (save-place-to-alist): Add dired position.
13165 (save-place-dired-hook): New function.
13167 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13169 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13170 through a symbol rather than letrec.
13172 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13173 (package-desc): Add `dir' field.
13174 (package-desc-full-name): New function.
13175 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13176 (package-maybe-load-descriptor): Remove.
13177 (package-load-all-descriptors): Just call package-load-descriptor.
13178 (package--disabled-p): New function.
13179 (package-desc-vers, package-desc-doc): Remove aliases.
13180 (package--dir): Remove function.
13181 (package-activate): Check if a package is disabled.
13182 (package-process-define-package): New function, extracted from
13184 (define-package): Turn into a place holder.
13185 (package-unpack-single, package-tar-file-info):
13186 Use package--description-file.
13187 (package-compute-transaction): Use package--disabled-p.
13188 (package-download-transaction): Don't call
13189 package-maybe-load-descriptor since they're all loaded anyway.
13190 (package-install): Change argument to be a pkg-desc.
13191 (package-delete): Use a single pkg-desc argument.
13192 (describe-package-1): Use package-desc-dir instead of package--dir.
13193 Use package-desc property instead of package-symbol.
13194 (package-install-button-action): Adjust accordingly.
13195 (package--push): Rewrite.
13196 (package-menu--print-info): Adjust accordingly. Change the ID format
13198 (package-menu-describe-package, package-menu-get-status)
13199 (package-menu--find-upgrades, package-menu-mark-upgrades)
13200 (package-menu-execute, package-menu--name-predicate):
13201 Adjust accordingly.
13202 * startup.el (package--description-file): New function.
13203 (command-line): Use it.
13204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13205 Use package-desc-version.
13207 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13208 (byte-compile-preprocess): Use it.
13209 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13210 can't quite recognize.
13211 (byte-compile-add-to-list): Remove.
13212 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13213 (cconv-closure-convert): Add assertion.
13215 * emacs-lisp/map-ynp.el: Use lexical-binding.
13216 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13217 Factor out some repeated code.
13219 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * subr.el (with-eval-after-load): New macro.
13222 (eval-after-load): Allow form to be a function.
13223 take advantage of lexical-binding.
13224 (do-after-load-evaluation): Use dolist and adjust to new format.
13225 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13227 2013-06-13 Juri Linkov <juri@jurta.org>
13229 * replace.el (perform-replace): Display "symbol " and other search
13230 modes from `isearch-message-prefix' in the *Help* buffer.
13232 * isearch.el (isearch-query-replace): Add " symbol" and other
13233 possible search modes from `isearch-message-prefix' to the prompt.
13234 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13235 when reading a regexp to collect.
13237 2013-06-13 Juri Linkov <juri@jurta.org>
13239 * isearch.el (word-search-regexp): Match whitespace if the search
13240 string begins or ends in whitespace. The LAX arg is applied to
13241 both ends of the search string. Use `regexp-quote' and explicit
13242 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13243 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13244 boundaries are replaced with symbol boundaries, and characters
13245 between symbols match non-word non-symbol syntax. (Bug#14602)
13247 2013-06-13 Juri Linkov <juri@jurta.org>
13249 * isearch.el (isearch-del-char): Don't exceed the length of
13250 `isearch-string' by the prefix arg. (Bug#14563)
13252 2013-06-13 Juri Linkov <juri@jurta.org>
13254 * isearch.el (isearch-yank-word, isearch-yank-line)
13255 (isearch-char-by-name, isearch-quote-char)
13256 (isearch-printing-char, isearch-process-search-char):
13257 Add optional count prefix arg. (Bug#14563)
13259 * international/isearch-x.el
13260 (isearch-process-search-multibyte-characters):
13261 Add optional count prefix arg.
13263 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13265 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13266 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13269 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13271 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13273 2013-06-13 Glenn Morris <rgm@gnu.org>
13275 * startup.el (tty-handle-args):
13276 Don't just discard "--" and anything after. (Bug#14608)
13278 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13280 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13282 Implement changes in Secret Service API. Make it backward compatible.
13283 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13284 (secrets-create-item): Use it. Prefix properties with interface.
13286 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13288 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13289 (term-emulate-terminal): Respect term-suppress-hard-newline.
13291 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13293 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13294 Only remove a `thumb-file' overlay. (Bug#14548)
13296 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13298 * mail/reporter.el (reporter-submit-bug-report):
13299 Handle missing package-name. (Bug#14600)
13301 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13303 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13304 (reftex-citation-prompt, reftex-default-bibliography)
13305 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13306 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13307 (reftex-bib-sort-author, reftex-bib-sort-year)
13308 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13309 (reftex-extract-bib-entries-from-thebibliography)
13310 (reftex-get-bibkey-default, reftex-get-bib-names)
13311 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13312 (reftex-format-bib-entry, reftex-parse-bibitem)
13313 (reftex-format-bibitem, reftex-do-citation)
13314 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13315 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13316 (reftex-insert-bib-matches, reftex-format-citation)
13317 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13318 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13319 existing comments into docstrings.
13321 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13323 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13325 2013-06-12 Andreas Schwab <schwab@suse.de>
13327 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13328 for auto-save files.
13330 2013-06-12 Glenn Morris <rgm@gnu.org>
13332 * ido.el (ido-delete-ignored-files): Remove.
13333 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13334 Go back to calling ido-ignore-item-p directly.
13336 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13338 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13340 * ido.el (ido-delete-ignored-files): New function,
13341 split from ido-make-file-list-1.
13342 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13343 (ido-make-file-list-1): Use ido-delete-ignored-files.
13345 2013-06-12 Leo Liu <sdl.web@gmail.com>
13347 * progmodes/octave.el (inferior-octave-startup)
13348 (inferior-octave-completion-table)
13349 (inferior-octave-track-window-width-change)
13350 (octave-eldoc-function-signatures, octave-help)
13351 (octave-find-definition): Use single quoted strings.
13352 (inferior-octave-startup-args): Change default value.
13353 (inferior-octave-startup): Do not hard code "-i" and
13354 "--no-line-editing".
13355 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13356 (inferior-octave-directory-tracker): Use it.
13357 (octave-goto-function-definition): Robustify.
13358 (octave-help): Support highlighting operators in 'See also'.
13359 (octave-find-definition): Find subfunctions only in Octave mode.
13361 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13363 * help-fns.el (help-fns--compiler-macro): If the handler function is
13364 named, then put a link to it.
13365 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13366 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13367 (cl-typep): Use it.
13368 (cl-eval-when): Simplify debug spec.
13369 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13370 compiler-macro function instead of setting `compiler-macro-file'.
13372 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13374 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13375 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13377 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13378 Daniel Hackney <dan@haxney.org>
13380 First part of Daniel Hackney's patch to package.el.
13381 * emacs-lisp/package.el: Use defstruct.
13382 (package-desc): New, main struct.
13383 (package--bi-desc, package--ac-desc): New structs, used to describe the
13384 format in external files.
13385 (package-desc-vers): Replace with package-desc-version accessor.
13386 (package-desc-doc): Replace with package-desc-summary accessor.
13387 (package-activate-1): Remove `package' arg since the pkg-vec now
13389 (define-package): Use package-desc-from-define.
13390 (package-unpack-single): Change file-name arg to be a symbol.
13391 (package--add-to-archive-contents): Use package-desc-create and new
13392 accessor functions to package--ac-desc.
13393 (package-buffer-info, package-tar-file-info): Return a package-desc.
13394 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13395 arg to be a package-desc.
13396 (package-install-file): Adjust accordingly. Use \' to match EOS.
13397 (package--from-builtin): New function.
13398 (describe-package-1, package-menu--generate): Use it.
13399 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13400 (package-generate-autoloads): Idem and return the name of the file.
13401 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13402 Change pkg-info arg to be a package-desc.
13403 Use package-make-ac-desc.
13404 (package-upload-file): Use \' to match EOS.
13405 * finder.el (finder-compile-keywords): Use package-make-builtin.
13407 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13409 * vc/vc.el (vc-deduce-fileset): Change error message.
13410 (vc-read-backend): New function.
13411 (vc-next-action): Use it.
13413 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13415 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13416 (prolog-font-lock-keywords): Use regexp-opt instead.
13417 Don't manually highlight strings.
13418 (prolog-mode-variables): Simplify comment-start-skip.
13419 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13421 * emacs-lisp/generic.el (generic--normalise-comments)
13422 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13423 (generic-mode-set-comments): Use them.
13424 (generic-bracket-support): Use setq-local.
13425 (generic-make-keywords-list): Declare obsolete.
13427 2013-06-11 Glenn Morris <rgm@gnu.org>
13429 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13430 Prettify after setting font-lock-defaults. (Bug#14574)
13432 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13434 * replace.el (query-replace, occur-read-regexp-defaults-function)
13436 * subr.el (declare-function, number-sequence, local-set-key)
13437 (substitute-key-definition, locate-user-emacs-file)
13438 (with-silent-modifications, split-string, eval-after-load):
13439 Fix typos, remove unneeded backslashes and reflow some docstrings.
13441 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13443 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13444 default for Elisp files.
13446 2013-06-11 Glenn Morris <rgm@gnu.org>
13448 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13449 although define-derived-mode was doing this anyway. (Bug#14583)
13451 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13453 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13454 Fix make-variable-buffer-local call to refer to the correct variable.
13456 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13458 * eshell/em-term.el (eshell-visual-commands)
13459 (eshell-visual-subcommands, eshell-visual-options):
13460 Add summary line to docstrings. Add cross-references.
13462 2013-06-10 Glenn Morris <rgm@gnu.org>
13464 * epa.el (epa-read-file-name): New function. (Bug#14510)
13465 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13467 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13469 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13470 output redirection to be ignored with visual commands.
13472 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13474 * eshell/em-term.el (eshell-visual-command-p): New function.
13475 (eshell-term-initialize): Move long lambda to separate function
13476 eshell-visual-command-p.
13477 * eshell/em-dirs.el (eshell-dirs-initialize):
13478 * eshell/em-script.el (eshell-script-initialize):
13479 Add missing #' to lambda.
13481 2013-06-08 Leo Liu <sdl.web@gmail.com>
13483 * progmodes/octave.el (octave-add-log-current-defun): New function.
13484 (octave-mode): Set add-log-current-defun-function.
13485 (octave-goto-function-definition): Do not move point if not found.
13486 (octave-find-definition): Enhance to try subfunctions first.
13488 2013-06-08 Glenn Morris <rgm@gnu.org>
13490 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13491 (byte-compile-backward-char, byte-compile-backward-word):
13492 Improve previous change, to handle non-explicit nil.
13494 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13497 (smie--opener/closer-at-point): New function.
13498 (smie--matching-block-data): Use it. Don't match from right after an
13499 opener or right before a closer. Obey smie-blink-matching-inners.
13500 Don't signal a mismatch for repeated inners like "switch..case..case".
13502 2013-06-07 Leo Liu <sdl.web@gmail.com>
13504 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13506 (octave-function-header-regexp): Fix. (Bug#14570)
13507 (octave-help-mode-finish-hook, octave-help-mode-finish):
13508 Remove. Just use temp-buffer-show-hook.
13510 * newcomment.el (comment-search-backward): Revert last change.
13513 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13515 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13517 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13518 through xargs, to avoid failure due to MS-Windows limitations on
13519 command-line length.
13521 2013-06-06 Glenn Morris <rgm@gnu.org>
13523 * font-lock.el (lisp-font-lock-keywords-2):
13524 Treat user-error like error.
13526 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13527 (byte-compile-backward-char, byte-compile-backward-word):
13528 Handle explicit nil arguments. (Bug#14565)
13530 2013-06-05 Alan Mackenzie <acm@muc.de>
13532 * isearch.el (isearch-allow-prefix): New user option.
13533 (isearch-other-meta-char): Don't exit isearch when a prefix
13534 argument is typed whilst `isearch-allow-prefix' is non-nil.
13537 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13539 * autorevert.el (auto-revert-notify-handler): Use memq.
13540 Hide assertion failure.
13542 * skeleton.el: Use cl-lib.
13543 (skeleton-further-elements): Use defvar-local.
13544 (skeleton-insert): Use cl-progv.
13546 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13548 * progmodes/prog-mode.el (prog-prettify-symbols)
13549 (prog-prettify-install): Update docstrings.
13551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13553 * simple.el: Move all the prog-mode code to prog-mode.el.
13554 * progmodes/prog-mode.el: New file.
13555 * loadup.el: Add prog-mode.el.
13557 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13559 * simple.el (prog-prettify-symbols): Add version.
13560 (prog-prettify-install): Add convenience function to prettify symbols.
13562 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13563 (perl--augmented-font-lock-keywords-1)
13564 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13565 variables and use it.
13567 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13568 (cfengine3-mode): Remove unneeded variable and use it.
13570 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13571 (lisp--augmented-font-lock-keywords-1)
13572 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13573 Remove unneeded variables and use it.
13575 2013-06-05 João Távora <joaotavora@gmail.com>
13577 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13578 to point when opening the connection. (Bug#14380)
13580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13582 * subr.el (load-history-regexp, load-history-filename-element)
13583 (eval-after-load, after-load-functions, do-after-load-evaluation)
13584 (eval-next-after-load, display-delayed-warnings)
13585 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13586 definition of save-match-data.
13587 (overriding-local-map): Remove accidental obsolescence declaration.
13589 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13591 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13593 Generalize symbol prettify support to prog-mode and implement it
13594 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13595 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13596 (prog--prettify-font-lock-compose-symbol)
13597 (prog-prettify-font-lock-symbols-keywords): New variables and
13598 functions to support symbol prettification.
13599 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13600 (lisp--augmented-font-lock-keywords-1)
13601 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13602 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13603 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13604 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13605 Implement prettify of -> => :: strings.
13606 * progmodes/perl-mode.el (perl-prettify-symbols)
13607 (perl--font-lock-compose-symbol)
13608 (perl--font-lock-symbols-keywords): Move to prog-mode.
13609 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13610 (perl-font-lock-keywords-1)
13611 (perl-font-lock-keywords-2): Remove explicit prettify support.
13612 (perl--augmented-font-lock-keywords)
13613 (perl--augmented-font-lock-keywords-1)
13614 (perl--augmented-font-lock-keywords-2, perl-mode):
13615 Implement prettify support.
13617 2013-06-05 Leo Liu <sdl.web@gmail.com>
13619 Re-implement SMIE matching block highlight using
13620 show-paren-data-function. (Bug#14395)
13621 * emacs-lisp/smie.el (smie-matching-block-highlight)
13622 (smie--highlight-matching-block-overlay)
13623 (smie--highlight-matching-block-lastpos)
13624 (smie-highlight-matching-block)
13625 (smie-highlight-matching-block-mode): Remove.
13626 (smie--matching-block-data-cache): New variable.
13627 (smie--matching-block-data): New function.
13628 (smie-setup): Use smie--matching-block-data for
13629 show-paren-data-function.
13631 * progmodes/octave.el (octave-mode-menu): Fix.
13632 (octave-find-definition): Skip garbage lines.
13634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13636 Fix compilation error with simultaneous dynamic+lexical scoping.
13637 Add warning when a defvar appears after the first let-binding.
13638 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13639 (byte-compile-close-variables): Initialize it.
13640 (byte-compile--declare-var): New function.
13641 (byte-compile-file-form-defvar)
13642 (byte-compile-file-form-define-abbrev-table)
13643 (byte-compile-file-form-custom-declare-variable): Use it.
13644 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13645 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13646 (byte-compile-bind): Handle dynamic bindings that shadow
13648 (byte-compile-unbind): Make arg non-optional.
13649 (byte-compile-let): Simplify.
13650 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13651 (cconv--analyse-function, cconv-analyse-form): Populate it.
13652 Protect byte-compile-bound-variables to limit the scope of defvars.
13653 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13654 Remove unneeded rule for `declare'.
13656 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13657 so as to avoid depending on cl-adjoin at run-time.
13658 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13660 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13661 (macroexp--warn-and-return): Use it.
13663 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13665 * subr.el: Convert to lexical binding.
13666 (overriding-local-map): Make obsolete.
13667 (add-to-list): Doc fix. Add compiler macro.
13668 (read-key): Swap values of local maps.
13670 2013-06-05 Leo Liu <sdl.web@gmail.com>
13672 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13674 2013-06-04 Leo Liu <sdl.web@gmail.com>
13676 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13677 (compilation-auto-jump): Suppress the "Mark set" message to give
13678 way to exit message.
13680 2013-06-04 Alan Mackenzie <acm@muc.de>
13682 Remove faulty optimisation from indentation calculation.
13683 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13684 search limit based on 2000 characters back from indent-point.
13686 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13688 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13690 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13692 * emacs-lisp/lisp.el: Use lexical-binding.
13693 (lisp--local-variables-1, lisp--local-variables): New functions.
13694 (lisp--local-variables-completion-table): New var.
13695 (lisp-completion-at-point): Use it complete let-bound vars.
13697 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13698 eagerly (bug#14422).
13700 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13702 * autorevert.el (auto-revert-notify-enabled)
13703 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13704 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13705 (auto-revert-notify-handler): Handle also gfilenotify.
13707 * subr.el (file-notify-handle-event): New defun. Replacing ...
13708 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13711 2013-06-03 Juri Linkov <juri@jurta.org>
13713 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13714 `M-s h .'. (Bug#14427)
13716 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13717 command `hi-lock-face-symbol-at-point'.
13718 (hi-lock-face-symbol-at-point): New command.
13719 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13720 (hi-lock-menu): Add `highlight-symbol-at-point'.
13721 (hi-lock-mode): Doc fix.
13723 * isearch.el (isearch-forward-symbol-at-point): New command.
13724 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13725 (isearch-highlight-regexp): Add a regexp which matches
13726 words/symbols for word/symbol mode.
13728 * subr.el (find-tag-default-bounds): New function with the body
13729 mostly moved from `find-tag-default'.
13730 (find-tag-default): Move most code to `find-tag-default-bounds',
13731 call it and apply `buffer-substring-no-properties' afterwards.
13733 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13735 * eshell/em-term.el (eshell-term-initialize):
13736 Use `cl-intersection' rather than `intersection'.
13738 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13740 * vc/log-view.el: Doc fix.
13741 (log-view-mode-map): Copy keymap from `special-mode-map'.
13743 2013-06-02 Eric Ludlam <zappo@gnu.org>
13745 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13746 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13747 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13748 (eieio-unbound, eieio-default-superclass)
13749 (eieio--define-field-accessors, method-static, method-before)
13750 (method-primary, method-after, method-num-lists)
13751 (method-generic-before, method-generic-primary)
13752 (method-generic-after, method-num-slots)
13753 (eieio-specialized-key-to-generic-key)
13754 (eieio--check-type, class-v, class-p)
13755 (eieio-class-name, define-obsolete-function-alias)
13756 (eieio-class-parents-fast, eieio-class-children-fast)
13757 (same-class-fast-p, class-constructor, generic-p)
13758 (generic-primary-only-p, generic-primary-only-one-p)
13759 (class-option-assoc, class-option, eieio-object-p)
13760 (class-abstract-p, class-method-invocation-order)
13761 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13762 (eieio-class-un-autoload, eieio-defclass)
13763 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13764 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13765 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13766 (eieio-defgeneric-reset-generic-form)
13767 (eieio-defgeneric-form-primary-only)
13768 (eieio-defgeneric-reset-generic-form-primary-only)
13769 (eieio-defgeneric-form-primary-only-one)
13770 (eieio-defgeneric-reset-generic-form-primary-only-one)
13771 (eieio-unbind-method-implementations)
13772 (eieio--defmethod, eieio--typep)
13773 (eieio-perform-slot-validation, eieio-validate-slot-value)
13774 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13775 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13776 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13777 (eieio-slot-name-index, eieio-class-slot-name-index)
13778 (eieio-set-defaults, eieio-initarg-to-attribute)
13779 (eieio-attribute-to-initarg, eieio-c3-candidate)
13780 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13781 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13782 (eieio-class-precedence-list, eieio-generic-call-methodname)
13783 (eieio-generic-call-arglst, eieio-generic-call-key)
13784 (eieio-generic-call-next-method-list)
13785 (eieio-pre-method-execution-functions, eieio-generic-call)
13786 (eieio-generic-call-primary-only, eieiomt-method-list)
13787 (eieiomt-optimizing-obarray, eieiomt-install)
13788 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13789 (eieio-generic-form, eieio-defmethod, make-obsolete)
13790 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13791 (defclass): Remove `eval-and-compile' from macro.
13792 (call-next-method, shared-initialize): Instead of using
13793 `scoped-class' variable, use new eieio--scoped-class, and
13794 eieio--with-scoped-class.
13795 (initialize-instance): Rename local variable 'scoped-class' to
13796 'this-class' to remove ambiguitity from old global.
13798 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13800 (eieio--scoped-class-stack): New variable.
13801 (eieio--scoped-class): New fcn.
13802 (eieio--with-scoped-class): New scoping macro.
13803 (eieio-defclass): Use pushnew instead of add-to-list.
13804 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13805 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13806 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13807 `scoped-class' variable, use new eieio--scoped-class, and
13808 eieio--with-scoped-class.
13810 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13812 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13814 * eshell/esh-ext.el (eshell-external-command): Pass args to
13815 `eshell-find-interpreter'.
13816 (eshell-find-interpreter): Add new second parameter ARGS.
13818 * eshell/em-script.el (eshell-script-initialize): Add second arg
13819 to the function added as MATCH to `eshell-interpreter-alist'.
13821 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13822 the function added as MATCH to `eshell-interpreter-alist'.
13824 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13825 (eshell-visual-options): New defcustom.
13826 (eshell-escape-control-x): Adapt docstring.
13827 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13828 `eshell-visual-options' in addition to `eshell-visual-commands'.
13829 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13831 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13833 * progmodes/python.el (python-indent-block-enders): Add break,
13834 continue and raise keywords.
13836 2013-06-01 Glenn Morris <rgm@gnu.org>
13838 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13840 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13841 * progmodes/cc-cmds.el (delete-forward-p):
13842 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13843 * progmodes/cc-engine.el (buffer-syntactic-context):
13844 * progmodes/cc-fonts.el (face-property-instance):
13845 * progmodes/cc-mode.el (set-keymap-parents):
13846 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13847 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13848 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13849 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13850 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13852 * progmodes/cc-vars.el (other): Emacs has this widget since
13853 at least 21.1, so don't (re)define it.
13855 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13856 Replace the obsolete alias pcomplete-arg-quote-list.
13858 2013-06-01 Leo Liu <sdl.web@gmail.com>
13860 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13861 punctuation syntax.
13862 (inferior-octave-minimal-columns)
13863 (inferior-octave-last-column-width): New variables.
13864 (inferior-octave-track-window-width-change): New function.
13865 (inferior-octave-mode): Adjust column width so that Octave output,
13866 for example from 'ls', can fit into the window nicely.
13868 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13870 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13871 Highlight expansions inside regexp literals.
13873 2013-05-31 Glenn Morris <rgm@gnu.org>
13875 * obsolete/sym-comp.el (symbol-complete):
13876 Replace obsolete completion-annotate-function.
13878 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13880 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13882 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13883 New function, checks if point is inside a literal that allows
13884 expression expansion.
13885 (ruby-syntax-propertize-expansion): Use it.
13886 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13889 2013-05-30 Juri Linkov <juri@jurta.org>
13891 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13893 (isearch-invisible): New variable.
13894 (isearch-forward): Doc fix.
13895 (isearch-mode): Set `isearch-invisible'
13896 to the value of `search-invisible'.
13897 (isearch-toggle-case-fold): Doc fix.
13898 (isearch-toggle-invisible): New command.
13899 (isearch-query-replace): Let-bind `search-invisible'
13900 to the value of `isearch-invisible'.
13901 (isearch-search): Use `isearch-invisible' instead of
13902 `search-invisible'. Let-bind `search-invisible'
13903 to the value of `isearch-invisible'. (Bug#11378)
13905 2013-05-30 Juri Linkov <juri@jurta.org>
13907 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13908 call when `query-flag' is nil and `search-invisible' is non-nil.
13911 2013-05-30 Glenn Morris <rgm@gnu.org>
13913 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13915 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13916 (cc-require): Suppress spurious "noruntime" warnings.
13917 (cc-require-when-compile): Use fboundp, for sake of compiler.
13919 * progmodes/cc-mode.el: Move load of cc-vars before that of
13920 cc-langs (which in turn loads cc-vars), to quieten compiler.
13922 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13924 * paren.el: Simplify the code.
13925 (show-paren-mode): Always start the timer.
13926 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13927 (show-paren--overlay, show-paren--overlay-1): Rename from
13928 show-paren-overlay and show-paren-overlay-1, and initialize to an
13929 overlay rather than to nil.
13930 (show-paren-function): Misc cleanup and simplifications.
13932 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13934 * paren.el (show-paren-data-function): New hook.
13935 (show-paren--default): New function, extracted from show-paren-function.
13936 (show-paren-function): Use show-paren-data-function.
13938 2013-05-30 Glenn Morris <rgm@gnu.org>
13940 * ielm.el (ielm-map, ielm-complete-symbol):
13941 Use completion-at-point rather than obsolete functions.
13942 (inferior-emacs-lisp-mode): Doc fix.
13943 Set completion-at-point-functions, rather than
13944 comint-dynamic-complete-functions.
13946 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13947 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13948 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13950 * image.el (image-animated-p): Tweak definition.
13952 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13953 (rlogin-process-connection-type): Tweak default. Add set-after.
13954 (rlogin-host): Doc fix.
13955 (rlogin): Tweak prompt.
13956 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13958 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13959 * progmodes/tcl.el (inferior-tcl-mode-map):
13960 Use completion-at-point rather than obsolete alias.
13962 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13964 * minibuffer.el (read-file-name-completion-ignore-case):
13965 Move before completion--in-region, for eager macro expansion.
13967 2013-05-29 Juri Linkov <juri@jurta.org>
13969 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13970 for total count of matching lines. Add `global-matches' for total
13971 count of matches. Rename `matches' to `lines' for count of
13972 matching lines. Add `matches' for count of matches.
13973 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13974 to `prev-line' for line number of prev match endpt.
13975 Increment `matches' for every match. Print the number of
13976 matching lines in the header.
13977 (occur-context-lines): Rename `lines' to `curr-line'.
13978 Rename `prev-lines' to `prev-line'. (Bug#14017)
13980 2013-05-29 Juri Linkov <juri@jurta.org>
13982 * replace.el (perform-replace): Add `skip-read-only-count',
13983 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13984 Increment them for corresponding conditions and report the number
13985 of skipped occurrences in the final message. (Bug#11746)
13986 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13987 (replace-string, replace-regexp): Doc fix.
13989 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13991 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13993 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13994 prog-mode-map (bug#14504).
13996 2013-05-29 Leo Liu <sdl.web@gmail.com>
13998 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13999 (octave-help): Small simplification.
14001 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14002 off the highlight first.
14004 2013-05-29 Glenn Morris <rgm@gnu.org>
14006 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14007 Handle idlwave-last-system-routine-info-cons-cell being nil.
14009 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14010 (idlwave-write-paths): Simplify via with-temp-buffer.
14012 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14013 * emulation/cua-rect.el: Also load cua-base at run time.
14015 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14016 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14017 (cperl-imenu-on-info): Require imenu.
14019 2013-05-28 Alan Mackenzie <acm@muc.de>
14021 Handle "capitalised keywords" correctly.
14022 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14024 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14026 * eshell/em-unix.el: Add -r option to cp.
14028 2013-05-28 Glenn Morris <rgm@gnu.org>
14030 * vc/vc-arch.el (vc-exec-after): Declare.
14031 (vc-switches): Autoload.
14032 * vc/vc-bzr.el: No need to require vc when compiling.
14033 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14034 (vc-resynch-buffer, vc-dir-refresh): Declare.
14035 (vc-setup-buffer, vc-switches): Autoload.
14036 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14037 (vc-resynch-buffer): Declare.
14038 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14039 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14040 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14041 (grep-read-regexp, grep-read-files, grep-expand-template)
14042 (vc-dir-refresh): Declare.
14043 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14044 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14045 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14046 * vc/vc-mtn.el (vc-exec-after): Declare.
14047 (vc-switches): Autoload.
14048 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14049 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14050 (vc-file-tree-walk): Declare.
14051 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14052 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14053 (vc-tag-precondition, vc-rename-master): Autoload.
14054 * vc/vc-svn.el (vc-exec-after): Declare.
14055 (vc-switches, vc-setup-buffer): Autoload.
14056 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14058 (vc-resynch-buffer): Declare.
14060 * obsolete/fast-lock.el (byte-compile-warnings):
14061 Don't warn about obsolete features in this obsolete file.
14063 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14064 Move definition before use.
14066 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14067 (dun-unix-verbs): Remove dun-zippy.
14068 (dun-zippy): Remove function.
14070 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14072 2013-05-27 Juri Linkov <juri@jurta.org>
14074 * replace.el (replace-search): New function with code moved out
14075 from `perform-replace'.
14076 (replace-highlight, replace-dehighlight): Move function definitions
14077 up closer to `replace-search'. (Bug#11746)
14079 2013-05-27 Juri Linkov <juri@jurta.org>
14081 * replace.el (perform-replace): Ignore invisible matches.
14082 In addition to checking `query-replace-skip-read-only', also
14083 filter out matches by calling `run-hook-with-args-until-failure'
14084 on `isearch-filter-predicates', and also check `search-invisible'
14085 for t or call `isearch-range-invisible'.
14086 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14088 2013-05-27 Juri Linkov <juri@jurta.org>
14090 * isearch.el (isearch-filter-predicates): Rename from
14091 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14092 (isearch-message-prefix): Display text from the property
14093 `isearch-message-prefix' of the currently active filters.
14094 (isearch-search): Don't compare `isearch-filter-predicate' with
14095 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14096 on `isearch-filter-predicates'. Also check `search-invisible' for t
14097 or call `isearch-range-invisible'.
14098 (isearch-filter-visible): Make obsolete.
14099 (isearch-lazy-highlight-search):
14100 Call `run-hook-with-args-until-failure' on
14101 `isearch-filter-predicates' and use `isearch-range-invisible'.
14103 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14104 `isearch-filter-predicates' instead of `funcall'ing
14105 `isearch-filter-predicate'.
14106 (Info-mode): Set `Info-isearch-filter' to
14107 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14109 * dired-aux.el (dired-isearch-filter-predicate-orig):
14111 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14112 (dired-isearch-filenames-end): Add and remove
14113 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14114 instead of changing the value of `isearch-filter-predicate'.
14115 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14116 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14117 Put property `isearch-message-prefix' to "filename " on
14118 `dired-isearch-filter-filenames'.
14120 * wdired.el (wdired-change-to-wdired-mode):
14121 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14122 locally instead of changing `isearch-filter-predicate'.
14123 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14125 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14127 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14128 return the commit hash (Bug#14459). Also set the
14129 `vc-git-detached' property.
14130 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14131 (vc-git-mode-line-string): Use the same help-echo format whether
14132 in detached mode or not, because we know the actual revision now.
14133 When in detached mode, shorten the revision to 7 chars.
14135 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14137 * emacs-lisp/easy-mmode.el (define-minor-mode):
14138 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14139 mode hook and provide a docstring.
14141 2013-05-27 Alan Mackenzie <acm@muc.de>
14143 Remove spurious syntax-table text properties inserted by C-y.
14144 * progmodes/cc-mode.el (c-after-change): Also clear hard
14145 syntax-table property with value nil.
14147 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14149 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14150 when reading the events; the buffer layout shall not be changed.
14152 2013-05-27 Leo Liu <sdl.web@gmail.com>
14154 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14156 (inferior-octave-directory-tracker): Automatically re-sync
14158 (octave-help): Improve handling of 'See also'.
14160 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14162 * doc-view.el: Minor naming convention tweaks.
14163 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14165 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14166 even if there's no `display' property yet (bug#14435).
14168 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14170 * subr.el (unmsys--file-name): Rename from reveal-filename.
14172 * Makefile.in (custom-deps, finder-data, autoloads)
14173 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14174 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14175 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14177 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14179 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14180 error-completion on the first 2 args of condition-case (bug#14446).
14183 2013-05-25 Leo Liu <sdl.web@gmail.com>
14185 * comint.el (comint-previous-matching-input): Do not flood the
14186 *Messages* buffer with trivial messages.
14188 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14190 * progmodes/flymake.el (flymake-nop): Don't return a string.
14191 (flymake-set-at): Fix typo.
14193 * simple.el (read--expression): New function, extracted from
14194 eval-expression. Set completion-at-point-functions (bug#14465).
14195 (eval-expression, eval-minibuffer): Use it.
14197 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14199 * progmodes/flymake.el (flymake-save-buffer-in-file)
14200 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14201 (flymake-selected-frame, flymake-log, flymake-ins-after)
14202 (flymake-set-at, flymake-get-buildfile-from-cache)
14203 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14204 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14205 Refine the doc string.
14206 (flymake-get-file-name-mode-and-masks): Reformat.
14207 (flymake-get-real-file-name-function): Fix a minor bug.
14209 2013-05-24 Juri Linkov <juri@jurta.org>
14211 * progmodes/grep.el (grep-mode-font-lock-keywords):
14212 Support =linenumber= format used by git-grep for lines with
14213 function names. (Bug#13549)
14215 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14217 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14218 0 after a semi-colon; it works better for smie-auto-fill.
14219 (octave--indent-new-comment-line): New function.
14220 (octave-indent-new-comment-line): Use it (indirectly).
14221 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14222 modify comment-line-break-function.
14224 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14225 (smie-setup): Use add-function to set it.
14227 2013-05-24 Sam Steingold <sds@gnu.org>
14229 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14230 argument (before the `interactive' argument).
14232 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14234 * image-mode.el (image-mode-winprops): Add winprops to
14235 image-mode-winprops-alist before running
14236 image-mode-new-window-functions.
14237 * doc-view.el (doc-view-new-window-function): Don't delay
14238 doc-view-goto-page via timers (bug#14435).
14240 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14242 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14243 (doc-view-desktop-save-buffer): New function.
14244 (doc-view-restore-desktop-buffer): New function.
14245 (desktop-buffer-mode-handlers):
14246 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14248 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14249 `desktop-save-buffer' function.
14251 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14253 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14254 (tramp-gvfs-file-name-handler): Raise a user error when
14255 `tramp-gvfs-enabled' is nil.
14256 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14257 Do not raise a user error when loading package. (Bug#14447)
14259 * net/xesam.el: Move to obsolete/.
14261 2013-05-24 Glenn Morris <rgm@gnu.org>
14263 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14265 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14267 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14268 (Info-find-node, Man-getpage-in-background): Declare.
14270 * mail/unrmail.el (unrmail):
14271 Replace obsolete detect-coding-with-priority.
14273 * net/socks.el (socks-split-string): Use this rather than split-string.
14274 (socks-nslookup-host): Update for above change.
14275 (dynamic-choice, s5-dynamic-choice-match)
14276 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14277 Comment out unused code.
14279 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14280 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14281 (gud-tooltip-echo-area): Make obsolete.
14282 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14284 * progmodes/js.el (js--optimize-arglist): Declare.
14286 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14288 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14289 (ediff-window-C): Declare.
14291 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14292 Tweak requires to silence compiler.
14294 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14295 (he-search-string, he-tried-table, he-expand-list)
14296 (he-init-string, he-string-member, he-substitute-string)
14297 (he-reset-string): Declare.
14299 * obsolete/options.el (list-options): Use custom-variable-p,
14300 rather than obsolete alias.
14302 2013-05-23 Sam Steingold <sds@gnu.org>
14304 * simple.el (shell-command-on-region): Pass the `replace' argument
14305 down to `call-process-region' to comply with the doc as reported on
14306 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14308 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14310 * emacs-lisp/smie.el (smie-indent-forward-token)
14311 (smie-indent-backward-token): Handle string tokens (bug#14381).
14313 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14315 * ielm.el (ielm-menu): New menu.
14316 (inferior-emacs-lisp-mode): Set comment-start.
14318 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14320 * textmodes/reftex.el (reftex-ref-style-toggle):
14321 Fix deactivate action.
14323 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14324 Add cleveref macros.
14326 * textmodes/reftex-parse.el
14327 (reftex-locate-bibliography-files): Accept options for
14328 bibliography commands.
14329 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14330 Add addbibresource. Basic Biblatex support.
14332 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14334 * net/tramp-gvfs.el (top):
14335 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14336 when loading package. (Bug#14447)
14338 2013-05-23 Glenn Morris <rgm@gnu.org>
14340 * progmodes/js.el: No need to load comint when compiling.
14341 (ring-insert, comint-send-string, comint-send-input)
14342 (comint-last-input-end, ido-chop): Declare.
14344 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14345 * vc/ediff-mult.el: Adjust requires.
14346 (ediff-directories-internal, ediff-directory-revisions-internal)
14347 (ediff-patch-file-internal): Declare.
14348 * vc/ediff-ptch.el: Adjust requires.
14349 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14350 (ediff-find-file): Autoload.
14351 * vc/ediff-util.el: No need to load ediff when compiling.
14352 (ediff-regions-internal): Declare.
14353 * vc/ediff-wind.el: Adjust requires.
14354 (ediff-compute-toolbar-width): Define when compiling.
14355 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14356 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14357 (dired-get-filename, dired-get-marked-files)
14358 (ediff-last-dir-patch, ediff-patch-default-directory)
14359 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14360 (ediff-patch-buffer-internal): Declare.
14362 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14363 (ispell-process, ispell-buffer-local-words, lm-summary)
14364 (lm-section-start, lm-section-end): Declare.
14365 (checkdoc-ispell-init): Simplify.
14367 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14368 (he-string-member, he-reset-string, he-substitute-string): Declare.
14370 * eshell/em-ls.el: Adjust requires.
14371 (eshell-glob-regexp): Declare.
14372 * eshell/em-tramp.el: Adjust requires.
14373 (eshell-parse-command): Autoload.
14374 * eshell/em-xtra.el: Adjust requires.
14375 (eshell-parse-command): Autoload.
14376 * eshell/esh-ext.el: Adjust requires.
14377 (eshell-parse-command, eshell-close-handles): Autoload.
14378 * eshell/esh-io.el: Adjust requires.
14379 (eshell-output-filter): Autoload.
14380 * eshell/esh-util.el: No need to load tramp when compiling.
14381 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14383 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14384 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14385 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14386 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14387 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14388 * eshell/esh-opt.el, eshell/esh-proc.el:
14389 * eshell/esh-var.el: Adjust requires.
14390 * eshell/eshell.el: Do not require esh-util twice.
14391 (eshell-add-input-to-history): Declare.
14392 (eshell-command): Check history module is active before using it.
14394 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14396 2013-05-22 Leo Liu <sdl.web@gmail.com>
14398 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14400 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14402 * autorevert.el (auto-revert-notify-add-watch)
14403 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14404 it indicates changes in file modification time.
14406 2013-05-22 Glenn Morris <rgm@gnu.org>
14408 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14409 Always delete the autoloaded function from the noruntime and
14410 unresolved functions lists.
14412 * allout.el: No need to load epa, epg, overlay when compiling.
14413 (epg-context-set-passphrase-callback, epg-list-keys)
14414 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14415 (epg-key-user-id-list): Declare.
14417 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14418 (viper-set-parsing-style-toggling-macro)
14419 (viper-set-emacs-state-searchstyle-macros):
14420 Use called-interactively-p on Emacs.
14421 (viper-looking-back): Make it an obsolete alias. Update callers.
14422 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14423 Use looking-back rather than viper-looking-back.
14424 (viper-tmp-insert-at-eob, viper-enlarge-region)
14425 (viper-read-string-with-history, viper-register-to-point)
14426 (viper-append-to-register, viper-change-state-to-vi)
14427 (viper-backward-char-carefully, viper-forward-char-carefully)
14428 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14429 (viper-change-state-to-emacs): Declare.
14430 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14431 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14432 * emulation/viper-mous.el: Do not load viper-cmd.
14433 (viper-backward-char-carefully, viper-forward-char-carefully)
14434 (viper-forward-word, viper-adjust-window): Declare.
14436 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14438 * progmodes/idlw-help.el (idlwave-help-fontify):
14439 Use called-interactively-p.
14441 * term/w32console.el (w32-get-console-codepage)
14442 (w32-get-console-output-codepage): Declare.
14444 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14445 Remove unnecessary declarations.
14446 (dframe-message): Doc fix.
14448 * info.el (dframe-select-attached-frame, dframe-current-frame):
14451 * speedbar.el (speedbar-message): Make it an obsolete alias.
14452 Update all callers.
14453 (speedbar-with-attached-buffer)
14454 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14455 (speedbar-with-writable): Use backquote.
14456 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14457 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14458 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14459 rather than speedbar- aliases.
14460 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14461 (speedbar-make-specialized-keymap, speedbar-insert-button)
14462 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14463 (speedbar-do-function-pointer): Declare.
14464 (rmail-speedbar-button, rmail-speedbar-find-file)
14465 (rmail-speedbar-move-message):
14466 Use dframe-with-attached-buffer rather than speedbar- alias.
14467 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14468 (dframe-message, speedbar-make-specialized-keymap)
14469 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14470 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14471 (speedbar-insert-button, dframe-select-attached-frame)
14472 (dframe-maybee-jump-to-attached-frame)
14473 (speedbar-change-initial-expansion-list)
14474 (speedbar-previously-used-expansion-list-name): Declare.
14475 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14476 Use dframe-message, dframe-with-attached-buffer rather than
14478 (gud-sentinel): Silence compiler.
14479 * progmodes/vhdl-mode.el (speedbar-refresh)
14480 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14481 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14482 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14483 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14484 (speedbar-file-lists, speedbar-make-tag-line)
14485 (speedbar-line-directory, speedbar-goto-this-file)
14486 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14487 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14488 (speedbar-make-button, speedbar-reset-scanners)
14489 (speedbar-files-item-info, speedbar-line-text)
14490 (speedbar-find-file-in-frame, speedbar-set-timer)
14491 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14492 (speedbar-with-writable): Do not (re)define it.
14493 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14494 rather than speedbar- alias.
14496 2013-05-21 Leo Liu <sdl.web@gmail.com>
14498 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14500 (octave-mode): Tweak fill-nobreak-predicate.
14501 (inferior-octave-startup): Check process to avoid infinite loop.
14502 (inferior-octave): Pop to buffer first to show abornmal process
14505 2013-05-21 Glenn Morris <rgm@gnu.org>
14507 * printing.el (pr-menu-bar): Define when compiling.
14509 2013-05-21 Leo Liu <sdl.web@gmail.com>
14511 * progmodes/octave.el (octave-auto-fill): Remove.
14512 (octave-indent-new-comment-line): Improve.
14513 (octave-mode): Use auto fill mode through
14514 comment-line-break-function and fill-nobreak-predicate.
14515 (octave-goto-function-definition): Support DEFUN_DLD.
14516 (octave-beginning-of-defun): Small tweak.
14517 (octave-help): Show parent directory.
14519 2013-05-21 Glenn Morris <rgm@gnu.org>
14521 * files.el (dired-unmark):
14522 * progmodes/gud.el (gdb-input): Update declarations.
14524 * calculator.el (electric, ehelp): No need to load when compiling.
14525 (Electric-command-loop, electric-describe-mode): Declare.
14527 * doc-view.el (doc-view-current-converter-processes): Move before use.
14529 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14530 Move MODE-set-explicitly definition before use.
14532 * international/mule-diag.el (mule-diag):
14533 Don't use obsolete window-system-version.
14535 * mail/feedmail.el (smtpmail): No need to load when compiling.
14536 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14538 * mail/mail-utils.el (rfc822): No need to load when compiling.
14539 (rfc822-addresses): Autoload it.
14540 (mail-strip-quoted-names): Trivial simplification.
14542 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14543 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14545 * net/snmp-mode.el (tempo): Don't duplicate requires.
14547 * progmodes/prolog.el (info): No need to load when compiling.
14548 (comint): Require before shell requires it.
14549 (Info-goto-node): Autoload it.
14550 (Info-follow-nearest-node): Declare.
14551 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14553 * textmodes/artist.el (picture-mode-exit): Declare.
14555 * textmodes/reftex-parse.el (reftex-parse-from-file):
14556 Trivial rewrite so the compiler can parse it better.
14558 2013-05-20 Leo Liu <sdl.web@gmail.com>
14560 * progmodes/octave.el (octave-help-mode-map)
14561 (octave-help-mode-finish-hook): New variables.
14562 (octave-help-mode, octave-help-mode-finish): New functions.
14563 (octave-help): Use octave-help-mode.
14565 2013-05-20 Glenn Morris <rgm@gnu.org>
14567 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14569 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14571 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14572 start at point, so that expansion starting right after opening
14573 slash in a regexp is recognized.
14574 (ruby-syntax-before-regexp-re): New defvar, extracted from
14575 ruby-syntax-propertize-function. Since the value of this regexp
14576 is looked up at runtime now, we should be able to turn
14577 `ruby-syntax-methods-before-regexp' into a defcustom later.
14578 (ruby-syntax-propertize-function): Split regexp matching into two
14579 parts, for opening and closing slashes. That allows us to skip
14580 over string interpolations and support multiline regexps.
14581 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14582 for them, which calls `ruby-syntax-propertize-expansion'.
14583 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14584 call to `ruby-syntax-propertize-function'.
14585 (ruby-syntax-propertize-expansion): Extracted from
14586 `ruby-syntax-propertize-expansions'. Handles one expansion.
14587 (ruby-syntax-propertize-percent-literal): Leave point right after
14588 the percent symbol, so that the expression expansion rule can
14589 propertize the contents.
14590 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14592 (ruby-syntax-propertize-expansions): Remove.
14594 2013-05-18 Juri Linkov <juri@jurta.org>
14596 * man.el (Man-default-man-entry): Remove `-' from the end
14597 of the default value. (Bug#14400)
14599 2013-05-18 Glenn Morris <rgm@gnu.org>
14601 * comint.el (comint-password-prompt-regexp):
14602 Allow "password for XXX" where XXX contains colons (eg https://...).
14604 2013-05-18 Leo Liu <sdl.web@gmail.com>
14606 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14607 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14608 (octave-source-directories): Don't check process.
14609 (octave-source-directories, octave-find-definition): Doc fix.
14611 2013-05-18 Glenn Morris <rgm@gnu.org>
14613 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14614 Remove backspace/delete bindings. (Bug#14392)
14616 * cus-dep.el (custom-make-dependencies): Sort the output.
14617 (custom-versions-load-alist): Convert comment to doc.
14619 2013-05-17 Leo Liu <sdl.web@gmail.com>
14621 * newcomment.el (comment-search-backward): Stricter in finding
14622 comment start. (Bug#14303)
14624 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14625 (octave-comment-start-skip): Properly anchored.
14627 2013-05-17 Leo Liu <sdl.web@gmail.com>
14629 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14630 Clean up when turned off. (Bug#14395)
14631 (smie--highlight-matching-block-overlay): No longer buffer-local.
14632 (smie-highlight-matching-block): Adjust.
14634 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14636 Doc string fix for "nanoseconds" (Bug#14406).
14637 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14638 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14640 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14642 * calc/calc-units.el (math-extract-units): Preserve powers
14645 2013-05-17 Leo Liu <sdl.web@gmail.com>
14647 * subr.el (delete-consecutive-dups): New function.
14648 * ido.el (ido-set-matches-1): Use it.
14649 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14650 * ido.el (ido-remove-consecutive-dups): Remove.
14652 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14654 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14655 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14656 regexp-opt's `words'.
14658 2013-05-16 Leo Liu <sdl.web@gmail.com>
14660 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14661 (smie--highlight-matching-block-overlay)
14662 (smie--highlight-matching-block-lastpos)
14663 (smie--highlight-matching-block-timer): New variables.
14664 (smie-highlight-matching-block): New function.
14665 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14666 (smie-setup): Conditionally enable smie-blink-matching-open.
14668 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14670 Sync with upstream verilog-mode r840.
14671 * progmodes/verilog-mode.el (verilog-mode-version)
14672 (verilog-mode-release-date): Update.
14673 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14674 (verilog-sig-tieoff): Fix string error on
14675 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14676 (verilog-read-decls): Fix parameters confusing
14677 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14679 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14681 * subr.el (reveal-filename): New function.
14683 * loadup.el: Compute Emacs executable versions on MS-Windows,
14684 where executables have the .exe extension. Add a hard link
14685 emacs-XX.YY.ZZ.exe on MS-Windows.
14687 * Makefile.in (XARGS_LIMIT): New variable.
14688 (custom-deps, finder-data, autoloads)
14689 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14690 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14691 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14692 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14694 2013-05-16 Leo Liu <sdl.web@gmail.com>
14696 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14697 (octave-mode-menu, octave-mode-map): Remove its uses.
14699 2013-05-16 Reto Zimmermann <reto@gnu.org>
14701 Sync with upstream vhdl mode v3.34.2.
14702 * progmodes/vhdl-mode.el: Use `push' throughout.
14703 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14704 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14705 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14706 (vhdl-actual-generic-name): New option to derive actual generic name.
14707 (vhdl-port-paste-signals): Replace formal by actual generics.
14708 (vhdl-beautify): New name for old group vhdl-align. Update users.
14709 (vhdl-beautify-options): New option.
14710 (vhdl-last-input-event): New compat alias. Use throughout.
14711 (vhdl-goto-line): Replace user level function `goto-line'.
14712 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14713 vhdl-fix-statement-buffer.
14714 (vhdl-create-mode-menu): Add some entries.
14715 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14716 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14717 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14718 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14719 to force statements on one line.
14720 (vhdl-remove-trailing-spaces-region):
14721 New, split from vhdl-remove-trailing-spaces.
14722 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14723 Respect vhdl-beautify-options.
14724 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14725 (vhdl-update-sensitivity-list): Not add with index if exists without.
14726 Not include array index with signal. Ignore keywords in comments.
14727 (vhdl-get-visible-signals): Regexp tweaks.
14728 (vhdl-template-component-inst): Handle empty library.
14729 (vhdl-template-type): Add template for 'enum' type.
14730 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14731 Use vhdl-replace-string.
14732 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14733 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14734 (vhdl-speedbar-initialize): Update for above name change.
14735 (vhdl-compose-wire-components): Fix in handling of constants.
14736 (vhdl-error-regexp-emacs-alist): New variable.
14737 (vhdl-error-regexp-add-emacs): New function;
14738 adds support for new compile.el (Emacs 22+)
14739 (vhdl-generate-makefile-1): Change target order for single lib. units.
14740 Allow use of absolute file names.
14742 2013-05-16 Leo Liu <sdl.web@gmail.com>
14744 * simple.el (prog-indent-sexp): Indent enclosing defun.
14746 2013-05-15 Glenn Morris <rgm@gnu.org>
14748 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14749 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14750 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14751 (whitespace-highlight): Move to whitespace group.
14753 * comint.el (comint-source):
14754 * pcmpl-linux.el (pcmpl-linux):
14755 * shell.el (shell-faces):
14756 * eshell/esh-opt.el (eshell-opt):
14757 * international/ccl.el (ccl): Remove empty custom groups.
14759 * completion.el (dynamic-completion-mode):
14760 * jit-lock.el (jit-lock-debug-mode):
14761 * minibuffer.el (completion-in-region-mode):
14762 * type-break.el (type-break-mode-line-message-mode)
14763 (type-break-query-mode):
14764 * emulation/tpu-edt.el (tpu-edt-mode):
14765 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14766 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14767 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14769 * term/xterm.el (xterm): Change parent group to terminals.
14771 * master.el (master): Remove empty custom group.
14772 (master-mode): Remove unused :group argument.
14773 * textmodes/refill.el (refill): Remove empty custom group.
14774 (refill-mode): Remove unused :group argument.
14776 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14778 * cus-dep.el: Provide a feature.
14779 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14780 Don't mistakenly ignore files whose basenames match a basename
14781 from preloaded-file-list (eg cedet/ede/simple.el).
14782 Add a fallback method for getting :group.
14784 2013-05-15 Juri Linkov <juri@jurta.org>
14786 * isearch.el (isearch-char-by-name): Rename from
14787 `isearch-insert-char-by-name'. Doc fix.
14788 (isearch-forward): Mention `isearch-char-by-name' in
14789 the docstring. (Bug#13348)
14791 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14792 `exit-minibuffer' instead of
14793 `isearch-nonincremental-exit-minibuffer'.
14794 (isearch-edit-string): Remove mention of
14795 `isearch-nonincremental-exit-minibuffer' from docstring.
14796 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14797 (isearch-forward-exit-minibuffer)
14798 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14800 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14802 * loadup.el: Just use unversioned DOC.
14804 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14805 literals as extending to EOB.
14806 (nxml-last-fontify-end): Remove unused variable.
14807 (nxml-after-change1): Use with-silent-modifications.
14808 (nxml-extend-after-change-region): Simplify.
14809 (nxml-extend-after-change-region1): Remove function.
14810 (nxml-after-change1): Don't adjust for dependent regions.
14811 (nxml-fontify-matcher): Simplify.
14812 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14813 (xmltok-add-dependent): Remove function.
14814 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14815 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14816 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14817 unclosed <[[, <?, comment, and other literals as extending to EOB.
14818 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14819 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14821 (rng-do-some-validation-1): Don't mark dependent regions.
14822 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14823 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14824 (nxml-clear-dependent-regions): Remove functions.
14825 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14826 (nxml-ensure-scan-up-to-date):
14827 Don't clear&mark dependent regions.
14829 2013-05-15 Leo Liu <sdl.web@gmail.com>
14831 * progmodes/octave.el (octave-goto-function-definition):
14832 Improve and fix callers.
14834 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14836 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14837 the setter (bug#14387).
14839 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14840 surrounding group (bug#14402).
14842 2013-05-14 Juri Linkov <juri@jurta.org>
14844 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14847 2013-05-14 Glenn Morris <rgm@gnu.org>
14849 * progmodes/f90.el (f90-imenu-generic-expression):
14850 Fix typo in 2013-05-08 change. (Bug#14402)
14852 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14854 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14855 Remove signals for which replies are never received.
14857 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14859 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14860 (gdb-handler-alist, gdb-handler-number): Remove variables.
14861 (gdb-handler-list): New variable.
14862 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14863 (gdb-pending-handler-p, gdb-handle-reply)
14864 (gdb-remove-all-pending-triggers): New functions.
14865 (gdb-discard-unordered-replies): New defcustom.
14866 (gdb-handler): New defstruct.
14867 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14868 instead of gdb-pending-triggers. Update docstring.
14869 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14870 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14871 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14872 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14873 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14874 (gdb-frame-handler): Pending triggers are now automatically managed.
14875 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14877 (gdb-input): Automatically handles pending triggers. Update docstring.
14878 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14879 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14881 (gdb-done-or-error): Now use gdb-handle-reply.
14883 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14885 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14888 2013-05-14 Glenn Morris <rgm@gnu.org>
14890 * subr.el (user-emacs-directory-warning): New option.
14891 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14893 2013-05-14 Leo Liu <sdl.web@gmail.com>
14895 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14897 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14898 (octave-font-lock-texinfo-comment): Fix invalid search bound
14899 error: wrong side of point.
14901 2013-05-14 Glenn Morris <rgm@gnu.org>
14903 * progmodes/flymake.el (flymake-xml-program): New option.
14904 (flymake-xml-init): Use it.
14906 * term/xterm.el: Provide a feature.
14908 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14910 2013-05-13 Glenn Morris <rgm@gnu.org>
14912 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14913 Add compat aliases as a hack workaround. (Bug#14384)
14915 2013-05-13 Leo Liu <sdl.web@gmail.com>
14917 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14919 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14921 (octave-comment-start-skip): Include %!.
14922 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14924 2013-05-12 Leo Liu <sdl.web@gmail.com>
14926 * progmodes/octave.el (inferior-octave-startup): Store the value
14927 of __octave_srcdir__ for octave-source-directories.
14928 (inferior-octave-check-process): New function refactored out of
14929 inferior-octave-send-list-and-digest.
14930 (octave-source-directories)
14931 (octave-find-definition-filename-function): New variables.
14932 (octave-source-directories)
14933 (octave-find-definition-default-filename): New functions.
14934 (octave-find-definition): Improve to find functions implemented in C++.
14936 2013-05-12 Glenn Morris <rgm@gnu.org>
14938 * calendar/diary-lib.el (diary-outlook-format-1):
14939 Don't include dayname in the output. (Bug#14349)
14941 2013-05-11 Glenn Morris <rgm@gnu.org>
14943 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14945 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14946 Treat cc-provide like provide.
14948 2013-05-11 Kevin Ryde <user42@zip.com.au>
14950 * cus-dep.el (custom-make-dependencies):
14951 Use generated-autoload-load-name for the sake of files such
14952 such cedet/semantic/bovine/c.el, where the base file name
14953 is not in load-path. (Bug#5277)
14955 2013-05-11 Glenn Morris <rgm@gnu.org>
14957 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14960 2013-05-11 Leo Liu <sdl.web@gmail.com>
14962 * progmodes/octave.el (octave-indent-comment): Improve.
14963 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14964 (octave-eldoc-function-signatures, octave-eldoc-function):
14966 (octave-mode, inferior-octave-mode): Add eldoc support.
14968 2013-05-11 Richard Stallman <rms@gnu.org>
14970 * epa.el (epa-decrypt-file): Take output file name as argument
14971 and read it using `interactive'.
14973 2013-05-11 Leo Liu <sdl.web@gmail.com>
14975 * progmodes/octave.el (octave-beginning-of-line)
14976 (octave-end-of-line): Check before using up-list because it jumps
14977 out of more syntactic contructs since moving to smie.
14978 (octave-indent-comment): New function.
14979 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14980 (octave-begin-keywords, octave-end-keywords)
14981 (octave-reserved-words, octave-smie-bnf-table)
14982 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14984 2013-05-11 Glenn Morris <rgm@gnu.org>
14986 * faces.el (internal-face-x-get-resource):
14987 * frame.el (ns-display-monitor-attributes-list):
14988 * calc/calc-aent.el (math-to-radians-2):
14989 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14992 * calc/calc-menu.el: Make it loadable in isolation.
14994 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14995 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14996 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14997 (eudc-bbdb-query-internal): Require 'bbdb.
14999 * lpr.el (lpr-headers-switches):
15000 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15002 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15004 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15006 * term.el (term-set-escape-char): Make it idempotent.
15008 2013-05-10 Leo Liu <sdl.web@gmail.com>
15010 * progmodes/octave.el (inferior-octave-completion-table):
15011 No longer a function and all uses changed. Use cache to speed up
15012 completion due to bug#11906.
15013 (octave-beginning-of-defun): Re-write to be more general.
15015 2013-05-10 Glenn Morris <rgm@gnu.org>
15017 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15019 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15021 * comint.el (comint-redirect-send-command-to-process): Use :around
15022 rather than :override for comint-redirect-filter.
15023 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15024 Call it instead of comint-redirect-original-filter-function (which
15025 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15027 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15029 * frame.el (display-monitor-attributes-list): Add NS case.
15030 (ns-display-monitor-attributes-list): Declare.
15032 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15034 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15036 2013-05-09 Glenn Morris <rgm@gnu.org>
15038 * international/fontset.el (vertical-centering-font-regexp):
15039 Set standard-value.
15041 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15043 * bookmark.el (bookmark-search-delay):
15044 * cus-start.el (vertical-centering-font-regexp):
15045 * ps-mule.el (ps-mule-font-info-database-default):
15046 * ps-print.el (ps-default-fg, ps-default-bg):
15047 * type-break.el (type-break-good-break-interval):
15048 * whitespace.el (whitespace-indentation-regexp)
15049 (whitespace-space-after-tab-regexp):
15050 * emacs-lisp/testcover.el (testcover-1value-functions)
15051 (testcover-noreturn-functions, testcover-progn-functions)
15052 (testcover-prog1-functions):
15053 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15054 * eshell/em-glob.el (eshell-glob-translate-alist):
15055 * play/tetris.el (tetris-tty-colors):
15056 * progmodes/cpp.el (cpp-face-default-list):
15057 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15058 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15059 (idlwave-help-browser-generic-args):
15060 * progmodes/make-mode.el (makefile-special-targets-list):
15061 * progmodes/python.el (python-shell-virtualenv-path):
15062 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15063 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15064 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15065 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15066 * textmodes/reftex-vars.el (reftex-format-label-function):
15067 * textmodes/remember.el (remember-diary-file): Fix custom types.
15069 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15072 2013-05-09 Leo Liu <sdl.web@gmail.com>
15074 * progmodes/octave.el (inferior-octave-completion-at-point):
15075 Restore file completion. (Bug#14300)
15076 (inferior-octave-startup): Fix incorrect highlighting for the
15079 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15081 * progmodes/ruby-mode.el: First cut at SMIE support.
15082 (ruby-use-smie): New var.
15083 (ruby-smie-grammar): New constant.
15084 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15085 (ruby-smie--forward-token, ruby-smie--backward-token)
15086 (ruby-smie-rules): New functions.
15087 (ruby-mode-variables): Setup SMIE if applicable.
15089 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15091 * simple.el (line-move-visual): Signal beginning/end of buffer
15092 only if vertical-motion moved less than it was requested. Avoids
15093 silly incorrect error messages when there are display strings with
15094 multiple newlines at EOL.
15096 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15098 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15099 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15100 (prolog-char-quote-workaround):
15101 * progmodes/cperl-mode.el (cperl-under-as-char):
15102 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15104 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15106 (vhdl-mode-syntax-table-init): Remove.
15108 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15111 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15113 (ld-script-font-lock-keywords):
15114 Change regexps to use things like \_< and \_>.
15116 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15117 Change all regexps to use things like \_< and \_>.
15119 * progmodes/autoconf.el (autoconf-definition-regexp)
15120 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15121 Handle a _ with symbol syntax.
15122 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15124 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15125 Consolidate declaration.
15126 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15128 (ada-create-syntax-table): Remove.
15129 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15130 already has the right syntax nowadays.
15131 (ada-goto-next-word): Don't change the syntax of "_".
15133 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15136 2013-05-08 Sam Steingold <sds@gnu.org>
15138 * thingatpt.el (thing-at-point): Accept optional second argument
15139 NO-PROPERTIES to strip the text properties from the return value.
15140 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15141 to `thing-at-point' instead of stripping the properties ourselves.
15142 Also, when `thing-at-point' fails to find a url, prepend "http://"
15143 to the filename at point on the assumption that the user is
15144 pointing at something like gnu.org/gnu.
15146 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15148 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15149 * faces.el (crm-separator):
15150 Silence byte-compiler.
15152 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15153 (tool-bar-map): Remove unneeded defvars.
15155 2013-05-08 Leo Liu <sdl.web@gmail.com>
15157 Re-work a fix for bug#10994 based on Le Wang's patch.
15158 * ido.el (ido-remove-consecutive-dups): New helper.
15159 (ido-completing-read): Use it.
15160 (ido-chop): Revert fix for bug#10994.
15162 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15164 * cus-edit.el (custom-save-variables):
15165 Pretty-print long values. (Bug#14187)
15167 2013-05-08 Glenn Morris <rgm@gnu.org>
15169 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15170 (m4-mode-syntax-table): Init in the defvar.
15171 (m4-mode-abbrev-table): Let define-derived-mode define it.
15173 2013-05-08 Tom Tromey <tromey@redhat.com>
15175 * progmodes/m4-mode.el (m4-mode-syntax-table):
15176 Do not treat "_" as word constituent. (Bug#14167)
15178 2013-05-07 Glenn Morris <rgm@gnu.org>
15180 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15181 Remove explicit eshell-isearch-cancel-map.
15183 * progmodes/f90.el (f90-smart-end-names): New option.
15184 (f90-smart-end): Doc fix.
15185 (f90-end-block-optional-name): New constant.
15186 (f90-block-match): Respect f90-smart-end-names.
15188 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15190 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15191 about implicit semi-colons (bug#14218).
15193 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15195 * frame.el (display-monitor-attributes-list)
15196 (frame-monitor-attributes): New functions.
15198 2013-05-06 Leo Liu <sdl.web@gmail.com>
15200 * progmodes/octave.el (octave-syntax-propertize-function): Change
15201 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15202 (octave-font-lock-keywords): Use octave-operator-regexp.
15203 (octave-completion-at-point): Rename from
15204 octave-completion-at-point-function.
15205 (inferior-octave-directory-tracker): Robustify.
15206 (octave-text-functions): Remove and fix its uses. No such things
15209 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15211 * emacs-lisp/trace.el (trace--display-buffer): New function.
15212 (trace-make-advice): Use it.
15214 2013-05-06 Juri Linkov <juri@jurta.org>
15216 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15217 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15219 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15220 in the help string. (Bug#12985)
15222 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15224 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15226 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15228 * progmodes/perl-mode.el: Add support for here documents.
15229 (perl-syntax-propertize-function): Match here-doc markers.
15230 (perl-syntax-propertize-special-constructs): Find their end.
15231 (perl-imenu-generic-expression): Use [:alnum:].
15233 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15234 (advice--add-function): Refresh the advice if already present
15237 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15239 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15241 2013-05-06 Glenn Morris <rgm@gnu.org>
15243 * w32-fns.el (w32-charset-info-alist): Declare.
15245 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15246 of its defcustom properties.
15247 (eshell-cmpl-initialize): No need to load pcomplete.
15249 * generic-x.el: No need to require comint when compiling.
15251 * net/eudc-export.el: Make it loadable without bbdb.
15252 (top-level): Use require rather than load-library.
15253 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15254 (eudc-batch-export-records-to-bbdb)
15255 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15258 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15260 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15261 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15262 some tweaks, instead.
15264 2013-05-05 Leo Liu <sdl.web@gmail.com>
15266 * progmodes/octave.el (octave-font-lock-keywords)
15267 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15268 (inferior-octave-send-list-and-digest): Improve error message.
15269 (octave-mode, inferior-octave-mode): Use setq-local.
15270 (octave-help): Set info-lookup-mode.
15272 2013-05-05 Richard Stallman <rms@gnu.org>
15274 * vc/compare-w.el (compare-windows-whitespace):
15275 Treat no-break space as whitespace.
15277 * mail/rmailsum.el (rmail-summary-rmail-update):
15278 Detect empty summary and don't change selected message.
15279 (rmail-summary-goto-msg): Likewise.
15281 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15282 Doc fixes, rename args.
15284 2013-05-05 Alan Mackenzie <acm@muc.de>
15286 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15288 2013-05-05 Juri Linkov <juri@jurta.org>
15290 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15291 to not add the length of the summary segment to the return value.
15294 2013-05-05 Leo Liu <sdl.web@gmail.com>
15296 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15297 (inferior-octave-output-filter): Remove.
15298 (octave-send-region, inferior-octave-startup): Fix callers.
15299 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15300 (octave-binary-file-extensions): New user variable.
15301 (octave-find-definition): Confirm if opening binary files.
15302 (octave-help-file): Use octave-find-definition to get the binary
15304 (octave-help): Adjust for octave-help-file change.
15306 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15308 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15309 Merge the two entries that handle function definitions.
15310 (pascal--syntax-propertize): New const.
15311 (pascal-mode): Use it. Use setq-local.
15313 2013-05-04 Glenn Morris <rgm@gnu.org>
15315 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15316 (diary-from-outlook): Respect diary-from-outlook-function.
15318 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15320 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15321 Move the declaration from C.
15322 (read-minibuffer, eval-minibuffer): Move from C.
15323 (completion-setup-function): Avoid minibuffer-completion-contents.
15325 2013-05-03 Leo Liu <sdl.web@gmail.com>
15327 * progmodes/octave.el (octave-font-lock-keywords): Do not
15328 dehighlight 'end' in comments or strings.
15329 (octave-completing-read, octave-goto-function-definition):
15331 (octave-help-buffer): New user variable.
15332 (octave-help-file, octave-help-function): New button types.
15333 (octave-help): New command and bind it to C-h ;.
15334 (octave-find-definition): New command and bind it to M-.
15335 (user-error): Alias to error if not defined.
15337 2013-05-02 Leo Liu <sdl.web@gmail.com>
15339 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15341 (octave-font-lock-keywords): Include [ and {.
15343 2013-05-02 Leo Liu <sdl.web@gmail.com>
15345 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15346 (inferior-octave): Remove calling comint-mode and return the buffer.
15347 (inferior-octave-startup): Cosmetic changes.
15349 2013-05-02 Leo Liu <sdl.web@gmail.com>
15351 * progmodes/octave.el (octave-syntax-propertize-function):
15352 Include the case when ' is at line beginning. (Bug#14336)
15354 2013-05-02 Glenn Morris <rgm@gnu.org>
15356 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15357 * desktop.el (vc-dir-mode): Just autoload it here.
15359 2013-05-02 Alan Mackenzie <acm@muc.de>
15361 Eliminate variable c-standard-font-lock-fontify-region-function.
15362 * progmodes/cc-mode.el
15363 (c-standard-font-lock-fontify-region-function): Remove.
15364 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15366 2013-05-01 Leo Liu <sdl.web@gmail.com>
15368 * progmodes/octave.el: Compatible with older emacs-24 releases.
15369 (inferior-octave-has-built-in-variables): Remove. Built-in
15370 variables were removed from Octave in 2007.
15371 (inferior-octave-startup): Fix uses.
15372 (comint-line-beginning-position): Remove compatibility code for
15375 2013-05-01 Juri Linkov <juri@jurta.org>
15377 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15379 2013-05-01 Juri Linkov <juri@jurta.org>
15381 * comint.el (comint-previous-matching-input): Don't print message
15382 "History item: %d" when `isearch-mode' is active.
15383 (comint-history-isearch-message): Print message "History item: %d"
15384 when `comint-input-ring-index' is not empty and this function is
15385 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15387 2013-05-01 Leo Liu <sdl.web@gmail.com>
15389 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15390 definitions. Use completion-at-point to insert keywords.
15391 (octave-abbrev-start): Remove.
15392 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15394 2013-04-30 Leo Liu <sdl.web@gmail.com>
15396 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15399 2013-04-30 Alan Mackenzie <acm@muc.de>
15401 Handle arbitrarily long C++ member initialisation lists.
15402 * progmodes/cc-engine.el (c-back-over-member-initializers):
15404 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15405 (most) member init lists.
15407 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15409 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15412 2013-04-30 Leo Liu <sdl.web@gmail.com>
15414 * progmodes/octave.el (octave-variables): Remove. No builtin
15415 variables any more. All converted to functions.
15416 (octave-font-lock-keywords, octave-completion-at-point-function):
15418 (octave-font-lock-texinfo-comment): New user variable.
15419 (octave-texinfo-font-lock-keywords): New variable for texinfo
15421 (octave-function-comment-block): New face.
15422 (octave-font-lock-texinfo-comment): New function.
15423 (octave-mode): Font lock texinfo comment block.
15425 2013-04-29 Leo Liu <sdl.web@gmail.com>
15427 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15428 indexing expression.
15429 (octave-continuation-string): Do not use \.
15430 (inferior-octave-complete-impossible): Remove.
15431 (inferior-octave-completion-table)
15432 (inferior-octave-completion-at-point): Remove its uses.
15433 (inferior-octave-startup): completion_matches was introduced to
15434 Octave in 1996 so safe to assume it.
15435 (octave-function-file-comment): Improve to follow how Octave does it.
15436 (octave-update-function-file-comment): Tweak.
15438 2013-04-29 Leo Liu <sdl.web@gmail.com>
15440 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15441 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15442 (octave-function-file-comment): Fix typo.
15443 (octave-sync-function-file-names): Use read-char-choice.
15445 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15447 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15448 to t for the less important warnings.
15450 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15452 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15454 2013-04-27 Glenn Morris <rgm@gnu.org>
15456 * vc/log-view.el (log-view-current-entry):
15457 Treat "---" separator lines as part of the following rev. (Bug#14169)
15459 2013-04-27 Juri Linkov <juri@jurta.org>
15461 * subr.el (read-number): Doc fix about using it by interactive
15462 code letter `n'. (Bug#14254)
15464 2013-04-27 Juri Linkov <juri@jurta.org>
15466 * desktop.el (desktop-auto-save-timeout): New option.
15467 (desktop-file-checksum): New variable.
15468 (desktop-save): Add optional arg `auto-save' and don't auto-save
15469 if nothing changed.
15470 (desktop-auto-save-timer): New variable.
15471 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15472 (after-init-hook): Call `desktop-auto-save-set-timer'.
15473 Suggested by Reuben Thomas <rrt@sc3d.org> in
15474 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15476 2013-04-27 Leo Liu <sdl.web@gmail.com>
15478 * progmodes/octave.el (octave-function-file-p)
15479 (octave-skip-comment-forward, octave-function-file-comment)
15480 (octave-update-function-file-comment): New functions.
15481 (octave-mode-map): Bind C-c ; to
15482 octave-update-function-file-comment.
15483 (octave-mode-menu): Add octave-update-function-file-comment.
15484 (octave-mode, inferior-octave-mode): Fix doc-string.
15485 (octave-insert-defun): Conform to Octave's coding convention.
15488 * files.el (basic-save-buffer): Don't let errors in
15489 before-save-hook prevent saving buffer.
15491 2013-04-20 Roland Winkler <winkler@gnu.org>
15493 * faces.el (read-face-name): Use completing-read if arg multiple
15496 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15498 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15499 displayed, move point to after the totals line.
15500 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15503 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15505 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15506 Add current dir to the load-path.
15507 (package-generate-autoloads): Don't rely on
15508 autoload-ensure-default-file.
15510 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15512 * textmodes/remember.el (remember-store-in-files): Document that
15513 the file name format is passed to `format-time-string'.
15515 2013-04-26 Leo Liu <sdl.web@gmail.com>
15517 * progmodes/octave.el (octave-sync-function-file-names): New function.
15518 (octave-mode): Use it in before-save-hook.
15520 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15522 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15525 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15526 \n and comment, even if it's not an implicit ; (bug#14218).
15528 2013-04-26 Glenn Morris <rgm@gnu.org>
15530 * subr.el (read-number): Once more use `read' rather than
15531 `string-to-number', to trap non-numeric input. (Bug#14254)
15533 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15535 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15536 Use `syntax-multiline' text property consistently instead of
15537 `font-lock-multiline'. (Bug#14237)
15539 2013-04-26 Glenn Morris <rgm@gnu.org>
15541 * emacs-lisp/shadow.el (list-load-path-shadows):
15542 No longer necessary to check for duplicate simple.el, since
15543 2012-07-07 change to init_lread to not include installation lisp
15544 directories in load-path when running uninstalled. (Bug#14270)
15546 2013-04-26 Leo Liu <sdl.web@gmail.com>
15548 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15549 (octave-mode, inferior-octave-mode): Use setq-local.
15550 (octave-not-in-string-or-comment-p): Rename to
15551 octave-in-string-or-comment-p.
15552 (octave-in-comment-p, octave-in-string-p)
15553 (octave-in-string-or-comment-p): Replace defsubst with defun.
15555 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15557 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15559 2013-04-25 Bastien Guerry <bzg@gnu.org>
15561 * textmodes/remember.el (remember-data-directory)
15562 (remember-directory-file-name-format): Fix custom types.
15564 2013-04-25 Leo Liu <sdl.web@gmail.com>
15566 * progmodes/octave.el (octave-completion-at-point-function):
15567 Make use of inferior octave process.
15568 (octave-initialize-completions): Remove.
15569 (inferior-octave-completion-table): New function.
15570 (inferior-octave-completion-at-point): Use it.
15571 (octave-completion-alist): Remove.
15573 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15575 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15576 (opascal-mode-syntax-table): New var.
15577 (opascal-literal-kind, opascal-is-literal-end)
15578 (opascal-literal-token-at): Rewrite.
15579 (opascal--literal-start-re, opascal-font-lock-keywords)
15580 (opascal--syntax-propertize): New constants.
15581 (opascal-font-lock-defaults): Adjust.
15582 (opascal-mode): Use them. Set comment-<foo> variables as well.
15583 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15584 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15585 (delphi-other-face, opascal-other-face): Remove face variables.
15586 (opascal-save-state): Remove macro.
15587 (opascal-fontifying-progress-step): Remove constant.
15588 (opascal--ignore-changes): Remove var.
15589 (opascal-set-token-property, opascal-parse-next-literal)
15590 (opascal-is-stable-literal, opascal-complete-literal)
15591 (opascal-is-literal-start, opascal-face-of)
15592 (opascal-parse-region, opascal-parse-region-until-stable)
15593 (opascal-fontify-region, opascal-after-change)
15594 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15595 (opascal-debug-parse-region, opascal-debug-parse-window)
15596 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15597 (opascal-debug-fontify-buffer): Remove.
15598 (opascal-debug-mode-map): Adjust accordingly.
15600 2013-04-25 Leo Liu <sdl.web@gmail.com>
15602 Merge octave-mod.el and octave-inf.el into octave.el with some
15604 * progmodes/octave.el: New file renamed from octave-mod.el.
15605 * progmodes/octave-inf.el: Merged into octave.el.
15606 * progmodes/octave-mod.el: Renamed to octave.el.
15608 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15610 * textmodes/reftex-vars.el
15611 (reftex-label-ignored-macros-and-environments): New defcustom.
15613 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15615 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15617 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15618 (smie-indent-keyword): Improve the check to ensure that the next
15619 comment is really on the same line.
15620 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15622 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15623 semi-colons if the line is not otherwise empty (bug#14218).
15625 2013-04-25 Glenn Morris <rgm@gnu.org>
15627 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15629 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15631 * progmodes/opascal.el (opascal-set-token-property): Rename from
15632 opascal-set-text-properties and only set `token' (bug#14134).
15633 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15634 (opascal-literal-text-properties): Remove.
15635 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15638 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15640 * textmodes/remember.el (remember-handler-functions): Add an
15641 option for a new handler `remember-store-in-files'.
15642 (remember-data-directory, remember-directory-file-name-format):
15644 (remember-store-in-files): New function to store remember notes
15645 as separate files within a directory.
15647 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15649 * progmodes/compile.el (compilation-next-error-function):
15650 Pass "formats" to compilation-find-file (bug#11777).
15652 2013-04-24 Glenn Morris <rgm@gnu.org>
15654 * vc/vc-bzr.el (vc-bzr-print-log):
15655 * vc/vc-hg.el (vc-hg-print-log):
15656 * vc/vc-svn.el (vc-svn-print-log):
15657 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15659 * vc/vc-bzr.el (vc-bzr-print-log):
15660 * vc/vc-cvs.el (vc-cvs-print-log):
15661 * vc/vc-git.el (vc-git-print-log):
15662 * vc/vc-hg.el (vc-hg-print-log):
15663 * vc/vc-mtn.el (vc-mtn-print-log):
15664 * vc/vc-rcs.el (vc-rcs-print-log):
15665 * vc/vc-sccs.el (vc-sccs-print-log):
15666 * vc/vc-svn.el (vc-svn-print-log):
15667 * vc/vc.el (vc-print-log-internal): Doc fixes.
15669 2013-04-23 Glenn Morris <rgm@gnu.org>
15671 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15672 Remove venerable code attempting to avoid substitute-command-keys.
15674 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15676 * textmodes/reftex-vars.el (reftex-label-regexps):
15677 Call `reftex-compile-variables' after changes to this variable.
15679 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15681 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15682 Use lexical-binding.
15683 (jit-lock-force-redisplay): Use markers, check buffer's continued
15684 existence and beware narrowed buffers.
15685 (jit-lock-fontify-now): Adjust call accordingly.
15687 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15689 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15690 to avoid misleading the user.
15692 2013-04-22 Leo Liu <sdl.web@gmail.com>
15694 * info-look.el: Prefer latex2e.info. (Bug#14240)
15696 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15698 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15700 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15701 * net/tramp.el (tramp-call-process): ... here.
15702 (tramp-set-completion-function, tramp-parse-putty):
15703 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15704 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15705 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15706 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15707 (tramp-call-local-coding-command): Use `tramp-call-process'
15708 instead of `tramp-compat-call-process'.
15710 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15711 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15712 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15713 (tramp-find-inline-compress): Improve traces.
15714 (tramp-maybe-send-script): Check for Perl binary.
15715 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15717 2013-04-22 Daiki Ueno <ueno@gnu.org>
15719 * epg.el (epg-context-pinentry-mode): New function.
15720 (epg-context-set-pinentry-mode): New function.
15721 (epg--start): Pass --pinentry-mode option to gpg command.
15723 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15725 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15726 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15727 `completion-at-point'. (Bug#13774)
15729 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15730 default key binding for `describe-distribution' has been moved to
15731 `C-h C-o'. (Bug#13970)
15733 2013-04-21 Glenn Morris <rgm@gnu.org>
15735 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15737 (vc-print-log): Clarify interactive prompt.
15739 2013-04-20 Glenn Morris <rgm@gnu.org>
15741 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15742 No longer include timestamp etc information.
15744 2013-04-20 Roland Winkler <winkler@gnu.org>
15746 * faces.el (read-face-name): Bug fix, return just one face if arg
15747 multiple is nil. (Bug#14209)
15749 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15751 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15752 (remove-function): Autoload.
15754 * comint.el (comint-redirect-original-filter-function): Remove.
15755 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15756 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15757 (vc-cvs-annotate-command):
15758 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15759 * progmodes/prolog.el (prolog-consult-compile):
15760 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15761 Use add/remove-function instead.
15762 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15763 (gud-tooltip-process-output, gud-tooltip-tips):
15764 Use add/remove-function instead.
15765 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15766 (scheme-interaction-mode, exit-scheme-interaction-mode):
15767 Use add/remove-function instead.
15769 * vc/vc-dispatcher.el: Use lexical-binding.
15770 (vc--process-sentinel): Rename from vc-process-sentinel.
15771 Change last arg to be the code to run. Don't use vc-previous-sentinel
15772 and vc-sentinel-commands any more.
15773 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15774 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15776 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15778 * progmodes/sh-script.el (sh-imenu-generic-expression):
15779 Handle function names with a single character. (Bug#14111)
15781 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15783 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15784 for subroutines defined in an eval (bug#14182).
15786 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15788 * bookmark.el (bookmark-completing-read): Improve handling of empty
15789 string (bug#14176).
15791 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15793 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15795 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15797 New faster Imenu implementation (bug#14058).
15798 * progmodes/python.el:
15799 (python-imenu-prev-index-position):
15800 (python-imenu-format-item-label-function)
15801 (python-imenu-format-parent-item-label-function)
15802 (python-imenu-format-parent-item-jump-label-function):
15804 (python-imenu-format-item-label)
15805 (python-imenu-format-parent-item-label)
15806 (python-imenu-format-parent-item-jump-label)
15807 (python-imenu--put-parent, python-imenu--build-tree)
15808 (python-imenu-create-index, python-imenu-create-flat-index)
15809 (python-util-popn): New functions.
15810 (python-mode): Set imenu-create-index-function to
15811 python-imenu-create-index.
15813 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15815 * winner.el (winner-active-region): Use region-active-p, activate-mark
15816 and deactivate-mark (bug#14225).
15818 * simple.el (deactivate-mark): Don't inline it.
15820 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15822 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15824 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15826 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15827 file extensions from the archive-mode entry in order to prefer
15828 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15830 2013-04-18 Leo Liu <sdl.web@gmail.com>
15832 * bindings.el (help-event-list): Add ?\?.
15834 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * subr.el (with-wrapper-hook): Declare obsolete.
15837 * simple.el (filter-buffer-substring-function): New hook.
15838 (filter-buffer-substring): Use it.
15839 (filter-buffer-substring-functions): Mark obsolete.
15840 * minibuffer.el (completion-in-region-function): New hook.
15841 (completion-in-region): Use it.
15842 (completion-in-region-functions): Mark obsolete.
15843 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15844 * abbrev.el (abbrev-expand-function): New hook.
15845 (expand-abbrev): Use it.
15846 (abbrev-expand-functions): Mark obsolete.
15847 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15848 and :filter-return.
15850 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15852 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15853 and do not care about match data.
15855 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15857 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15858 completion tables when completing error conditions and
15859 `declare' arguments.
15860 (lisp-complete-symbol, field-complete): Mark as obsolete.
15861 (check-parens): Unmatched parens are user errors.
15862 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15864 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15866 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15867 command changed buffer (ie. `flyspell-pre-buffer' is not current
15868 buffer), which prevents making decisions based on invalid value of
15869 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15870 cause an error when `flyspell-pre-point' was nil after switching
15872 (flyspell-post-command-hook): No longer needs to change buffers when
15873 checking pre-word. While at it remove unnecessary progn.
15875 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15877 * textmodes/ispell.el (ispell-add-per-file-word-list):
15878 Fix `flyspell-correct-word-before-point' error when accepting
15879 words and `coment-padding' is an integer by using
15880 `comment-normalize-vars' (Bug #14214).
15882 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15884 New defun movement commands.
15885 * progmodes/python.el (python-nav--syntactically)
15886 (python-nav--forward-defun, python-nav-backward-defun)
15887 (python-nav-forward-defun): New functions.
15889 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15891 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15892 (python-syntax-context): Use named compiler-macro for backwards
15893 compatibility with Emacs 24.x.
15895 2013-04-17 Leo Liu <sdl.web@gmail.com>
15897 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15898 octave-hide-process-buffer.
15900 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15902 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15905 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15907 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15908 Fix adjustment of offset when receiving incomplete responses from GDB
15911 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15914 python-mode-abbrev-table.
15915 (python-skeleton-define): Adjust accordingly.
15916 (python-mode-abbrev-table): New table that inherits from it so that
15917 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15919 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15920 (abbrev-symbol): Use it.
15921 (abbrev--before-point): Use it since we already handle inheritance.
15923 2013-04-16 Leo Liu <sdl.web@gmail.com>
15925 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15926 binding to info-lookup-symbol.
15928 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15930 * minibuffer.el (completion--twq-all):
15931 * term/ns-win.el (ns-initialize-window-system):
15932 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15934 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15936 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15939 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15941 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15943 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15944 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15946 (ruby-end-of-defun): Remove the unused arg, change the docstring
15947 to reflect that this function is only used as the value of
15948 `end-of-defun-function'.
15949 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15950 to reflect an earlier change that beginning/end-of-defun functions
15951 jump between methods in a class definition, as well as top-level
15954 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15956 * minibuffer.el (minibuffer-complete): Don't just scroll
15957 a *Completions* that's been iconified.
15958 (minibuffer-force-complete): Make sure repetitions do cycle when going
15959 through completion-in-region -> minibuffer-complete.
15961 2013-04-15 Alan Mackenzie <acm@muc.de>
15963 Correct the placement of c-cpp-delimiters when there're #s not at
15966 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15967 place a submatch around the #.
15968 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15969 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15972 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15974 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15975 (advice--member-p): New arg `name'.
15976 (advice--add-function, advice-member-p): Use it (bug#14202).
15978 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15980 Reformulate java imenu-generic-expression.
15981 The old expression contained ill formed regexps.
15983 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15984 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15985 (cc-imenu-java-method-arg-regexp): New defconsts.
15986 (cc-imenu-java-build-type-args-regex): New defun.
15987 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15988 handling of spaces in the regexp.
15990 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15992 * textmodes/ispell.el (ispell-command-loop): Remove
15993 flyspell highlight of a word when ispell accepts it (bug #14178).
15995 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15997 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15998 uses code from the previous `ange-ftp-run-real-handler'.
15999 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16000 only in case that function exist. This is needed for proper
16001 unloading of Tramp.
16003 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16005 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16007 * textmodes/reftex.el (reftex-compile-variables): Use it.
16009 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16011 * files.el (normal-mode): Only use default major-mode if no other mode
16014 * emacs-lisp/trace.el (trace-values): New function.
16016 * files.el: Allow : in local variables (bug#14089).
16017 (hack-local-variable-regexp): New var.
16018 (hack-local-variables-prop-line, hack-local-variables): Use it.
16020 2013-04-13 Roland Winkler <winkler@gnu.org>
16022 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16023 data before it gets modified by bibtex-beginning-of-entry.
16025 2013-04-13 Roland Winkler <winkler@gnu.org>
16027 * textmodes/bibtex.el (bibtex-url): Doc fix.
16029 2013-04-13 Roland Winkler <winkler@gnu.org>
16031 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16032 does not visit a BibTeX file, exclude it from the list of buffers
16033 returned by bibtex-initialize.
16035 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16037 * window.el (split-window): Remove interactive form, since as a
16038 command this function is a special case of split-window-below.
16039 Correct doc string.
16041 2013-04-12 Roland Winkler <winkler@gnu.org>
16043 * faces.el (read-face-name): Do not override value of arg default.
16044 Allow single faces and strings as default values. Remove those
16045 elements from return value that are not faces.
16046 (describe-face): Simplify.
16047 (face-at-point): New optional args thing and multiple so that this
16048 function can provide the same functionality previously provided by
16050 (make-face-bold, make-face-unbold, make-face-italic)
16051 (make-face-unitalic, make-face-bold-italic, invert-face)
16052 (modify-face, read-face-and-attribute): Use face-at-point.
16054 * cus-edit.el (customize-face, customize-face-other-window)
16055 * cus-theme.el (custom-theme-add-face)
16056 * face-remap.el (buffer-face-set)
16057 * facemenu.el (facemenu-set-face): Use face-at-point.
16059 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16061 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16063 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16065 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16066 off leading { and trailing } from field values.
16068 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * emacs-lisp/timer.el (timer--check): New function.
16071 (timer--time, timer-set-function, timer-event-handler): Use it.
16072 (timer-set-idle-time): Simplify.
16073 (timer--activate): CSE.
16074 (timer-event-handler): Give more info in error message.
16075 (internal-timer-start-idle): New function, moved from C.
16077 * mpc.el (mpc-proc): Add `restart' argument.
16078 (mpc-proc-cmd): Use it.
16079 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16080 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16083 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16085 * progmodes/sh-script.el: Implement `sh-mode' own
16086 `add-log-current-defun-function' (bug#14112).
16087 (sh-current-defun-name): New function.
16088 (sh-mode): Use the function.
16090 2013-04-09 Bastien Guerry <bzg@gnu.org>
16092 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16094 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16096 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16098 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16101 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16103 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16106 2013-04-07 Leo Liu <sdl.web@gmail.com>
16108 * pcmpl-x.el: New file.
16110 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16112 Do not set x-display-name until X connection is established.
16113 This is needed to prevent from weird situation described at
16114 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16115 * frame.el (make-frame): Set x-display-name after call to
16116 window system initialization function, not before.
16117 * term/x-win.el (x-initialize-window-system): Add optional
16118 display argument and use it.
16119 * term/w32-win.el (w32-initialize-window-system):
16120 * term/ns-win.el (ns-initialize-window-system):
16121 * term/pc-win.el (msdos-initialize-window-system):
16122 Add compatible optional display argument.
16124 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16126 * files.el (normal-backup-enable-predicate): On MS-Windows and
16127 MS-DOS compare truenames of temporary-file-directory and of the
16128 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16129 don't fail comparison by compare-strings. Also, compare file
16130 names case-insensitively on MS-Windows and MS-DOS.
16132 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16134 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16135 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16137 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16139 * whitespace.el (whitespace-color-on, whitespace-color-off):
16140 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16142 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16144 * ispell.el (ispell-set-spellchecker-params):
16145 Really set `ispell-args' for all equivs.
16147 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16149 * ido.el (ido-completions): Use extra elements of ido-decorations
16151 (ido-decorations): Update docstring.
16153 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16155 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16156 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16157 nil during initialization, in order not to miss changes since the
16158 file was opened. (Bug#14140)
16160 2013-04-05 Leo Liu <sdl.web@gmail.com>
16162 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16164 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16166 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16168 2013-04-04 Glenn Morris <rgm@gnu.org>
16170 * electric.el (electric-pair-inhibit-predicate): Add :version.
16172 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16174 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16175 when a package is required several times (bug#14082).
16177 2013-04-04 Roland Winkler <winkler@gnu.org>
16179 * faces.el (read-face-name): Behave as promised by the docstring.
16180 Assume that arg default is a list of faces.
16181 (describe-face): Call read-face-name with list of default faces.
16183 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16185 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16186 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16187 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16189 (bookmark-exit-hook-internal): Save even if list is empty.
16191 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16193 * emacs-lisp/package.el (package-pinned-packages): New var.
16194 (package--add-to-archive-contents): Obey it (bug#14118).
16196 2013-04-03 Alan Mackenzie <acm@muc.de>
16198 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16199 Also adapt to the new values of element 7 of a parse state.
16201 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16202 parameter `not-in-delimiter'. Handle being inside comment opener.
16203 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16204 character in case we're typing a '*' after a '/'.
16205 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16206 instead by passing the parameter to c-state-pp-to-literal.
16208 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16209 for elt. 7 of a parse state.
16211 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16213 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16214 * international/latin1-disp.el, international/mule-util.el:
16215 * language/cyril-util.el, language/european.el, language/ind-util.el:
16216 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16217 * language/tibetan.el, language/viet-util.el:
16218 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16220 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16222 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16223 (electric-pair-post-self-insert-function): Use it.
16224 (electric-pair-default-inhibit): New function, extracted from
16225 electric-pair-post-self-insert-function.
16227 2013-03-31 Roland Winkler <winkler@gnu.org>
16229 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16231 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16233 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16235 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16237 Un-indent after "pass" and "return" statements (Bug#13888)
16238 * progmodes/python.el (python-indent-block-enders): New var.
16239 (python-indent-calculate-indentation): Use it.
16241 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16243 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16244 defun. Defining it as defalias could introduce too eager
16245 byte-compiler optimization. (Bug#14030)
16247 2013-03-30 Chong Yidong <cyd@gnu.org>
16249 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16251 2013-03-30 Leo Liu <sdl.web@gmail.com>
16253 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16254 (kmacro-execute-from-register): Pass the keyboard macro to
16255 kmacro-call-macro or repeating won't work correctly.
16257 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16259 * progmodes/subword.el: Back to using `forward-symbol'.
16261 * subr.el (forward-whitespace, forward-symbol)
16262 (forward-same-syntax): Move from thingatpt.el.
16264 2013-03-29 Leo Liu <sdl.web@gmail.com>
16266 * kmacro.el (kmacro-to-register): New command.
16267 (kmacro-execute-from-register): New function.
16268 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16270 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16272 * mpc.el: Use defvar-local and setq-local.
16273 (mpc--proc-connect): Connection failures are not bugs.
16274 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16275 (mpc-volume-map): Bind to the up-events.
16277 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16279 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16280 instead of `forward-symbol'.
16282 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16284 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16285 (edebug--recursive-edit): Use it.
16286 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16287 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16289 2013-03-28 Leo Liu <sdl.web@gmail.com>
16291 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16293 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16295 * facemenu.el (list-colors-callback): New defvar.
16296 (list-colors-redisplay): New function.
16297 (list-colors-display): Install list-colors-redisplay as the
16298 revert-buffer-function. (Bug#14063)
16300 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16302 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16303 and suffixes don't overlap (bug#14061).
16305 * case-table.el: Use lexical-binding.
16306 (case-table-get-table): New function.
16307 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16309 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16311 * progmodes/subword.el: Add `superword-mode' to do word motion
16312 over symbol_words (parallels and leverages `subword-mode' which
16313 does word motion inside MixedCaseWords).
16315 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16317 * eshell/em-unix.el: Move su and sudo to...
16318 * eshell/em-tramp.el: ...Eshell tramp module.
16320 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16322 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16323 Change return value to be a sexp. Delay `get-buffer' to after
16324 restoring the desktop (bug#13951).
16326 2013-03-26 Leo Liu <sdl.web@gmail.com>
16328 * register.el: Move semantic tag handling back to
16329 cedet/semantic/senator.el. (Bug#14052)
16331 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16333 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16334 into the prompt either (bug#13963).
16336 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16338 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16339 part of "(error-foo)".
16341 2013-03-24 Juri Linkov <juri@jurta.org>
16343 * replace.el (list-matching-lines-prefix-face): New defcustom.
16344 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16345 `occur-engine' if `face-differs-from-default-p' returns t.
16346 (occur-engine): Add `,' inside backquote construct to evaluate
16347 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16348 Pass `prefix-face' to the functions `occur-context-lines' and
16349 `occur-engine-add-prefix'.
16350 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16351 `prefix-face' and propertize the prefix with `prefix-face'.
16354 2013-03-24 Leo Liu <sdl.web@gmail.com>
16356 * nxml/rng-valid.el (rng-validate-while-idle)
16357 (rng-validate-quick-while-idle): Guard against deleted buffer.
16360 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16361 is the last entry in kill-buffer-hook.
16363 * files.el (kill-buffer-hook): Doc fix.
16365 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16367 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16368 Make it safe-local.
16370 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16372 2013-03-23 Leo Liu <sdl.web@gmail.com>
16374 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16377 * nxml/rng-valid.el (rng-validate-mode)
16378 (rng-after-change-function, rng-do-some-validation):
16379 * nxml/rng-maint.el (rng-validate-buffer):
16380 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16381 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16382 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16383 (nxml-extend-after-change-region): Use with-silent-modifications.
16385 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16388 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16389 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16390 timer-idle-list. (Bug#13999)
16392 2013-03-23 Juri Linkov <juri@jurta.org>
16394 * info.el (info-index-match): New face.
16395 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16396 main pattern and add text properties with the new face to matches
16397 in index entries relative to the beginning of the index entry.
16400 2013-03-21 Eric Ludlam <zappo@gnu.org>
16402 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16403 Inhibit read only while inserting objects.
16405 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16407 * progmodes/cfengine.el: Update docs to mention
16408 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16409 symbol motion. Remove "_" from the word syntax.
16411 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16413 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16414 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16416 2013-03-20 Juri Linkov <juri@jurta.org>
16418 * info.el (Info-next-reference-or-link)
16419 (Info-prev-reference-or-link): New functions.
16420 (Info-next-reference, Info-prev-reference): Use them.
16421 (Info-try-follow-nearest-node): Handle footnote navigation.
16422 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16424 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16426 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16427 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16429 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16431 Suppress unnecessary non-ASCII chatter during build process.
16432 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16433 (batch-skkdic-convert): Suppress most of the chatter.
16434 It's not needed so much now that machines are faster,
16435 and its non-ASCII component was confusing; see Dmitry Gutov in
16436 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16438 2013-03-20 Leo Liu <sdl.web@gmail.com>
16440 * ido.el (ido-chop): Fix bug#10994.
16442 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16444 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16446 (whitespace-color-on, whitespace-color-off):
16447 Use `font-lock-fontify-buffer' (Bug#13817).
16449 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16451 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16452 remapping in mode-line.
16453 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16455 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16457 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16458 value for `whitespace-line' face (Bug#13875).
16459 (whitespace-font-lock-keywords): Change description.
16460 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16461 the constructed keywords instead.
16462 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16464 2013-03-19 Leo Liu <sdl.web@gmail.com>
16466 * progmodes/compile.el (compilation-display-error): New command.
16467 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16470 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16472 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16474 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16476 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16478 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16480 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16482 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16483 * net/tramp-gvfs.el (top):
16484 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16485 (tramp-handle-shell-command): Use it.
16486 (tramp-dissect-file-name): Raise an error when hostname is a
16487 method name, and neither method nor user is specified.
16489 * net/trampver.el: Update release number.
16491 2013-03-18 Leo Liu <sdl.web@gmail.com>
16493 Make sure eldoc can be turned off properly.
16494 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16496 (eldoc-display-message-p): Revert last change.
16497 (eldoc-display-message-no-interference-p)
16498 (eldoc-print-current-symbol-info): Tweak.
16500 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16502 * doc-view.el (doc-view-new-window-function): Check the new window
16503 overlay's display property instead the char property of the
16504 buffer's first char. Use `with-selected-window' instead of
16505 `save-window-excursion' with `select-window'.
16506 (doc-view-document->bitmap): Check the current doc-view overlay's
16507 display property instead the char property of the buffer's first char.
16509 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16511 Automate the build of ja-dic.el (Bug#13984).
16512 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16513 from the input, rather than assume that it's been done for us by the
16514 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16515 the current date into a ja-dic.el comment, as that complicates
16516 regression testing.
16518 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16520 * whitespace.el: Fix double evaluation.
16521 (whitespace-space, whitespace-hspace, whitespace-tab)
16522 (whitespace-newline, whitespace-trailing, whitespace-line)
16523 (whitespace-space-before-tab, whitespace-indentation)
16524 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16526 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16527 (whitespace-color-on): Use a single font-lock-add-keywords call.
16528 Fix double-evaluation of face variables.
16530 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16532 * net/tramp-adb.el (tramp-adb-parse-device-names):
16533 Use `start-process' instead of `call-process'. Otherwise, the
16534 function might be blocked under MS Windows. (Bug#13299)
16536 2013-03-17 Leo Liu <sdl.web@gmail.com>
16538 Extend eldoc to display info in the mode-line. (Bug#13978)
16539 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16540 (eldoc-mode-line-string): New variable.
16541 (eldoc-minibuffer-message): New function.
16542 (eldoc-message-function): New variable.
16543 (eldoc-message): Use it.
16544 (eldoc-display-message-p)
16545 (eldoc-display-message-no-interference-p):
16546 Support eldoc-post-insert-mode.
16548 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16549 (eval-expression): Run it.
16551 2013-03-17 Roland Winkler <winkler@gnu.org>
16553 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16554 strings in the list of return values.
16556 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16558 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16559 radix before checking for HMS forms.
16561 2013-03-16 Leo Liu <sdl.web@gmail.com>
16563 * progmodes/scheme.el: Add indentation and font-locking for λ.
16566 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16568 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16569 token before point (bug#13942).
16571 2013-03-16 Leo Liu <sdl.web@gmail.com>
16573 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16575 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16577 * startup.el (command-line-normalize-file-name): Fix handling of
16578 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16579 <xfq.free@gmail.com> in
16580 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16582 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16584 Sync with Tramp 2.2.7.
16586 * net/trampver.el: Update release number.
16588 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16590 * doc-view.el: Fix bug#13887.
16591 (doc-view-insert-image): Don't modify overlay associated to
16592 non-live windows, and implement horizontal centering of image in
16593 case it's smaller than the window.
16594 (doc-view-new-window-function): Force redisplay of new windows on
16597 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16599 * saveplace.el (save-place-alist-to-file): Don't sort
16600 `save-place-alist', just pretty-print it (bug#13882).
16602 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16604 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16605 Check whether `default-file-name-coding-system' is bound.
16606 It isn't in XEmacs.
16608 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16610 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16611 backquotes for `obsolete' (bug#13929).
16613 * international/mule.el (find-auto-coding): Include file name in
16614 obsolescence warning (bug#13922).
16616 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16618 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16619 for CFEngine 3-specific indentation.
16620 (cfengine3-indent-line): Use it. Fix up category regex.
16621 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16623 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16625 * type-break.el (type-break-file-name):
16626 * textmodes/remember.el (remember-data-file):
16627 * strokes.el (strokes-file):
16628 * shadowfile.el (shadow-initialize):
16629 * saveplace.el (save-place-file):
16630 * ps-bdf.el (bdf-cache-file):
16631 * progmodes/idlwave.el (idlwave-config-directory):
16632 * net/quickurl.el (quickurl-url-file):
16633 * international/kkc.el (kkc-init-file-name):
16634 * ido.el (ido-save-directory-list-file):
16635 * emulation/viper.el (viper-custom-file-name):
16636 * emulation/vip.el (vip-startup-file):
16637 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16638 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16640 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16642 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16643 * language/thai-word.el: Switch to UTF-8.
16645 See ChangeLog.16 for earlier changes.
16647 ;; Local Variables:
16651 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16653 This file is part of GNU Emacs.
16655 GNU Emacs is free software: you can redistribute it and/or modify
16656 it under the terms of the GNU General Public License as published by
16657 the Free Software Foundation, either version 3 of the License, or
16658 (at your option) any later version.
16660 GNU Emacs is distributed in the hope that it will be useful,
16661 but WITHOUT ANY WARRANTY; without even the implied warranty of
16662 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16663 GNU General Public License for more details.
16665 You should have received a copy of the GNU General Public License
16666 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.