1 2014-04-06 João Távora <joaotavora@gmail.com>
3 Fix `electric-pair-delete-adjacent-pairs' in modes binding
5 * elec-pair.el (electric-pair-backward-delete-char): Delete.
6 (electric-pair-backward-delete-char-untabify): Delete.
7 (electric-pair-mode-map): Bind backspace to a menu item filtering
8 a new `electric-pair-delete-pair' command.
9 (electric-pair-delete-pair): New command.
11 2014-04-06 João Távora <joaotavora@gmail.com>
13 * progmodes/python.el (python-electric-pair-string-delimiter): Fix
14 triple-quoting electricity. (Bug#17192)
16 2014-04-06 João Távora <joaotavora@gmail.com>
18 * elec-pair.el (electric-pair-post-self-insert-function): Don't
19 skip whitespace when `electric-pair-text-pairs' and
20 `electric-pair-pairs' were used. syntax to
21 electric-pair--skip-whitespace. (Bug#17183)
23 2014-04-06 Eli Zaretskii <eliz@gnu.org>
25 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
28 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
30 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
31 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
33 2014-04-05 Glenn Morris <rgm@gnu.org>
35 * help.el (view-lossage): Doc tweak.
37 2014-04-05 Matthias Dahl <ml_emacs-lists@binary-island.eu>
39 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
40 only when inhibit-x-resources is nil, and do that earlier in the
41 function. Doc fix. (Bug#16694)
42 (face-spec-choose): Accept additional optional argument, whose
43 value is returned if no matching attributes are found.
44 (face-spec-recalc): Use the new optional argument when calling
45 face-spec-choose. (Bug#16378)
46 (make-face-x-resource-internal): Do nothing when
47 inhibit-x-resources is non-nil. Don't touch the default face if
48 reversed video is given--as was done in previous versions of Emacs.
49 (face-set-after-frame-default): Don't call
50 make-face-x-resource-internal here. (Bug#16434)
52 2014-04-04 Tassilo Horn <tsdh@gnu.org>
54 * doc-view.el (doc-view-bookmark-jump):
55 Use `bookmark-after-jump-hook' to jump to the right page after the
56 buffer is shown in a window. (bug#16090)
58 2014-04-04 Eli Zaretskii <eliz@gnu.org>
60 * international/characters.el (mirroring): Fix last change:
61 instead of loading uni-mirrored.el explicitly, do that implicitly
62 by creating the 'mirroring' uniprop table. This avoids announcing
63 the loading of uni-mirrored.el.
65 2014-04-04 Glenn Morris <rgm@gnu.org>
67 * files.el (buffer-stale--default-function)
68 (buffer-stale-function, revert-buffer--default):
69 * autorevert.el (auto-revert-buffers): Doc tweaks.
71 2014-04-03 Eli Zaretskii <eliz@gnu.org>
73 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
75 2014-04-03 Glenn Morris <rgm@gnu.org>
77 * files.el (make-backup-file-name-function)
78 (make-backup-file-name, make-backup-file-name--default-function)
79 (make-backup-file-name-1, find-backup-file-name)
80 (revert-buffer-function, revert-buffer-insert-file-contents-function)
81 (buffer-stale--default-function, buffer-stale-function)
82 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
83 (revert-buffer, revert-buffer--default)
84 (revert-buffer-insert-file-contents--default-function):
85 Doc fixes related to defaults no longer being nil.
86 (make-backup-file-name-function): Bump :version.
87 Restore nil as a valid but deprecated custom type.
89 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
91 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
92 used as a variable (bug#17174).
94 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
96 * progmodes/perl-mode.el (perl-indent-new-calculate):
97 Handle forward-sexp failure (bug#16985).
98 (perl-syntax-propertize-function): Add "foreach" and "for" statement
99 modifiers introducing expressions (bug#17116).
101 2014-04-02 Glenn Morris <rgm@gnu.org>
103 * menu-bar.el (menu-bar-file-menu):
104 * vc/ediff.el (ediff-current-file):
105 Update for revert-buffer-function no longer being nil by default.
107 * simple.el (command-execute): Respect nil disabled-command-function.
109 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
111 * simple.el (command-execute): Do not execute the command when it
112 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
114 2014-03-29 Juri Linkov <juri@jurta.org>
116 * dired-aux.el (dired-compress-file): Don't use string-match-p
117 because its match data is used afterwards.
119 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
121 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
124 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
126 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
127 Highlight special globals with font-lock-builtin-face. (Bug#17057)
129 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
130 Don't propertize `?' or `!' as symbol constituent when after
133 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
135 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
136 which is no longer needed and causes trouble in GTK builds (bug#17046).
138 * emacs-lisp/package-x.el (package--archive-contents-from-url):
139 Use url-insert-file-contents; package-handle-response no longer exists.
141 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
143 * emacs-lisp/package.el: Fix bug#16733 (again).
144 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
145 (url-http-target-url): Remove unused declarations.
146 (package-handle-response): Remove.
147 (package--with-work-buffer): Use url-insert-file-contents and simplify.
148 (package--download-one-archive): Use current-buffer instead of
149 dynamic binding of `buffer'.
150 (describe-package-1): Do not decode readme-string.
152 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
154 * simple.el (primitive-undo): Correction to 2014-03-24 change.
156 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
158 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
160 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
161 from 2014-03-07, it decreases performance unnecessarily. Let-bind
162 `remote-file-name-inhibit-cache' to nil in the second pass.
163 (tramp-find-executable): Do not call "which" on SunOS.
164 (tramp-send-command-and-check): Fix docstring.
165 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
166 check whether source directory has set the sticky bit.
168 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
170 * simple.el (primitive-undo): Only process marker adjustments
171 validated against their corresponding (TEXT . POS). Issue warning
172 for lone marker adjustments in undo history. (Bug#16818)
173 (undo-make-selective-list): Add marker adjustments to selective
174 undo list based on whether their corresponding (TEXT . POS) is in
175 the region. Remove variable adjusted-markers, which was unused
176 and only non nil during undo-make-selective-list.
177 (undo-elt-in-region): Return nil when passed a marker adjustment
178 and explain in function doc.
180 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
182 * emacs-lisp/package.el (package--add-to-archive-contents):
183 Include already installed and built-in packages in
184 `package-archive-contents'.
185 (package-install): Don't include already installed packages in the
186 options during interactive invocation. (Bug#16762)
188 2014-03-24 Daniel Colascione <dancol@dancol.org>
190 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
191 instead of cl-loop search function.
193 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
195 * frameset.el (frameset--initial-params): Fix typo in parameter name.
197 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
199 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
201 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
203 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
204 Match special global variables without curlies, too.
205 (ruby-font-lock-keywords): Simplify the matcher for special global
206 variables. Don't require a non-word character after the variable.
209 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
211 * simple.el (redisplay-highlight-region-function): Increase priority of
212 overlay to make sure boundaries are visible (bug#15899).
214 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
216 * frameset.el (frameset-restore): Compare display strings with equal.
218 * frame.el (make-frame): Don't quote display name in error message,
219 it is already a string.
221 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
223 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
226 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
228 * emacs-lisp/package.el (package-show-package-list): If the buffer
229 is already displayed in another window, switch to that window.
231 2014-03-21 Daniel Colascione <dancol@dancol.org>
233 * mail/emacsbug.el (report-emacs-bug): Include memory usage
234 information in bug reports.
236 2014-03-23 Daniel Colascione <dancol@dancol.org>
238 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
239 list to look for keyword arguments instead of `memq', fixing
240 (Bug#3647) --- unfortunately, only for freshly-compiled code.
241 Please make bootstrap.
243 2014-03-23 Richard Stallman <rms@gnu.org>
245 * battery.el (battery-linux-sysfs): Search for each field
246 from the beginning of the buffer.
248 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
250 * emacs-lisp/package.el (package-desc): Use the contents of the
251 quoted form, not its cdr. (Bug#16873)
253 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
255 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
256 benefit of doc.c; change parameter profile to match the X function.
258 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
260 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
261 and `tramp-copy-env'.
263 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
264 (tramp-maybe-open-connection): Handle `tramp-login-env'.
266 2014-03-21 Glenn Morris <rgm@gnu.org>
268 * electric.el (electric-indent-post-self-insert-function): Add doc.
270 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
272 * emacs-lisp/package.el (package-compute-transaction):
273 Use `version-list-<=' to compare the requirement version against
274 the version of package already to be installed. Update the error
277 * progmodes/ruby-mode.el (ruby-smie-rules):
278 Add indentation rule for ` @ '. (Bug#17050)
280 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
282 * align.el (align-regexp): Remove superfluous backslash.
284 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
285 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
286 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
288 (ffap-next): Use C-u in docstring.
289 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
290 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
291 Remove superfluous backslashes.
292 (ffap-string-at-point): Reflow docstring.
294 * server.el (server-host): Reflow docstring.
295 (server-unload-function): Fix docstring typo.
296 (server-eval-at): Remove superfluous backslash.
298 * skeleton.el (skeleton-insert): Remove superfluous backslash.
299 (skeleton-insert): Doc fix.
300 (skeleton-insert): Reflow docstring.
302 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
303 (tty-color-approximate, tty-color-by-index, tty-color-values)
304 (tty-color-desc): Remove superfluous backslashes.
306 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
308 * electric.el (electric-newline-and-maybe-indent): New command.
309 Bind it globally to C-j.
310 (electric-indent-mode): Don't mess with the global map any more.
311 Don't drop the post-self-insert-hook is some buffer is still using it
314 * bindings.el (global-map): Remove C-j binding.
316 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
317 the docstring of functions advised before dumping (bug#16993).
319 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
321 * ps-print.el (ps-generate-postscript-with-faces):
322 Explicitly deactivate the mark (bug#16866).
323 * simple.el (deactivate-mark): Update region highlight.
325 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
327 * emacs-lisp/package.el (describe-package-1):
328 Decode commentary (bug#16733).
330 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
332 * custom.el (defcustom): Doc fix: recommend avoiding destructive
333 modification of the value argument of :set (bug#16755).
335 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
337 * simple.el (newline-and-indent): Do autofill (bug#17031).
339 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
341 * newcomment.el (comment-normalize-vars): Only add escaping check
342 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
343 (comment-beginning): Use `narrow-to-region' instead of moving back
345 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
346 (comment-start-skip): Update the docstring.
348 2014-03-18 Richard Stallman <rms@gnu.org>
350 * dired.el (dired-display-file): Force use of other window.
352 2014-03-18 Daniel Colascione <dancol@dancol.org>
354 * startup.el (tty-handle-args): Remove debug message from 2007.
356 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
358 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
359 (advice--make-interactive-form): Use it to avoid (auto)loading function.
360 (advice--make-1, advice-add, advice-remove):
361 Remove braindead :advice-pending hack.
363 2014-03-17 Glenn Morris <rgm@gnu.org>
365 * calendar/calendar.el (calendar-generate-month): Apply weekend
366 face to the right days; fixes 2013-08-06 change. (Bug#17028)
368 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
370 * net/tramp.el (tramp-action-out-of-band): Read pending output.
371 (tramp-call-process): Trace also DESTINATION.
373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
374 Quote file names when they are local. Remove superfluous trace.
376 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
378 * newcomment.el (comment-beginning): If `comment-start-skip'
379 doesn't match, move back one char and try again. (Bug#16971)
381 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
382 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
383 Set `comment-start-skip' to a simpler value that doesn't try to
384 check if the semicolon is escaped (this is handled by
385 `syntax-ppss' now). (Bug#16971)
387 * progmodes/scheme.el (scheme-mode-variables): Same.
389 2014-03-16 Martin Rudalics <rudalics@gmx.at>
391 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
392 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
393 current (Bug#16816, Bug#17007).
394 (with-current-buffer-window): New macro doing the same as
395 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
396 * help.el (help-print-return-message): Warn in doc-string to not
397 use this in `with-help-window'.
398 (describe-bindings-internal): Call `describe-buffer-bindings'
399 from within help buffer. See Juanma's scenario in (Bug#16816).
400 (with-help-window): Update doc-string.
401 * dired.el (dired-mark-pop-up):
402 * files.el (save-buffers-kill-emacs):
403 * register.el (register-preview): Use `with-current-buffer-window'
404 instead of `with-temp-buffer-window'.
406 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
408 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
409 Implement inserting into current buffer, documented in their docstrings.
410 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
411 (rst-section-tree-point, rst-forward-section, rst-indent)
412 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
413 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
414 (rst-font-lock-handle-adornment-pre-match-form)
415 (rst-repeat-last-character): Reflow docstrings.
416 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
417 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
418 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
419 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
421 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
422 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
423 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
425 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
427 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
428 for compatibility with other ports.
429 (ns-initialize-window-system): Use it. It is set in term/common-win.el
430 from the -xrm command line argument, but in the Nextstep port its value
431 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
433 * progmodes/python.el (defconst, python-syntax-count-quotes)
434 (python-indent-region, python-indent-shift-right)
435 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
436 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
437 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
438 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
439 (inferior-python-mode, python-shell-make-comint, run-python-internal)
440 (python-shell-buffer-substring, python-shell-send-buffer)
441 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
442 (python-completion-complete-at-point, python-fill-docstring-style)
443 (python-eldoc-function, python-imenu-format-item-label)
444 (python-imenu-format-parent-item-label)
445 (python-imenu-format-parent-item-jump-label)
446 (python-imenu--build-tree, python-imenu-create-index)
447 (python-imenu-create-flat-index): Fix docstring typos.
448 (python-indent-context, python-shell-prompt-regexp, run-python):
449 Remove superfluous backslashes.
450 (python-indent-line, python-nav-beginning-of-defun)
451 (python-shell-get-buffer, python-shell-get-process)
452 (python-info-current-defun, python-info-current-line-comment-p)
453 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
454 (python-indent-post-self-insert-function, python-shell-send-file)
455 (python-shell-completion-get-completions)
456 (python-shell-completion-complete-or-indent)
457 (python-eldoc--get-doc-at-point): Reflow docstrings.
459 2014-03-14 Glenn Morris <rgm@gnu.org>
461 * emacs-lisp/package.el (package-menu-mode-map):
462 Replace use of obsolete function alias. Tweak menu item text.
464 * info.el (Info-finder-find-node):
465 Ignore the `emacs' metapackage. (Bug#10813)
467 * finder.el (finder-list-matches): Include unversioned packages
468 in the result of a keyword search.
470 * finder.el (finder--builtins-descriptions): New constant.
471 (finder-compile-keywords): Use finder--builtins-descriptions.
473 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
475 * simple.el (blink-matching-paren): Describe the new value,
476 `jump', enabling the old behavior.
477 (blink-matching-open): Use that value. (Bug#17008)
479 2014-03-14 Glenn Morris <rgm@gnu.org>
481 * finder.el (finder-no-scan-regexp): Add leim-list.
482 (finder-compile-keywords):
483 Don't skip files with same basename. (Bug#14010)
484 * Makefile.in (setwins_finder): New, excluding leim.
485 (finder-data): Use setwins_finder.
487 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
488 (help-function-arglist, help-make-usage): Move from here...
489 * help.el (help-split-fundoc, help-add-fundoc-usage)
490 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
491 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
493 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
495 * net/socks.el (socks, socks-override-functions)
496 (socks-find-services-entry):
497 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
498 (hif-find-ifdef-block):
499 * progmodes/modula2.el (m2-indent): Fix docstring typos.
501 * net/tls.el (tls-program): Reflow docstring.
503 * progmodes/pascal.el (pascal-mode-abbrev-table)
504 (pascal-imenu-generic-expression, pascal-auto-endcomments)
505 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
506 (pascal-outline-mode): Fix docstring typos.
507 (pascal-mode): Let define-derived-mode document mode hook.
508 (pascal-uncomment-area): Reflow.
509 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
511 * progmodes/opascal.el (opascal-compound-block-indent)
512 (opascal-case-label-indent): Fix docstring typos.
513 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
515 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
517 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
518 Fontify multiple adjacent negation chars. (Bug#17004)
520 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
522 * emacs-lisp/package.el (package--prepare-dependencies):
523 Accept requirements without explicit version (bug#14941).
525 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
527 * register.el (register-separator, copy-to-register): Doc fixes.
528 (register-preview-default): Remove unnecessary call to concat.
530 * frameset.el (frameset-restore): When checking for a visible frame,
531 use the action map instead of calling visible-frame-list.
533 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
535 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
537 2014-03-12 Martin Rudalics <rudalics@gmx.at>
539 * window.el (fit-frame-to-buffer): Get maximum width from
540 display's width instead of height.
542 2014-03-12 Glenn Morris <rgm@gnu.org>
544 * desktop.el (desktop-restore-frames)
545 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
546 (desktop-restore-reuses-frames): Doc tweaks.
548 * electric.el (electric-indent-mode): Doc fix.
550 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
552 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
553 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
554 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
555 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
556 (cvs-dired-use-hook): Fix docstring typos.
557 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
560 * vc/pcvs-defs.el (cvs-auto-remove-handled)
561 (cvs-auto-remove-directories, cvs-default-ignore-marks)
562 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
563 (cvs-execute-single-dir): Fix docstring typos.
565 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
566 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
568 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
570 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
573 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
575 * frameset.el (frameset--jump-to-register): Add autoload; it could be
576 called from jump-to-register after unloading the frameset package.
578 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
580 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
581 (bug#16975). Deactivate the mark before setting it to nil.
582 (activate-mark): Do nothing if region is already active.
584 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
586 * frameset.el (frameset--target-display): Remove definition; declare.
587 (frameset-save, frameset-restore): Let-bind frameset--target-display.
589 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
591 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
592 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
593 when the advice is pending.
594 (advice-remove): Remove this marker when not needed any more.
596 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
598 * frameset.el: Separate options for reusing frames and cleaning up.
599 (frameset--reuse-list): Remove definition; declare.
600 (frameset--action-map): Declare.
601 (frameset--find-frame-if): Doc fix.
602 (frameset--restore-frame): Cache frame action.
603 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
604 how to clean up the frame list after restoring. Remove cleaning
605 options from REUSE-FRAMES. Change all keyword values to symbols.
606 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
608 * desktop.el (desktop-restore-forces-onscreen)
609 (desktop-restore-reuses-frames): Use non-keyword values.
610 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
612 2014-03-10 Glenn Morris <rgm@gnu.org>
614 * files.el (find-file): Doc fix: update info node name.
616 * emacs-lisp/advice.el (ad-add-advice, defadvice):
617 Doc fix: remove references to deleted info nodes.
619 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
621 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
622 Do not add `nil' to the environment, when there's no remote `locale'.
623 (tramp-find-inline-encoding): Check, that the remote host has
624 installed perl, before sending scripts.
626 2014-03-10 Leo Liu <sdl.web@gmail.com>
628 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
629 Clear eldoc-last-message. (Bug#16920)
631 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
633 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
636 2014-03-09 Juri Linkov <juri@jurta.org>
638 * ansi-color.el (ansi-color-names-vector): Copy default colors
639 from `xterm-standard-colors' that look well on the default white
640 background (and also on the black background) to avoid illegible
641 color combinations like yellow-on-white and white-on-white.
642 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
644 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
646 * frameset.el (frameset-restore): When no frame is visible, do not
647 generate a list of frames, just make visible the selected one.
649 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
651 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
652 it only contains the repository root. (Bug#16897)
654 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
656 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
657 only when `remote-file-name-inhibit-cache' is nil.
658 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
660 2014-03-06 Martin Rudalics <rudalics@gmx.at>
662 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
664 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
665 fit-frame-to-buffer variable. Fix doc-string.
666 (fit-window-to-buffer): Set ONLY argument in call of
667 fit-frame-to-buffer. Fix doc-string.
669 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
671 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
672 (tramp-action-password): Clear password cache if needed.
673 (tramp-read-passwd): Do not clear password cache.
675 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
676 cache unless it is the first password request.
678 2014-03-06 Glenn Morris <rgm@gnu.org>
680 * simple.el (newline): Doc tweak.
682 * emacs-lisp/shadow.el (load-path-shadows-find):
683 Ignore dir-locals. (Bug#12357)
685 2014-03-05 Glenn Morris <rgm@gnu.org>
687 * files.el (interpreter-mode-alist):
688 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
690 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
692 * frameset.el (frameset--initial-params): Filter out null entries.
694 2014-03-05 Martin Rudalics <rudalics@gmx.at>
696 * window.el (window-min-height, window-min-width):
698 (window-body-size): Add PIXELWISE argument to make it consistent
701 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
703 * finder.el (finder-mode-map, finder-mode-syntax-table):
704 Revert part of 2014-02-28 change.
706 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
708 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
709 (eww-setup-buffer): Clear next/prev/etc more reliably.
710 (eww-textarea-map): [tab] doesn't work on tty.
711 Reported by Mario Lang.
713 * net/shr.el (shr-map): Ditto.
715 2014-03-04 Glenn Morris <rgm@gnu.org>
717 * minibuffer.el (completion-hilit-commonality):
718 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
720 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
722 * hilit-chg.el (hilit-chg-unload-function): New function.
723 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
724 (hilit-chg-map-changes): Prefer cardinal number to digit.
725 (hilit-chg-display-changes): Reflow docstring.
726 (highlight-changes-rotate-faces): Remove superfluous backslash.
728 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
730 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
731 `tramp-send-command-and-check'.
733 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
735 * hexl.el (hexl-address-region, hexl-ascii-region)
736 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
737 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
738 (hexl-forward-word, hexl-previous-line, hexl-next-line):
739 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
740 (hexl-mode): Doc fix.
741 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
742 (hexl-mode-ruler): Fix typos in docstrings.
744 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
745 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
746 Remove superfluous backslashes.
747 (strokes-last-stroke, strokes-global-map, strokes-mode):
749 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
750 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
751 (strokes-distance-squared, strokes-global-set-stroke)
752 (strokes-global-set-stroke-string): Doc fixes.
753 (strokes-help): Fix typos; reflow docstring.
755 2014-03-04 Martin Rudalics <rudalics@gmx.at>
757 * window.el (window-in-direction): Fix doc-string.
759 2014-03-04 Glenn Morris <rgm@gnu.org>
761 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
762 Explicit error if no grammar.
763 (smie-config-save): Doc fix. Fix quote typo.
765 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
767 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
768 electric-indent-mode-hook if we obey electric-indent-mode.
769 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
770 decide whether we obey electric-indent-mode.
771 (c-change-set-fl-decl-start, c-extend-after-change-region):
773 (c-electric-indent-mode-hook): Assume we do want to obey
774 electric-indent-mode.
776 * electric.el (electric-indent-mode-has-been-called): Remove.
777 (electric-indent-mode): Fix accordingly.
779 * files.el (hack-local-variables): Mention file name in warning.
781 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
783 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
785 * binding.el: Add comment describing why C-d binds to `delete-char'.
786 * simple.el (delete-forward-char): Mark as interactive-only.
788 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
790 * icomplete.el (icomplete-completions):
791 Follow-up to 2014-03-01 change.
793 * icomplete.el: Miscellaneous doc fixes.
794 Use Icomplete everywhere instead of icomplete for consistency.
795 (icomplete-max-delay-chars): Fix typo.
796 (icomplete-mode): Use \[].
797 (icomplete-tidy, icomplete-exhibit): Reflow.
798 (icomplete-minibuffer-setup-hook, icomplete-completions):
799 Remove superfluous backlashes.
801 * ido.el: Miscellaneous doc fixes.
802 Use Ido everywhere instead of ido or `ido' for consistency.
803 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
804 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
805 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
806 (ido-separator): Extract obsolescence info from docstring and declare
807 with make-obsolete-variable.
808 (ido-minibuffer-setup-hook): Simplify example.
809 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
810 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
811 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
812 (ido-everywhere): Reflow docstring.
813 (ido-toggle-vc): Doc fix.
814 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
815 of long list of keybindings.
817 2014-03-03 Glenn Morris <rgm@gnu.org>
819 * frame.el (display-pixel-height, display-pixel-width)
820 (display-mm-dimensions-alist, display-mm-height)
821 (display-mm-width): Doc tweaks.
823 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
825 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
826 case of undo in region.
828 2014-03-02 Martin Rudalics <rudalics@gmx.at>
830 * window.el (fit-window-to-buffer): Fix argument in window-size
831 call when window is horizontally combined.
833 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
835 * icomplete.el (icomplete-completions): Use string-width.
836 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
838 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
840 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
841 Highlight regexp options. (Bug#16914)
843 2014-03-01 Martin Rudalics <rudalics@gmx.at>
845 * window.el (window--max-delta-1): Round down when calculating
846 how many lines/columns we can get from a window.
848 2014-03-01 Glenn Morris <rgm@gnu.org>
850 * isearch.el (search-invisible): Doc fix.
852 * minibuffer.el (completion-hilit-commonality):
853 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
854 * comint.el (comint-dynamic-list-completions): Doc fix.
855 * comint.el (comint-dynamic-list-completions):
856 * filecache.el (file-cache-minibuffer-complete):
857 * tempo.el (tempo-display-completions):
858 * eshell/em-hist.el (eshell-list-history):
859 Replace use of obsolete argument of display-completion-list.
861 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
863 * icomplete.el (icomplete-completions):
864 Revert back to using "..." when ?… cannot be displayed.
866 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
868 * finder.el (finder-unload-function): New function.
870 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
872 * dframe.el (dframe-detach):
873 * find-dired.el (find-dired, find-name-dired):
874 * finder.el (finder-mode-map, finder-mode-syntax-table)
875 (finder-headmark, finder-select, finder-mouse-select):
878 2014-02-28 Martin Rudalics <rudalics@gmx.at>
880 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
881 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
882 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
883 Fix doc-string based on a suggestion by Nicolas Richard
884 <theonewiththeevillook@yahoo.fr>.
885 * help.el (with-help-window): Fix doc-string.
887 2014-02-28 Ivan Kanis <ivan@kanis.fr>
889 * net/shr.el (shr-image-animate): New option.
890 (shr-put-image): Respect shr-image-animate.
892 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
894 * net/tramp-adb.el (tramp-adb-parse-device-names):
895 Use `accept-process-output'.
896 (tramp-adb-handle-file-truename): Cache the localname only.
897 (tramp-adb-handle-make-directory)
898 (tramp-adb-handle-delete-directory): Flush file properties correctly.
899 (tramp-adb-handle-set-file-modes): Do not raise an error when file
900 modes cannot be changed.
902 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
903 file properties of symlinks.
905 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
907 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
908 required/optional fields to match development biblatex. (Bug#16781)
910 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
912 * saveplace.el (toggle-save-place):
913 Fix argument handling. (Bug#16673)
915 2014-02-28 Glenn Morris <rgm@gnu.org>
917 * minibuffer.el (completions-first-difference)
918 (completions-common-part, completion-hilit-commonality): Doc fixes.
920 2014-02-28 Karl Berry <karl@gnu.org>
922 * info.el (Info-mode-map): Add H for describe-mode,
923 to synchronize with standalone Info.
925 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
927 * progmodes/sql.el (sql-interactive-mode):
928 Avoid setting global comint-input-ring-separator. (Bug#16814)
930 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
932 * net/dbus.el (dbus--init-bus): Declare function.
933 (dbus-path-local, dbus-interface-local): New defconst.
934 (dbus-init-bus): Use them.
935 (dbus-return-values-table): Extend doc.
936 (dbus-handle-bus-disconnect): Extend error message.
938 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
940 * subr.el (y-or-n-p): Fix double space issue in message.
942 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
944 * net/tramp.el (tramp-call-process): Improve trace message.
945 (tramp-handle-insert-file-contents): Trace error case.
947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
948 <insert-directory>: Use `tramp-handle-insert-directory'.
949 (tramp-adb-handle-insert-directory): Remove function.
950 (tramp-adb-send-command-and-check): New defun, replacing
951 `tramp-adb-command-exit-status'. Change all callees.
952 (tramp-adb-handle-file-attributes)
953 (tramp-adb-handle-directory-files-and-attributes): Use it.
954 (tramp-adb-ls-output-name-less-p):
955 Use `directory-listing-before-filename-regexp'.
956 (tramp-adb-handle-delete-directory): Flush also file properties of
957 the truename of directory.
958 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
959 (tramp-adb-handle-file-local-copy): Make the local copy readable.
960 (tramp-adb-handle-write-region): Implement APPEND.
961 (tramp-adb-handle-rename-file): Make it more robust. Flush file
962 properties correctly.
963 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
964 variables. Check for connected devices only when needed.
966 2014-02-27 Glenn Morris <rgm@gnu.org>
968 * minibuffer.el (completion-table-dynamic)
969 (completion-table-with-cache): Doc fixes.
971 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
972 (completing-read-multiple): Doc fixes.
974 2014-02-27 Daniel Colascione <dancol@dancol.org>
976 * minibuffer.el (completion--nth-completion): Fix indentation.
978 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
979 explicit tramp path is empty.
981 2014-02-27 Glenn Morris <rgm@gnu.org>
983 * emacs-lisp/crm.el (completing-read-multiple):
984 Empower help-enable-auto-load.
986 2014-02-26 Glenn Morris <rgm@gnu.org>
988 * startup.el (command-line): Don't init the tty in daemon mode.
990 Avoid calling tty-setup-hook twice, eg if a term file
991 explicitly calls tty-run-terminal-initialization. (Bug#16859)
992 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
993 (tty-create-frame-with-faces): Use it.
994 * startup.el (command-line): Pass run-hook argument
995 to tty-run-terminal-initialization.
997 * dired.el (dired-restore-desktop-buffer): Demote errors;
998 eg in case a glob match fails. (Bug#16884)
1000 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
1002 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
1003 error from `read-from-string'. (Bug#16850)
1005 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
1006 result of `completing-read' in the interactive form. (Bug#16854)
1008 2014-02-25 Glenn Morris <rgm@gnu.org>
1010 * image.el (image-animate, image-animate-timeout):
1011 Stop animating images in dead buffers. (Bug#16878)
1013 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
1015 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
1017 * startup.el (term-setup-hook): Doc fix. Make obsolete.
1018 * term/sun.el (sun-raw-prefix-hooks):
1019 Use tty-setup-hook instead of term-setup-hook.
1020 (terminal-init-sun): Construct message from bytecomp plist.
1021 * term/wyse50.el (enable-arrow-keys): Doc fix.
1023 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1025 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
1026 Fix docstring typos.
1028 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
1030 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
1032 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1034 * minibuffer.el (completion--try-word-completion):
1035 Fix error when completing M-x commands (bug#16808).
1037 2014-02-24 Leo Liu <sdl.web@gmail.com>
1039 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
1041 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
1043 * apropos.el (apropos-print): Avoid formatting error when
1044 apropos-do-all and apropos-compact-layout are both t.
1046 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1048 * apropos.el (apropos-property, apropos-all-words-regexp)
1049 (apropos-true-hit, apropos-variable, apropos-print):
1050 Fix docstring typos, and remove obsolete comment.
1052 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
1054 * net/tramp-sh.el (tramp-sh-handle-file-truename):
1055 Preserve trailing "/". (Bug#16851)
1057 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
1059 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
1060 after `=>' (bug#16811).
1061 (ruby-smie-rules): Handle the inconsistent second element of the
1062 list returned by `smie-indent--parent'.
1063 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
1066 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
1068 * elec-pair.el (electric-pair-text-syntax-table)
1069 (electric-pair-syntax-info, electric-pair--syntax-ppss)
1070 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
1071 (electric-pair--looking-at-unterminated-string-p): Doc fix.
1072 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
1074 2014-02-22 Glenn Morris <rgm@gnu.org>
1076 * imenu.el (imenu--generic-function): Doc fix.
1078 * register.el (frame-configuration-to-register): Make obsolete.
1080 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
1082 * desktop.el (desktop-save-buffer-p): Do not fail when
1083 desktop-files-not-to-save is nil. Return t for true result
1086 2014-02-22 Daniel Colascione <dancol@dancol.org>
1088 * net/secrets.el (secrets-create-item, secrets-search-items):
1089 Check that attribute values are strings, avoiding the construction
1090 of invalid dbus messages.
1092 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1094 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
1095 defun-declarations-alist.
1097 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
1102 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1104 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
1105 (whitespace-newline, whitespace-trailing, whitespace-line)
1106 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
1107 (whitespace-space-after-tab): Fix typo in docstrings.
1109 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
1111 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
1113 * electric.el (electric-indent-functions-without-reindent):
1114 Add `yaml-indent-line'.
1116 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1118 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
1119 It has done nothing for years; should be removed after the release.
1121 * simple.el (choose-completion): Fix docstring typo.
1122 (read-quoted-char-radix): Remove unneeded * in docstring.
1123 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
1124 Don't escape parentheses unnecessarily in docstrings.
1126 2014-02-21 Martin Rudalics <rudalics@gmx.at>
1128 Fix handling of window-min-height/-width (Bug#16738).
1129 * window.el (window--dump-window, window--dump-frame):
1131 (window--min-size-1): Account for window dividers.
1132 When window-resize-pixelwise is nil, delay rounding till after the
1133 sum of the window components has been calculated.
1134 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
1135 nil make sure at least one text line and two text columns remain
1137 (window-resize): Signal an error when window-resize-apply fails.
1138 (window--resize-child-windows): Fix calculation of by how many
1139 pixels a window can still be shrunk via window-new-normal.
1140 (adjust-window-trailing-edge): Call window--resizable with
1141 correct TRAIL argument.
1143 (with-temp-buffer-window): Don't evaluate BODY within
1144 with-current-buffer (Bug#16816).
1146 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
1148 * net/tramp.el (tramp-check-cached-permissions):
1149 Call `file-attributes' with `suffix' being a symbol but a string.
1151 2014-02-21 Daniel Colascione <dancol@dancol.org>
1153 * net/dbus.el (dbus-init-bus-1): Declare new subr.
1154 (dbus-init-bus): New function: call into dbus-init-bus-1
1155 and installs a handler for the disconnect signal.
1156 (dbus-call-method): Rewrite to look for result in cons.
1157 (dbus-call-method-handler): Store result in cons.
1158 (dbus-check-event): Recognize events with nil sender as valid.
1159 (dbus-handle-bus-disconnect): New function. React to bus
1160 disconnection signal by synthesizing dbus error for each
1161 pending synchronous or asynchronous call.
1162 (dbus-notice-synchronous-call-errors): New function.
1163 (dbus-handle-event): Raise errors directly only when `dbus-debug'
1164 is true, not all the time.
1166 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
1168 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
1169 Remove obsolescence declarations, these variables do not exist anymore.
1171 * savehist.el (savehist-save-minibuffer-history)
1172 (savehist-additional-variables, savehist-file, savehist-mode-hook)
1173 (savehist-save-hook, savehist-coding-system, savehist-loaded)
1174 (savehist-load, savehist-install, savehist-autosave): Fix typos;
1175 mostly, refer to "Savehist mode" when talking about the mode,
1176 and not the function.
1178 * saveplace.el (save-place): Remove redundant info in docstring.
1179 (save-place-forget-unreadable-files, toggle-save-place)
1180 (save-place-forget-unreadable-files, save-place-dired-hook):
1181 Fix typos and remove unneeded backslashes.
1183 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
1185 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
1186 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
1188 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1189 <insert-directory>: Use `tramp-handle-insert-directory'.
1190 (tramp-gvfs-handle-insert-directory): Remove function.
1192 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1193 Call `tramp-handle-insert-directory'.
1195 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
1197 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
1198 before the start of buffer/region (bug#16799).
1200 2014-02-20 Glenn Morris <rgm@gnu.org>
1202 * isearch.el (search-invisible): Doc fix.
1204 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
1206 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
1209 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1211 * frameset.el (frameset-restore): Delay removing an old frame's
1212 duplicate id until the new frame has been correctly created.
1214 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
1216 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
1217 (tramp-check-cached-permissions): Call `file-attributes' if the
1220 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1221 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1224 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
1225 (tramp-gvfs-maybe-open-connection): Set always connection
1226 properties, even if target is mounted already.
1228 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
1229 Set tramp-autoload cookie.
1230 (tramp-get-remote-touch): New defun.
1231 (tramp-sh-handle-set-file-times): Use it.
1232 (tramp-sh-handle-directory-files-and-attributes):
1233 Use `tramp-handle-directory-files-and-attributes' if neither stat
1234 nor perl are available on the remote host.
1236 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1237 "/". Write long listing only when "l" belongs to the switches.
1239 * net/trampver.el: Update release number.
1241 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1243 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1245 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1247 * window.el (window-state-put): Allow WINDOW to refer to an
1248 internal window (Bug#16793).
1250 2014-02-19 Glenn Morris <rgm@gnu.org>
1252 * textmodes/remember.el: Move provide statement to end.
1253 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1254 (remember-notes): Doc fixes.
1256 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1258 * delsel.el (delete-char): Restore incorrectly erased property
1261 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1263 * frameset.el (frameset--restore-frame): When a frame is being reused
1264 and its root window is not alive, delete all the frame's windows before
1265 restoring the window state. This works around the issue in bug#16793.
1267 2014-02-18 Glenn Morris <rgm@gnu.org>
1269 * textmodes/remember.el (remember-data-directory)
1270 (remember-directory-file-name-format, remember-store-in-files)
1271 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1272 (remember-notes-save-and-bury-buffer)
1273 (remember-notes--kill-buffer-query): Doc fixes.
1275 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1277 2014-02-17 Alan Mackenzie <acm@muc.de>
1279 Connect electric-indent-mode up with CC Mode. Bug #15478.
1280 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1281 to electric-indent-{,local-}-mode.
1282 (c-basic-common-init): Set electric-indent-inhibit.
1283 Initialise c-electric-flag from electric-indent-mode.
1284 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1285 New hook functions which propagate electric-indent-mode to CC mode.
1287 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1288 hit, toggle electric-indent-local-mode.
1290 * electric.el (electric-indent-mode-has-been-called):
1293 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1295 * frameset.el (frameset-cfg-id): New function.
1296 (frameset--reuse-frame, frameset-restore): Use it.
1297 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1299 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * ido.el (ido-file-internal): Remove unused var `d'.
1302 Use \` for to match BoS. Fit within 80n columns.
1304 2014-02-17 Daniel Colascione <dancol@dancol.org>
1306 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1307 dbus-call-method check for completion using a busy-wait loop with
1310 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
1312 Sync with Tramp 2.2.9.
1314 * net/trampver.el: Update release number.
1316 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1318 * ido.el (ido-file-internal): Don't add the name of an existing
1319 directory twice. (Bug#16747)
1321 2014-02-16 Glenn Morris <rgm@gnu.org>
1323 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1324 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1326 2014-02-15 Michael R. Mauger <michael@mauger.com>
1328 * progmodes/sql.el: Version 3.4
1329 (sql-oracle-options): New default value ("-L").
1330 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1331 (sql-placeholders-filter): Correct placeholder pattern.
1332 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1333 (sql-login-delay): New variable.
1334 (sql-product-interactive): Use it.
1336 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1338 * frameset.el (frameset--jump-to-register): Check that buffer is live
1341 2014-02-15 Glenn Morris <rgm@gnu.org>
1343 * info.el (info-initialize): Revert 2014-01-10 change.
1345 2014-02-14 Glenn Morris <rgm@gnu.org>
1347 * replace.el (map-query-replace-regexp)
1348 (read-regexp-defaults-function, read-regexp): Doc fixes.
1350 * dired.el (dired-read-regexp):
1351 * faces.el (list-faces-display):
1352 * misearch.el (multi-isearch-read-matching-buffers)
1353 (multi-isearch-read-matching-files):
1354 * play/cookie1.el (cookie-apropos):
1355 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1357 * textmodes/remember.el (remember): Use frameset-to-register
1358 rather than frame-configuration-to-register.
1360 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1362 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1363 incorrect keybinding.
1365 2014-02-13 Daniel Colascione <dancol@dancol.org>
1367 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1368 when adding overlays so that line numbers from compiler match line
1371 2014-02-13 Glenn Morris <rgm@gnu.org>
1373 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1375 * jit-lock.el (jit-lock-mode): Doc fix.
1377 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1379 * apropos.el (apropos-read-pattern): When the user passes an empty
1380 string, give a more helpful error message than "Wrong type
1381 argument: stringp, nil".
1383 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1387 2014-02-13 Glenn Morris <rgm@gnu.org>
1389 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1391 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1394 shift-select commands.
1396 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1398 * progmodes/js.el (js-indent-line): Don't widen.
1399 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1401 2014-02-12 Glenn Morris <rgm@gnu.org>
1403 * icomplete.el (icomplete): Add info-link to defgroup.
1404 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1405 (icomplete-minibuffer-map, icomplete-mode)
1406 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1408 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1409 (package-menu-filter): Rename from package-menu-filter-interactive.
1412 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1414 * frameset.el (frameset--jump-to-register): Select the required
1415 window and buffer before restoring position (bug#16696).
1417 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1419 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1421 2014-02-10 Glenn Morris <rgm@gnu.org>
1423 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1425 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1427 * w32-common-fns.el (x-get-selection): Doc fix.
1428 * select.el (x-get-selection): Doc fix. (Bug#15109)
1430 * face-remap.el (face-remap-add-relative)
1431 (face-remap-remove-relative, face-remap-reset-base)
1432 (face-remap-set-base): Call force-mode-line-update to redisplay
1433 the current buffer due to potential change in faces. (Bug#16709)
1435 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1437 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1438 script more robustly.
1440 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1442 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1444 * simple.el (choose-completion): Doc fix (bug#14160).
1446 * subr.el (event-start): Say what a nil EVENT value means.
1448 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1451 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1453 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1455 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1457 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1458 predicate function (bug#15455).
1460 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1462 * ielm.el (inferior-emacs-lisp-mode): Instead of
1463 `comment-use-global-state', set `comment-use-syntax'.
1465 2014-02-10 Glenn Morris <rgm@gnu.org>
1467 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1469 2014-02-09 Alan Mackenzie <acm@muc.de>
1471 Fix c-invalidate-state-cache on narrowed buffers.
1472 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1473 Widen when setting and clearing the CPP delimiter properties.
1475 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1477 * help.el (describe-bindings): Doc fix (bug#9888).
1479 * files.el (save-buffer): Use ARG as the parameter name for
1480 consistency (bug#10346).
1481 (save-buffer): Clarify the 0 argument (bug#10346).
1483 * cus-edit.el (customize-apropos): Fix error string.
1484 (custom-buffer-create): Doc fix (bug#11122).
1485 (custom-sort-items): Doc fix (bug#11121).
1487 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1489 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1490 (icomplete-simple-completing-p): Mention the previous variable.
1492 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1493 meaning of the parameter (bug#12282).
1495 * files.el (find-file-noselect): Clarify prompt when changing
1496 readedness (bug#13261).
1497 (locate-file): Suffixes aren't returned, so don't say that they
1499 (backup-inhibited): Doc clarification (bug#12525).
1501 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1502 before we actually start to delete things (bug#16331).
1504 * subr.el (event-start): Doc fix (bug#14228).
1507 2014-02-09 Glenn Morris <rgm@gnu.org>
1509 * emacs-lisp/warnings.el (lwarn):
1510 Empower help-enable-auto-load. (Bug#15940)
1512 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1514 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1517 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1519 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1520 Insert output at end of buffer. (Bug#16120)
1522 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1524 * simple.el (choose-completion-string-functions): Document new
1525 calling convention (bug#14153).
1526 (execute-extended-command): Clarify doc string (bug#13373).
1528 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1530 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1531 (find-grep-dired): Doc fix (bug#14288).
1533 2014-02-08 Juri Linkov <juri@jurta.org>
1535 * isearch.el (isearch-quote-char): Check character validity
1536 like in `quoted-insert' (bug#16677).
1538 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1540 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1542 * isearch.el (isearch-hide-immediately): Doc clarification
1545 * simple.el (line-move): Document utility function used many
1546 places in the Emacs sources (bug#14843).
1548 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1549 (dired-prev-marked-file): Doc fix (bug#14855).
1550 (dired-up-directory): Doc fix (bug#14848).
1552 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1554 * files.el (file-relative-name): Doc fix (bug#15159).
1556 * fringe.el (fringe-styles): Doc fix (bug#15239).
1558 * isearch.el (isearch-filter-predicate): Documentation typo fix
1561 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1563 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1565 * replace.el (replace-match-maybe-edit): Doc clarification
1568 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1570 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1572 2014-02-08 Glenn Morris <rgm@gnu.org>
1574 * help-fns.el (describe-variable):
1575 Check {file,dir}-local-variables-alist, and buffer-file-name,
1576 in the correct buffer.
1578 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1580 * help-fns.el (describe-variable): Fix the case where
1581 a value is directory-local with no dir-locals file. (Bug#16635)
1583 2014-02-08 Glenn Morris <rgm@gnu.org>
1585 * abbrev.el (edit-abbrevs-mode):
1586 Derive from fundamental-mode. (Bug#16682)
1588 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1590 * simple.el (quoted-insert): Check character validity (bug#16677).
1592 2014-02-07 Juri Linkov <juri@jurta.org>
1594 * desktop.el (desktop-read): Claim the lock when the owner is not
1595 the current process. (Bug#16157)
1597 2014-02-07 Juri Linkov <juri@jurta.org>
1599 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1600 to "\\` ". (Bug#16651)
1602 2014-02-07 Juri Linkov <juri@jurta.org>
1604 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1605 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1606 (desktop-auto-save-cancel-timer): New function with some code from
1607 `desktop-auto-save-set-timer'.
1608 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1609 Instead of setting `desktop-save-mode' to nil, call
1610 `desktop-save-mode' with arg 0. (Bug#16630)
1612 2014-02-07 Glenn Morris <rgm@gnu.org>
1614 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1615 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1616 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1618 * obsolete/iswitchb.el: Move to obsolete/.
1619 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1620 since obsolete/ is not scanned for autoloads.
1621 * emacs-lisp/authors.el (authors-valid-file-names):
1624 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1625 Disable now non-functional find-file-hook.
1627 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1629 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1630 instead of ";" in order to avoid additional prompts. Let heredoc
1631 scripts read from tty. (Bug#16582)
1632 (tramp-send-command): No special handling of heredocs, it isn't
1635 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1638 with a space (bug#16664). Limit the symbols considered to the ones
1639 that are bound or fbound (bug#16646).
1641 2014-02-06 Glenn Morris <rgm@gnu.org>
1643 * epa.el (epa-mail-aliases): Doc fix.
1645 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1647 * emacs-lisp/lisp.el (lisp-completion-at-point):
1648 Use `completion-table-merge' instead of `completion-table-in-turn'
1651 * minibuffer.el (completion-table-merge): New function.
1653 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1656 (tramp-sh-handle-set-file-acl)
1657 (tramp-sh-handle-start-file-process)
1658 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1659 (tramp-find-executable, tramp-send-command): Use it.
1661 2014-02-05 Glenn Morris <rgm@gnu.org>
1663 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1665 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1667 * progmodes/python.el (python-shell-send-string)
1668 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1670 2014-02-04 Anders Lindgren <andlind@gmail.com>
1672 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1673 the names (bug#16620).
1675 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1677 * faces.el (window-divider): New default value. Rewrite doc-string.
1678 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1680 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1683 `protected' and `public' can also be called without arguments.
1685 2014-02-03 Glenn Morris <rgm@gnu.org>
1687 * register.el (window-configuration-to-register)
1688 (frame-configuration-to-register): Unadvertise unused argument.
1689 * frameset.el (frameset-to-register): Remove unused argument.
1691 * frameset.el (frameset-to-register):
1692 * kmacro.el (kmacro-to-register):
1693 * register.el (increment-register):
1694 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1695 (calc-append-to-register, calc-prepend-to-register):
1696 * play/gametree.el (gametree-layout-to-register)
1697 (gametree-apply-register-layout):
1698 * textmodes/picture.el (picture-clear-rectangle-to-register)
1699 (picture-yank-rectangle-from-register):
1700 * vc/emerge.el (emerge-combine-versions-register):
1701 Use register-read-with-preview to read registers.
1703 2014-02-03 João Távora <joaotavora@gmail.com>
1705 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1706 when at beginning of (possibly narrowed) buffer.
1708 2014-02-02 Daniel Colascione <dancol@dancol.org>
1710 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1711 Also try to display local help from just before point.
1713 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1715 c-parse-state. Don't "append-lower-brace-pair" in certain
1716 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1717 recognised as a comment.
1719 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1720 as well as normal comment starter.
1721 (c-parse-state-get-strategy): Extra return possibility
1723 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1724 return value list to indicate replacement of a brace-pair cons
1726 (c-parse-state-1): With 'back-and-forward, only call
1727 c-append-lower-brace-pair-to state-cache when cons-separated.
1729 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1731 * term/ns-win.el (ns-suspend-error): New function.
1732 (ns-initialize-window-system): Add ns-suspend-error to
1733 suspend-hook (Bug#16612).
1735 2014-02-02 Daniel Colascione <dancol@dancol.org>
1737 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1738 Make loading cc-mode silent.
1740 2014-02-02 Daniel Colascione <dancol@dancol.org>
1742 * comint.el (comint-prompt-read-only): Change doc to suggest
1745 2014-02-02 Glenn Morris <rgm@gnu.org>
1747 * register.el (register-read-with-preview, point-to-register)
1748 (window-configuration-to-register, frame-configuration-to-register)
1749 (jump-to-register, number-to-register, view-register, insert-register)
1750 (copy-to-register, append-to-register, prepend-to-register)
1751 (copy-rectangle-to-register): Doc fixes.
1753 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1755 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1756 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1757 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1758 * help-fns.el (describe-function-1): Use it.
1760 2014-02-02 Glenn Morris <rgm@gnu.org>
1762 * register.el (register-preview-default): New function,
1763 split from register-preview.
1764 (register-preview-function): Rename from register-preview-functions,
1766 (register-preview): Use register-preview-function.
1767 (register-read-with-preview): Error on non-character event. (Bug#16595)
1769 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1772 `:' before binary operators (bug#16609). Don't check for `:'
1773 before `[' and `(', or their syntax status. A percent literal
1774 can't end with either.
1775 (ruby-font-lock-keywords): For built-ins that require arguments,
1776 check that they're followed by something that looks like argument
1779 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1781 * subr.el (butlast): Document what an omitted N means (bug#13437).
1784 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1786 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1787 depth shallower (bug#16587).
1788 (shr-tag-svg): Respect `shr-inhibit-images'.
1789 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1791 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1793 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1794 (ruby-smie-grammar): Make "." right-associative. Make its priority
1795 lower than the ternary and all binary operators.
1796 (ruby-smie-rules): Indent "(" relative to the first non-"."
1797 parent, or the first "." parent at indentation.
1798 Use `ruby-align-chained-calls' for indentation of "." tokens.
1801 2014-01-31 Juri Linkov <juri@jurta.org>
1803 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1804 from `make-hash-table'.
1806 * textmodes/ispell.el (ispell-init-process): Change message format
1807 to be consistent with other messages.
1809 2014-01-31 Glenn Morris <rgm@gnu.org>
1811 * delsel.el (delete-selection-mode): Doc fix.
1813 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1814 (trace-function-background): Doc fixes.
1816 * ido.el (ido-use-virtual-buffers): Doc fix.
1817 Reset :version, since the default value has not changed.
1819 * register.el (register-preview-delay, register-read-with-preview):
1822 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1823 do not mess with mail-buffer position (fixes 2009-11-03 change).
1824 * progmodes/cc-mode.el (c-submit-bug-report):
1825 Check auto-fill-mode is bound. (Bug#16592)
1827 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1829 * startup.el (fancy-splash-image-file): New function,
1830 split from fancy-splash-head.
1831 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1832 so that we are both using the same image. (Bug#16574)
1834 2014-01-30 Glenn Morris <rgm@gnu.org>
1836 * simple.el (eval-expression): Doc fix.
1838 * hexl.el (hexl-mode-hook):
1839 * ielm.el (ielm-mode-hook):
1840 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1841 (lisp-interaction-mode-hook):
1842 * progmodes/cfengine.e (cfengine3-documentation-function):
1843 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1845 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1847 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1848 is a symbol (bug#16584).
1850 2014-01-30 Glenn Morris <rgm@gnu.org>
1852 * help.el (help-for-help-internal): Add "P" to text.
1854 2014-01-29 Glenn Morris <rgm@gnu.org>
1856 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1858 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1860 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1863 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1865 * progmodes/hideif.el: Extend to full CPP expression syntax.
1866 (hif-token-alist): Add missing tokens.
1867 (hif-token-regexp): Add support for float/octal/hex immediates.
1868 (hif-string-literal-regexp): New const.
1869 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1870 (hif-exprlist): New function.
1871 (hif-parse-if-exp): Use it.
1872 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1873 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1874 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1875 (hif-logxor, hif-comma): New functions.
1877 2014-01-28 Glenn Morris <rgm@gnu.org>
1879 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1881 * indent.el (tab-stop-list): Doc fix. Add :version.
1883 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1884 (cvs-append-to-ignore): Add compatibility alias.
1886 2014-01-27 Glenn Morris <rgm@gnu.org>
1888 * dired.el (dired-hide-details-mode): Don't autoload it,
1889 since it cannot be used outside Dired buffers anyway.
1891 * emulation/cua-base.el (cua-mode): Doc fix.
1893 * dired.el (dired-hide-details-hide-symlink-targets)
1894 (dired-hide-details-hide-information-lines)
1895 (dired-hide-details-mode): Doc fixes.
1897 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1898 * strokes.el (strokes-file): Doc fix. Bump :version.
1899 (strokes-help): Doc fix.
1900 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1901 * emulation/viper.el (viper): Doc fix for custom group.
1902 (top-level): Remove oh-so-no-longer-relevant text about vip.
1903 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1905 * ido.el (ido-save-directory-list-file):
1906 * saveplace.el (save-place-file):
1907 * calendar/timeclock.el (timeclock-file):
1908 * net/quickurl.el (quickurl-url-file):
1909 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1910 * progmodes/idlwave.el (idlwave-config-directory):
1911 * textmodes/remember.el (remember-data-file):
1914 2014-01-26 Glenn Morris <rgm@gnu.org>
1916 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1917 Doc fix. Make obsolete.
1918 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1920 * sort.el (delete-duplicate-lines): Doc fix.
1922 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1924 * progmodes/ada-mode.el (ada):
1925 * woman.el (woman): Link to info manual and Commentary section.
1927 * progmodes/flymake.el (flymake):
1928 * nxml/nxml-mode.el (nxml):
1930 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1931 * htmlfontify.el (htmlfontify):
1934 * ido.el (ido): Link to info manual.
1936 2014-01-25 Leo Liu <sdl.web@gmail.com>
1938 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1940 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1942 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1945 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1947 * net/eww.el (eww-download-callback):
1948 Fix reference to eww-download-directory.
1950 * emacs-lisp/bytecomp.el (byte-compile-file):
1951 Remove unused local variable `file-name'.
1953 2014-01-24 Glenn Morris <rgm@gnu.org>
1955 * woman.el (woman-default-faces, woman-monochrome-faces):
1956 Fix obsolescence specification.
1958 * subr.el (with-demoted-errors): Doc fix.
1960 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1963 (cl--macroexp-fboundp): New function.
1964 (cl--make-type-test): Use it.
1966 2014-01-23 Glenn Morris <rgm@gnu.org>
1968 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1969 * simple.el (eval-expression): Doc fixes.
1971 2014-01-22 Glenn Morris <rgm@gnu.org>
1973 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1975 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * emacs-lisp/package.el: Write files silently.
1978 (package-autoload-ensure-default-file, package--write-file-no-coding)
1979 (package-generate-description-file, package--download-one-archive)
1980 (package-install-from-archive): Tell `write-region' to stay quiet.
1981 (package-menu-mode, package-menu--print-info): Omit the Archive column
1982 if there's only one archive.
1983 (package-all-keywords, package--has-keyword-p): Remove dead code.
1985 2014-01-22 Glenn Morris <rgm@gnu.org>
1987 * version.el (emacs-bzr-version-bzr): Fix typo.
1989 * version.el (emacs-repository-get-version):
1990 Check either .bzr or .git, but not both.
1991 Make the git case actually use the DIR argument, and return nil
1992 rather than the empty string.
1993 Avoid error if .git exists but the git executable is not found.
1995 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1997 Fixes in window size functions around Bug#16430 and Bug#16470.
1998 * window.el (window-total-size, window-size): New argument ROUND.
1999 (window--min-delta-1, window-min-delta, window--max-delta-1):
2000 Be more conservative when calculating the numbers of lines or
2001 columns a window can shrink (Bug#16430).
2002 (fit-window-to-buffer): Simplify code.
2003 * term.el (term-window-width): Call window-body-width again.
2005 2014-01-22 Glenn Morris <rgm@gnu.org>
2007 * image.el (image-format-suffixes): Doc fix.
2009 * international/quail.el (quail-define-package): Doc fix.
2011 * emacs-lisp/authors.el (authors-valid-file-names)
2012 (authors-renamed-files-alist): Additions.
2014 * vc/vc-git.el (vc-git-print-log): Remove --follow;
2015 reverts 2014-01-09 change. (Bug#16422)
2017 * calc/calc-embed.el (thing-at-point-looking-at):
2018 * emacs-lisp/map-ynp.el (x-popup-dialog):
2019 * obsolete/lmenu.el (x-popup-dialog):
2020 * emacs-lisp/package.el (url-recreate-url):
2021 * mail/mailclient.el (clipboard-kill-ring-save):
2022 * subr.el (x-popup-dialog): Update declaration.
2023 * mail/rmail.el (rmail-mime-message-p):
2024 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
2026 2014-01-21 Daniel Colascione <dancol@dancol.org>
2028 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2029 Correctly detect when we're inside an arithmetic expansion form
2030 containing nested parenthesis.
2031 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
2032 to detect cases where we shouldn't expand "<<" to a heredoc
2035 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2037 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
2038 (eldoc--message-command-p): New function.
2039 (eldoc-display-message-p): Use it.
2040 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
2041 message is not automatically erased for us.
2042 (eldoc-print-current-symbol-info): Erase previous message, if any.
2044 2014-01-21 Tassilo Horn <tsdh@gnu.org>
2046 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
2047 specify it's an interactive function.
2049 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
2050 Fix regex used for scanning for citation keys which failed for
2051 citations with optional arguments.
2053 2014-01-21 Leo Liu <sdl.web@gmail.com>
2055 * simple.el (read--expression): Don't enable eldoc-mode.
2057 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * simple.el (move-beginning-of-line): Make sure we don't move forward
2062 2014-01-20 Juri Linkov <juri@jurta.org>
2064 * saveplace.el (toggle-save-place, save-place-to-alist)
2065 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
2066 'dired-mode) before checking for dired-directory. (Bug#16477)
2068 2014-01-20 Juri Linkov <juri@jurta.org>
2070 * indent.el (indent-line-to): Use backward-to-indentation
2071 instead of back-to-indentation. (Bug#16461)
2073 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2075 Revert some of the CANNOT_DUMP fix (Bug#16494).
2076 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
2077 but fixing this can wait until after the next release.
2078 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
2080 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
2082 * eshell/esh-mode.el (eshell-password-prompt-regexp):
2083 Use `password-word-equivalents'.
2084 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
2085 to t. (Bug#5664, Bug#13124)
2087 2014-01-19 Alan Mackenzie <acm@muc.de>
2089 Bind open-paren-in-column-0-is-defun-start to nil at some entry
2091 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
2092 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
2093 * progmodes/cc-mode.el (c-before-change, c-after-change)
2094 (c-font-lock-fontify-region): Bind it here.
2096 2014-01-19 Martin Rudalics <rudalics@gmx.at>
2098 * term.el (term-window-width): Call window-text-width instead of
2099 window-width (Bug#16470).
2101 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
2103 * simple.el (password-word-equivalents): Remove duplicates.
2104 Sort, to make this easier next time.
2105 Downcase. Omit ": " after "jelszó".
2107 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
2109 * term/common-win.el (saved-region-selection): Defvar it.
2110 (x-select-text): Set saved-region-selection (Bug#16382).
2112 2014-01-18 Glenn Morris <rgm@gnu.org>
2114 * emacs-lisp/authors.el (authors-aliases)
2115 (authors-renamed-files-alist): Add some entries.
2117 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
2119 * net/tramp.el (tramp-password-prompt-regexp):
2120 Use `password-word-equivalents' if available.
2121 (tramp-action-password, tramp-process-one-action)
2122 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
2124 2014-01-17 Chong Yidong <cyd@gnu.org>
2126 * simple.el (password-word-equivalents): New defcustom.
2127 * comint.el (comint-password-prompt-regexp): Use it. Bump version
2129 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
2132 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
2134 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
2135 (ruby-align-to-stmt-keywords): Change the default value.
2136 Use `ruby-alignable-keywords' to generate the possible customization
2138 (ruby-smie-rules): Instead of using a hardcoded list of alignable
2139 keywords, check against the value of `ruby-alignable-keywords'
2140 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
2142 2014-01-17 Glenn Morris <rgm@gnu.org>
2144 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
2146 Make M-x authors return zero *Authors Errors* from current logs.
2147 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
2148 (authors-ignored-files): Add some entries, remove others.
2149 (authors-ambiguous-files, authors-valid-file-names):
2151 (authors-renamed-files-alist): Add, remove, and adjust entries.
2152 (authors-renamed-files-regexps): Add some entries.
2153 Remove some very broad ones. Make some entries `lax'.
2154 (authors-lax-changelogs): New constant.
2155 (authors-disambiguate-file-name): Treat top-level specially.
2156 (authors-lax-changelog-p): New function.
2157 (authors-canonical-file-name): Check file as written against
2158 authors-valid-file-names. Do not special-case etc/.
2159 Handle `lax' logs and authors-renamed-files-regexps elements.
2161 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
2163 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
2164 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
2167 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
2170 Assume we're already in the proper buffer.
2171 Inspired by Anders Lindgren <andlind@gmail.com>.
2172 (follow-post-command-hook): Call it from the right buffer.
2173 (follow-comint-scroll-to-bottom): Adjust call.
2174 (follow-all-followers): Use get-buffer-window-list.
2176 2014-01-15 Daniel Colascione <dancol@dancol.org>
2178 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
2179 `buffer-file-name' in interactive-form so that we don't leave
2180 pathless file names in `file-name-history'.
2182 2014-01-15 Juri Linkov <juri@jurta.org>
2184 * indent.el (indent-rigidly): Set deactivate-mark to nil
2185 in transient indentation mode. (Bug#16438)
2187 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
2189 * emacs-lisp/package.el (package-desc-keywords): New function
2191 (describe-package-1, package-all-keywords)
2192 (package--has-keyword-p): Use it.
2194 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2196 * simple.el (define-alternatives): When creating the
2197 COMMAND-alternatives variable, assign COMMAND as its definition
2198 name so that `describe-variable' can relocate it.
2200 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
2202 * font-lock.el (font-lock-keywords): Fix typo in docstring
2205 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2207 * ispell.el (ispell-region): Reset `in-comment' for new line
2208 instead of wrongly reset `add-coment' (bug#13577).
2210 2014-01-14 Daiki Ueno <ueno@gnu.org>
2212 * epa-file.el (epa-file-write-region): Encode the region according
2213 to `buffer-file-format'. Problem reported at:
2214 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
2216 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
2219 so it applies in the right buffer (bug#16410).
2221 2014-01-13 Daniel Colascione <dancol@dancol.org>
2223 * textmodes/rst.el (rst-define-key): Provide deprecated
2224 keybindings through named functions instead of anonymous ones so
2225 that "??" doesn't appear in describe-mode output.
2227 2014-01-13 Bastien Guerry <bzg@gnu.org>
2229 * simple.el (define-alternatives): Call the selected command
2230 interactively. When setting `COMMAND--implementation' for the
2231 first time, tell the user how to chose another implementation.
2232 Enhance the docstring.
2234 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2237 (log-edit--match-first-line): New function.
2238 (log-edit-font-lock-keywords): Use it.
2239 (log-edit-mode): Make jit-lock-defer-multiline work.
2241 2014-01-13 Bastien Guerry <bzg@gnu.org>
2243 * rect.el (rectangle-mark-mode): When the region is not active,
2244 display a message saying that the mark as been set and that
2245 rectangle mode is in use.
2246 (rectangle--highlight-for-redisplay): Only put an overlay with a
2247 visible vertical bar when (display-graphic-p) is non-nil.
2248 This partially fixes Bug#16403.
2250 2014-01-13 Juri Linkov <juri@jurta.org>
2252 * info.el (Info-find-file): Go to DIR before displaying the error
2253 about a nonexistent file if no previous Info file is visited.
2254 Use `user-error' instead of `error' for "Info file %s does not exist".
2255 (Info-find-node-2): In case of a nonexistent node in unwind forms
2256 go to the Top node if there is no previous node to revert to.
2259 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2261 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2262 * window.el (fit-frame-to-buffer): Fix doc-string.
2263 Respect window-min-height/-width. Fit pixelwise when
2264 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2265 when avoiding that frame goes partially off-screen.
2266 (fit-window-to-buffer): Respect window-min-height/-width
2269 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2272 after an empty line.
2274 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2276 * net/shr.el (shr-render-region): Autoload.
2278 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2280 * net/eww.el (eww-download-directory): Rename from
2281 `eww-download-path' (Bug#16419).
2283 2014-01-12 Leo Liu <sdl.web@gmail.com>
2285 * dired-x.el (dired-mode-map): Fix last change.
2287 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2289 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2292 * emacs-lisp/generic.el (generic--normalize-comments):
2293 Rename from generic--normalise-comments. All uses changed.
2294 * play/bubbles.el (bubbles--neighborhood-score)
2295 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2296 (bubbles--neighborhood-available)
2297 (bubbles--update-neighborhood-score):
2298 Rename from names with 'neighbourhood'. All uses changed.
2300 2014-01-12 Leo Liu <sdl.web@gmail.com>
2302 Re-implement the feature of showing eldoc info after editing.
2303 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2304 (eldoc-edit-message-commands): New function.
2305 (eldoc-print-after-edit): New variable.
2306 (eldoc-pre-command-refresh-echo-area): Emit message only by
2307 eldoc-message-commands.
2308 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2309 if eldoc-print-after-edit is set. (Bug#16346)
2310 * simple.el (read--expression): Enable eldoc-mode.
2311 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2313 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2314 Eric S. Raymond <esr@thyrsus.com>
2316 * version.el (emacs-repository-get-version): Enhance so the
2317 function works correctly in either a Bazaar or Git repo.
2319 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2321 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2322 Goes with removal of the joke manpages from /etc.
2324 2014-01-10 Kenichi Handa <handa@gnu.org>
2326 * mail/rmail.el (rmail-get-coding-system):
2327 Check rmail-get-coding-function before "funcall"ing it.
2329 2014-01-10 Glenn Morris <rgm@gnu.org>
2331 * emacs-lisp/authors.el (authors-fixed-entries):
2332 Update for files that no longer exist.
2334 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2336 * version.el (emacs-bzr-get-version): Restore compatibilty with
2339 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2341 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2344 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2346 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2348 2014-01-10 Chong Yidong <cyd@gnu.org>
2350 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2352 2014-01-10 Anders Lindgren <andlind@gmail.com>
2354 * follow.el (follow-cache-command-list): Include right-char and
2357 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2360 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2361 * woman.el (woman-mark-horizontal-position):
2362 Rename from woman-mark-horizonal-position. Use changed.
2364 2014-01-10 Glenn Morris <rgm@gnu.org>
2366 * info.el (info-initialize): If running uninstalled, ensure our
2367 own info files are always found first, even if INFOPATH is set.
2369 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2371 2014-01-09 David Engster <deng@randomsample.de>
2373 * emacs-lisp/eieio-custom.el:
2374 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2375 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2376 * emacs-lisp/eieio.el: Regenerate autoloads.
2378 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2380 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2381 following renames. (Bug#8756)
2383 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2385 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2387 (activate-mark): Add `no-tmm' argument.
2388 (set-mark, push-mark-command): Use it instead of running
2389 activate-mark-hook by hand.
2391 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2393 In preparation for the move to git, sanitize out some
2394 Bazaar-specific names.
2396 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2398 * version.el (emacs-bzr-version): Name changed to
2399 emacs-repository-version. Obsolete-variable alias made.
2400 * loadup.el: Follow through on this name change.
2401 * mail/emacsbug.el (report-emacs-bug): Factor out any
2402 assumption about the version control system in use.
2404 2014-01-08 David Engster <deng@randomsample.de>
2406 * help-fns.el (help-fns-describe-function-functions):
2407 New variable to call functions for augmenting help buffers.
2408 (describe-function-1): Remove explicit calls to
2409 `help-fns--compiler-macro', `help-fns--parent-mode' and
2410 `help-fns--obsolete'. Put them in above new variable instead, and
2411 call them through `run-hook-with-args'.
2412 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2413 `eieio-describe-class'. Not meant for interactive use anymore,
2414 but to augment existing help buffers. Remove optional second
2415 argument. Create proper button for file location.
2416 Rewrite function to use `insert' instead of `princ' and `prin1' where
2418 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2419 (eieio-method-def, eieio-class-def): Move further up.
2420 (describe-method, describe-generic, eieio-describe-method):
2422 (eieio-help-constructor, eieio-help-generic): Rename from
2423 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2424 Rewrite to use `insert' in the current buffer and use proper help
2426 (eieio-help-find-method-definition)
2427 (eieio-help-find-class-definition): Also accept symbols as
2429 (eieio-help-mode-augmentation-maybee): Remove.
2430 (eieio-describe-class-sb): Use `describe-function'.
2431 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2432 Add `eieio-help-generic' and `eieio-help-constructor'.
2434 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2437 * language/china-util.el (hz-ascii-designation):
2438 Rename from hz-ascii-designnation.
2439 (hz-ascii-designation): Rename from hz-ascii-designnation.
2442 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2444 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2447 2014-01-08 Bastien Guerry <bzg@gnu.org>
2449 * emacs-lisp/package.el (package-delete):
2450 Correctly delete the package from package-alist.
2452 2014-01-08 Daiki Ueno <ueno@gnu.org>
2454 * emacs-lisp/package.el (url-recreate-url): Declare.
2455 (url-http-target-url): Declare.
2456 (package-handle-response): Include requested URL in the error message.
2457 (package--check-signature): Don't re-signal errors from
2458 package--with-work-buffer. Suggested by Stefan Monnier.
2460 2014-01-07 Bastien Guerry <bzg@gnu.org>
2462 * minibuffer.el (completion--try-word-completion): When both a
2463 hyphen and a space are possible candidates for the character
2464 following a word, display both candidates. (Bug#15980)
2466 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2468 * window.el (balance-windows-2): While rounding don't give a
2469 window more than the remainder. Bug#16351, bug#16383.
2471 2014-01-07 Glenn Morris <rgm@gnu.org>
2473 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2474 (menu-bar-help-menu): Use view-external-packages instead.
2476 2014-01-07 Bastien Guerry <bzg@gnu.org>
2478 * emacs-lisp/package.el (package-delete): Also delete the package
2479 name from `package-alist', not its description only.
2481 2014-01-07 Glenn Morris <rgm@gnu.org>
2483 * help.el (view-external-packages):
2484 * menu-bar.el (menu-bar-help-extra-packages):
2485 Visit efaq.info rather than etc/MORE.STUFF.
2487 2014-01-07 Juri Linkov <juri@jurta.org>
2489 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2490 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2492 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2493 that shadows RET. (Bug#16342)
2495 2014-01-07 Chong Yidong <cyd@gnu.org>
2497 * isearch.el (isearch-yank-char, isearch-yank-word)
2498 (isearch-yank-line): Doc fix.
2500 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2502 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2503 * emacs-lisp/elint.el (elint-find-builtins):
2504 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2505 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2506 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2507 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2508 * apropos.el (apropos-safe-documentation):
2509 * subr.el (symbol-file): Remove redundant fboundp.
2510 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2512 2014-01-06 Bastien Guerry <bzg@gnu.org>
2514 * hl-line.el (global-hl-line-overlay): Make a local variable.
2515 (global-hl-line-overlays): New variable to store all overlays.
2516 (global-hl-line-mode): Don't delete overlays from the current
2517 buffer when `global-hl-line-sticky-flag' is non-nil.
2518 (global-hl-line-highlight): Add new overlays to
2519 `global-hl-line-overlays'.
2520 (global-hl-line-unhighlight-all): New function to delete all
2521 overlays when turning off `global-hl-line-mode'.
2522 This fixes Bug#16183.
2524 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2526 * subr.el (set-transient-map): Fix nested case and docstring.
2528 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2530 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2533 2014-01-06 Daniel Colascione <dancol@dancol.org>
2535 Fix defun navigation in vc log view.
2537 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2538 like `beginning-of-defun'.
2539 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2540 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2541 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2542 (log-view-extract-comment): Call `log-view-current-entry' directly
2543 instead of relying on broken `log-view-beginning-of-defun' behavior.
2545 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2548 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2549 * emacs-lisp/debug.el (cancel-debug-on-entry):
2550 * epg.el (epg-error-to-string):
2551 * files.el (recover-file):
2552 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2553 * mail/emacsbug.el (report-emacs-bug-hook):
2554 * mail/sendmail.el (mail-recover):
2555 * ses.el (ses-yank-resize):
2556 * term/ns-win.el (ns-print-buffer):
2557 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2558 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2560 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2562 2014-01-06 Leo Liu <sdl.web@gmail.com>
2564 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2565 to avoid shadowing global key. (Bug#16354)
2567 2014-01-06 Daniel Colascione <dancol@dancol.org>
2569 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2572 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2574 * window.el (balance-windows): Add mising t to fix Bug#16351.
2576 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2578 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2580 (shr-insert): If we have a word that's longer than `shr-width',
2581 break after it anyway. Otherwise we'll do no breaking once we get
2584 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2586 * net/eww.el (eww): Support single/double quote for search.
2587 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2588 (eww-history-quit): Delete and use quit-window.
2589 (eww-history-kill): Delete, because it doesn't work well and
2591 (eww-history-mode-map): Delete some keys and add easy-menu.
2593 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2595 Fix misspelling of 'chinese' in rx (Bug#16237).
2596 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2599 Change subword regexps back to vars (Bug#16296).
2600 * progmodes/subword.el (subword-forward-regexp)
2601 (subword-backward-regexp): Change these back to variables.
2603 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2605 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2606 syntax-begin-function (bug#16247).
2608 2014-01-03 Chong Yidong <cyd@gnu.org>
2610 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2611 (advice--docstring): Delete variable.
2612 (advice--make-1): Leave the docstring empty.
2613 (advice-add): Use function-documentation for advised docstring.
2615 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2616 Ignore function-documentation property when getting documentation.
2617 (ad-activate-advised-definition): Use function-documentation
2618 generate the docstring.
2619 (ad-make-advised-definition): Don't call
2620 ad-make-advised-definition-docstring.
2621 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2624 * progmodes/sql.el (sql-help): Use function-documentation instead
2625 of dynamic-docstring-function property. No need to autoload now.
2626 (sql--help-docstring): New variable.
2627 (sql--make-help-docstring): Use it.
2629 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2631 * ielm.el (ielm-tab): Retarget.
2632 (ielm-map): Use ielm-tab for tab.
2633 (ielm-complete-filename): Use comint-filename-completion.
2634 (ielm-complete-symbol): Remove.
2635 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2636 remove ielm-tab from completion-at-point-functions (bug#16224).
2638 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2639 Beware signals raised by predicates (bug#16201).
2641 2014-01-02 Richard Stallman <rms@gnu.org>
2643 * dired-aux.el (dired-do-print): Handle printer-name.
2645 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2646 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2647 (rmail-epa-decrypt): Turn off mime processing.
2649 * mail/rmail.el (rmail-make-in-reply-to-field):
2650 Add parens in message-id.
2652 * mail/rmail.el (rmail-get-coding-function): Variable.
2653 (rmail-get-coding-system): Use it.
2655 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2657 * international/mule-conf.el: Unify the charset indian-is13194.
2658 (indian-is13194): Specify unify-map.
2660 2013-12-31 Leo Liu <sdl.web@gmail.com>
2662 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2664 2013-12-30 Daniel Colascione <dancol@dancol.org>
2666 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2667 of printing a useless when we resume from sleep.
2669 * progmodes/sh-script.el
2670 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2671 in indentation code. (Bug#16233)
2673 2013-12-28 João Távora <joaotavora@gmail.com>
2675 * elec-pair.el (electric-pair-post-self-insert-function):
2676 Don't open extra newlines at beginning of buffer. (Bug#16272)
2678 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2680 * frame.el (window-system-for-display): Don't allow to create a
2681 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2683 2013-12-28 Glenn Morris <rgm@gnu.org>
2685 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2688 * apropos.el (apropos-match-face):
2689 * calculator.el (calculator-displayer):
2690 * dabbrev.el (dabbrev-search-these-buffers-only):
2691 * face-remap.el (buffer-face-mode-face):
2692 * simple.el (yank-handled-properties):
2693 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2694 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2695 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2696 (hashcash-double-spend-database):
2697 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2698 (ruby-deep-indent-paren-style):
2699 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2700 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2701 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2702 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2703 Specify custom types.
2705 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2706 * bookmark.el (bookmark-bmenu-use-header-line):
2707 * doc-view.el (doc-view-scale-internally):
2708 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2709 * register.el (register-preview-delay):
2710 * net/shr.el (shr-bullet):
2711 * progmodes/cfengine.el (cfengine-cf-promises)
2712 (cfengine-parameters-indent):
2713 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2714 * textmodes/reftex-vars.el (reftex-label-regexps):
2715 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2717 * net/tls.el (tls-certtool-program): Fix default value.
2719 * desktop.el (desktop-restore-in-current-display):
2720 * newcomment.el (comment-empty-lines):
2721 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2722 (idlwave-pad-keyword):
2723 * progmodes/tcl.el (tcl-tab-always-indent):
2724 * textmodes/reftex-vars.el (reftex-index-default-tag):
2725 * elec-pair.el (electric-pair-skip-whitespace):
2726 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2728 * emacs-lisp/authors.el (authors-ignored-files)
2729 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2731 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2733 * shell.el (shell-dynamic-complete-command): Doc fix.
2734 (shell--command-completion-data): Shell completion now matches
2735 executable filenames from the current buffer's directory, on
2736 systems in which this behavior is the default (windows-nt, ms-dos).
2738 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2740 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2742 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2744 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2747 * electric.el: Move all electric-pair-* to elec-pair.el.
2748 * elec-pair.el: New file, split from electric.el.
2750 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2752 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2753 indentation level is larger than the width, because that will
2755 (shr-insert): Fill repeatedly long texts, so that Japanese is
2756 formatted correctly (bug#16263).
2757 (shr-find-fill-point): Off by one error in comparison with the
2760 2013-12-26 João Távora <joaotavora@gmail.com>
2762 * electric.el (electric-pair-mode): More flexible engine for skip-
2763 and inhibit predicates, new options for pairing-related functionality.
2764 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2765 if that keeps or improves their balance in buffers.
2766 (electric-pair-delete-adjacent-pairs): Delete the pair when
2767 backspacing over adjacent matched delimiters.
2768 (electric-pair-open-extra-newline): Open extra newline when
2769 inserting newlines between adjacent matched delimiters.
2770 (electric--sort-post-self-insertion-hook):
2771 Sort post-self-insert-hook according to priority values when
2772 minor-modes are activated.
2773 * simple.el (newline-and-indent): Call newline with interactive
2775 (blink-paren-post-self-insert-function): Set priority to 100.
2776 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2777 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2778 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2779 electric-pair-open-newline-between-pairs to nil.
2781 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2783 * progmodes/python.el: Use lexical-binding.
2784 (python-nav-beginning-of-defun): Stop searching ASAP.
2786 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2788 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2789 Fix interactive spec. Doc fix. (Bug#15754)
2791 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2793 * emacs-lisp/byte-run.el (eval-when-compile):
2794 * progmodes/cc-defs.el (cc-eval-when-compile):
2795 Fix edebug spec (bug#16184).
2797 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2799 * net/shr.el (shr-visit-file): Remove debugging function.
2800 (shr-insert): Don't infloop if we can't find a good place to break
2801 the line (bug#16256).
2803 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2805 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2806 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2807 python-nav-lisp-forward-sexp-safe.
2808 (python-nav--forward-sexp): New argument SAFE allows switching
2809 forward sexp movement behavior for parens.
2810 (python-nav-forward-sexp): Throw errors on unterminated parens
2812 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2813 (python-nav-backward-sexp-safe): New functions.
2814 (python-shell-buffer-substring):
2815 Use `python-nav-forward-sexp-safe'.
2817 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2819 * net/shr.el (shr-find-fill-point): Don't break lines before a
2821 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2822 (shr-find-fill-point): Remove the special checks for the quotation
2823 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2825 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2827 * net/eww.el (eww-form-textarea): Use a different face for
2828 textareas than text input since they have different keymaps
2831 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2833 * progmodes/python.el (python-nav-beginning-of-statement):
2834 Speed up (Bug#15295).
2836 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2838 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2839 the window configuration.
2841 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2843 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2844 we run on MS-Windows or MS-DOS.
2846 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2848 * window.el (balance-windows-area): Call window-size instead of
2849 window-height and window-width. Bug#16241.
2851 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2853 * net/eww.el (eww-bookmark-quit): Remove.
2854 (eww-bookmark-browse): Restore the window configuration when you
2855 choose a bookmark (bug#16144).
2857 2013-12-24 Daniel Colascione <dancol@dancol.org>
2859 * icomplete.el: Remove redundant :group arguments to `defcustom'
2861 (icomplete-show-matches-on-no-input): New customizable variable.
2862 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2863 we have something to show.
2864 (icomplete-exhibit): Compute completions even if we have no user input.
2866 2013-12-23 Daniel Colascione <dancol@dancol.org>
2868 * icomplete.el: Move `provide' to end of file.
2870 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2872 * net/gnutls.el (gnutls-verify-error): Add version tag.
2874 2013-12-23 Chong Yidong <cyd@gnu.org>
2876 * subr.el (set-transient-map): Rename from
2877 set-temporary-overlay-map. Doc fix.
2879 * face-remap.el (text-scale-adjust):
2880 * indent.el (indent-rigidly):
2881 * kmacro.el (kmacro-call-macro):
2882 * minibuffer.el (minibuffer-force-complete):
2883 * repeat.el (repeat):
2884 * simple.el (universal-argument--mode):
2885 * calendar/todo-mode.el (todo-insert-item--next-param):
2886 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2888 * indent.el (indent-rigidly): Use substitute-command-keys.
2890 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2892 * net/eww.el (eww-tag-select): Add text-property to jump to next
2894 (eww): Add non-supported ftp error.
2896 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2898 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2899 comments. Handle electric indent after typing `?' and `!'.
2901 2013-12-22 Chong Yidong <cyd@gnu.org>
2903 * faces.el (face-spec-recalc): If the theme specs are not
2904 applicable to a frame, fall back on the defface spec.
2905 This prevents themes from obliterating faces on low-color terminals.
2907 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2909 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2910 after `{'. We need it after block openers, and it doesn't seem
2911 to hurt after hash openers.
2913 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2915 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2916 extracted from `ruby-smie-rules'.
2917 (ruby--electric-indent-chars): New variable.
2918 (ruby--electric-indent-p): New function.
2919 (ruby-mode): Use `electric-indent-functions' instead of
2920 `electric-indent-chars'.
2922 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2924 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2926 (ruby-smie-rules): Indent plus one level after `=>'.
2928 2013-12-21 Richard Stallman <rms@gnu.org>
2930 * simple.el (newline): Doc fix.
2932 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2934 * net/eww.el (eww-list-histories, eww-list-histories)
2935 (eww-history-browse, eww-history-quit, eww-history-kill)
2936 (eww-history-mode-map, eww-history-mode): New command and
2937 functions to list browser histories.
2938 (eww-form-text): Support text form with disabled
2939 and readonly attributes.
2940 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2942 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2944 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2945 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2946 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2947 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2949 (eww-bookmark-mode-map): Add menu.
2950 (eww-render, eww-mode): Use `setq-local'.
2951 (eww-tool-bar-map): New variable.
2952 (eww-mode): Set `tool-bar-map'.
2953 (eww-view-source): Check for `html-mode' with `fboundp'.
2955 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2957 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2958 elements with text inside. Also remove debugging.
2960 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2962 * cus-start.el (all): Add ns-use-srgb-colorspace.
2964 2013-12-21 Chong Yidong <cyd@gnu.org>
2966 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2967 undefined. Thus, theme settings for undefined faces do not take
2968 effect until the faces are defined with defface, the same as with
2971 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2972 (face-spec-reset-face): Don't assign extra properties in temacs.
2973 (face-spec-recalc): Apply X resources too.
2975 2013-12-21 Chong Yidong <cyd@gnu.org>
2977 * faces.el (face-spec-set):
2978 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2979 * custom.el (defface): Doc fixes (Bug#16203).
2981 * indent.el (indent-rigidly-map): Add docstring, and move commands
2982 into named functions.
2983 (indent-rigidly-left, indent-rigidly-right)
2984 (indent-rigidly-left-to-tab-stop)
2985 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2986 indentation direction based on bidi direction, and accumulate
2987 sequential commands in a single undo boundary.
2988 (indent-rigidly--pop-undo): New utility function.
2990 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2992 * faces.el (read-face-name): Require crm.el when using crm-separator.
2994 2013-12-20 Daniel Colascione <dancol@dancol.org>
2996 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2997 so that we don't reflow comments into the shebang line.
2999 2013-12-20 Juri Linkov <juri@jurta.org>
3001 * saveplace.el (save-place-to-alist): Add `dired-filename' as
3002 a position when `dired-directory' is non-nil. Check integer
3003 positions with `integerp'.
3004 (toggle-save-place, save-places-to-alist): Add check for
3006 (save-place-find-file-hook): Check integer positions with
3008 (save-place-dired-hook): Use `dired-goto-file' when
3009 `dired-filename' is found in the assoc list. Check integer
3010 positions with `integerp'.
3011 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
3013 * dired.el (dired-initial-position-hook): Rename back from
3014 `dired-initial-point-hook'.
3015 (dired-initial-position): Rename `dired-initial-point-hook' to
3016 `dired-initial-position-hook'.
3017 (dired-file-name-at-point): Doc fix. (Bug#15329)
3019 2013-12-20 Juri Linkov <juri@jurta.org>
3021 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
3022 (read-regexp-suggestions): New function.
3023 (read-regexp): Use `read-regexp-defaults-function' to get default values.
3024 Use `read-regexp-suggestions'. Add non-empty default to history
3026 (occur-read-regexp-defaults-function): Remove function.
3027 (occur-read-primary-args): Use `regexp-history-last' instead of
3028 `occur-read-regexp-defaults-function'.
3030 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
3031 (hi-lock-line-face-buffer, hi-lock-face-buffer)
3032 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
3033 `hi-lock-read-regexp-defaults-function'. Doc fix.
3034 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
3035 with `find-tag-default-as-symbol-regexp'. Doc fix.
3036 (hi-lock-read-regexp-defaults): Remove function.
3037 (hi-lock-regexp-okay): Add check for null.
3039 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
3040 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
3042 * subr.el (find-tag-default-as-symbol-regexp): New function.
3043 (find-tag-default-as-regexp): Move symbol regexp formatting to
3044 `find-tag-default-as-symbol-regexp'.
3046 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
3048 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
3051 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3053 * calendar/todo-mode.el: New implementation of item insertion
3054 commands and key bindings.
3055 (todo-key-prompt): New face.
3056 (todo-insert-item): New command.
3057 (todo-insert-item--parameters): New defconst, replacing defvar
3058 todo-insertion-commands-args-genlist.
3059 (todo-insert-item--param-key-alist): New defconst, replacing
3060 defvar todo-insertion-commands-arg-key-list.
3061 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
3062 (todo-insert-item--argsleft, todo-insert-item--apply-args)
3063 (todo-insert-item--next-param): New functions.
3064 (todo-insert-item--args, todo-insert-item--argleft)
3065 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
3067 (todo-key-bindings-t): Change binding of "i" from
3068 todo-insertion-map to todo-insert-item.
3069 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
3070 (todo-insertion-command-name, todo-insertion-commands-names)
3071 (todo-define-insertion-command, todo-insertion-commands)
3072 (todo-insertion-key-bindings, todo-insertion-map): Remove.
3074 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3076 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
3077 (todo-toggle-item-highlighting): Use eval-and-compile instead of
3079 (todo-move-category): Allow choosing a non-existing todo file to
3080 move the category to, and create that file.
3081 (todo-default-priority): New user option.
3082 (todo-set-item-priority): Use it.
3083 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
3084 (desktop-restore-file-buffer): Declare.
3085 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
3086 (todo-modes-set-2): Locally set desktop-save-buffer to
3087 todo-desktop-save-buffer.
3088 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
3089 (auto-mode-alist): Add autoload cookie.
3091 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
3093 * emacs-lisp/subr-x.el: Renamed from helpers.el.
3094 helpers.el was a poor choice of name.
3095 (string-remove-prefix): New function.
3096 (string-remove-suffix): New function.
3098 2013-12-20 Martin Rudalics <rudalics@gmx.at>
3100 Fix assignment for new window total sizes.
3101 * window.el (window--pixel-to-size): Remove function.
3102 (window--pixel-to-total-1, window--pixel-to-total):
3103 Fix calculation of new total sizes.
3105 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
3107 * comint.el (comint-output-filter): Fix rear-nonsticky property
3108 placement (Bug#16010).
3110 2013-12-20 Chong Yidong <cyd@gnu.org>
3112 * faces.el (read-color): Minor fix for completion function.
3114 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
3116 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
3117 New option. (Bug#16182)
3118 (ruby-smie--indent-to-stmt-p): Use it.
3119 (ruby-smie-rules): Revert the logic in the handling of `when'.
3120 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
3121 (ruby-deep-arglist, ruby-deep-indent-paren)
3122 (ruby-deep-indent-paren-style): Update docstrings to note that the
3123 vars don't have any effect with SMIE.
3125 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
3127 * calc/calc.el (calc-enter, calc-pop): Use the variable
3128 `calc-context-sensitive-enter'.
3130 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3132 * net/shr.el (shr-insert): Protect against infloops in degenerate
3135 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3137 * progmodes/octave.el (octave): Add link to manual and octave
3139 (octave-mode-menu): Link to octave-mode manual.
3141 2013-12-20 Leo Liu <sdl.web@gmail.com>
3143 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
3144 insertion using skeleton-end-newline. (Bug#16138)
3146 2013-12-20 Juri Linkov <juri@jurta.org>
3148 * replace.el (occur-engine): Use `add-face-text-property'
3149 to add the face property to matches and titles. (Bug#14645)
3151 * hi-lock.el (hi-green): Use lighter color "light green" closer to
3152 the palette of other hi-lock colors.
3153 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
3155 2013-12-19 Juri Linkov <juri@jurta.org>
3157 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
3158 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
3159 (minibuffer-history-symbol): Move variable declaration closer to
3162 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
3165 2013-12-19 Juri Linkov <juri@jurta.org>
3167 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
3169 (log-edit-hook): Add it to :options. (Bug#16170)
3171 2013-12-19 Juri Linkov <juri@jurta.org>
3173 * simple.el (eval-expression-print-format): Don't check for
3174 command names and the last command. Always display additional
3175 formats of the integer result in the echo area, and insert them
3176 to the current buffer only with a zero prefix arg.
3177 Display character when char-displayable-p is non-nil.
3178 (eval-expression): With a zero prefix arg, set `print-length' and
3179 `print-level' to nil, and insert the integer values from
3180 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
3182 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
3183 `eval-last-sexp-arg-internal'. Doc fix.
3184 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
3185 `eval-last-sexp-print-value'. Doc fix.
3186 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
3187 Set `print-length' and `print-level' to nil when arg is zero.
3188 (eval-last-sexp): Doc fix.
3189 (eval-defun-2): Print the integer values from
3190 `eval-expression-print-format' at the end.
3192 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
3193 values from `eval-expression-print-format' at the end.
3195 * ielm.el (ielm-eval-input): Print the integer
3196 values from `eval-expression-print-format' at the end.
3198 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
3200 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
3201 2013-12-11T19:01:44Z!tzz@lifelogs.com.
3203 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
3206 (hl-line-highlight, global-hl-line-highlight): Use it.
3207 (hl-line-overlay): Use defvar-local.
3209 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3211 * term/ns-win.el: Require dnd.
3212 (global-map): Remove drag items.
3213 (ns-insert-text, ns-set-foreground-at-mouse)
3214 (ns-set-background-at-mouse):
3215 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
3216 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
3219 2013-12-19 Glenn Morris <rgm@gnu.org>
3221 * emacs-lisp/ert.el (ert-select-tests):
3222 Fix string/symbol mixup. (Bug#16121)
3224 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3226 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
3227 keywords to their parent.
3229 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3231 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3232 first arg to be a string (fixed dead code), or an operator symbol.
3233 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3235 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3236 did nothing. Don't respond to `(:after ".")', it will be called
3237 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3238 change anything. Only return indentation for binary operators
3239 when they are hanging. De-dent opening paren when its parent is
3240 `.', otherwise it looks bad when the dot is not at bol or eol
3243 2013-12-19 Juri Linkov <juri@jurta.org>
3245 * replace.el (query-replace-read-args): Split a non-negative arg
3246 and a negative arg into separate elements.
3247 (query-replace, query-replace-regexp, replace-string)
3248 (replace-regexp): Add arg `backward'. Doc fix.
3249 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3250 move point to the beginning of the match.
3251 (replace-search, replace-highlight): Use new arg `backward'
3252 to set the value of `isearch-forward'.
3253 (perform-replace): Add arg `backward' and use it to perform
3254 replacement backward. (Bug#14979)
3256 * isearch.el (isearch-query-replace): Use a negative prefix arg
3257 to call `perform-replace' with a non-nil arg `backward'.
3259 2013-12-18 Juri Linkov <juri@jurta.org>
3261 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3262 to the default list. Move `log-edit-show-files' to the end.
3263 Add more available functions to options.
3264 (log-edit): Move default specific settings to
3265 `log-edit-insert-message-template'. Don't move point.
3266 (log-edit-insert-message-template): New function.
3267 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3270 2013-12-18 Juri Linkov <juri@jurta.org>
3272 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3273 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3275 2013-12-18 Leo Liu <sdl.web@gmail.com>
3277 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3280 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3282 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3283 formats for displaying file sizes when the -s switch is given.
3284 Instead, compute a separate format for displaying the size in
3285 blocks, which is displayed in addition to the "regular" size.
3286 When -h is given in addition to -s, produce size in blocks in
3287 human-readable form as well. (Bug#16179)
3289 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3291 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3292 Reference tables with ~\ref{...} instead of only \ref{...}.
3294 2013-12-18 Chong Yidong <cyd@gnu.org>
3296 * cus-edit.el (custom-magic-alist): Fix "themed" description
3299 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3300 is non-nil, do not create a new entry in the symbol's theme-value
3301 or theme-face property; update theme-settings only (Bug#14664).
3302 (custom-available-themes): Doc fix.
3304 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3307 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3309 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3311 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3314 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3316 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3318 2013-12-18 Glenn Morris <rgm@gnu.org>
3320 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3321 * cus-start.el (load-prefer-newer): New option.
3323 2013-12-18 Le Wang <l26wang@gmail.com>
3325 * comint.el (comint-previous-matching-input-from-input):
3326 Retain point (Bug#13404).
3328 2013-12-18 Chong Yidong <cyd@gnu.org>
3330 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3332 2013-12-18 Glenn Morris <rgm@gnu.org>
3334 * mail/emacsbug.el (report-emacs-bug):
3335 Only mention enable-multibyte-characters if non-standard.
3337 2013-12-17 Juri Linkov <juri@jurta.org>
3339 * arc-mode.el (archive-extract-by-file): Check if directory exists
3340 before deletion to not show irrelevant errors if it doesn't exist.
3342 2013-12-17 Juri Linkov <juri@jurta.org>
3344 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3347 * net/eww.el (browse-web): Add alias to `eww'.
3348 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3349 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3351 * net/browse-url.el (browse-url-browser-function): Move `eww'
3352 closer to similar functions.
3354 * startup.el (fancy-startup-screen, fancy-about-screen):
3355 Set browse-url-browser-function to eww-browse-url locally.
3358 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3360 * window.el (window--pixel-to-total): Remove unused `mini' var.
3361 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3362 (split-window): Remove unused `new' var.
3363 (window--display-buffer): Remove unused `frame' and `delta' vars.
3364 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3367 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3369 * dired.el (dired-mark-pop-up):
3370 * register.el (register-preview): Don't bind
3371 split-height-threshold here since it's now done in
3372 display-buffer-below-selected.
3374 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3376 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3377 xterm-rgb-convert-to-16bit.
3378 (rxvt-register-default-colors): Standardize with
3379 xterm-register-default-colors (Bug#14078).
3381 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3383 * simple.el (kill-region): Pass mark first, then point, so that
3384 kill-append works right (Bug#12819).
3385 (copy-region-as-kill, kill-ring-save): Likewise.
3387 2013-12-17 Leo Liu <sdl.web@gmail.com>
3389 * net/rcirc.el (rcirc-add-face):
3390 * eshell/em-prompt.el (eshell-emit-prompt):
3391 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3394 2013-12-17 Chong Yidong <cyd@gnu.org>
3396 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3397 Suggested by Xue Fuqiao.
3399 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3401 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3403 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3405 * net/shr.el (shr-insert-document): Remove unused var
3406 `shr-preliminary-table-render'.
3407 (shr-rescale-image): Remove unused arg `force'.
3408 (shr-put-image): Update calls accordingly.
3409 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3411 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3413 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3414 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3415 :close-all, to see which indentation method to use (Bug#16116).
3416 (smie-rules-function): Document the method :close-all.
3418 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3420 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3422 * net/eww.el (eww-display-html): If we can't find the anchor we're
3423 looking for, then go to point-min.
3425 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3427 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3428 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3429 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3430 Expand dir too, in case it's relative.
3432 2013-12-16 Juri Linkov <juri@jurta.org>
3434 * desktop.el (desktop-auto-save-timeout): Change default to
3435 `auto-save-timeout'. Doc fix.
3436 (desktop-save): Skip the timestamp in desktop-saved-frameset
3437 when checking for auto-save changes.
3438 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3439 `desktop-auto-save' is called repeatedly by the idle timer.
3440 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3441 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3444 2013-12-16 Juri Linkov <juri@jurta.org>
3446 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3448 (isearch-pre-command-hook): Check `this-command' for symbolp.
3450 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3452 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3454 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3456 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3457 (cfengine3--current-function): Bring in the current-function
3458 functionality from `cfengine3--current-word'.
3459 (cfengine3-completion-function): Bring in the
3460 bounds-of-current-word functionality from
3461 `cfengine3--current-word'.
3463 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3465 * window.el (display-buffer-below-selected):
3466 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3468 2013-12-16 Leo Liu <sdl.web@gmail.com>
3470 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3471 Remove NOMSG arg and all uses changed.
3473 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3476 (cua--deactivate-rectangle): Don't deactivate the mark.
3477 (cua-set-rectangle-mark): Don't set mark-active since
3478 cua--activate-rectangle already does it for us.
3479 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3480 non-rectangular region.
3482 * emulation/cua-base.el (cua-repeat-replace-region):
3483 Use with-current-buffer.
3485 * net/gnutls.el: Use cl-lib.
3486 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3488 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3490 * emacs-lisp/package.el (package-built-in-p): Support both
3491 built-in and the package.el converted package descriptions.
3492 (package-show-package-list): Allow keywords.
3493 (package-keyword-button-action): Use it instead of
3494 `finder-list-matches'.
3495 (package-menu-filter-interactive): Interactive filtering (by
3497 (package-menu--generate): Support keywords and change keymappings
3498 and headers when they are given.
3499 (package--has-keyword-p): Helper function.
3500 (package-menu--refresh): Use it.
3501 (package--mapc): Helper function.
3502 (package-all-keywords): Use it.
3503 (package-menu-mode-map): Set up menu items and keybindings to
3504 provide a filtering UI.
3506 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3508 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3509 the behavior when a certificate fails validation. Defaults to
3510 old behavior: never abort, just warn.
3511 (gnutls-negotiate): Use it.
3513 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3515 * window.el (display-buffer-below-selected): Never split window
3516 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3518 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3520 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3521 (package-buffer-info): Use it (bug#15108).
3523 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3525 * icomplete.el (icomplete-completions): Make sure the prefix is already
3526 displayed elsewhere before hiding it (bug#16219).
3528 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3530 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3531 open-paren tokens when preceded by a open-paren, too.
3532 (ruby-smie-rules): Handle virtual indentation after open-paren
3533 tokens specially. If there is code between it and eol, return the
3534 column where is starts (Bug#16118).
3536 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3538 * progmodes/cfengine.el: Fix `add-hook' doc.
3539 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3540 (cfengine3--current-word): Fix parameters.
3541 (cfengine3-make-syntax-cache): Simplify further.
3542 (cfengine3-completion-function, cfengine3--current-function):
3543 Use `assq' for symbols.
3544 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3546 2013-12-13 Glenn Morris <rgm@gnu.org>
3548 * loadup.el (load-path): Warn if site-load or site-init changes it.
3549 No more need to reset it when bootstrapping.
3551 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3553 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3554 locations for cf-promises.
3555 (cfengine-mode-syntax-functions-regex): New caching variable.
3556 (cfengine3-fallback-syntax): Fallback syntax for cases where
3557 cf-promises doesn't run.
3558 (cfengine3--current-word): Reimplement using
3559 `cfengine-mode-syntax-functions-regex'.
3560 (cfengine3-completion-function, cfengine3--current-function):
3561 Use `cfengine3-make-syntax-cache' directly.
3562 (cfengine3-clear-syntax-cache): New function.
3563 (cfengine3-make-syntax-cache): Simplify and create
3564 `cfengine-mode-syntax-functions-regex' on demand.
3565 (cfengine3-format-function-docstring): Don't call
3566 `cfengine3-make-syntax-cache' explicitly.
3568 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3570 Fix windmove-find-other-window broken after pixelwise resizing
3572 * windmove.el (windmove-other-window-loc): Revert change from
3574 (windmove-find-other-window): Call window-in-direction.
3575 * window.el (window-in-direction): New arguments SIGN, WRAP and
3576 MINI to emulate original windmove-find-other-window behavior.
3578 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3580 * simple.el (blink-matching--overlay): New variable.
3581 (blink-matching-open): Instead of moving point, highlight the
3582 matching paren with an overlay
3583 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3585 * faces.el (paren-showing-faces, show-paren-match)
3586 (show-paren-mismatch): Move from paren.el.
3588 2013-12-13 Leo Liu <sdl.web@gmail.com>
3590 * indent.el (indent-region): Disable progress reporter in
3591 minibuffer. (Bug#16108)
3593 * bindings.el (visual-order-cursor-movement): Fix version.
3595 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3597 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3598 Also match after beginning of line.
3599 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3600 files. Thanks to Russell Sim. (Bug#15378)
3602 2013-12-13 Juri Linkov <juri@jurta.org>
3604 * simple.el <Keypad support>: Remove key bindings duplicated
3605 with bindings.el. (Bug#14397)
3607 2013-12-13 Juri Linkov <juri@jurta.org>
3609 * comint.el (comint-mode-map): Replace `delete-char' with
3610 `delete-forward-char'. (Bug#16109)
3612 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3614 * progmodes/python.el (python-indent-calculate-indentation):
3615 Fix de-denters cornercase. (Bug#15731)
3617 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3620 (advice--make): Pay attention to `depth'.
3621 (advice--make-1): Don't autoload commands eagerly.
3622 * emacs-lisp/elp.el (elp-instrument-function):
3623 * emacs-lisp/trace.el (trace-function-internal):
3624 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3626 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3628 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3630 * term/w32-win.el (w32-handle-dropped-file):
3631 * startup.el (normal-top-level):
3632 * net/browse-url.el (browse-url-file-url):
3633 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3634 decode file names using 'utf-8' rather than
3635 file-name-coding-system.
3637 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3639 * progmodes/python.el (python-indent-context)
3640 (python-indent-calculate-indentation): Fix auto-identation
3641 behavior for comment blocks. (Bug#15916)
3643 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3645 * progmodes/python.el (python-indent-calculate-indentation):
3646 When determining indentation, don't treat "return", "pass", etc., as
3647 operators when they are just string constituents. (Bug#15812)
3649 2013-12-12 Juri Linkov <juri@jurta.org>
3651 * uniquify.el (uniquify-buffer-name-style): Change default to
3652 `post-forward-angle-brackets'.
3654 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3655 `uniquify'. Change default to `post-forward-angle-brackets'.
3657 2013-12-11 Glenn Morris <rgm@gnu.org>
3659 * emacs-lisp/package.el (finder-list-matches):
3660 Autoload rather than falsely declaring.
3662 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3664 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3665 (eww-mode-map): Use them.
3667 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3669 * window.el (display-buffer-in-side-window): Fix doc-string
3672 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3674 * vc/vc-git.el: Silence byte-compiler warnings.
3675 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3676 (log-edit-set-header): Declare.
3678 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3680 * Makefile.in (custom-deps, finder-data): Run output file names
3681 through unmsys--file-name. (Bug#16099)
3683 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3685 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3686 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3688 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3689 instead of deleting the selection "by hand" (bug#16098).
3690 Rely on insert-for-yank to yank rectangles.
3691 (cua-highlight-region-shift-only): Mark obsolete.
3692 (cua-mode): Don't enable/disable transient-mark-mode,
3693 shift-select-mode (cua-mode works both with and without them), and
3694 pc-selection-mode (obsolete).
3695 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3696 (cua--deactivate-rectangle): Deactivate it.
3698 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3699 (delete-selection-helper): Make sure yank starts at the top of the
3701 (minibuffer-keyboard-quit): Use region-active-p.
3703 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3705 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3706 to `delete' (bug#16109).
3708 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3710 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3711 info manual and show keybindings and set `:group' keyword.
3713 2013-12-11 Juri Linkov <juri@jurta.org>
3715 * delsel.el (delete-active-region): Let-bind `this-command'
3716 to prevent `kill-region' from changing its original value.
3717 (delete-selection-helper): Handle `overwrite-mode' for the type
3718 `kill' exactly the same way as for the type `t'.
3719 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3720 Support more commands. (Bug#13312)
3722 2013-12-11 Juri Linkov <juri@jurta.org>
3724 * bindings.el: Map kp keys to non-kp keys systematically
3725 with basic modifiers control, meta and shift. (Bug#14397)
3727 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3729 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3730 "Close browser" menu items. Fix wrong function of "List
3733 2013-12-11 Juri Linkov <juri@jurta.org>
3735 * misearch.el (multi-isearch-buffers): Set the value of
3736 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3737 arg of isearch-forward to t.
3738 (multi-isearch-buffers-regexp): Set the value of
3739 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3740 arg of isearch-forward-regexp to t.
3741 (multi-isearch-files): Set the value of
3742 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3743 arg of isearch-forward to t.
3744 (multi-isearch-files-regexp): Set the value of
3745 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3746 arg of isearch-forward-regexp to t. (Bug#16035)
3748 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3749 arg of isearch-forward to t.
3750 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3751 arg of isearch-forward-regexp to t.
3752 (dired-isearch-filter-filenames): Remove unnecessary check for
3753 `dired-isearch-filenames'.
3755 * comint.el (comint-history-isearch-backward):
3756 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3757 (comint-history-isearch-backward-regexp):
3758 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3760 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3762 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3763 unmsys--file-name. (Bug#16099)
3765 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3767 * emacs-lisp/package.el (package-keyword-button-action):
3768 Remove finder.el require dependency.
3770 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3772 * emacs-lisp/package.el: Require finder.el.
3773 (describe-package-1): Add keyword buttons.
3774 (package-make-button): New convenience function.
3775 (package-keyword-button-action): Keyword button action using
3776 `finder-list-matches'.
3778 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3780 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3783 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3785 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3788 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3790 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3791 after the end of a percent literal.
3793 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3795 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3796 Handle caret-delimited strings (Bug#16079).
3798 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3800 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3801 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3802 `ruby-parse-partial' (Bug#16078).
3804 2013-12-09 Leo Liu <sdl.web@gmail.com>
3806 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3808 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3810 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3811 (js-switch-indent-offset): New option.
3812 (js--proper-indentation): Use it. And handle the case when
3813 "default" is actually a key in an object literal.
3814 (js--same-line): New function.
3815 (js--multi-line-declaration-indentation): Use it.
3816 (js--indent-in-array-comp, js--array-comp-indentation):
3818 (js--proper-indentation): Use them, to handle array comprehension
3821 2013-12-08 Leo Liu <sdl.web@gmail.com>
3823 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3824 (flymake-make-overlay): Remove arg MOUSE-FACE.
3825 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3827 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3831 (redisplay-highlight-region-function): Use it.
3833 * emulation/cua-base.el (cua--explicit-region-start)
3834 (cua--last-region-shifted): Remove.
3835 (cua--deactivate): Use deactivate-mark.
3836 (cua--pre-command-handler-1): Don't handle shift-selection.
3837 (cua--post-command-handler-1): Don't change transient-mark-mode.
3838 (cua--select-keymaps): Use region-active-p rather than
3839 cua--explicit-region-start or cua--last-region-shifted.
3840 (cua-mode): Enable shift-select-mode.
3842 2013-12-08 Leo Liu <sdl.web@gmail.com>
3844 * progmodes/flymake.el (flymake-popup-current-error-menu):
3845 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3846 (flymake-posn-at-point-as-event, flymake-popup-menu)
3847 (flymake-make-emacs-menu): Remove. (Bug#16077)
3849 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3851 * rect.el (rectangle-mark-mode): Activate mark even if
3852 transient-mark-mode is off (bug#16066).
3853 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3854 is > mark and at bolp.
3856 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3857 (region-extract-function): Use it.
3858 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3859 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3861 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3862 kill-ring-save, kill-region, delete-char, delete-forward-char.
3863 Ignore self-insert-iso.
3865 * emulation/cua-gmrk.el (cua--init-global-mark):
3866 Ignore `self-insert-iso'.
3868 * emulation/cua-base.el (cua--prefix-copy-handler)
3869 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3870 checking cua--rectangle.
3871 (cua-delete-region): Use region-extract-function.
3872 (cua-replace-region): Delete function.
3873 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3874 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3875 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3876 (cua--init-keymaps): Don't remap delete-selection commands.
3877 (cua-mode): Use delete-selection-mode instead of rolling our own
3880 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3881 Obey region-extract-function.
3883 Make registers and delete-selection-mode work on rectangles.
3884 * register.el (describe-register-1): Don't modify the register's value.
3885 (copy-to-register): Obey region-extract-function.
3886 * delsel.el (delete-active-region): Obey region-extract-function.
3888 2013-12-08 Leo Liu <sdl.web@gmail.com>
3890 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3891 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3892 (flymake-compilation-prevents-syntax-check)
3893 (flymake-start-syntax-check-on-newline)
3894 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3895 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3896 (flymake-xml-program, flymake-master-file-dirs)
3897 (flymake-master-file-count-limit)
3898 (flymake-allowed-file-name-masks): Relocate.
3899 (flymake-makehash, flymake-float-time)
3900 (flymake-replace-regexp-in-string, flymake-split-string)
3901 (flymake-get-temp-dir): Remove.
3902 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3903 (flymake-current-row, flymake-selected-frame)
3904 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3905 related functions. (Bug#16077)
3907 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3909 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3911 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3913 * help-fns.el (describe-function-1): Use new advice-* functions
3914 rather than old ad-* functions. Fix function type description and
3915 source links for advised functions and subrs.
3917 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3919 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3921 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3923 * progmodes/compile.el (compilation-start):
3924 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3926 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3927 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3929 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3931 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3932 Touch up the last change.
3934 2013-12-06 Leo Liu <sdl.web@gmail.com>
3936 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3937 (inferior-octave-startup): Always use "octave> " for prompt.
3938 (octave-goto-function-definition)
3939 (octave-sync-function-file-names)
3940 (octave-find-definition-default-filename): Remove redundant backquotes.
3942 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3944 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3946 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3947 where appropriate already.
3948 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3949 end of method names (Bug#15874).
3951 2013-12-06 Juri Linkov <juri@jurta.org>
3953 * isearch.el (isearch--saved-overriding-local-map):
3954 New internal variable.
3955 (isearch-mode): Set it to the initial value of
3956 `overriding-terminal-local-map'.
3957 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3958 with `isearch--saved-overriding-local-map'. (Bug#16035)
3960 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3962 * progmodes/octave.el (inferior-octave-completion-table):
3963 Turn back into function, use `completion-table-with-cache'
3964 (Bug#11906). Update all references.
3966 * minibuffer.el (completion-table-with-cache): New function.
3968 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3970 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3972 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3974 * net/eww.el (eww-current-source): New variable to store page
3976 (eww-display-html, eww-mode, eww-save-history)
3977 (eww-restore-history): Use it.
3978 (eww-view-source): New command to view page source.
3979 Opportunistically uses `html-mode' to highlight the buffer.
3980 (eww-mode-map): Install it.
3982 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3984 * net/dbus.el (dbus-unregister-service)
3985 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3987 (dbus-unregister-service): Skip :serial entries in
3988 `dbus-registered-objects-table'.
3989 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3991 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3993 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3994 around keywords with extra `split-string' argument.
3996 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3998 * windmove.el (windmove-other-window-loc): Handle navigation
3999 between windows (excluding the minibuffer window - Bug#16017).
4001 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
4003 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
4004 in D-Bus type syntax.
4005 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
4006 preserve unibyte strings. (Bug#16048)
4008 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
4011 Call force-mode-line-update is the proper buffer (bug#16042).
4013 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
4015 * vc/log-edit.el (log-edit-add-new-comment): Rename to
4016 `log-edit-remember-comment', make argument optional. Adjust all
4018 (log-edit-mode): Add `log-edit-remember-comment' to
4019 `kill-buffer-hook' locally.
4020 (log-edit-kill-buffer): Don't remember comment explicitly since
4021 the buffer is killed anyway.
4023 2013-12-04 Juri Linkov <juri@jurta.org>
4025 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
4026 add-hook and remove-hook for multi-buffer search. (Bug#16035)
4028 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
4030 * notifications.el (notifications-close-notification): Call the
4031 D-Bus method with ID being a `:uint32'. (Bug#16030)
4033 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
4035 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
4037 2013-12-03 Juri Linkov <juri@jurta.org>
4039 * progmodes/compile.el (compilation-start): Rename window alist
4040 entry `no-display-ok' to `allow-no-window'.
4042 * simple.el (shell-command): Add window alist entry
4043 `allow-no-window' to `display-buffer'.
4044 (async-shell-command): Doc fix.
4046 * window.el (display-buffer-no-window): New action function.
4047 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
4049 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4051 * vc/log-edit.el (log-edit-set-header): Extract from
4052 `log-edit-toggle-header'.
4053 (log-edit-extract-headers): Separate the summary, when extracted
4054 from header, from the rest of the message with an empty line.
4056 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
4057 line, if present, to the Summary header.
4059 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
4062 in current-buffer (bug#16029).
4064 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
4066 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
4067 (debugger-mode-map): Bind it.
4068 (debugger--backtrace-base): New function.
4069 (debugger-eval-expression): Use it.
4070 (debugger-frame-number): Skip local vars when present.
4071 (debugger--locals-visible-p, debugger--insert-locals)
4072 (debugger--show-locals, debugger--hide-locals): New functions.
4074 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
4076 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
4078 (tramp-get-remote-locale): New defun.
4079 (tramp-open-connection-setup-interactive-shell): Use it.
4081 2013-12-02 Leo Liu <sdl.web@gmail.com>
4083 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
4085 * progmodes/sh-script.el (sh-shell-process):
4086 * progmodes/octave.el (inferior-octave-process-live-p):
4087 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
4088 (gdb-inferior-io-sentinel):
4089 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
4091 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4093 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
4094 `save-selected-window' to `log-edit-hide-buf'. This makes
4095 `log-edit-show-files' idempotent.
4096 (log-edit-show-files): Mark the new window as dedicated.
4098 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
4100 * vc/log-edit.el (log-edit-mode-map): Add binding for
4101 `log-edit-kill-biffer'.
4102 (log-edit-hide-buf): Add a FIXME comment.
4103 (log-edit-add-new-comment): New function, extracted from
4105 (log-edit-done, log-edit-add-to-changelog): Use it.
4106 (log-edit-kill-buffer): New command.
4108 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4110 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
4111 instead of killing the buffer.
4113 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
4117 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4119 * net/eww.el (eww-form-checkbox-selected-symbol)
4120 (eww-form-checkbox-symbol): New customizable variable.
4121 (eww-form-checkbox, eww-toggle-checkbox):
4122 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
4124 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
4125 (shr--get-media-pref, shr--extract-best-source): New function.
4126 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
4127 no :src tag was specified.
4129 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
4130 (eww-render): Handle `eww-use-external-browser-for-content-type'.
4131 Use \\` to match beginning of string instead of ^.
4132 (eww-browse-with-external-browser): Provide optional URL parameter.
4133 (eww-render): Set `eww-current-title' back to "".
4135 * net/shr.el (shr-tag-video): Display content for video if no
4136 poster is available.
4137 (shr-tag-audio): Add support for <audio> tag.
4139 * net/eww.el (eww-text-input-types): New const.
4140 (eww-process-text-input): Treat input types in
4141 `eww-text-input-types' as text.
4143 * net/shr.el (shr-tag-table): Fix comment typo.
4145 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4147 * net/eww.el (eww-follow-link): New command to avoid reloading
4148 pages when we follow #target links (bug#15243).
4149 (eww-quit): Special mode buffers shouldn't query before exiting.
4151 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4153 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
4156 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4158 * net/eww.el (eww-restore-history): Update the window title after
4159 moving in the history.
4160 (eww-current-dom): New variable used to save the current DOM.
4162 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
4164 * vc/log-edit.el (log-edit-mode-map): Add binding for
4165 `log-edit-beginning-of-line'.
4166 (log-edit-setup-add-author): New user option.
4167 (log-edit-beginning-of-line): New command.
4168 (log-edit): Move major mode call above the contents setup so that
4169 the local variable values are already applied.
4170 (log-edit): Only insert "Author: " when
4171 `log-edit-setup-add-author' is non-nil.
4172 (log-edit): When SETUP is non-nil, position point after ": "
4173 instead of point-min.
4175 2013-12-01 Glenn Morris <rgm@gnu.org>
4177 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
4179 2013-11-30 Eli Zaretskii <eliz@gnu.org>
4181 * startup.el (fancy-splash-frame): On MS-Windows, trigger
4182 redisplay to make sure the initial frame gets a chance to become
4183 visible. (Bug#16014)
4185 2013-11-30 Martin Rudalics <rudalics@gmx.at>
4187 Support resizing frames and windows pixelwise.
4188 * cus-start.el (frame-resize-pixelwise)
4189 (window-resize-pixelwise): New entries.
4190 * emacs-lisp/debug.el (debug): Use window-total-height instead
4191 of window-total-size.
4192 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
4193 * help.el (describe-bindings-internal): Use help-buffer as
4194 argument for with-help-window.
4195 (temp-buffer-max-width): New option.
4196 (resize-temp-buffer-window, help-window-setup)
4197 (with-help-window): Rewrite.
4198 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
4200 * window.el (frame-char-size, window-min-pixel-height)
4201 (window-safe-min-pixel-height, window-safe-min-pixel-width)
4202 (window-min-pixel-width, window-safe-min-pixel-size)
4203 (window-combination-p, window-safe-min-size)
4204 (window-resizable-p, window--size-to-pixel)
4205 (window--pixel-to-size, window--resize-apply-p): New functions.
4206 (window-safe-min-height): Fix doc-string.
4207 (window-size, window-min-size, window--min-size-1)
4208 (window-sizable, window-sizable-p, window--min-delta-1)
4209 (window-min-delta, window--max-delta-1, window-max-delta)
4210 (window--resizable, window--resizable-p, window-resizable)
4211 (window-full-height-p, window-full-width-p, window-at-side-p)
4212 (window--in-direction-2, window-in-direction)
4213 (window--resize-reset-1, window--resize-mini-window)
4214 (window-resize, window-resize-no-error)
4215 (window--resize-child-windows-normal)
4216 (window--resize-child-windows, window--resize-siblings)
4217 (window--resize-this-window, window--resize-root-window)
4218 (window--resize-root-window-vertically)
4219 (adjust-window-trailing-edge, enlarge-window, shrink-window)
4220 (maximize-window, minimize-window, delete-window)
4221 (quit-restore-window, window-split-min-size, split-window)
4222 (balance-windows-2, balance-windows)
4223 (balance-windows-area-adjust, balance-windows-area)
4224 (window--state-get-1, window-state-get, window--state-put-1)
4225 (window--state-put-2, window-state-put)
4226 (display-buffer-record-window, window--display-buffer):
4227 Make functions handle pixelwise sizing of windows.
4228 (display-buffer--action-function-custom-type)
4229 (display-buffer-fallback-action):
4230 Add display-buffer-in-previous-window.
4231 (display-buffer-use-some-window): Resize window to height it had
4233 (fit-window-to-buffer-horizontally): New option.
4234 (fit-frame-to-buffer): Describe new values.
4235 (fit-frame-to-buffer-bottom-margin): Replace with
4236 fit-frame-to-buffer-margins.
4237 (window--sanitize-margin): New function.
4238 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4239 using window-text-pixel-size.
4241 2013-11-30 Glenn Morris <rgm@gnu.org>
4243 * emacs-lisp/bytecomp.el (byte-compile-form):
4244 Make the `interactive-only' warning like the `obsolete' one.
4245 * comint.el (comint-run):
4246 * files.el (insert-file-literally, insert-file):
4247 * replace.el (replace-string, replace-regexp):
4248 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4249 (goto-line, insert-buffer, next-line, previous-line):
4250 Tweak `interactive-only' spec.
4252 Stop keeping (most) generated cedet grammar files in the repository.
4253 * Makefile.in (semantic): New.
4254 (compile-main): Depend on semantic.
4256 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4258 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4259 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4261 * uniquify.el (uniquify-buffer-name-style): Change default.
4263 * loadup.el: Preload "uniquify".
4265 * time.el (display-time-update): Update all mode lines (bug#15999).
4267 * electric.el (electric-indent-mode): Enable by default.
4268 * loadup.el: Preload "electric".
4270 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4272 * emacs-lisp/helpers.el (string-empty-p): New function.
4273 (string-blank-p): New function.
4275 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4277 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4280 2013-11-29 Andreas Politz <politza@fh-trier.de>
4281 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4282 allow non-lambda lists as functions.
4283 (imenu--in-alist): Don't recurse into non-subalists.
4284 (imenu): Don't pass function itself as an argument (Bug#14029).
4286 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * progmodes/python.el (python-mode-map): Remove binding for ":".
4289 (python-indent-electric-colon): Remove command.
4290 (python-indent-post-self-insert-function): Integrate the previous code
4291 of python-indent-electric-colon. Make it conditional on
4292 electric-indent-mode.
4293 (python-mode): Add ?: to electric-indent-chars.
4294 Move python-indent-post-self-insert-function to the end of
4295 post-self-insert-hook.
4297 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * doc-view.el (doc-view-goto-page): Update mode-line.
4301 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4303 2013-11-27 Glenn Morris <rgm@gnu.org>
4305 * international/charprop.el, international/uni-bidi.el:
4306 * international/uni-category.el, international/uni-combining.el:
4307 * international/uni-comment.el, international/uni-decimal.el:
4308 * international/uni-decomposition.el, international/uni-digit.el:
4309 * international/uni-lowercase.el, international/uni-mirrored.el:
4310 * international/uni-name.el, international/uni-numeric.el:
4311 * international/uni-old-name.el, international/uni-titlecase.el:
4312 * international/uni-uppercase.el:
4313 Remove generated files from VCS repository.
4315 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4317 * filenotify.el (file-notify-add-watch): Don't special-case
4318 w32notify when computing the directory to watch.
4320 2013-11-27 Glenn Morris <rgm@gnu.org>
4322 Make bootstrap without generated uni-*.el files possible again.
4323 * loadup.el: Update command-line-args checking for unidata-gen.
4324 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4325 * composite.el, international/characters.el:
4326 Handle unicode tables being undefined.
4328 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4329 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4330 (compile-main): Depend on leim rule.
4332 * loadup.el: Move leim-list.el to leim/ subdirectory.
4333 * startup.el (normal-top-level): No more leim directory.
4334 * international/ja-dic-cnv.el (skkdic-convert):
4335 Disable version-control and autoloads in output files.
4336 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4337 Disable version-control and autoloads in output files.
4338 * leim/quail: Move here from ../leim.
4339 * leim/quail/hangul.el (hangul-input-method-activate):
4340 Add autoload cookie.
4341 (generated-autoload-load-name): Set file-local value.
4342 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4343 (generated-autoload-load-name): Set file-local value.
4345 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4347 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4348 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4349 (eww-quit): Ask confirmation before quitting eww.
4351 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4353 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4354 reading output from Diff on MS-Windows and MS-DOS.
4356 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4358 * emacs-lisp/helpers.el (string-reverse): New function.
4360 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4362 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4363 names on MS Windows, like "/[::1]:".
4365 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4368 2013-11-26 Glenn Morris <rgm@gnu.org>
4370 * progmodes/python.el (python-indent-guess-indent-offset):
4371 Avoid corner-case error. (Bug#15975)
4373 Preload leim-list.el. (Bug#4789)
4374 * loadup.el: Load leim-list.el when found.
4375 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4377 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4379 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4381 * emacs-lisp/helpers.el (string-join): New function.
4383 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4385 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4386 Mark as obsolete and replace it with a symbol property.
4387 (byte-compile-form): Use new 'interactive-only property.
4388 * comint.el, files.el, replace.el, simple.el:
4389 Apply new 'interactive-only properly.
4391 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4393 * window.el (display-buffer-at-bottom): Make sure that
4394 split-window-sensibly creates the new window on bottom
4397 2013-11-23 David Kastrup <dak@gnu.org>
4399 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4400 on the conflict markers when available.
4401 (smerge--get-marker): New function.
4402 (smerge-end-re, smerge-base-re): Add subgroup.
4404 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4406 * frame.el (handle-focus-in, handle-focus-out): Add missing
4409 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4411 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4412 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4414 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4416 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4417 (gomoku--last-pos): New var.
4418 (gomoku--intangible-chars): New const.
4419 (gomoku--intangible): New function.
4420 (gomoku-mode): Use it. Derive from special-mode.
4421 (gomoku-move-up): Adjust line count.
4422 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4423 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4424 Simplify accordingly.
4426 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4427 Remove blink-cursor code.
4428 (blink-cursor-timer-function, blink-cursor-suspend):
4429 Don't special-case GUIs.
4430 (blink-cursor-mode): Use focus-in/out-hook.
4432 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4434 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4435 work when annotation is invisible (Bug#13886).
4437 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4439 * json.el (json-alist-p): Only return non-nil if the alist has
4440 simple keys (Bug#13518).
4442 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4444 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4445 when control-statement is the first statement in a buffer (Bug#15956).
4447 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4449 * imenu.el (imenu-generic-skip-comments-and-strings):
4450 New option (Bug#15560).
4451 (imenu--generic-function): Use it.
4453 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4455 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4458 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4460 * emacs-lisp/helpers.el: Add some string helpers.
4461 (string-trim-left): Removes leading whitespace.
4462 (string-trim-right): Removes trailing whitespace.
4463 (string-trim): Removes leading and trailing whitespace.
4465 * subr.el (string-suffix-p): New function.
4467 2013-11-23 Glenn Morris <rgm@gnu.org>
4469 * progmodes/python.el (python-shell-send-file):
4470 Add option to delete file when done. (Bug#15647)
4471 (python-shell-send-string, python-shell-send-region): Use it.
4473 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4475 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4476 to set buffer-read-only to t, never to nil. (Bug#15938)
4478 * textmodes/tex-mode.el (latex-noindent-environments):
4479 Add safe-local-variable property. (Bug#15936)
4481 2013-11-23 Glenn Morris <rgm@gnu.org>
4483 * textmodes/enriched.el (enriched-mode): Doc fix.
4484 * emacs-lisp/authors.el (authors-renamed-files-alist):
4485 Add enriched.doc -> enriched.txt.
4487 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4489 2013-11-22 Leo Liu <sdl.web@gmail.com>
4491 * progmodes/octave.el (inferior-octave-startup): Spit out error
4494 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4496 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4499 (ruby-encoding-magic-comment-style): Add :version.
4501 2013-11-22 Leo Liu <sdl.web@gmail.com>
4503 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4505 (octave-help-mode): Adapt to change to help-mode-finish to use
4506 derived-mode-p on 2013-09-17.
4507 (inferior-octave-prompt): Also match octave-gui.
4508 (octave-kill-process): Don't ask twice. (Bug#10564)
4510 2013-11-22 Leo Liu <sdl.web@gmail.com>
4512 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4513 (inferior-octave-startup, inferior-octave-check-process)
4514 (inferior-octave-track-window-width-change)
4515 (octave-completion-at-point, octave-eldoc-function): Use it.
4516 (octave-kill-process): Provide confirmation. (Bug#10564)
4518 2013-11-21 Leo Liu <sdl.web@gmail.com>
4520 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4521 Fix obsolete variable comment-use-global-state.
4523 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4525 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4526 Add `octave-source-file'.
4527 (octave-source-file): New function. (Bug#15935)
4529 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4531 * net/eww.el (eww-local-regex): New variable.
4532 (eww): Use it to detect localhost and similar.
4534 2013-11-21 Leo Liu <sdl.web@gmail.com>
4536 Add completion for command `ag'.
4537 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4538 (pcomplete/ag): New function.
4539 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4541 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4543 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4545 (make-obsolete): Remove interactive spec.
4547 2013-11-21 Glenn Morris <rgm@gnu.org>
4549 * startup.el (command-line-1): Use path-separator with -L.
4551 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4553 * emacs-lisp/package.el (describe-package-1): Add package archive
4556 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4558 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4559 Change default to "# encoding: %s" to differentiate it from the
4560 default Ruby encoding comment template.
4562 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4564 * ses.el (ses-mode): Doc fix. (Bug#14748)
4566 2013-11-20 Leo Liu <sdl.web@gmail.com>
4568 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4570 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4572 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4573 when rebase or bisect are in progress.
4575 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4577 * filenotify.el (file-notify-add-watch): Doc fix.
4579 2013-11-19 Leo Liu <sdl.web@gmail.com>
4581 * obsolete/rcompile.el: Mark obsolete.
4583 * progmodes/compile.el (compilation-start)
4584 (compilation-goto-locus, compilation-find-file):
4585 Pass no-display-ok and handle nil value from display-buffer.
4588 * window.el (display-buffer-alist, display-buffer): Document the
4589 new parameter no-display-ok. Return either a window or nil
4590 but never a non-window value.
4592 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * electric.el (electric-indent-mode-map): Remove.
4595 (electric-indent-mode): Change the global-map instead (bug#15915).
4597 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4600 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4602 * emacs-lisp/nadvice.el (remove-function): Align with
4603 add-function's behavior.
4605 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4606 (gdb--string-regexp): New constant.
4607 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4608 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4609 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4611 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4612 Adjust use accordingly.
4613 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4615 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4617 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4618 interpolation curlies (Bug#15914).
4620 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4622 * calc/calc.el (calc-context-sensitive-enter): New variable.
4623 (calc-enter): Use `calc-context-sensitive-enter'.
4625 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4627 * progmodes/cfengine.el: Version bump.
4628 (cfengine-cf-promises): New defcustom to locate cf-promises.
4629 (cfengine3-vartypes): Add new "data" type.
4630 (cfengine3--current-word): New function to get current name-like
4632 (cfengine3--current-function): New function to look up a CFEngine
4633 function's definition.
4634 (cfengine3-format-function-docstring): New function.
4635 (cfengine3-make-syntax-cache): New function.
4636 (cfengine3-documentation-function): New function: ElDoc glue.
4637 (cfengine3-completion-function): New function: completion glue.
4638 (cfengine3-mode): Set `compile-command',
4639 `eldoc-documentation-function', and add to
4640 `completion-at-point-functions'.
4642 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4644 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4645 `tramp-current-connection'.
4647 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4649 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4650 nil/self/true/false with "end of symbol".
4652 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4654 * subr.el (version-regexp-alist): Fix a typo.
4656 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4658 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4659 "en_US.utf8" and "LC_CTYPE" to "".
4660 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4661 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4663 2013-11-15 Leo Liu <sdl.web@gmail.com>
4665 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4667 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * progmodes/gud.el (ctl-x-map):
4670 Remove C-x SPC binding. (Bug#12342)
4671 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4673 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4675 * subr.el (version-regexp-alist):
4676 Recognize hg, svn and darcs versions as snapshot versions.
4678 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4679 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4680 (ruby--encoding-comment-required-p): Extract from
4681 `ruby-mode-set-encoding'.
4682 (ruby-mode-set-encoding): Add the ability to always insert an
4683 utf-8 encoding comment. Fix and simplify coding comment update
4686 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4688 * net/tramp-gvfs.el (top): Run init code only when
4689 `tramp-gvfs-enabled' is not nil.
4690 (tramp-gvfs-enabled): Check also :system bus.
4692 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4694 Sync with upstream verilog-mode revision 78e66ba.
4695 * progmodes/verilog-mode.el (verilog-end-of-defun)
4696 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4697 (verilog-get-end-of-defun): Remove unused argument.
4698 (verilog-comment-depth): Remove unused local `e'.
4699 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4700 Don't pass arg to verilog-get-end-of-defun.
4702 2013-11-14 Glenn Morris <rgm@gnu.org>
4704 * obsolete/assoc.el (aget): Prefix dynamic variable.
4706 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4708 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4710 * widget.el, hfy-cmap.el: Remove bogus package version number.
4712 2013-11-13 Glenn Morris <rgm@gnu.org>
4714 * replace.el (replace-eval-replacement):
4715 Try to give more helpful error message. (Bug#15836)
4717 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4718 (archive-7z-update): Avoid custom type mismatches.
4720 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4722 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4724 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4725 address can be empty.
4727 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4728 Accept nil SWITCHES.
4729 (tramp-gvfs-handle-write-region): Implement APPEND.
4731 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4733 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4734 binary "|" operator and closing block args delimiter.
4735 Remove FIXME comment referring to Ruby 1.8-only syntax.
4736 (ruby-smie--implicit-semi-p): Not after "|" operator.
4737 (ruby-smie--closing-pipe-p): New function.
4738 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4739 (ruby-smie-rules): Indent after "|".
4741 2013-11-12 Glenn Morris <rgm@gnu.org>
4743 * ps-print.el (ps-face-attribute-list):
4744 Handle anonymous faces. (Bug#15827)
4746 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4748 * window.el (display-buffer-other-frame): Fix doc-string.
4751 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4753 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4755 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4757 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4758 (tramp-sh-handle-file-local-copy): Don't write a message when
4759 saving temporary files.
4761 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4762 both directories are remote.
4763 (tramp-smb-handle-directory-files): Do not return double entries.
4764 Do not expand full file names.
4765 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4766 (tramp-smb-handle-write-region): Implement APPEND.
4767 (tramp-smb-get-stat-capability): Fix a stupid bug.
4769 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4773 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4775 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4776 throwing error over malformed let/let* (bug#15814).
4778 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * iswitchb.el (iswitchb-mode): Mark obsolete.
4782 2013-11-11 Glenn Morris <rgm@gnu.org>
4784 * international/uni-bidi.el, international/uni-category.el:
4785 * international/uni-name.el, international/uni-numeric.el:
4786 Regenerate for Unicode 6.3.0.
4788 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4790 * net/tramp.el (tramp-methods):
4791 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4792 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4794 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4796 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4797 Force highlighting text after Summary keyword in doc face for rpm.
4799 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4801 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4802 available and the word has no wildcards, append one to the grep pattern.
4803 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4804 (ispell-complete-word): Call `ispell-lookup-words' with the value
4805 independent of `ispell-look-p'.
4807 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4809 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4811 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4814 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4817 (ruby-font-lock-keywords): Use backquote.
4819 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4821 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4822 (ruby-smie--backward-token): Only consider full-string matches.
4824 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4826 * faces.el (describe-face): Add distant-foreground.
4828 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4830 * progmodes/ruby-mode.el: Improve encoding comment handling.
4831 (ruby-encoding-magic-comment-style): New option.
4832 (ruby-custom-encoding-magic-comment-template): New option.
4833 (ruby--insert-coding-comment, ruby--detect-encoding):
4834 New functions extracted from `ruby-mode-set-encoding'.
4835 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4836 to control the style of the auto-inserted encoding comment.
4838 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4840 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4841 Use `smie-backward-sexp' with token argument.
4843 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4845 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4846 Remove instrumentation code.
4848 2013-11-08 Glenn Morris <rgm@gnu.org>
4850 * progmodes/autoconf.el (autoconf-mode):
4851 Tweak comment-start-skip. (Bug#15822)
4853 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4856 at bobp (bug#15826).
4857 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4859 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4861 * man.el (Man-start-calling): New macro, extracted from
4862 Man-getpage-in-background.
4863 (Man-getpage-in-background): Use it.
4864 (Man-update-manpage): New command.
4865 (Man-mode-map): Bind it.
4867 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4869 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4870 of "and", "or", "&&" and "||".
4871 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4872 argument. Prohibit opening curly brace because it could only be a
4873 block opener in that position.
4874 (ruby-smie--forward-token, ruby-smie--backward-token):
4875 Separate "|" from "&" or "*" going after it. That can happen in block
4877 (ruby-smie--indent-to-stmt): New function, seeks the end of
4878 previous statement or beginning of buffer.
4879 (ruby-smie-rules): Use it.
4880 (ruby-smie-rules): Check if there's a ":" before a curly block
4881 opener candidate; if there is, it's a hash.
4883 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4885 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4886 (cl--block-wrapper): Fix last accidental change.
4888 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4890 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4891 Instrument, in order to hunt failure on hydra.
4893 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4895 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4896 malformed bindings form (bug#15814).
4898 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4900 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4901 "." compared to " @ ". This incidentally fixes some indentation
4903 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4904 (ruby-smie-grammar): New tokens: "and" and "or".
4905 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4906 Exclude "and" and "or". Remove "do" in order to work around token
4908 (ruby-smie-rules): Add all infix tokens. Handle the case of
4909 beginning-of-buffer.
4911 2013-11-06 Glenn Morris <rgm@gnu.org>
4913 * Makefile.in (setwins_almost, setwins_for_subdirs):
4914 Avoid accidental matches.
4916 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * menu-bar.el (popup-menu): Use key-binding.
4920 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4922 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4923 menus, support also the menus produced by minor modes.
4926 2013-11-06 Leo Liu <sdl.web@gmail.com>
4928 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4929 DISTANCE to bound the search. All uses changed. (Bug#15808)
4931 2013-11-06 Glenn Morris <rgm@gnu.org>
4933 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4934 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4935 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4937 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4939 * electric.el (electric-indent-just-newline): New command.
4940 (electric-indent-mode-map): New keymap.
4941 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4942 Re-add :group which weren't redundant.
4944 * electric.el (electric-indent-local-mode): New minor mode.
4945 (electric-indent-functions-without-reindent): New var.
4946 (electric-indent-post-self-insert-function): Use it.
4947 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4949 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4951 * international/quail.el (quail-help): Be more explicit about the
4952 meaning of the labels shown on the keys. (Bug#15800)
4954 * startup.el (normal-top-level): Load the subdirs.el files before
4955 setting the locale environment. (Bug#15805)
4957 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4960 via arguments so as to get the right ones (bug#15418).
4962 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4964 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4966 Fix problems found while writing a test suite.
4968 * net/tramp-compat.el (tramp-compat-load): New defun.
4969 * net/tramp.el (tramp-handle-load): Use it.
4971 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4972 "(numberp ok-if-already-exists)" correctly.
4974 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4976 * international/characters.el (glyphless-char-display-control):
4979 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4981 * progmodes/python.el (python-mode):
4982 * progmodes/scheme.el (scheme-mode):
4983 * progmodes/prolog.el (prolog-mode):
4984 * progmodes/ruby-mode.el (ruby-mode):
4985 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4986 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4988 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4990 * rect.el (rectangle--highlight-for-redisplay):
4991 * emacs-lisp/smie.el (smie--next-indent-change):
4992 Use buffer-chars-modified-tick.
4994 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4996 * electric.el (electric-indent-post-self-insert-function):
4997 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4999 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
5001 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
5003 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5005 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
5008 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
5012 * progmodes/python.el: Fix up last change.
5013 (python-shell--save-temp-file): New function.
5014 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
5015 `string' comes from the current buffer.
5016 (python-shell-send-string-no-output): Remove `msg' arg.
5017 (python--use-fake-loc): New var.
5018 (python-shell-buffer-substring): Obey it. Try to compensate for the
5019 extra coding line added by python-shell--save-temp-file.
5020 (python-shell-send-region): Use python-shell--save-temp-file and
5021 python-shell-send-file directly. Add `nomain' argument.
5022 (python-shell-send-buffer): Use python-shell-send-region.
5023 (python-electric-pair-string-delimiter): New function.
5024 (python-mode): Use it.
5026 2013-11-04 Eli Zaretskii <eliz@gnu.org>
5028 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
5029 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
5030 environment and decoding all of the default-directory's to here
5032 (command-line): Decode also argv[0].
5034 * loadup.el: Error out if default-directory is a multibyte string
5035 when we are dumping.
5037 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
5039 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5041 * emacs-lisp/package.el (package-menu-mode)
5042 (package-menu--print-info, package-menu--archive-predicate):
5043 Add Archive column to package list.
5045 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
5047 Fix problems found while writing a test suite.
5049 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
5050 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
5051 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
5052 to nil when running original file name handler. Otherwise,
5053 there are problems with constructs like "$$FOO".
5055 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
5058 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
5060 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
5062 * subr.el (version<, version<=, version=):
5063 Update docstrings with information for snapshot versions.
5065 * helpers.el: New library for misc helper functions.
5066 (hash-table-keys): New function returning a list of hash keys.
5067 (hash-table-values): New function returning a list of hash values.
5069 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
5071 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5072 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
5074 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
5076 * textmodes/fill.el (fill-single-char-nobreak-p): New function
5077 checking whether point is after a 1-letter word.
5079 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5081 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
5082 Don't infloop when expanding region over `multiline' syntax-type that
5083 begins a line (bug#15778).
5085 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
5088 Make it into a proper minor mode.
5089 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
5090 (rectangle-mark-mode-map): New keymap.
5091 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
5093 2013-11-04 Glenn Morris <rgm@gnu.org>
5095 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
5097 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5099 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
5100 (ruby-smie-rules): Use smie-rule-parent instead.
5102 * emacs-lisp/smie.el (smie-rule-parent): Always call
5103 smie-indent-virtual rather than only for hanging tokens.
5104 (smie--next-indent-change): New helper command.
5106 2013-11-03 Glenn Morris <rgm@gnu.org>
5108 * Makefile.in (abs_srcdir): Remove.
5109 (emacs): Unset EMACSLOADPATH.
5111 2013-11-02 Glenn Morris <rgm@gnu.org>
5113 * Makefile.in (EMACS): Use a relative filename.
5114 (abs_top_builddir): Remove.
5115 (custom-deps, finder-data, autoloads): Use --chdir.
5117 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
5119 Use relative filenames in TAGS files.
5120 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5121 (lisptagsfiles4, TAGS): Use relative file names.
5122 (TAGS-LISP): Remove.
5123 (maintainer-clean): No more TAGS-LISP file.
5125 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
5126 (lisptagsfiles4): Use absolute filenames again.
5127 (TAGS, TAGS-LISP): Not everything needs to run in one line.
5128 Remove all *loaddefs files, not just the first. Remove esh-groups.
5129 (maintainer-clean): Delete TAGS, TAGS-LISP.
5131 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5133 * emacs-lisp/package.el (package-version-join):
5134 Recognize snapshot versions.
5136 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5138 * subr.el (version-regexp-alist): Add support for snapshot versions.
5140 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5142 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
5143 New function, replacement for `smie-rule-parent' for when we want to
5144 skip over our direct parent if it's an assignment token..
5145 (ruby-smie-rules): Use it.
5147 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
5149 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
5150 unconditionally. Remove now unnecessary forward declarations.
5151 Remove XEmacs-specific setup.
5152 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5153 (ruby-font-lock-syntactic-keywords)
5154 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
5155 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5156 (ruby-here-doc-end-syntax): Remove.
5157 (ruby-mode): Don't check whether `syntax-propertize-rules' is
5158 defined as function.
5160 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
5162 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
5164 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5166 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
5167 table and abbrev table, `define-derived-mode' does that for us
5170 2013-11-01 Glenn Morris <rgm@gnu.org>
5172 * Makefile.in: Remove manual mh-e dependencies (writing .elc
5173 files is atomic for some time, so no parallel compilation issues).
5175 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
5177 * faces.el (face-x-resources): Add :distant-foreground.
5178 (region): Use :distant-foreground for gtk and ns.
5180 2013-11-01 Tassilo Horn <tsdh@gnu.org>
5182 Allow multiple bibliographies when BibLaTeX is used rather than
5184 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
5185 (reftex-locate-bibliography-files): Us it.
5187 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
5189 * image.el (image-type-header-regexps): Fix the 'pbm' part to
5190 allow comments in pbm files.
5192 * term/w32-win.el (dynamic-library-alist): Support newer versions
5193 of libjpeg starting with v7: look only for the DLL from the
5194 version against which Emacs was built.
5195 Support versions of libpng beyond 1.4.x.
5196 Support libtiff v4.x.
5198 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
5200 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
5201 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
5203 (ruby-deep-arglist): Add property :type.
5205 2013-10-31 Glenn Morris <rgm@gnu.org>
5207 * Makefile.in (custom-deps, finder-data): No need to setq the target
5208 variables, we are in the right directory and the defaults work fine.
5210 2013-10-30 Glenn Morris <rgm@gnu.org>
5212 * Makefile.in (autoloads): Do not use abs_lisp.
5214 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5215 `newline' does not respect `standard-output', so use `princ'.
5217 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
5219 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
5220 * buff-menu.el (Buffer-menu--unmark): New function.
5221 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
5223 2013-10-30 Glenn Morris <rgm@gnu.org>
5225 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
5227 * emacs-lisp/package.el (lm-homepage): Declare.
5229 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5232 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5234 * Makefile.in (finder-data, autoloads, update-subdirs)
5235 (compile-main, compile-clean, compile-always, bootstrap-clean):
5236 Check return value of cd.
5237 (compile-calc): Remove.
5239 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5243 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5244 (byte-compile-and-folded): New function.
5245 (=, <, >, <=, >=): Use it.
5247 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5248 (path-separator, null-device, buffer-file-coding-system)
5249 (lpr-headers-switches): Check system-type before modifying them.
5250 (find-buffer-file-type-coding-system): Mark obsolete.
5251 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5252 find-file-not-found-set-buffer-file-coding-system.
5253 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5254 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5255 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5256 (w32-direct-print-region-helper, w32-direct-print-region-function)
5257 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5258 * startup.el (normal-top-level-add-subdirs-to-load-path):
5259 * ps-print.el (ps-print-region-function):
5260 * lpr.el (print-region-function): Use new name.
5262 * subr.el (custom-declare-variable-early): Remove function.
5263 (custom-declare-variable-list): Remove var.
5264 (error, user-error): Remove `while' loop.
5265 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5266 (user-emacs-directory-warning, locate-user-emacs-file):
5268 * simple.el (read-quoted-char-radix, read-quoted-char):
5269 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5271 * custom.el (custom-declare-variable-list): Don't process
5272 custom-declare-variable-list.
5274 * progmodes/python.el (python-shell-get-buffer): New function.
5275 (python-shell-get-process): Use it.
5276 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5277 Python which encoding was used. Don't split-string since we only care
5278 about the first line. Return the temp-file, if applicable.
5279 (python-shell-send-region): Tell compile.el how to turn locations in
5280 the temp-file into locations in the source buffer.
5282 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * subr.el (undefined): Add missing behavior from the C code for
5287 * rect.el: Use lexical-binding. Add new rectangular region support.
5288 (rectangle-mark): New command.
5289 (rectangle--region): New var.
5290 (deactivate-mark-hook): Reset rectangle--region.
5291 (rectangle--extract-region, rectangle--insert-for-yank)
5292 (rectangle--highlight-for-redisplay)
5293 (rectangle--unhighlight-for-redisplay): New functions.
5294 (region-extract-function, redisplay-unhighlight-region-function)
5295 (redisplay-highlight-region-function): Use them to handle
5297 * simple.el (region-extract-function): New var.
5298 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5299 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5300 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5301 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5302 (redisplay-unhighlight-region-function)
5303 (redisplay-highlight-region-function): New vars.
5304 (redisplay--update-region-highlight): New function.
5305 (pre-redisplay-function): Use it.
5306 (exchange-point-and-mark): Don't deactivate the mark before
5307 reactivate-it anyway.
5308 * comint.el (comint-kill-region): Remove yank-handler argument.
5309 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5310 (delete-char): Remove property, since it's now part of their
5312 (self-insert-iso): Remove property since this command doesn't exist.
5314 * emacs-lisp/package.el (package--download-one-archive)
5315 (describe-package-1): Don't query the user about final newline.
5317 2013-10-29 Daniel Colascione <dancol@dancol.org>
5319 * net/tramp.el (tramp-methods): Document new functionality.
5320 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5321 tramp-hostname-checker if method provides one instead of scanning
5322 argument list for "%h" to decide hostname acceptability.
5324 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5326 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5327 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5328 Handle COPY-CONTENTS. (Bug#15737)
5330 2013-10-28 Daiki Ueno <ueno@gnu.org>
5333 (epa-file-cache-passphrase-for-symmetric-encryption):
5334 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5336 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5338 * image.el (defimage, image-load-path): Doc fixes.
5340 2013-10-27 Alan Mackenzie <acm@muc.de>
5342 Indent statements in macros following "##" correctly.
5343 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5344 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5346 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5348 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5350 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5352 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5353 after `=' is probably a new expression.
5355 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5357 * man.el (man-imenu-title): New option.
5358 (Man-mode-map): Add menu. (Bug#15722)
5359 (Man-mode): Add imenu to menu.
5361 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5363 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5364 specific in what the first arg can be: a non-keyword word,
5365 string/regexp/percent literal opener, opening paren, or unary
5366 operator followed directly by word.
5368 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5370 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5371 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5372 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5373 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5374 Remove vars, they do not apply any more.
5375 (prolog-mode-abbrev-table): Remove redundant declaration.
5376 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5377 (prolog-use-smie): Remove.
5378 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5379 supported by prolog-electric-if-then-else-flag.
5380 (prolog-mode-variables, prolog-menu): Use setq-local.
5381 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5382 Remove binding to `Backspace' since this key doesn't exist anyway.
5383 Remove bindings for electric self-inserting keys.
5384 (prog-mode): Assume it's defined.
5385 (prolog-post-self-insert): New function.
5386 (prolog-mode): Use it.
5387 (prolog-indent-line, prolog-indent-level)
5388 (prolog-find-indent-of-matching-paren)
5389 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5390 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5391 (prolog-goto-next-paren, prolog-in-string-or-comment)
5392 (prolog-tokenize, prolog-inside-mline-comment)
5393 (prolog-find-start-of-mline-comment): Remove functions.
5394 (prolog-find-unmatched-paren, prolog-clause-end)
5395 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5396 (prolog-electric--if-then-else): Rename from
5397 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5398 (prolog-tokenize-searchkey): Remove const.
5399 (prolog-clause-info): Use forward-sexp.
5400 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5401 (prolog-electric-if-then-else): Remove commands.
5402 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5403 for use in post-self-insert-hook.
5404 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5405 for use in post-self-insert-hook.
5406 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5407 for use in post-self-insert-hook.
5408 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5409 adapt it for use in post-self-insert-hook.
5411 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5413 * emacs-lisp/ert.el (ert-run-tests-interactively):
5414 Use `completing-read'. (Bug#9756)
5416 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5418 * simple.el (line-move): Call line-move-1 instead of
5419 line-move-visual when the current window hscroll is zero, but
5420 temporary-goal-column indicates we will need to hscroll as result
5421 of the movement. (Bug#15712)
5423 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5425 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5426 capitalization. Use :visible instead of :active.
5427 Fix `ruby-indent-exp' reference. Add menu items for the generic
5428 commands that are used with SMIE.
5429 (ruby-do-end-to-brace): Insert space after `{'.
5431 2013-10-25 John Anthony <john@jo.hnanthony.com>
5433 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5435 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5437 2013-10-25 Glenn Morris <rgm@gnu.org>
5439 * vc/vc.el (vc-print-log): Don't use a working revision unless
5440 one was explicitly specified. (Bug#15322)
5442 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * subr.el (add-to-list): Preserve return value in compiler-macro
5447 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5449 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5450 result. Ask user to retry using '-all' flag. (Bug#15701)
5452 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5454 * emacs-lisp/smie.el: New smie-config system.
5455 (smie-config): New defcustom.
5456 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5457 (smie-config-guess, smie-config-save): New commands.
5458 (smie-config--mode-local, smie-config--buffer-local)
5459 (smie-config--trace, smie-config--modefuns): New vars.
5460 (smie-config--advice, smie-config--mode-hook)
5461 (smie-config--setter, smie-config-local, smie-config--get-trace)
5462 (smie-config--guess-value, smie-config--guess): New functions.
5463 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5464 text properties. Treat "string fence" syntax like string syntax.
5466 * progmodes/sh-script.el (sh-use-smie): Change default.
5467 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5468 (sh-var-value): Simplify by CSE.
5469 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5470 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5472 (sh-guess-basic-offset): Use cl-incf.
5473 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5475 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5477 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5480 2013-10-24 Glenn Morris <rgm@gnu.org>
5482 * Makefile.in (abs_top_srcdir): Remove.
5483 (update-subdirs): Use relative path to update-subdirs.
5485 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5487 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5488 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5489 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5490 Call unmsys--file-name before expand-file-name, not after it.
5492 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5494 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5495 (ert-test-skipped): New error.
5496 (ert-skip, ert-stats-skipped): New defuns.
5497 (ert--skip-unless): New macro.
5498 (ert-test-skipped): New struct.
5499 (ert--run-test-debugger, ert-test-result-type-p)
5500 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5501 (ert--stats-set-test-and-result, ert-char-for-test-result)
5502 (ert-string-for-test-result, ert-run-tests-batch)
5503 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5504 Handle skipped tests. (Bug#9803)
5506 2013-10-24 Glenn Morris <rgm@gnu.org>
5508 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5510 * Makefile.in (abs_top_srcdir): New, set by configure.
5511 (update-subdirs): Correct build-aux location.
5513 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5515 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5516 value, whether we could auto-deduce `backend', or not.
5518 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5519 with parameters" example. Simplify the "is it block or is it
5520 hash" check, but also make it more thorough.
5522 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5524 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5526 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5528 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5531 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5534 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5536 * progmodes/compile.el (compilation-directory-matcher)
5537 (compilation-page-delimiter):
5538 Support GNU Make-4.0 directory quoting. (Bug#15678)
5540 2013-10-23 Leo Liu <sdl.web@gmail.com>
5542 * ido.el (ido-tidy): Handle read-only text.
5544 2013-10-23 Glenn Morris <rgm@gnu.org>
5546 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5547 (emacs, compile, compile-always):
5548 Quote entities that might contain whitespace.
5549 (custom-deps, finder-data, autoloads): Use abs_lisp.
5550 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5551 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5552 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5554 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5556 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5557 Use `following-char'.
5559 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5561 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5562 * progmodes/ruby-mode.el (ruby-smie-rules):
5563 Remove corresponding workaround. Fix indentation rule of ";" so it
5564 also applies when ";" is the parent.
5566 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5568 * frame.el (display-screens, display-pixel-height)
5569 (display-pixel-width, display-mm-width, display-backing-store)
5570 (display-save-under, display-planes, display-color-cells)
5571 (display-visual-class, display-monitor-attributes-list):
5572 Mention the optional ‘display’ argument in doc strings.
5574 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5576 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5577 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5579 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5581 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5582 TODO. Add "." after " @ ".
5583 (ruby-smie--at-dot-call): New function. Checks if point at method
5584 call with explicit target.
5585 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5586 to the method name tokens when it precedes them.
5587 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5588 (ruby-smie-rules): Add rule for indentation before and after "."
5591 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5593 * textmodes/remember.el (remember-diary-extract-entries):
5596 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5599 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5601 * progmodes/ruby-mode.el (ruby-smie-grammar):
5602 Add (almost) all infix operators.
5603 (ruby-smie--implicit-semi-p): Add new operator chars.
5605 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5607 (ruby-smie--args-separator-p): Check that there's no newline
5608 between method call and its arguments.
5610 2013-10-20 Alan Mackenzie <acm@muc.de>
5612 Allow comma separated lists after Java "implements".
5614 * progmodes/cc-engine.el (c-backward-over-enum-header):
5616 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5617 from a "disallowed" list in enum fontification.
5619 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5621 * startup.el (default-frame-background-mode): Remove unused defvar.
5623 * progmodes/verilog-mode.el (verilog-mode): Don't set
5624 comment-indent-function globally.
5626 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5628 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5629 Move Info menu item creation to ns-win.el.
5631 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5634 * menu-bar.el: Move GNUstep specific menus...
5636 * term/ns-win.el (ns-initialize-window-system): ... to here.
5638 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * simple.el (newline): Only run post-self-insert-hook when
5641 called interactively.
5643 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5645 * icomplete.el (icomplete-with-completion-tables): Add :version.
5647 2013-10-19 Alan Mackenzie <acm@muc.de>
5649 Fix fontification bugs with constructors and const.
5651 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5652 CASE 2) Remove the check for the absence of a suffix construct
5653 after a function declaration with only types (no identifiers) in
5654 the parentheses. Also, accept a function declaration with just a
5655 type inside the parentheses, if this type can be positively
5656 recognised as such, or if a prefix keyword like "explicit" nails
5657 down the construct as a declaration.
5659 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5661 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5662 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5663 the problem whereby selecting a menu item that leads to a
5664 minibuffer prompt moves the cursor out of the minibuffer window,
5665 making it hard to type at the prompt. Suggested by Stefan Monnier
5666 <monnier@iro.umontreal.ca>.
5668 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5670 * menu-bar.el: Don't make Services menu.
5672 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5674 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5675 (ffap-alist): Use ffap-c++-mode for c++-mode.
5676 (ffap-c++-path): New variable.
5677 (ffap-c++-mode): New function.
5679 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5681 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5683 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5685 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5686 introduced on 2013-09-08, which results in an infinite loop
5687 requesting a password.
5689 2013-10-18 Glenn Morris <rgm@gnu.org>
5691 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5693 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5695 Sync with upstream verilog-mode revision 1a6ecec7.
5696 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5697 (verilog-mode-release-date): Remove.
5698 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5699 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5700 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5701 (verilog-auto-tieoff-ignore-regexp)
5702 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5703 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5704 (verilog-signals-with, verilog-dir-cache-preserving)
5705 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5707 (verilog-case-fold): New option, to control case folding in
5708 regexp searches, bug597.
5709 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5710 (verilog-string-match-fold, verilog-in-paren-count)
5711 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5712 (verilog-at-close-struct-p): New functions.
5713 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5714 (verilog-forward-sexp, verilog-set-auto-endcomments)
5715 (verilog-leap-to-case-head): Handle "unique0" case.
5716 (verilog-in-constraint-re): New constant.
5717 (verilog-keywords, verilog-type-font-keywords):
5718 Add some SystemVerilog 1800-2012 keywords.
5719 (verilog-label-be): Remove unimplemented argument, bug669.
5720 (verilog-batch-execute-func): When batch expanding clear
5721 create-lockfiles to prevent spurious user locks when a file ends
5723 (verilog-calculate-indent, verilog-calc-1)
5724 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5725 (verilog-do-indent): Fix indentation of nested constraints
5727 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5728 (verilog-auto-inst-param): Use verilog-string-match-fold.
5729 (verilog-read-inst-module-matcher):
5730 Fix AUTOINST on gate primitives with #1.
5731 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5732 Reads all user-defined typed variables.
5733 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5734 (verilog-signals-matching-regexp)
5735 (verilog-signals-not-matching-regexp, verilog-auto):
5736 Respect verilog-case-fold.
5737 (verilog-diff-report): Fix line count.
5738 (verilog-auto-assign-modport): Remove unused local `modi'.
5739 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5740 better handle multidimensional arrays.
5741 Fix packed array ports misadding bit index in AUTOINST, bug637.
5742 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5743 to not double-declare existing outputs and inputs, respectively.
5744 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5745 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5746 (verilog-sk-uvm-component): New skeleton.
5747 (verilog-submit-bug-report): Add verilog-case-fold,
5748 remove verilog-mode-release-date.
5750 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5752 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5755 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5757 * textmodes/remember.el (remember): Set buffer-offer-save in
5758 remember buffers (bug#13566).
5760 2013-10-18 Daniel Colascione <dancol@dancol.org>
5762 When evaluating forms in ielm, direct standard output to ielm
5763 buffer. Add new ielm-return-for-effect command. Remove trailing
5764 whitespace throughout.
5766 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5767 (ielm-return-for-effect): New command.
5768 (ielm-send-input): Accept optional `for-effect' parameter.
5769 (ielm-eval-input): Accept optional `for-effect' parameter.
5770 Bind `standard-output' to stream we create using
5771 `ielm-standard-output-impl'. Suppress printing result when
5773 (ielm-standard-output-impl): New function.
5774 (inferior-emacs-lisp-mode): Explain new features in documentation.
5776 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5780 * net/tramp.el (tramp-debug-message): Do not check for connection
5782 (tramp-message): Use "vector" connection property.
5784 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5785 (tramp-equal-remote, tramp-eshell-directory-change)
5786 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5787 (tramp-adb-handle-rename-file)
5788 * net/tramp-cmds.el (tramp-list-remote-buffers)
5789 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5790 * net/tramp-compat.el (tramp-compat-process-running-p)
5791 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5792 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5793 (tramp-gvfs-handle-rename-file)
5794 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5795 (tramp-set-file-uid-gid)
5796 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5797 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5800 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5801 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5802 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5803 (tramp-gw-open-network-stream): Suppress unrelated traces.
5805 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5806 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5807 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5808 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5809 connection property.
5811 * net/tramp-cache.el (top): Suppress traces when reading
5814 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5815 Refactor common code. Improve debug message.
5816 (tramp-maybe-open-connection)
5817 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5818 connection buffer too early.
5820 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5821 from `tramp-smb-actions-with-acl'.
5822 (tramp-smb-actions-set-acl): New defconst.
5823 (tramp-smb-handle-copy-directory)
5824 (tramp-smb-action-get-acl): New defun, renamed from
5825 `tramp-smb-action-with-acl'.
5826 (tramp-smb-action-set-acl): New defun.
5827 (tramp-smb-handle-set-file-acl): Rewrite.
5829 2013-10-17 Glenn Morris <rgm@gnu.org>
5831 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5833 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5835 * skeleton.el (skeleton-newline): Remove.
5836 (skeleton-internal-1): Use (insert "\n") instead.
5838 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5841 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5842 forward-sexp-function while we redo its job (bug#15613).
5844 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5846 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5847 represented by lists.
5849 2013-10-16 Glenn Morris <rgm@gnu.org>
5851 * tmm.el (tmm--history): New dynamic variable.
5852 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5854 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5856 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5857 (tramp-smb-errors): Add error messages.
5858 (tramp-smb-actions-with-acl): New defconst.
5859 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5860 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5861 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5862 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5863 (tramp-smb-get-stat-capability): Fix tests.
5865 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5867 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5870 2013-10-16 Glenn Morris <rgm@gnu.org>
5872 * ansi-color.el (ansi-color-drop-regexp):
5873 Add 1J, 1K, 2K. (Bug#15617)
5875 * files.el (hack-local-variables--warned-lexical): New.
5876 (hack-local-variables):
5877 Warn about misplaced lexical-binding. (Bug#15616)
5879 * net/eww.el (eww-render): Always set eww-current-url,
5880 and update header line. (Bug#15622)
5881 (eww-display-html): ... Rather than just doing it here.
5883 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5885 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5886 menu navigations commands.
5888 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5890 * progmodes/subword.el (subword-capitalize): Be careful when
5891 the search for [[:alpha:]] fails (bug#15580).
5893 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5895 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5896 to commands that scroll the menu.
5898 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5900 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5901 Handle methods ending with `?' and `!'.
5903 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5905 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5906 `japanese-cp932' to `cp932' to fix the problem where saving a
5907 source file written in Shift_JIS twice would end up having
5908 `coding: japanese-cp932' which Ruby could not recognize.
5909 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5910 in `ruby-encoding-map'.
5911 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5912 doesn't need to be explicitly declared in magic comment.
5913 (ruby-encoding-map): Add type declaration for better customize UI.
5915 2013-10-13 Glenn Morris <rgm@gnu.org>
5917 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5918 Occur buffers are read-only. http://bugs.debian.org/720775
5920 * emacs-lisp/authors.el (authors-fixed-entries):
5921 Comment out old alpha stuff.
5923 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5925 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5926 to `after-save-hook' instead of `before-save-hook'.
5927 (ruby-mode-set-encoding): Use the value of coding system used to
5928 write the file. Call `basic-save-buffer-1' after modifying the
5931 2013-10-13 Alan Mackenzie <acm@muc.de>
5933 Fix indentation/fontification of Java enum with
5934 "implements"/generic.
5936 * progmodes/cc-engine.el (c-backward-over-enum-header):
5937 Extracted from the three other places and enhanced to handle generics.
5938 (c-inside-bracelist-p): Uses new function above.
5939 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5941 (c-font-lock-enum-tail): Uses new function above.
5943 2013-10-13 Kenichi Handa <handa@gnu.org>
5945 * international/mule-cmds.el (select-safe-coding-system): Remove a
5946 superfluous condition in chekcing whether a coding system is safe
5949 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5951 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5953 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5955 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5957 2013-10-13 Glenn Morris <rgm@gnu.org>
5959 * menu-bar.el (menu-bar-update-buffers):
5960 Unify Buffers menu prompt string. (Bug#15576)
5962 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5964 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5966 (authors-fixed-entries): Use accented form of name.
5968 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5970 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5971 method calls (bug#15594).
5972 (ruby-smie--args-separator-p): New function.
5973 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5974 recognize paren-free method calls.
5976 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5977 internals of universal-argument.
5979 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5981 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5982 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5983 dropped menu on second mouse click on the menu bar.
5985 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5988 (explicit-shell-file-name): Declare.
5989 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5990 (sh-completion-at-point-function): New function.
5992 (sh-smie--keyword-p): Remove unused argument.
5993 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5995 (sh-set-shell): Always setup SMIE, even if we use the
5996 old indentation code.
5998 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
6000 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
6002 (ruby-smie-rules): Simplify the "do" rule. The cases when the
6003 predicate would return nil are almost non-existent.
6004 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
6006 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
6007 cache also after commands that modify the buffer but don't move
6010 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6012 * env.el (substitute-env-in-file-name): New function.
6013 (substitute-env-vars): Extend the meaning of the optional arg.
6015 2013-10-10 Eli Zaretskii <eliz@gnu.org>
6017 * term/w32-win.el (dynamic-library-alist): Define separate lists
6018 of GIF DLLs for versions before and after 5.0.0 of giflib.
6021 2013-10-10 João Távora <joaotavora@gmail.com>
6023 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
6024 not locked, use last revision and current source as
6025 defaults. (Bug#15569)
6027 2013-10-10 Masatake YAMATO <yamato@redhat.com>
6029 * menu-bar.el (menu-bar-open): Don't use popup-menu if
6032 2013-10-10 Martin Rudalics <rudalics@gmx.at>
6034 * window.el (pop-to-buffer-same-window): Fix doc-string.
6037 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6039 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
6041 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
6043 * calendar/icalendar.el (icalendar-import-file):
6044 Fix interactive spec. (Bug#15482)
6046 2013-10-10 Glenn Morris <rgm@gnu.org>
6048 * desktop.el (desktop-save): Default to saving in .emacs.d,
6049 since PWD is no longer in desktop-path by default. (Bug#15319)
6051 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
6052 now that text mode has a menu with the same entry.
6053 (menu-bar-text-mode-auto-fill): Remove now unused func.
6054 * textmodes/text-mode.el (text-mode-map):
6055 Use auto-fill help text from menu-bar.el.
6057 2013-10-10 John Anthony <john@jo.hnanthony.com>
6059 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
6061 2013-10-09 Juri Linkov <juri@jurta.org>
6063 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
6064 instead of this-command-keys. Add universal-argument-more and
6065 universal-argument-minus to the list of prefix commands. (Bug#15568)
6067 2013-10-09 Glenn Morris <rgm@gnu.org>
6069 * vc/vc-svn.el (vc-svn-create-repo):
6070 Expand paths in file://... url. (Bug#15446)
6072 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
6074 (authors): Remove unused local variables.
6076 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6078 * profiler.el: Create a more coherent calltree from partial backtraces.
6079 (profiler-format): Hide the tail with `invisible' so that C-s can still
6080 find the hidden elements.
6081 (profiler-calltree-depth): Don't recurse so enthusiastically.
6082 (profiler-function-equal): New hash-table-test.
6083 (profiler-calltree-build-unified): New function.
6084 (profiler-calltree-build): Use it.
6085 (profiler-report-make-name-part): Indent the calltree less.
6086 (profiler-report-mode): Add visibility specs for profiler-format.
6087 (profiler-report-expand-entry, profiler-report-toggle-entry):
6088 Expand the whole subtree when provided with a prefix arg.
6090 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
6092 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
6094 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
6095 hanging iuwu-mod token.
6096 (ruby-smie--forward-token): Do not include a dot after a token in
6098 (ruby-smie--backward-token): Likewise.
6100 2013-10-08 Juri Linkov <juri@jurta.org>
6102 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
6103 to isearch-other-control-char.
6104 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
6105 and isearch-post-command-hook to post-command-hook.
6106 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
6107 and isearch-post-command-hook from post-command-hook.
6108 (isearch-unread-key-sequence)
6109 (isearch-reread-key-sequence-naturally)
6110 (isearch-lookup-scroll-key, isearch-other-control-char)
6111 (isearch-other-meta-char): Remove functions.
6112 (isearch-pre-command-hook, isearch-post-command-hook):
6113 New functions based on isearch-other-meta-char rewritten
6114 relying on the new behavior of overriding-terminal-local-map
6115 that does not replace the local keymaps any more. (Bug#15200)
6117 2013-10-08 Eli Zaretskii <eliz@gnu.org>
6119 Support menus on text-mode terminals.
6120 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
6123 * tooltip.el (tooltip-mode): Don't error out on TTYs.
6125 * menu-bar.el (popup-menu, popup-menu-normalize-position):
6126 Move here from mouse.el.
6127 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
6129 (tty-menu-navigation-map): New map for TTY menu navigation.
6131 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
6133 * frame.el (display-mouse-p): Report text-mode mouse as available
6135 (display-popup-menus-p): Report availability if mouse is
6136 available; don't condition on window-system.
6138 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
6139 (tty-menu-selected-face): New faces.
6141 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
6144 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
6145 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
6146 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
6148 (lisp-mode-variables): New `elisp' argument.
6149 (emacs-lisp-mode): Use it.
6150 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
6151 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
6153 * indent.el: Use lexical-binding.
6154 (indent-region): Add progress reporter.
6155 (tab-stop-list): Make it implicitly extend to infinity by repeating the
6157 (indent--next-tab-stop): New function to implement this behavior.
6158 (tab-to-tab-stop, move-to-tab-stop): Use it.
6160 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
6162 * indent.el (indent-rigidly--current-indentation): New function.
6163 (indent-rigidly-map): New var.
6164 (indent-rigidly): Use it to provide interactive mode (bug#8196).
6166 2013-10-08 Bastien Guerry <bzg@gnu.org>
6168 * register.el (insert-register): Fix 2013-10-07 change.
6170 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * progmodes/perl-mode.el: Use lexical-binding.
6173 Remove redundant :group args.
6174 (perl-nochange): Change default to be closer to other major modes's
6176 (perl-indent-line): Don't consider text on current line as a
6177 valid beginning of function from which to indent.
6179 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
6180 with more than one argument (bug#15538).
6182 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
6184 * vc/pcvs.el: Use lexical-binding.
6185 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
6186 environment of `eval'.
6187 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
6188 than a list of expressions. Adjust callers.
6189 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
6191 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
6193 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
6194 case of the dot in a chained method call being on the following line.
6196 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6198 * electric.el (electric-indent-inhibit): New var.
6199 (electric-indent-post-self-insert-function): Use it.
6200 * progmodes/python.el (python-mode): Set it.
6202 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
6205 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
6207 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
6208 (css-mode): Use electric-indent-chars.
6210 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
6211 (font-lock-beg, font-lock-end): Move before first use.
6212 (nxml-mode): Use syntax-propertize-function.
6213 (nxml-after-change, nxml-after-change1): Adjust accordingly.
6214 (nxml-extend-after-change-region): Remove.
6215 * nxml/xmltok.el: Use lexical-binding.
6216 (xmltok-save): Use `declare'.
6217 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
6218 * nxml/nxml-util.el: Use lexical-binding.
6219 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
6221 * nxml/nxml-ns.el: Use lexical-binding.
6222 (nxml-ns-save): Use `declare'.
6223 (nxml-ns-prefixes-for): Avoid add-to-list.
6224 * nxml/rng-match.el: Use lexical-binding.
6225 (rng--ipattern): Use cl-defstruct.
6226 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
6227 (rng-cons-group-after, rng-subst-group-after)
6228 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
6229 Use closures instead of `(lambda...).
6231 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6233 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6237 Use `tramp-handle-insert-file-contents'.
6238 (tramp-gvfs-handle-insert-file-contents): Remove function.
6240 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6241 Use `save-restriction' in order to keep markers.
6243 * net/trampver.el: Update release number.
6245 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * progmodes/compile.el (compilation-parse-errors):
6248 Use compilation--put-prop.
6249 (compilation--ensure-parse): Check compilation-multiline.
6251 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6253 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6256 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6258 * progmodes/ruby-mode.el: Fix recently added tests.
6259 (ruby-smie-grammar): Add - and +.
6260 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6261 (ruby-smie--backward-id): New functions.
6262 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6263 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6266 2013-10-07 Leo Liu <sdl.web@gmail.com>
6268 * register.el (register-preview-delay)
6269 (register-preview-functions): New variables.
6270 (register-read-with-preview, register-preview)
6271 (register-describe-oneline): New functions.
6272 (point-to-register, window-configuration-to-register)
6273 (frame-configuration-to-register, jump-to-register)
6274 (number-to-register, view-register, insert-register)
6275 (copy-to-register, append-to-register, prepend-to-register)
6276 (copy-rectangle-to-register): Use register-read-with-preview to
6277 read register. (Bug#15525)
6279 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6281 * net/network-stream.el (network-stream-open-starttls): Don't add
6282 --insecure if it's already present, because that gnutls-cli
6283 rejects getting that parameter twice.
6285 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6287 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6290 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6292 * newcomment.el (comment-use-global-state): Change default value
6293 to t, mark obsolete (Bug#15251).
6294 (comment-beginning): In addition to `comment-to-syntax', check the
6295 value of `comment-use-global-state'.
6297 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6300 (ruby-comment-column): Follow the global default, by default.
6301 (ruby-smie-grammar): Add assignment syntax.
6302 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6303 open-paren, a comma, or a \.
6304 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6305 and line continuations.
6306 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6307 followed by implicit semi-colons. Add rule for string concatenation
6308 and for indentation at BOB.
6309 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6311 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6312 calling next-sexp, since next-token may have skipped chars which
6313 next-sexp doesn't know should be skipped!
6315 2013-10-05 Leo Liu <sdl.web@gmail.com>
6317 * progmodes/octave.el (octave-send-region):
6318 Call compilation-forget-errors.
6320 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6322 * vc/vc-svn.el (vc-svn-find-admin-dir):
6323 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6324 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6325 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6326 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6328 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6332 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6334 * subr.el (read-passwd): Hide chars even when called within a context
6335 where after-change-functions is disabled (bug#15501).
6336 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6337 until we removed ourself from overriding-terminal-local-map.
6339 2013-10-04 Leo Liu <sdl.web@gmail.com>
6341 * progmodes/octave.el (inferior-octave-mode):
6342 Call compilation-forget-errors.
6344 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6346 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6348 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6350 * net/secrets.el (secrets-create-collection): Add optional
6351 argument ALIAS. Use proper Label keyword. Append ALIAS as
6352 dbus-call-method argument. (Bug#15516)
6354 2013-10-04 Leo Liu <sdl.web@gmail.com>
6356 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6357 (inferior-octave-compilation-font-lock-keywords): New variables.
6358 (compilation-error-regexp-alist)
6359 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6360 (inferior-octave-mode): Use compilation-shell-minor-mode.
6362 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6364 * minibuffer.el (completion--replace): Be careful that `end' might be
6367 2013-10-03 Daiki Ueno <ueno@gnu.org>
6369 Add support for package signature checking.
6370 * emacs-lisp/package.el (url-http-file-exists-p)
6371 (epg-make-context, epg-context-set-home-directory)
6372 (epg-verify-string, epg-context-result-for)
6373 (epg-signature-status, epg-signature-to-string)
6374 (epg-check-configuration, epg-configuration)
6375 (epg-import-keys-from-file): Declare.
6376 (package-check-signature): New user option.
6377 (package-unsigned-archives): New user option.
6378 (package-desc): Add `signed' field.
6379 (package-load-descriptor): Set `signed' field if .signed file exists.
6380 (package--archive-file-exists-p): New function.
6381 (package--check-signature): New function.
6382 (package-install-from-archive): Check package signature.
6383 (package--download-one-archive): Check archive signature.
6384 (package-delete): Remove .signed file.
6385 (package-import-keyring): New command.
6386 (package-refresh-contents): Import default keyring.
6387 (package-desc-status): Add "unsigned" status.
6388 (describe-package-1, package-menu--print-info)
6389 (package-menu-mark-delete, package-menu--find-upgrades)
6390 (package-menu--status-predicate): Support "unsigned" status.
6392 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6394 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6395 the new compilation scheme using the new byte-codes.
6397 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6398 (byte-pophandler): New byte codes.
6399 (byte-goto-ops): Adjust accordingly.
6400 (byte-compile--use-old-handlers): New var.
6401 (byte-compile-catch): Use new byte codes depending on
6402 byte-compile--use-old-handlers.
6403 (byte-compile-condition-case--old): Rename from
6404 byte-compile-condition-case.
6405 (byte-compile-condition-case--new): New function.
6406 (byte-compile-condition-case): New function that dispatches depending
6407 on byte-compile--use-old-handlers.
6408 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6411 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6412 Optimize under `condition-case' and `catch' if
6413 byte-compile--use-old-handlers is nil.
6414 (disassemble-offset): Handle new bytecodes.
6416 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6418 * subr.el (error): Use `declare'.
6419 (decode-char, encode-char): Use advertised-calling-convention instead
6420 of the docstring to discourage use of the `restriction' arg.
6422 2013-10-03 Daiki Ueno <ueno@gnu.org>
6424 * epg.el (epg-verify-file): Add a comment saying that it does not
6425 notify verification error as a return value nor a signal.
6426 (epg-verify-string): Ditto.
6428 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6430 * progmodes/compile.el (compilation-start): Try globbing the arg to
6433 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6435 Sync with Tramp 2.2.8.
6437 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6438 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6439 * net/trampver.el: Update release number.
6441 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6443 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6444 and default-process-coding-system for darwin only.
6446 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6450 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6452 * vc/vc-git.el (vc-git-grep): Disable pager.
6454 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6456 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6457 Use :url instead of :homepage, as per
6458 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6460 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6461 non-nil, use `syntax-ppss' (Bug#15251).
6463 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6465 * progmodes/octave.el (inferior-octave-startup-file):
6466 Prefer ~/.emacs.d/init_octave.m.
6468 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6470 * emacs-lisp/package.el (package-desc-from-define):
6471 Accept additional arguments as plist, convert them to an alist and store
6472 them in the `extras' slot.
6473 (package-generate-description-file): Convert extras alist back to
6474 plist and append to the `define-package' form arguments.
6475 (package--alist-to-plist): New function.
6476 (package--ac-desc): Add `extras' slot.
6477 (package--add-to-archive-contents): Check if the archive-contents
6478 vector is long enough, and if it is, pass its `extras' slot value
6479 to `package-desc-create'.
6480 (package-buffer-info): Call `lm-homepage', pass the returned value
6481 to `package-desc-from-define'.
6482 (describe-package-1): Render the homepage button (Bug#13291).
6484 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6485 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6487 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6489 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6490 and default-process-coding-system to utf-8-unix (Bug#15402).
6492 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6494 * subr.el (looking-back): Do not recommend using looking-back.
6496 2013-09-28 Alan Mackenzie <acm@muc.de>
6498 Fix indentation/fontification of Java enum with "implements".
6500 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6501 regexp which matches "implements", etc., in Java.
6502 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6503 specifier clauses coming after "enum".
6504 * progmodes/cc-fonts.el (c-font-lock-declarations)
6505 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6508 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6510 * faces.el (region): Change ns_selection_color to
6511 ns_selection_fg_color, add ns_selection_bg_color.
6513 2013-09-28 Leo Liu <sdl.web@gmail.com>
6515 * progmodes/octave.el (inferior-octave-completion-table)
6516 (inferior-octave-completion-at-point): Minor tweaks.
6518 * textmodes/ispell.el (ispell-lookup-words): Rename from
6519 lookup-words. (Bug#15460)
6520 (lookup-words): Obsolete.
6521 (ispell-complete-word, ispell-command-loop): All uses changed.
6523 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6525 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6526 (octave-mode-menu): Add octave-send-buffer.
6527 (octave-send-buffer): New function.
6529 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6531 * progmodes/octave.el (octave-mode-map): Add key binding for
6533 (octave-mode-menu): Add octave-lookfor.
6534 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6536 (octave-lookfor): New function.
6538 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6541 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6543 (cl--loop-set-iterator-function): New function.
6544 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6545 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6546 Bind `it' with `let' instead of substituting it with `cl-subst'.
6547 (cl--unused-var-p): New function.
6548 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6549 Eliminate some unused variable warnings (bug#15326).
6551 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6553 * doc-view.el (doc-view-scale-reset): Rename from
6554 `doc-view-reset-zoom-level'.
6555 (doc-view-scale-adjust): New command.
6556 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6557 `doc-view-scale-adjust'.
6559 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6561 * doc-view.el (doc-view-reset-zoom-level): New command.
6562 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6563 zoom commands (bug#15466).
6565 2013-09-26 Kenichi Handa <handa@gnu.org>
6567 * international/quail.el (quail-help): Make it not a command.
6569 2013-09-26 Leo Liu <sdl.web@gmail.com>
6571 * minibuffer.el (completion-all-sorted-completions): Make args
6572 optional as they are.
6574 2013-09-25 Daniel Colascione <dancol@dancol.org>
6576 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6577 specs are and that they're not evaluated.
6579 2013-09-24 Sam Steingold <sds@gnu.org>
6581 * midnight.el (clean-buffer-list-kill-regexps)
6582 (clean-buffer-list-kill-buffer-names): Update for the new Man
6583 buffer naming which includes the object name.
6585 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6587 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6588 (eshell-parse-command, eshell-parse-pipeline): Use it since
6589 eshell-separate-commands requires a dynamic scoped var.
6590 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6592 2013-09-23 Leo Liu <sdl.web@gmail.com>
6594 * autoinsert.el (auto-insert-alist): Make the value of
6595 lexical-binding match its file setting.
6597 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6599 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6601 * autoarg.el (autoarg-kp-digit-argument):
6602 * electric.el (Electric-command-loop):
6603 * kmacro.el (kmacro-step-edit-insert):
6604 Do not set universal-argument-num-events.
6606 2013-09-22 Leo Liu <sdl.web@gmail.com>
6608 * files.el (interpreter-mode-alist): Add octave.
6610 2013-09-21 Alan Mackenzie <acm@muc.de>
6612 C++: fontify identifier in declaration following "public:" correctly.
6613 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6614 to match "public", etc.
6615 (c-decl-prefix-re): Add ":" into the C++ value.
6616 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6617 bit. Add a check for a ":" preceded by "public", etc.
6619 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6621 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6622 recognized by GDB 7.5 and later.
6624 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6626 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6628 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * subr.el (internal--call-interactively): New const.
6631 (called-interactively-p): Use it (bug#3984).
6633 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6635 * vc/pcvs.el (cvs-mode-ignore):
6636 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6637 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6639 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6642 (eshell-ls-orig-insert-directory): Remove.
6643 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6644 (eshell-ls-use-in-dired): Use advice-add/remove.
6645 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6646 Add `orig-fun' arg for use in :around advice.
6647 Make it check (redundantly) eshell-ls-use-in-dired.
6649 2013-09-19 Glenn Morris <rgm@gnu.org>
6651 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6653 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6655 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6657 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6659 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6660 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6661 (tramp-get-remote-python): New defuns.
6662 (tramp-get-remote-uid-with-perl)
6663 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6664 contributed by yary <not.com@gmail.com> (tiny change).
6665 (tramp-get-remote-uid-with-python)
6666 (tramp-get-remote-gid-with-python): New defuns. Python code
6667 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6668 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6670 2013-09-19 Glenn Morris <rgm@gnu.org>
6672 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6674 * eshell/em-unix.el (eshell-remove-entries):
6675 Rename argument to avoid name-clash with global `top-level'.
6677 * eshell/esh-proc.el (eshell-kill-process-function):
6678 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6679 (eshell-reset-after-proc): Remove unused arg `proc'.
6681 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6682 (directory-files-and-attributes): Mark unused arg.
6684 * eshell/em-unix.el (eshell-remove-entries):
6685 Remove unused arg `path'. Update callers.
6687 * eshell/em-hist.el (eshell-hist-parse-arguments):
6688 Remove unused arg `silent'. Update callers.
6690 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6691 Fix (f)boundp mix-up.
6693 * eshell/em-smart.el (eshell-smart-scroll-window)
6694 (eshell-disable-after-change):
6695 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6697 2013-09-18 Alan Mackenzie <acm@muc.de>
6699 Fix fontification of type when followed by "const".
6700 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6701 "known" types from fontification.
6703 2013-09-18 Glenn Morris <rgm@gnu.org>
6705 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6706 (chart-face-list): Drop Emacsen without display-color-p.
6708 * net/eww.el (libxml-parse-html-region): Declare.
6709 (eww-display-html): Explicit error if no libxml2 support.
6711 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6713 * image.el (image-type-from-buffer, image-multi-frame-p):
6714 Remove --without-x warning/error.
6716 * mouse.el (mouse-yank-primary):
6717 * term.el (term-mouse-paste):
6718 Reorder to silence --without-x compilation.
6720 * mpc.el (doc-view-mode): Silence --without-x compilation.
6722 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6723 Silence --without-x compilation.
6725 * progmodes/gud.el (gud-find-file, gud-mode):
6726 Silence --without-x compilation.
6727 (tooltip-mode): Declare.
6729 * wdired.el (dired-backup-overwrite): Remove declaration.
6730 (wdired-mode-map): Add doc string.
6732 * custom.el (x-get-resource): Declare.
6734 * eshell/em-glob.el (ange-cache):
6735 * eshell/em-unix.el (ange-cache): Declare.
6737 * faces.el (x-display-list, x-open-connection, x-get-resource):
6740 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6741 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6744 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6746 * net/gnutls.el (gnutls-log-level): Declare.
6748 * net/shr.el (image-size, image-animate): Declare.
6750 * simple.el (font-info): Declare.
6752 * subr.el (x-popup-dialog): Declare.
6754 * term/common-win.el (x-select-enable-primary)
6755 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6758 * term/ns-win.el (x-handle-args): Declare.
6760 * term/x-win.el (x-select-enable-clipboard): Declare.
6762 * term/w32-win.el (create-default-fontset): Declare.
6764 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6767 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6768 (fit-frame-to-buffer): Explicit error if --without-x.
6769 (mouse-autoselect-window-select): Silence compiler.
6771 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6773 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6774 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6775 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6776 * eshell/esh-util.el (eshell-sublist):
6777 Remove unused local variables.
6779 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6781 * textmodes/two-column.el: Make 2C-split work for --without-x.
6782 (scroll-bar-columns): Autoload.
6783 (top-level): Require fringe when compiling.
6785 2013-09-18 Leo Liu <sdl.web@gmail.com>
6787 * subr.el (add-hook): Robustify to handle closure as well.
6789 2013-09-17 Glenn Morris <rgm@gnu.org>
6791 * simple.el (messages-buffer-mode-map): Unbind "g".
6793 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * help-mode.el (help-mode-finish): Use derived-mode-p.
6796 Remove obsolete highlighting.
6798 * play/life.el (life-mode): Use define-derived-mode. Derive from
6800 (life): Let-bind inhibit-read-only.
6801 (life-setup): Avoid `setq'. Use `life-mode'.
6803 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6804 which should not be needed any more.
6805 (package-menu-refresh, package-menu-describe-package): Use user-error.
6807 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6808 (eshell-post-rewrite-command-hook): Make obsolete.
6809 (eshell-parse-command): Simplify.
6810 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6811 (eshell--cmd): Declare.
6812 (eshell-parse-pipeline): Remove unused var `final-p'.
6813 Pass a dynvar to eshell-post-rewrite-command-hook.
6814 Implement the new eshell-post-rewrite-command-function.
6815 (eshell-invoke-directly): Remove unused arg `input'.
6816 * eshell/esh-io.el (eshell-io-initialize):
6817 Use eshell-post-rewrite-command-function (bug#15399).
6818 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6819 adjust to new calling convention.
6820 (eshell-create-handles): Rename args to avoid clashing with dynvar
6823 2013-09-17 Glenn Morris <rgm@gnu.org>
6825 * simple.el (messages-buffer-mode): New major mode.
6826 (messages-buffer): New function.
6827 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6828 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6829 (ert-run-test): Use `messages-buffer' function.
6830 (ert--force-message-log-buffer-truncation): Ignore read-only.
6831 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6832 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6834 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6836 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6838 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6840 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * icomplete.el (icomplete-in-buffer): New var.
6843 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6844 vars and replace them with functions.
6845 (icomplete-minibuffer-setup): Adjust accordingly.
6846 (icomplete--completion-table, icomplete--completion-predicate)
6847 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6849 (icomplete-forward-completions, icomplete-backward-completions)
6850 (icomplete-simple-completing-p, icomplete-exhibit)
6851 (icomplete-completions): Use them.
6852 (icomplete--in-region-buffer): New var.
6853 (icomplete--in-region-setup): New function.
6854 (icomplete-mode): Use it.
6856 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6858 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6859 return args and options.
6860 (eshell-eval-using-options): Use the new return value of
6861 eshell--do-opts to set the options's vars in their scope.
6862 (eshell--set-option): Rename from eshell-set-option.
6864 (eshell--process-option): Rename from eshell-process-option.
6866 (eshell--process-args): Use an `opt-vals' alist to store the options's
6867 values during their processing and return them additionally to the
6870 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6872 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6873 continuation character an operator, as far as indentation is
6874 concerned (Bug#15369).
6876 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6878 * window.el (window--state-put-2): Don't process buffer state
6879 when buffer doesn't exist any more (Bug#15382).
6881 2013-09-15 Glenn Morris <rgm@gnu.org>
6883 * eshell/em-unix.el (eshell/rm):
6884 Make -f ignore missing files. (Bug#15373)
6886 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6887 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6888 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6890 2013-09-14 Glenn Morris <rgm@gnu.org>
6892 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6894 2013-09-13 Glenn Morris <rgm@gnu.org>
6896 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6897 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6899 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6901 * frame.el (x-focus-frame): Mark as declared in frame.c.
6903 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6905 * ls-lisp.el: Use advice-add.
6906 (original-insert-directory): Remove.
6907 (ls-lisp--insert-directory): Rename from insert-directory; add
6908 `orig-fun' argument.
6909 (insert-directory): Advise.
6911 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6913 * term.el (term-emulate-terminal): Decode the command string
6914 before passing it to term-command-hook. (Bug#15337)
6916 2013-09-13 Glenn Morris <rgm@gnu.org>
6918 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6920 * eshell/esh-ext.el (eshell-search-path): Declare.
6922 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6923 Otherwise an error occurs if eshell-dirs module not loaded.
6925 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6927 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6929 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6930 `tramp-check-proper-host'. Check for a valid method name.
6932 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6933 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6934 * net/tramp-sh.el (tramp-maybe-open-connection):
6935 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6937 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6938 also for hash values.
6940 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6942 * term/ns-win.el (parameters): Don't declare as dynamic.
6943 (before-make-frame-hook): Don't add ineffective function.
6945 * eshell/*.el: Use lexical-binding (bug#15231).
6947 2013-09-12 Kenichi Handa <handa@gnu.org>
6949 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6951 2013-09-12 Glenn Morris <rgm@gnu.org>
6953 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6954 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6956 * subr.el (do-after-load-evaluation): Also give compiler warnings
6957 when obsolete files are used (except by obsolete files).
6959 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6960 in the status output, assume `filename' is the first. (Bug#15322)
6962 * vc/vc.el (vc-deduce-fileset): Doc fix.
6964 * calc/calc-help.el (Info-goto-node):
6965 * progmodes/cperl-mode.el (Info-find-node):
6966 * vc/ediff.el (Info-goto-node): Update declarations.
6968 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6970 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6971 (vc-bzr-pull): Require vc-dispatcher.
6972 * vc/vc-git.el (vc-compilation-mode): Declare.
6973 (vc-git-pull): Require vc-dispatcher.
6975 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6977 * progmodes/octave.el (help-button-action): Declare.
6979 * shell.el (shell-directory-tracker): Output error as a message
6980 rather than just returning it as a string.
6981 (shell-process-pushd): Remove useless use of message.
6983 * dframe.el (dframe-timer-fn):
6984 * files.el (dir-locals-read-from-file):
6985 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6987 * reveal.el (reveal-post-command):
6988 * saveplace.el (load-save-place-alist-from-file):
6989 * shell.el (shell-resync-dirs):
6990 * w32-common-fns.el (x-get-selection-value):
6991 * emacs-lisp/copyright.el (copyright-find-copyright):
6992 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6993 * emulation/tpu-edt.el (tpu-copy-keyfile):
6994 * play/bubbles.el (bubbles--mark-neighbourhood):
6995 * progmodes/executable.el
6996 (executable-make-buffer-file-executable-if-script-p):
6997 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6999 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7001 Cleanup Eshell to rely less on dynamic scoping.
7002 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
7003 last-value, and ext-command here. Bind `args' closer to `body'.
7004 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
7005 (eshell--args): Declare new dynamic var.
7006 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
7007 last-value, and ext-command. Pass `args' to `body'.
7008 (eshell-process-args): Bind eshell--args.
7009 (eshell-set-option): Use eshell--args.
7010 * eshell/eshell.el (eshell): Use derived-mode-p.
7011 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
7012 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
7013 (eshell-glob-function): Declare.
7014 * eshell/esh-util.el: Require cl-lib.
7015 (eshell-read-hosts-file): Avoid add-to-list.
7016 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
7018 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
7020 (eshell/diff): Remove unused var `err'.
7021 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
7023 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
7024 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
7026 * eshell/em-glob.el (eshell-glob-matches, message-shown):
7027 Move declaration before first use.
7028 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
7029 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
7032 2013-09-12 Glenn Morris <rgm@gnu.org>
7034 * term/ns-win.el (global-map): Remove binding for ispell-next,
7035 deleted 1999-05-29. (Bug#15357)
7037 2013-09-11 Glenn Morris <rgm@gnu.org>
7039 * echistory.el (electric-command-history): Remove call to deleted func.
7041 * play/landmark.el (landmark-mode): Fix typos.
7043 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
7044 Check cvs-sort-ignore-file is bound.
7046 * savehist.el: No need for cl when compiling on Emacs.
7048 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7050 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
7052 (eshell-self-insert-command, eshell-send-invisible):
7053 Remove unused argument.
7054 (eshell-handle-control-codes): Remove unused var `orig'.
7055 Avoid delete-backward-char.
7057 * files.el (set-auto-mode): Simplify a bit further.
7059 2013-09-11 Glenn Morris <rgm@gnu.org>
7061 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
7062 (set-auto-mode): Don't regexp-quote elements.
7063 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
7064 * progmodes/cc-mode.el (interpreter-mode-alist):
7065 * progmodes/ruby-mode.el (interpreter-mode-alist):
7066 Revert previous change.
7068 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
7070 * play/snake.el (snake-mode):
7071 * play/mpuz.el (mpuz-mode):
7072 * play/landmark.el (lm-mode):
7073 * play/blackbox.el (blackbox-mode):
7074 * play/5x5.el (5x5-mode):
7075 * obsolete/options.el (Edit-options-mode):
7076 * net/quickurl.el (quickurl-list-mode):
7077 * net/newst-treeview.el (newsticker-treeview-mode):
7078 * mail/rmailsum.el (rmail-summary-mode):
7079 * mail/mspools.el (mspools-mode):
7080 * locate.el (locate-mode):
7081 * ibuffer.el (ibuffer-mode):
7082 * emulation/ws-mode.el (wordstar-mode):
7083 * emacs-lisp/debug.el (debugger-mode):
7084 * array.el (array-mode):
7085 * net/eudc.el (eudc-mode): Use define-derived-mode.
7086 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
7087 Move initialization into declaration.
7088 (mairix-searches-mode): Use define-derived-mode.
7089 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
7090 (eudc-edit-hotlist): Use dolist.
7091 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
7092 (Man-mode): Use define-derived-mode.
7093 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
7094 (Info-edit-mode): Use define-derived-mode.
7095 (Info-cease-edit): Use Info-mode.
7096 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
7098 (eshell-mode): Use define-derived-mode.
7099 * chistory.el (command-history-mode-map): Rename from
7100 command-history-map.
7101 (command-history-mode): Use define-derived-mode.
7102 (Command-history-setup): Remove function.
7103 * calc/calc.el (calc-trail-mode-map): New var.
7104 (calc-trail-mode): Use define-derived-mode.
7105 (calc-trail-buffer): Set calc-main-buffer manually.
7106 * bookmark.el (bookmark-insert-annotation): New function.
7107 (bookmark-edit-annotation): Use it.
7108 (bookmark-edit-annotation-mode): Make it a proper major mode.
7109 (bookmark-send-edited-annotation): Use derived-mode-p.
7110 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
7111 closer to its ideal place. Use \' to match EOS.
7113 * profiler.el (profiler-calltree-find): Use function-equal.
7115 2013-09-10 Glenn Morris <rgm@gnu.org>
7117 * files.el (interpreter-mode-alist): Convert to regexps.
7118 (set-auto-mode): Adapt for this. (Bug#15306)
7119 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
7120 Comment out unused variable.
7121 * progmodes/cc-mode.el (interpreter-mode-alist):
7122 * progmodes/python.el (interpreter-mode-alist):
7123 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
7124 * progmodes/sh-script.el (sh-set-shell):
7125 No longer use interpreter-mode-alist to get list of shells.
7127 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
7129 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7131 * simple.el: Use set-temporary-overlay-map for universal-argument.
7132 (universal-argument-map): Don't use default-bindings (bug#15317).
7133 Bind switch-frame explicitly. Replace universal-argument-minus with
7134 a conditional binding.
7135 (universal-argument-num-events, saved-overriding-map): Remove.
7136 (restore-overriding-map): Remove.
7137 (universal-argument--mode): Rename from save&set-overriding-map,
7139 (universal-argument, universal-argument-more, negative-argument)
7140 (digit-argument): Adjust accordingly.
7141 (universal-argument-minus): Remove.
7142 (universal-argument-other-key): Remove.
7144 * subr.el (with-demoted-errors): Add `format' argument.
7146 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
7148 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
7149 `tramp-cleanup-connection'.
7151 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
7152 parameters KEEP-DEBUG and KEEP-PASSWORD.
7154 * net/tramp.el (tramp-file-name-handler):
7155 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7156 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
7157 (tramp-maybe-open-connection):
7158 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7159 Use `tramp-cleanup-connection'.
7161 * net/tramp-sh.el (tramp-maybe-open-connection):
7162 Catch 'uname-changed inside the progress reporter.
7164 2013-09-10 Glenn Morris <rgm@gnu.org>
7166 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
7168 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
7169 returns "alternate access method" in mode (eg "-rw-r--r--.").
7171 2013-09-08 Glenn Morris <rgm@gnu.org>
7173 * saveplace.el (load-save-place-alist-from-file):
7174 Demote errors. (Bug#15305)
7176 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
7178 Improve compatibility with older Emacsen, and XEmacs.
7180 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
7181 only if it is bound. It isn't for XEmacs.
7182 (with-tramp-progress-reporter): Do not let-bind `result'.
7183 This yields to scoping errors in XEmacs.
7184 (tramp-handle-make-auto-save-file-name): New function, moved from
7187 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
7188 for `make-auto-save-file-name'.
7189 (tramp-adb--gnu-switches-to-ash):
7190 Use `tramp-compat-replace-regexp-in-string'.
7192 * net/tramp-cache.el (tramp-cache-print): Call
7193 `substring-no-properties' only if it is bound. It isn't for XEmacs.
7195 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
7196 bound. It isn't for XEmacs.
7198 * net/tramp-compat.el (tramp-compat-copy-file):
7199 Catch `wrong-number-of-arguments' error.
7200 (tramp-compat-replace-regexp-in-string): New defun.
7202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
7203 for `make-auto-save-file-name'.
7204 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
7206 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
7207 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
7208 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
7210 * net/tramp-gw.el (tramp-gw-open-network-stream):
7211 Use `tramp-compat-replace-regexp-in-string'.
7213 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7214 Call `tramp-handle-make-auto-save-file-name'.
7215 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
7216 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7217 (tramp-sh-file-inotifywait-process-filter):
7218 Use `tramp-compat-replace-regexp-in-string'.
7219 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
7221 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
7222 for `make-auto-save-file-name'.
7223 (tramp-smb-handle-copy-directory):
7224 Call `tramp-compat-replace-regexp-in-string'.
7225 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
7226 (tramp-smb-handle-copy-file): Improve error message.
7227 (tramp-smb-handle-rename-file): Rename directly only in case
7228 `newname' does not exist yet. This is a restriction of smbclient.
7229 (tramp-smb-maybe-open-connection): Rerun the function only when
7230 `auth-sources' is non-nil.
7232 2013-09-08 Kenichi Handa <handa@gnu.org>
7234 * international/characters.el: Set category "^" (Combining) for
7237 2013-09-07 Alan Mackenzie <acm@muc.de>
7239 Correctly fontify Java class constructors.
7240 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7242 (c-recognize-typeless-decls): Set the Java value to t.
7243 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7244 While handling a "(", add a check for, effectively, Java, and handle a
7245 "typeless" declaration there.
7247 2013-09-07 Roland Winkler <winkler@gnu.org>
7249 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7250 field subtitle for entry type book.
7252 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7254 * minibuffer.el: Make minibuffer-complete call completion-in-region
7255 rather than other way around.
7256 (completion--some, completion-pcm--find-all-completions):
7257 Don't delay signals when debugging.
7258 (minibuffer-completion-contents): Beware fields within the
7259 minibuffer contents.
7260 (completion-all-sorted-completions): Use defvar-local.
7261 (completion--do-completion, completion--cache-all-sorted-completions)
7262 (completion-all-sorted-completions, minibuffer-force-complete):
7263 Add args `beg' and `end'.
7264 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7265 (minibuffer-complete): Use completion-in-region.
7266 (completion-complete-and-exit): New fun, extracted from
7267 minibuffer-complete-and-exit.
7268 (minibuffer-complete-and-exit): Use it.
7269 (completion--complete-and-exit): Rename from
7270 minibuffer--complete-and-exit.
7271 (completion-in-region--single-word): New function, extracted from
7272 minibuffer-complete-word.
7273 (minibuffer-complete-word): Use it.
7274 (display-completion-list): Make `common-substring' argument obsolete.
7275 (completion--in-region): Call completion--in-region-1 instead of
7276 minibuffer-complete.
7277 (completion-help-at-point): Pass boundaries to
7278 minibuffer-completion-help as args rather than via an overlay.
7279 (completion-pcm--string->pattern): Use `any-delim'.
7280 (completion-pcm--optimize-pattern): New function.
7281 (completion-pcm--pattern->regex): Handle `any-delim'.
7282 * icomplete.el (icomplete-forward-completions)
7283 (icomplete-backward-completions, icomplete-completions):
7284 Adjust calls to completion-all-sorted-completions and
7285 completion--cache-all-sorted-completions.
7286 (icomplete-with-completion-tables): Default to t.
7287 * emacs-lisp/crm.el (crm--current-element): Rename from
7288 crm--select-current-element. Don't put an overlay but return the
7290 (crm--completion-command): Take two new args to bind to the boundaries.
7291 (crm-completion-help): Adjust accordingly.
7292 (crm-complete): Use completion-in-region.
7293 (crm-complete-word): Use completion-in-region--single-word.
7294 (crm-complete-and-exit): Use completion-complete-and-exit.
7296 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7301 2013-09-06 Juri Linkov <juri@jurta.org>
7303 * info.el (Info-display-images-node): When image file doesn't exist
7304 display text version of the image if it's provided in the Info file.
7305 Otherwise, display the location of missing image from SRC attribute.
7306 Add help-echo text property from ALT attribute. (Bug#15279)
7308 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7310 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7311 (edit-abbrevs-mode): Use define-derived-mode.
7313 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7314 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7316 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7317 Use define-derived-mode.
7319 * epg.el (epg-start-encrypt): Minor CSE simplification.
7321 2013-09-06 William Xu <william.xwl@gmail.com>
7323 * arc-mode.el: Add support for 7za (bug#15264).
7324 (archive-7z-program): New var.
7325 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7326 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7327 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7329 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7333 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7334 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7335 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7336 (tramp-postfix-host-format, tramp-file-name-regexp)
7337 (tramp-completion-file-name-regexp)
7338 (tramp-completion-dissect-file-name)
7339 (tramp-handle-substitute-in-file-name): Remove 'url case.
7340 (tramp-file-name-regexp-url)
7341 (tramp-completion-file-name-regexp-url): Remove constants.
7343 2013-09-06 Glenn Morris <rgm@gnu.org>
7345 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7347 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7350 keywords" below "here-doc beginnings" (Bug#15270).
7352 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * subr.el (pop): Use `car-safe'.
7355 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7356 to detect unused `pop' return value.
7358 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7360 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7361 (python-fill-string): Remove unused var `marker'.
7362 (python-skeleton-add-menu-items): Remove unused var `items'.
7364 * international/mule-cmds.el: Require CL.
7365 (find-coding-systems-for-charsets): Avoid add-to-list.
7366 (sanitize-coding-system-list): New function, extracted from
7367 select-safe-coding-system-interactively.
7368 (select-safe-coding-system-interactively): Use it.
7369 (read-input-method-name): Accept symbols for `default'.
7371 * emacs-lisp/advice.el (defadvice): Add indent rule.
7373 2013-09-05 Daniel Hackney <dan@haxney.org>
7377 * net/browse-url.el:
7380 * net/eudcb-ldap.el:
7393 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7394 byte compiler. Remove some unused let-bound variables.
7396 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7398 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7399 a "ref-cell", since it gets better optimized (bug#14883).
7401 2013-09-05 Glenn Morris <rgm@gnu.org>
7403 * progmodes/cc-awk.el (c-forward-sws): Declare.
7405 2013-09-04 Glenn Morris <rgm@gnu.org>
7407 * generic-x.el [rul-generic-mode]: Require cc-mode.
7408 (c++-mode-syntax-table): Declare.
7409 (rul-generic-mode-syntax-table): Init in the defvar.
7411 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7413 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7414 (vc-do-command, vc-set-async-update):
7415 * vc/vc-mtn.el (vc-mtn-dir-status):
7416 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7417 (vc-hg-pull, vc-hg-merge-branch):
7418 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7419 (vc-git-merge-branch):
7420 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7421 (vc-cvs-dir-status-files):
7422 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7423 (vc-bzr-dir-status-files):
7424 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7425 * vc/vc-annotate.el: Use lexical-binding.
7426 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7427 (vc-sentinel-movepoint): Declare.
7428 (vc-annotate): Don't use `goto-line'.
7429 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7430 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7431 (vc-sentinel-movepoint): Declare.
7432 * vc/vc-svn.el: Use lexical-binding.
7433 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7435 * vc/vc-rcs.el: Use lexical-binding.
7437 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7438 `deleted'. Don't drop errors silently.
7440 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7442 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7444 * vc/vc.el (vc-ignore): Rewrite.
7445 (vc-default-ignore): New function.
7446 (vc-default-ignore-completion-table): Use find-ignore-file.
7448 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7449 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7450 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7451 Remove. Most code moved to vc.el.
7453 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7456 * net/tramp-smb.el (tramp-smb-get-file-entries):
7457 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7458 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7460 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7462 (eww-change-select): Remove unused var `properties'.
7463 (eww-make-unique-file-name): Remove unused var `base'.
7465 * finder.el (finder-compile-keywords): Don't mess with windows.
7467 * calculator.el (calculator-funcall): Fix typo in last change.
7469 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7471 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7472 <pkg>-autoloads.el file stop us.
7474 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7475 warnings, and factor out common code.
7477 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7479 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7480 two-character operators and whether the character preceding them
7481 changes their meaning (Bug#15208).
7483 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7485 Format code sent to Python shell for robustness.
7486 * progmodes/python.el (python-shell-buffer-substring):
7488 (python-shell-send-region, python-shell-send-buffer): Use it.
7490 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7492 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7493 * net/tramp.el (tramp-user-error): ... here.
7494 (tramp-find-method, tramp-check-proper-host)
7495 (tramp-dissect-file-name, tramp-debug-message)
7496 (tramp-handle-shell-command):
7497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7498 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7500 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7502 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7504 * avoid.el (mouse-avoidance-point-position)
7505 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7508 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7510 * progmodes/python.el (python-shell-completion-get-completions):
7511 Drop use of deleted `comint-last-prompt-overlay'.
7512 (python-nav-if-name-main): New command.
7514 2013-09-01 Glenn Morris <rgm@gnu.org>
7516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7517 Avoid leading space in $wins. Otherwise the sed command used by
7518 eg compile-main ends up containing "/*.el". (Bug#15170)
7520 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7522 2013-08-30 Glenn Morris <rgm@gnu.org>
7524 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7525 Fix is-this-a-directory logic. (Bug#15220)
7527 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7529 * textmodes/css-mode.el: Use SMIE.
7530 (css-smie-grammar): New var.
7531 (css-smie--forward-token, css-smie--backward-token)
7532 (css-smie-rules): New functions.
7533 (css-mode): Use them.
7534 (css-navigation-syntax-table): Remove var.
7535 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7536 (css-indent-calculate, css-indent-line): Remove functions.
7538 Misc changes to reduce use of `(lambda...); and other cleanups.
7539 * cus-edit.el: Use lexical-binding.
7540 (customize-push-and-save, customize-apropos)
7541 (custom-buffer-create-internal): Use closures.
7542 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7543 * progmodes/ada-xref.el: Use setq.
7544 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7545 * dframe.el: Use lexical-binding.
7546 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7547 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7548 * descr-text.el: Use lexical-binding.
7549 (describe-text-widget, describe-text-sexp, describe-property-list):
7551 * comint.el (comint-history-isearch-push-state): Use a closure.
7552 * calculator.el: Use lexical-binding.
7553 (calculator-number-to-string): Make it work with lexical-binding.
7554 (calculator-funcall): Same and use cl-letf.
7556 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7557 (lisp--company-doc-string, lisp--company-location): New functions.
7558 (lisp-completion-at-point): Use them to improve Company support.
7560 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7561 params of lambda expressions.
7562 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7563 (ruby-smie--opening-pipe-p): New function.
7564 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7565 symbols and matched |...| for formal params.
7566 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7567 from being treated as hanging. Handle "rescue".
7569 2013-08-29 Glenn Morris <rgm@gnu.org>
7571 * progmodes/cc-engine.el (c-pull-open-brace):
7572 Move definition before use.
7574 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7576 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7577 are immutable. Don't use `unsafe' any more.
7578 (cl--defsubst-expand): Don't substitute at the same time as keeping
7579 a residual unused let-binding. Don't use `unsafe' any more.
7581 2013-08-29 Glenn Morris <rgm@gnu.org>
7583 * calendar/cal-china.el (calendar-chinese-year-cache):
7586 * nxml/nxml-util.el (nxml-debug-clear-inside):
7587 Use cl-loop rather than loop.
7589 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7591 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7593 2013-08-28 Glenn Morris <rgm@gnu.org>
7595 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7597 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7599 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7601 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * simple.el (repeat-complex-command--called-interactively-skip):
7605 (repeat-complex-command): Use it (bug#14136).
7607 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7608 (c-define-abbrev-table): Add `doc' argument.
7609 (c-mode-abbrev-table, c++-mode-abbrev-table)
7610 (objc-mode-abbrev-table, java-mode-abbrev-table)
7611 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7612 (awk-mode-abbrev-table): Use it.
7613 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7614 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7615 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7616 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7617 Move initialization into the declaration; and remove any
7620 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7621 and dynamic let binding.
7623 * vc/smerge-mode.el: Remove redundant :group args.
7625 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7628 2013-08-28 Juri Linkov <juri@jurta.org>
7630 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7631 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7632 (isearch-other-meta-char): Handle an undefined shifted printing
7633 character by downshifting it. (Bug#15200)
7635 2013-08-28 Juri Linkov <juri@jurta.org>
7637 * isearch.el (isearch-search): Change regexp error message for
7638 non-regexp searches. (Bug#15166)
7640 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7642 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7643 for portability to hosts where /bin/sh has problems.
7645 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7649 2013-08-27 Juri Linkov <juri@jurta.org>
7651 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7652 in the keyboard macro. (Bug#15126)
7654 2013-08-27 Juri Linkov <juri@jurta.org>
7656 * isearch.el (isearch-quote-char): Comment out converting unibyte
7657 to multibyte, thus syncing with its `quoted-insert' counterpart.
7660 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7662 * window.el (display-buffer-use-some-window): Add missing
7663 argument in call of get-largest-window (Bug#15185).
7664 Reported by Stephen Leake.
7666 2013-08-27 Glenn Morris <rgm@gnu.org>
7668 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7670 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7673 from a matcher-function unless there's no more matches (bug#15161).
7675 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7677 * minibuffer.el: Revert change from 2013-08-20.
7679 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7680 with text property `tramp-default', if appropriate.
7681 (tramp-check-proper-host): New defun.
7682 (tramp-dissect-file-name): Do not check hostname. Revert change
7684 (tramp-backtrace): Make VEC-OR-PROC optional.
7686 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7687 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7688 * net/tramp-sh.el (tramp-maybe-open-connection):
7689 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7690 Apply `tramp-check-proper-host'.
7692 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7694 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7695 lambda expression in order to have `describe-variable' display it.
7697 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7699 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7700 BUF can be optional. (Bug#15186)
7702 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7704 * progmodes/flymake.el (flymake-get-real-file-name-function):
7705 Fix broken customization. (Bug#15184)
7707 2013-08-25 Alan Mackenzie <acm@muc.de>
7709 Improve indentation of bracelists defined by macros (without "=").
7711 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7712 expansion begins with "{", regard it as bracelist when it doesn't
7715 Parse C++ inher-intro when there's a template split over 2 lines.
7717 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7718 rigorously the search for "class" etc. followed by ":".
7720 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7721 random languages a regexp which never matches rather than nil.
7723 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7725 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7726 (c-awk-regexp-one-line-possibly-open-char-list-re)
7727 (c-awk-one-line-possibly-open-regexp-re)
7728 (c-awk-one-line-non-syn-ws*-re): Remove.
7729 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7730 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7731 (c-awk-space*-unclosed-regexp-/-re): New constants.
7732 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7733 aren't regexp delimiters.
7735 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7736 handling for a rare situation in AWK Mode involving unterminated
7739 2013-08-23 Glenn Morris <rgm@gnu.org>
7741 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7743 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7745 * files.el (create-file-buffer): If the result would begin with
7746 spaces, prepend a "|" instead of removing them. (Bug#15162)
7748 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7751 text-properties (bug#15155).
7753 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7755 (calc-keypad-redraw): Remove unused var `pad'.
7756 (calc-keypad-press): Remove unused var `menu'.
7758 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7760 * window.el (display-buffer-pop-up-frame):
7761 Call pop-up-frame-function with BUFFER current so `make-frame' will
7762 use it as the new frame's buffer (Bug#15133).
7764 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7766 * calendar/timeclock.el: Minor cleanups.
7767 (timeclock-ask-before-exiting, timeclock-use-display-time):
7769 (timeclock-modeline-display): Define as alias before the
7771 (timeclock-mode-line-display): Use define-minor-mode.
7772 (timeclock-day-list-template): Make it a function, add an argument.
7773 (timeclock-day-list-required, timeclock-day-list-length)
7774 (timeclock-day-list-debt, timeclock-day-list-span)
7775 (timeclock-day-list-break): Adjust calls accordingly.
7777 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7780 Use read--expression so that completion works again.
7782 2013-08-21 Sam Steingold <sds@gnu.org>
7784 Add rudimentary inferior shell interaction
7785 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7786 (sh-set-shell): Reset it.
7787 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7788 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7790 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * align.el: Use lexical-binding.
7793 (align-region): Simplify accordingly.
7795 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7797 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7799 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7802 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7806 * net/tramp-cmds.el:
7808 * net/tramp-gvfs.el:
7810 * net/tramp-sh.el: Don't wrap external variable declarations by
7811 `eval-when-compile'.
7813 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7815 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7816 now that Emacs supports ImageMagick animations.
7818 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7820 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7821 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7823 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7825 * window.el (mouse-autoselect-window-select): Do autoselect when
7826 mouse pointer is on margin.
7828 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7830 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7832 2013-08-16 Glenn Morris <rgm@gnu.org>
7834 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7835 Handle "Remote Directory" response of some clients. (Bug#15058)
7837 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7838 Tweak warning. (Bug#14926)
7840 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7841 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7843 * image-mode.el (image-mode-map): Add menu items to reverse,
7844 increase, decrease, reset animation speed.
7845 (image--set-speed, image-increase-speed, image-decrease-speed)
7846 (image-reverse-speed, image-reset-speed): New functions.
7847 (image-mode-map): Add bindings for speed commands.
7849 * image.el (image-animate-get-speed, image-animate-set-speed):
7851 (image-animate-timeout): Respect image :speed property.
7853 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7855 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7856 previous line (bug#15101).
7857 (debugger-eval-expression, debugger-record-expression):
7858 Use read--expression (bug#15102).
7860 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7862 Remove byte compiler warnings, visible when compiling with
7863 `byte-compile-force-lexical-warnings' set to t.
7865 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7866 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7867 (tramp-handle-unhandled-file-name-directory)
7868 (tramp-handle-file-notify-add-watch, tramp-action-login)
7869 (tramp-action-succeed, tramp-action-permission-denied)
7870 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7873 * net/tramp-adb.el (tramp-adb-parse-device-names)
7874 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7875 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7876 (tramp-adb-handle-file-truename): Remove unused arguments.
7878 * net/tramp-cache.el (tramp-flush-directory-property)
7879 (tramp-flush-connection-property, tramp-list-connections)
7880 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7882 * net/tramp-compat.el (tramp-compat-make-temp-file):
7883 Rename FILENAME to F.
7885 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7886 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7887 (tramp-zeroconf-parse-workstation-device-names)
7888 (tramp-zeroconf-parse-webdav-device-names)
7889 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7891 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7892 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7894 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7896 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7897 (tramp-sh-handle-insert-file-contents-literally)
7898 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7900 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7901 Remove unused variables.
7903 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7904 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7905 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7907 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7908 Make them a defconst.
7909 (tramp-uuencode-region): Remove unused variable.
7911 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7913 * frameset.el (frameset--prop-setter): New function.
7914 (frameset-prop): Add gv-setter declaration.
7915 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7916 parameter was already set in FILTERED. Doc fix.
7917 (frameset--record-minibuffer-relationships): Allow saving a
7918 minibufferless frame without its corresponding minibuffer frame.
7919 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7920 frame, if the frame id matches.
7921 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7922 frames before orphaned ones.
7923 (frameset-restore): Warn about orphaned windows, instead of error out.
7925 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7927 * window.el (window-make-atom): Don't overwrite parameter
7929 (display-buffer-in-atom-window): Handle special case where we
7930 split an already atomic window.
7931 (window--major-non-side-window, display-buffer-in-side-window)
7932 (window--side-check): Ignore minibuffer window when walking
7934 (window-deletable-p): Return 'frame only if no other frame uses
7935 our minibuffer window.
7936 (record-window-buffer): Run buffer-list-update-hook.
7937 (split-window): Make sure window--check-frame won't destroy an
7938 existing atomic window in case the new window gets nested
7940 (display-buffer-at-bottom): Ignore minibuffer window when
7941 walking window tree. Don't split a side window.
7942 (pop-to-buffer): Don't set-buffer here, the select-window call
7944 (mouse-autoselect-window-select): Autoselect only if we are in the
7945 text portion of the window.
7947 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7949 * net/shr.el (shr-parse-image-data): New function to grab both the
7950 data itself and the Content-Type.
7951 (shr-put-image): Use it.
7953 * net/eww.el (eww-display-image): Ditto.
7955 * image.el (image-content-type-suffixes): New variable.
7957 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7959 * progmodes/python.el (python-imenu--build-tree)
7960 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7962 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7964 * simple.el (backward-word): Mention the optional argument.
7966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * frameset.el (frameset--make): Rename constructor from make-frameset.
7969 (frameset-p, frameset-valid-p): Don't autoload.
7970 (frameset-valid-p): Use normal accessors.
7972 2013-08-13 Glenn Morris <rgm@gnu.org>
7974 * progmodes/compile.el (compile-command): Tweak example in doc.
7975 * obsolete/scribe.el (scribe-mode):
7976 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7978 * mail/feedmail.el (feedmail-confirm-outgoing)
7979 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7981 * cus-start.el (truncate-partial-width-windows): Fix type.
7983 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7985 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7987 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * emacs-lisp/timer.el (timer--time-setter): New function.
7990 (timer--time): Use it as gv-setter.
7992 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7993 setter is not a symbol.
7995 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7997 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7998 if sending fails. This makes debugging easier.
8000 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
8002 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
8003 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
8004 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
8006 2013-08-12 Eli Zaretskii <eliz@gnu.org>
8008 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
8010 2013-08-12 Glenn Morris <rgm@gnu.org>
8012 * format.el (format-annotate-function):
8013 Handle read-only text properties in the source. (Bug#14887)
8015 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017 * net/eww.el (eww-display-html): Ignore coding system errors.
8018 One web site uses "utf-8lias" as the coding system.
8020 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
8022 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
8024 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
8026 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
8027 (tutorial--detailed-help): Remove unused local variables.
8028 (tutorial--save-tutorial-to): Use ignore-errors.
8029 (help-with-tutorial): Use looking-at-p.
8031 * view.el (view-buffer-other-window, view-buffer-other-frame):
8032 Mark unused arguments.
8034 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
8035 (woman-select-symbol-fonts, woman, woman-find-file)
8036 (woman-insert-file-contents, woman-non-underline-faces):
8038 (woman1-unquote): Move declaration.
8040 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
8041 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
8042 argument. Remove unused local variable.
8043 (xml-parse-elem-type): Use string-match-p.
8044 (xml-substitute-numeric-entities): Use ignore-errors.
8046 * calculator.el (calculator): Mark unused argument.
8047 (calculator-paste, calculator-quit, calculator-integer-p):
8049 (calculator-string-to-number, calculator-decimal, calculator-exp)
8050 (calculator-op-or-exp): Use string-match-p.
8052 * dired.el (dired-buffer-more-recently-used-p): Declare.
8053 (dired-insert-set-properties, dired-insert-old-subdirs):
8056 * dired-aux.el (dired-compress): Use ignore-errors.
8057 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
8058 (dired-do-async-shell-command, dired-do-shell-command)
8059 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
8060 (dired-insert-subdir-validate): Use string-match-p.
8061 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
8062 (dired-add-entry): Use string-match-p, looking-at-p.
8063 (dired-insert-subdir-newpos): Remove unused local variable.
8065 * filenotify.el (file-notify-callback): Remove unused local variable.
8067 * filesets.el (filesets-error): Mark unused argument.
8068 (filesets-which-command-p, filesets-filter-dir-names)
8069 (filesets-directory-files, filesets-get-external-viewer)
8070 (filesets-ingroup-get-data): Use string-match-p.
8072 * find-file.el (ff-other-file-name, ff-other-file-name)
8073 (ff-find-the-other-file, ff-cc-hh-converter):
8074 Remove unused local variables.
8075 (ff-get-file-name): Use string-match-p.
8076 (ff-all-dirs-under): Use ignore-errors.
8078 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
8079 (follow-select-if-visible): Remove unused local variable.
8081 * forms.el (read-file-filter): Move declaration.
8082 (forms--make-format, forms--make-parser, forms-insert-record):
8083 Quote function with #'.
8084 (forms--update): Use string-match-p. Quote function with #'.
8086 * help-mode.el (help-dir-local-var-def): Mark unused argument.
8087 (help-make-xrefs): Use looking-at-p.
8088 (help-xref-on-pp): Use looking-at-p, ignore-errors.
8090 * ibuffer.el (ibuffer-ext-visible-p): Declare.
8091 (ibuffer-confirm-operation-on): Use string-match-p.
8093 * msb.el (msb-item-handler, msb-dired-item-handler):
8094 Mark unused arguments.
8096 * ses.el (ses-decode-cell-symbol)
8097 (ses-kill-override): Remove unused local variable.
8098 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
8099 (ses-load): Use ignore-errors, looking-at-p.
8100 (ses-jump-safe): Use ignore-errors.
8101 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
8103 * tabify.el (untabify, tabify): Mark unused arguments.
8105 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
8106 Mark unused argument.
8107 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
8108 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
8110 * emacs-lisp/timer.el (timer--time): Define setter with
8111 gv-define-setter to avoid deprecation warning.
8113 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
8114 (*record-cmpl-statistics-p*): Remove (was commented out).
8115 (cmpl-statistics-block): Remove (body was commented out).
8116 All callers changed.
8117 (add-completions-from-buffer, load-completions-from-file):
8118 Remove unused variables.
8120 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8122 * filecache.el (file-cache-delete-file-list):
8123 Print message only when told so.
8124 (file-cache-files-matching): Use #' in mapconcat argument.
8126 * ffap.el (ffap-url-at-point): Fix reference to variable
8127 thing-at-point-default-mail-uri-scheme.
8129 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * subr.el (define-error): New function.
8132 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
8133 error-file-not-found and define with define-error.
8134 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
8135 and define with define-error.
8136 * userlock.el (file-locked, file-supersession):
8137 * simple.el (mark-inactive):
8138 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
8139 * progmodes/ada-mode.el (ada-mode-errors):
8140 * play/life.el (life-extinct):
8141 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
8142 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
8143 * nxml/rng-util.el (rng-error):
8144 * nxml/rng-uri.el (rng-uri-error):
8145 * nxml/rng-match.el (rng-compile-error):
8146 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
8147 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
8148 * nxml/nxml-rap.el (nxml-scan-error):
8149 * nxml/nxml-outln.el (nxml-outline-error):
8150 * net/soap-client.el (soap-error):
8151 * net/gnutls.el (gnutls-error):
8152 * net/ange-ftp.el (ftp-error):
8153 * mpc.el (mpc-proc-error):
8154 * json.el (json-error, json-readtable-error, json-unknown-keyword)
8155 (json-number-format, json-string-escape, json-string-format)
8156 (json-key-format, json-object-format):
8157 * jka-compr.el (compression-error):
8158 * international/quail.el (quail-error):
8159 * international/kkc.el (kkc-error):
8160 * emacs-lisp/ert.el (ert-test-failed):
8161 * calc/calc.el (calc-error, inexact-result, math-overflow)
8163 * bookmark.el (bookmark-error-no-filename):
8164 * epg.el (epg-error): Define with define-error.
8166 * time.el (display-time-event-handler)
8167 (display-time-next-load-average): Don't call sit-for since it seems
8168 unnecessary (bug#15045).
8170 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
8171 Use #' instead of ' to quote functions.
8172 (checkdoc-output-mode): Use setq-local.
8173 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
8174 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
8175 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
8176 (checkdoc-ispell, checkdoc-ispell-current-buffer)
8177 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
8178 (checkdoc-ispell-message-text, checkdoc-ispell-start)
8179 (checkdoc-ispell-continue, checkdoc-ispell-comments)
8180 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
8182 * ido.el (ido-completion-help): Fix up compiler warning.
8184 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
8186 * frameset.el (frameset-p): Add autoload cookie.
8187 (frameset--jump-to-register): New function, based on code moved from
8189 (frameset-to-register): Move from register.el. Adapt to `registerv'.
8191 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
8192 (frameset-restore, frameset-save, frameset-session-filter-alist):
8193 Remove declarations.
8194 (register-alist): Doc fix.
8195 (frameset-to-register): Move to frameset.el.
8196 (jump-to-register, describe-register-1): Remove frameset-specific code.
8198 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8200 * allout-widgets.el (allout-widgets-pre-command-business)
8201 (allout-widgets-post-command-business)
8202 (allout-widgets-after-change-handler)
8203 (allout-decorate-item-and-context, allout-set-boundary-marker)
8204 (allout-body-modification-handler)
8205 (allout-graphics-modification-handler): Mark ignored arguments.
8206 (allout-widgets-post-command-business)
8207 (allout-widgets-exposure-change-processor)
8208 (allout-widgets-exposure-undo-processor)
8209 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
8210 (allout-parse-item-at-point, allout-decorate-item-guides)
8211 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
8212 * allout.el (epa-passphrase-callback-function): Declare.
8213 (allout-overlay-insert-in-front-handler)
8214 (allout-overlay-interior-modification-handler)
8215 (allout-isearch-end-handler, allout-chart-siblings)
8216 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
8217 (allout-yank-processing, allout-process-exposed)
8218 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
8219 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
8220 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
8221 (lisp-indent-defform): Mark ignored arguments.
8222 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
8223 (calculate-lisp-indent): Remove unused variables.
8224 * international/characters.el (indian-2-column, arabic-2-column)
8225 (tibetan): Mark ignored arguments.
8226 (use-cjk-char-width-table): Mark ignored arguments.
8227 Remove unused variables.
8228 * international/fontset.el (build-default-fontset-data)
8229 (x-compose-font-name, create-fontset-from-fontset-spec):
8230 Mark ignored arguments.
8231 (fontset-plain-name): Remove unused variables.
8232 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8233 (keyboard-coding-system): Mark ignored arguments.
8234 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8235 * help.el (resize-temp-buffer-window):
8236 * window.el (display-buffer-in-major-side-window)
8237 (display-buffer-in-side-window, display-buffer-in-previous-window):
8238 Remove unused variables.
8239 * isearch.el (isearch-forward-symbol):
8240 * version.el (emacs-bzr-version-bzr):
8241 * international/mule-cmds.el (current-language-environment):
8242 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8244 * term/pc-win.el (x-list-fonts, x-display-planes)
8245 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8246 (x-server-version, x-display-screens, x-display-mm-height)
8247 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8248 (x-selection-owner-p, x-own-selection-internal)
8249 (x-disown-selection-internal, x-get-selection-internal)
8250 (msdos-initialize-window-system):
8251 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8252 * term/x-win.el (x-handle-no-bitmap-icon):
8253 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8254 (vc-default-find-file-hook, vc-default-extra-menu):
8255 Mark ignored arguments.
8257 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8259 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8260 break-condition in the context of the debugged code (bug#12685).
8262 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8265 Do not use an overlay to highlight the last prompt. (Bug#14744)
8266 (comint-mode): Make comint-last-prompt buffer local.
8267 (comint-last-prompt): New variable.
8268 (comint-last-prompt-overlay): Remove. Superseded by
8270 (comint-snapshot-last-prompt, comint-output-filter):
8271 Use comint-last-prompt.
8273 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8275 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8276 (frameset-save): Check validity of the resulting frameset.
8278 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8280 * ido.el (ido-record-command): Add doc string.
8282 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8284 * frameset.el (frameset): Do not disable creation of the default
8285 frameset-p predicate. Doc fix.
8286 (frameset-valid-p): New function, copied from the old predicate-p.
8287 Add additional checks.
8288 (frameset-restore): Check with frameset-valid-p.
8289 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8290 (frameset-name, frameset-description, frameset-properties)
8291 (frameset-states): Add docstring.
8292 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8293 (frameset-filter-alist): Doc fixes.
8295 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8297 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8299 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8302 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8303 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8304 (byte-compile-normal-call): Remove obsolescence check.
8306 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8308 * frameset.el (frameset-restore): Doc fix.
8310 * register.el (frameset-frame-id, frameset-frame-with-id)
8311 (frameset-p, frameset-restore, frameset-save): Declare.
8312 (register-alist): Document framesets.
8313 (frameset-session-filter-alist): Declare.
8314 (frameset-to-register): New function.
8315 (jump-to-register): Implement jumping to framesets. Doc fix.
8316 (describe-register-1): Describe framesets.
8318 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8320 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8322 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8323 Use lexical-binding.
8325 * frameset.el (frameset): Use type vector, not list (incompatible
8326 change). Do not declare a new constructor, use the default one.
8327 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8328 `name' and `description', respectively, and add read-only slot
8329 `timestamp'. Doc fixes.
8330 (frameset-copy, frameset-persistent-filter-alist)
8331 (frameset-filter-alist, frameset-switch-to-gui-p)
8332 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8333 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8334 (frameset-filter-iconified, frameset-keep-original-display-p):
8336 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8337 Rename from frameset-filter-(save|restore)-param. All callers changed.
8339 (frameset-p): Adapt to change to vector and be more thorough.
8340 Change arg name to OBJECT. Doc fix.
8341 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8342 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8343 All callers changed.
8344 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8345 All callers changed.
8346 (frameset--record-minibuffer-relationships): Rename from
8347 frameset--process-minibuffer-frames. All callers changed.
8348 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8349 Use new default constructor (again). Doc fix.
8350 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8351 All callers changed.
8352 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8353 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8355 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8356 PARAMETERS and WINDOW-STATE, respectively.
8357 (frameset-restore): Add new keyword argument PREDICATE.
8358 Reset frameset--target-display to nil. Doc fix.
8360 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8362 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8364 (bat-mode-syntax-table): Mark \n as end-of-comment.
8365 (bat-font-lock-keywords): Remove comment rule.
8367 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8368 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8370 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8371 (byte-compile-callargs-warn): Use `push'.
8372 (byte-compile-arglist-warn): Ignore higher-order "calls".
8373 (byte-compile-file-form-autoload): Use `pcase'.
8374 (byte-compile-function-form): If quoting a symbol, check that it exists.
8376 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8378 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8379 and add a few popular commands found in batch files.
8380 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8381 (dos-mode): Doc fixes.
8383 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8385 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8386 (dos-mode): Use setq-local. Add space after "rem".
8387 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8388 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8390 2013-08-07 Arni Magnusson <arnima@hafro.is>
8392 * progmodes/dos.el: New file.
8393 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8396 2013-08-06 Glenn Morris <rgm@gnu.org>
8398 * calendar/calendar.el: Add new faces, and day-header-array.
8399 (calendar-weekday-header, calendar-weekend-header)
8400 (calendar-month-header): New faces.
8401 (calendar-day-header-construct): New function.
8402 (calendar-day-header-width): Also :set calendar-day-header-array.
8403 (calendar-american-month-header, calendar-european-month-header)
8404 (calendar-iso-month-header): Use calendar- faces.
8405 (calendar-generate-month):
8406 Use calendar-day-header-array for day headers; apply faces to them.
8407 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8408 (calendar-abbrev-construct): Add optional maxlen argument.
8409 (calendar-day-name-array): Doc fix.
8410 (calendar-day-name-array, calendar-abbrev-length)
8411 (calendar-day-abbrev-array):
8412 Also :set calendar-day-header-array, and maybe redraw.
8413 (calendar-day-header-array): New option. (Bug#15007)
8414 (calendar-font-lock-keywords): Set to nil and make obsolete.
8415 (calendar-day-name): Add option to use header array.
8417 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8419 * net/shr.el (shr-render-td): Remove debugging.
8420 (shr-render-td): Make width computation consistent by defaulting
8421 all zero-width columns to 10 characters. This may not be optimal,
8422 but it's at least consistent.
8423 (shr-make-table-1): Redo last change to fix the real problem in
8426 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8428 * files.el (cache-long-line-scans):
8429 Make obsolete alias to `cache-long-scans'.
8431 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8433 * frameset.el (frameset, frameset-filter-alist)
8434 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8435 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8436 (frameset-compute-pos): Rename from frameset--compute-pos,
8438 (frameset-move-onscreen): Use frameset-compute-pos.
8439 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8441 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8442 Fix typos in docstrings.
8444 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8446 * frame.el (get-other-frame): Tiny cleanup.
8448 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8450 * vc/vc.el (vc-default-ignore-completion-table):
8451 Silence byte-compiler warning.
8453 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8454 slot, which can indeed be nil.
8455 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8456 Move entry for `left' from persistent to live filter alist.
8457 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8459 (frameset-filter-params): When restoring a frame, copy items added to
8460 `filtered', to avoid unwittingly modifying the original parameters.
8461 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8462 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8464 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8465 to use looking-at-p instead of looking-at. (Bug#15028)
8467 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8469 Revert introduction of isearch-filter-predicates (bug#14714).
8470 Rely on add-function instead.
8471 * isearch.el (isearch-filter-predicates): Rename it back to
8472 isearch-filter-predicate.
8473 (isearch-message-prefix): Use advice-function-mapc and advice
8474 properties to get the isearch-message-prefix.
8475 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8476 instead of run-hook-with-args-until-failure.
8477 (isearch-filter-visible): Not obsolete any more.
8478 * loadup.el: Preload nadvice.
8479 * replace.el (perform-replace): Revert to funcall
8480 instead of run-hook-with-args-until-failure.
8481 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8482 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8483 dired-isearch-filenames-toggle; make it into a proper minor mode.
8484 Use add/remove-function.
8485 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8486 Call the minor-mode rather than add/remove-hook.
8487 (dired-isearch-filter-filenames):
8488 Remove isearch-message-prefix property.
8489 * info.el (Info--search-loop): New function, extracted from Info-search.
8490 Funcall isearch-filter-predicate instead of
8491 run-hook-with-args-until-failure isearch-filter-predicates.
8492 (Info-search): Use it.
8493 (Info-mode): Use isearch-filter-predicate instead of
8494 isearch-filter-predicates.
8496 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8498 Do not call to `selected-window' where it is assumed by default.
8499 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8500 `window-hscroll', `window-width', `window-height', `window-buffer',
8501 `window-frame', `window-start', `window-point', `next-window'
8502 and `window-display-table'.
8503 * abbrev.el (abbrev--default-expand):
8504 * bs.el (bs--show-with-configuration):
8505 * buff-menu.el (Buffer-menu-mouse-select):
8506 * calc/calc.el (calc):
8507 * calendar/calendar.el (calendar-generate-window):
8508 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8510 * comint.el (send-invisible, comint-dynamic-complete-filename)
8511 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8512 * completion.el (complete):
8513 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8514 * disp-table.el (describe-current-display-table):
8515 * doc-view.el (doc-view-insert-image):
8516 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8517 * ehelp.el (with-electric-help):
8518 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8519 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8520 * emacs-lisp/helper.el (Helper-help-scroller):
8521 * emulation/cua-base.el (cua--post-command-handler-1):
8522 * eshell/esh-mode.el (eshell-output-filter):
8523 * ffap.el (ffap-gnus-wrapper):
8524 * help-macro.el (make-help-screen):
8525 * hilit-chg.el (highlight-compare-buffers):
8526 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8527 * hl-line.el (global-hl-line-highlight):
8528 * icomplete.el (icomplete-simple-completing-p):
8529 * isearch.el (isearch-done):
8530 * jit-lock.el (jit-lock-stealth-fontify):
8531 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8532 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8533 * mpc.el (mpc-tagbrowser, mpc):
8534 * net/rcirc.el (rcirc-any-buffer):
8535 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8536 * play/landmark.el (landmark-max-width, landmark-max-height):
8537 * play/zone.el (zone):
8538 * progmodes/compile.el (compilation-goto-locus):
8539 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8540 * progmodes/etags.el (find-tag-other-window):
8541 * progmodes/fortran.el (fortran-column-ruler):
8542 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8543 * progmodes/verilog-mode.el (verilog-point-text):
8544 * reposition.el (reposition-window):
8545 * rot13.el (toggle-rot13-mode):
8546 * server.el (server-switch-buffer):
8547 * shell.el (shell-dynamic-complete-command)
8548 (shell-dynamic-complete-environment-variable):
8549 * simple.el (insert-buffer, set-selective-display)
8550 (delete-completion-window):
8551 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8552 (speedbar-recenter):
8553 * startup.el (fancy-splash-head):
8554 * textmodes/ispell.el (ispell-command-loop):
8555 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8556 * tutorial.el (help-with-tutorial):
8557 * vc/add-log.el (add-change-log-entry):
8558 * vc/compare-w.el (compare-windows):
8559 * vc/ediff-help.el (ediff-indent-help-message):
8560 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8561 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8562 (ediff-setup-control-frame):
8563 * vc/emerge.el (emerge-position-region):
8564 * vc/pcvs-util.el (cvs-bury-buffer):
8565 * window.el (walk-windows, mouse-autoselect-window-select):
8566 * winner.el (winner-set-conf, winner-undo): Related users changed.
8568 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8570 * frameset.el (frameset--set-id): Doc fix.
8571 (frameset-frame-id, frameset-frame-id-equal-p)
8572 (frameset-locate-frame-id): New functions.
8573 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8574 (frameset-restore): Use them.
8576 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8578 Do not call to `selected-frame' where it is assumed by default.
8579 Affected functions are `raise-frame', `redraw-frame',
8580 `frame-first-window', `frame-terminal' and `delete-frame'.
8581 * calendar/appt.el (appt-disp-window):
8582 * epg.el (epg-wait-for-completion):
8583 * follow.el (follow-delete-other-windows-and-split)
8584 (follow-avoid-tail-recenter):
8585 * international/mule.el (set-terminal-coding-system):
8586 * mail/rmail.el (rmail-mail-return):
8587 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8588 * progmodes/f90.el (f90-add-imenu-menu):
8589 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8590 * server.el (server-switch-buffer):
8591 * simple.el (delete-completion-window):
8593 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8594 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8595 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8596 * vc/ediff.el (ediff-documentation): Related users changed.
8597 * frame.el (selected-terminal): Remove the leftover.
8599 2013-08-05 Glenn Morris <rgm@gnu.org>
8601 * calendar/calendar.el (calendar-generate-month):
8602 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8603 (calendar-generate-month, calendar-font-lock-keywords):
8604 Fix for calendar-day-header-width > length of any day name.
8606 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8608 * desktop.el (desktop-clear): Use new name of sort predicate.
8610 * frameset.el (frameset): Add docstring. Move :version property to its
8612 (frameset-copy): Rename from copy-frameset.
8613 (frameset-p): Check more thoroughly.
8614 (frameset-prop): Do not check for :version, which is no longer a prop.
8615 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8616 Use new :never value instead of t.
8617 (frameset-filter-alist): Expand and clarify docstring.
8618 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8619 (frameset-filter-minibuffer, frameset-filter-save-param)
8620 (frameset-filter-restore-param, frameset-filter-iconified):
8621 Add pointer to docstring of frameset-filter-alist.
8622 (frameset-filter-params): Rename filter values to be more meaningful:
8623 :never instead of t, and reverse the meanings of :save and :restore.
8624 (frameset--process-minibuffer-frames): Clarify error message.
8625 (frameset-save): Avoid unnecessary and confusing call to framep.
8626 Use new BOA constructor for framesets.
8627 (frameset--reuse-list): Doc fix.
8628 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8629 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8630 (frameset-minibufferless-first-p): Doc fix.
8631 Rename from frameset-sort-frames-for-deletion.
8632 (frameset-restore): Doc fixes. Use new function names.
8633 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8635 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8637 * desktop.el (desktop-restore-forces-onscreen)
8638 (desktop-restore-reuses-frames): Document :keyword constant values.
8639 (desktop-filter-parameters-alist): Remove, now identical to
8640 frameset-filter-alist.
8641 (desktop--filter-tty*): Remove, moved to frameset.el.
8642 (desktop-save-frameset, desktop-restore-frameset):
8643 Do not pass :filters argument.
8645 * frameset.el (frameset-live-filter-alist)
8646 (frameset-persistent-filter-alist): New variables.
8647 (frameset-filter-alist): Use them. Add autoload cookie.
8648 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8649 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8650 `frameset--id' (it's supposed to be internal to frameset.el).
8651 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8652 (frameset--initial-params): New function.
8653 (frameset--get-frame): Use it. Doc fix.
8654 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8655 Accept :all, not 'all.
8656 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8657 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8658 with fbound symbols. Fix frame id matching, and remove matching ids if
8659 the frame being restored is deleted. Obey :delete.
8661 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * subr.el (macrop): New function.
8664 (text-clone--maintaining): New var.
8665 (text-clone--maintain): Rename from text-clone-maintain. Use it
8666 instead of inhibit-modification-hooks.
8668 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8669 a proxy, so as handle autoloads and redefinitions of the target.
8670 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8672 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8673 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8674 (pcase--mutually-exclusive-p): New function.
8675 (pcase--split-consp): Use it.
8676 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8677 mutually exclusive with the current predicate.
8679 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8680 (edebug-macrop): Remove. Use `macrop' instead.
8681 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8683 * eshell/esh-cmd.el (eshell-macrop):
8684 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8686 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8688 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8689 (advice-mapc): New function, using it.
8690 (advice-function-member-p): New function.
8691 (advice--normalize): Store the cdr in advice--saved-rewrite since
8692 that's the part that will be changed.
8693 (advice--symbol-function): New function.
8694 (advice-remove): Handle removal before the function is defined.
8695 Adjust to new advice--saved-rewrite.
8696 (advice-member-p): Use advice-function-member-p and
8697 advice--symbol-function.
8699 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8701 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8702 (frameset-filter-minibuffer): Doc fix.
8703 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8704 (frameset--set-id, frameset--process-minibuffer-frames)
8705 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8706 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8708 * desktop.el (desktop-clear): Only delete frames when called
8709 interactively and desktop-restore-frames is non-nil. Doc fix.
8710 (desktop-read): Set desktop-saved-frameset to nil.
8712 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8714 * vc/vc.el (vc-ignore): Rewrite.
8715 (vc-default-ignore-completion-table, vc--read-lines)
8716 (vc--add-line, vc--remove-regexp): New functions.
8718 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8719 (vc-svn-ignore-completion-table): New function.
8721 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8722 (vc-hg-ignore-completion-table)
8723 (vc-hg-find-ignore-file): New functions.
8725 * vc/vc-git.el (vc-git-ignore): Rewrite.
8726 (vc-git-ignore-completion-table)
8727 (vc-git-find-ignore-file): New functions.
8729 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8731 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8732 (vc-bzr-ignore-completion-table)
8733 (vc-bzr-find-ignore-file): New functions.
8735 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8737 * frameset.el (frameset-prop): New function and setter.
8738 (frameset-save): Do not modify frame list passed by the caller.
8740 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8742 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8744 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8747 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8749 * custom.el (custom-initialize-default, custom-initialize-set)
8750 (custom-initialize-reset, custom-initialize-changed): Affect the
8751 toplevel-default-value (bug#6275, bug#14586).
8752 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8755 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8757 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8758 Add cl-def* expressions.
8760 * frameset.el (frameset-filter-params): Fix order of arguments.
8762 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8764 Move code related to saving frames to frameset.el.
8765 * desktop.el: Require frameset.
8766 (desktop-restore-frames): Doc fix.
8767 (desktop-restore-reuses-frames): Rename from
8768 desktop-restoring-reuses-frames.
8769 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8770 (desktop-clear): Clear frames too.
8771 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8772 (desktop--filter-tty*, desktop-save, desktop-read):
8773 Use frameset functions.
8774 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8775 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8776 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8777 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8778 (desktop--process-minibuffer-frames, desktop-save-frames)
8779 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8780 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8781 (desktop--sort-states, desktop-restoring-frames-p)
8782 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8783 (desktop-restoring-frameset-p, desktop-restore-frameset)
8784 (desktop--check-dont-save, desktop-save-frameset): New functions.
8785 (desktop--app-id): New constant.
8786 (desktop-first-buffer, desktop-buffer-ok-count)
8787 (desktop-buffer-fail-count): Move before first use.
8788 * frameset.el: New file.
8790 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8792 * files.el: Use lexical-binding.
8793 (dir-locals-read-from-file): Remove unused `err' variable.
8794 (hack-dir-local-variables--warned-coding): New var.
8795 (hack-dir-local-variables): Use it to avoid repeated warnings.
8796 (make-backup-file-name--default-function): New function.
8797 (make-backup-file-name-function): Use it as default.
8798 (buffer-stale--default-function): New function.
8799 (buffer-stale-function): Use it as default.
8800 (revert-buffer-insert-file-contents--default-function): New function.
8801 (revert-buffer-insert-file-contents-function): Use it as default.
8802 (insert-directory): Avoid add-to-list.
8804 * autorevert.el (auto-revert-handler): Simplify.
8805 Use buffer-stale--default-function.
8807 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8809 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8811 * whitespace.el (whitespace-ensure-local-variables): New function.
8812 (whitespace-cleanup-region): Call it.
8813 (whitespace-turn-on): Call it.
8815 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8817 Complete file name handlers.
8819 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8820 (tramp-handle-verify-visited-file-modtime)
8821 (tramp-handle-file-notify-rm-watch): New functions.
8822 (tramp-call-process): Do not bind `default-directory'.
8824 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8825 Order alphabetically.
8826 <access-file, add-name-to-file, dired-call-process>:
8827 <dired-compress-file, file-acl, file-notify-rm-watch>:
8828 <file-ownership-preserved-p, file-selinux-context>:
8829 <make-directory-internal, make-symbolic-link, set-file-acl>:
8830 <set-file-selinux-context, set-visited-file-modtime>:
8831 <verify-visited-file-modtime>: Add handler.
8832 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8835 <file-notify-add-watch, file-notify-rm-watch>:
8836 <set-file-times, set-visited-file-modtime>:
8837 <verify-visited-file-modtime>: Add handler.
8838 (with-tramp-gvfs-error-message)
8839 (tramp-gvfs-handle-set-visited-file-modtime)
8840 (tramp-gvfs-fuse-file-name): Remove.
8841 (tramp-gvfs-handle-file-notify-add-watch)
8842 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8843 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8845 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8846 Order alphabetically.
8847 <file-notify-rm-watch>: Use default Tramp handler.
8848 <executable-find>: Remove private handler.
8849 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8850 `default-directory'.
8851 (tramp-sh-handle-executable-find)
8852 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8853 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8854 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8855 Do not use `format' in `tramp-message'.
8857 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8858 <file-notify-rm-watch, set-visited-file-modtime>:
8859 <verify-visited-file-modtime>: Add handler.
8860 (tramp-smb-call-winexe): Do not bind `default-directory'.
8862 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8864 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8866 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8868 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8870 (log-view-diff-changeset): Same.
8871 (log-view-diff-common): Call backend command `previous-revision'
8872 to find out the previous revision, in both cases. Swap the
8873 variables `to' and `fr', so that `fr' usually refers to the
8874 earlier revision (Bug#14989).
8876 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8878 * ibuf-ext.el (ibuffer-filter-by-filename):
8879 Make it work with dired buffers too.
8881 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8883 * emacs-lisp/re-builder.el (reb-color-display-p):
8884 * files.el (save-buffers-kill-terminal):
8885 * net/browse-url.el (browse-url):
8886 * server.el (server-save-buffers-kill-terminal):
8887 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8888 Prefer nil to selected-frame for the first arg of frame-parameter.
8890 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8892 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8894 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8896 * minibuffer.el (completion--twq-all): Try and preserve each
8897 completion's case choice (bug#14907).
8899 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8901 * net/network-stream.el (open-network-stream): Mention the new
8902 :nogreeting parameter.
8903 (network-stream-open-starttls): Use the :nogreeting parameter
8906 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8908 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8909 more natural than popping.
8911 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8912 (shr-urlify): Highlight under mouse.
8914 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8916 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8918 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8920 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8923 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8924 point-min==1. Fix search string. Fix parentheses missing.
8926 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8927 assume point-min==1. Fix search string. Fix parentheses missing.
8929 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8931 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8934 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8936 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8937 initial frame is minibuffer-less. (Bug#14841)
8939 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8941 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8944 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8945 (tramp-maybe-open-connection): Use it.
8947 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8949 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8950 minimal set of parameters passed when creating a frame, because
8951 the minibuffer status of a frame cannot be changed later.
8953 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8955 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8956 replace-regexp-in-string and inadvertent omissions in previous change.
8957 (todo-filter-items): Ensure only file names are comma-separated in
8958 name of filtered items buffer.
8960 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8962 * desktop.el: Optionally force offscreen frames back onscreen.
8963 (desktop-restoring-reuses-frames): New option.
8964 (desktop--compute-pos, desktop--move-onscreen): New functions.
8965 (desktop--make-frame): Use desktop--move-onscreen.
8967 2013-07-27 Alan Mackenzie <acm@muc.de>
8969 Fontify a Java generic method as a function.
8970 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8973 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8975 * calendar/todo-mode.el: Add command to rename todo files.
8976 (todo-rename-file): New command.
8977 (todo-key-bindings-t): Add key binding for it. Change the
8978 bindings of todo-filter-regexp-items(-multifile) to use `x'
8979 instead of `r', since the latter is better suited to the new
8982 2013-07-27 Alan Mackenzie <acm@muc.de>
8984 Make Java try-with-resources statement parse properly.
8985 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8986 (c-block-stmt-1-2-key): New language constants/variables.
8987 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8988 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8989 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8990 with c-block-stmt-1-2-key.
8992 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8994 * desktop.el (desktop--make-frame): Apply most frame parameters after
8995 creating the frame to force (partially or totally) offscreen frames to
8996 be restored as such.
8998 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
9000 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
9003 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9005 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
9006 `base' arg of backtrace-frame.
9008 2013-07-26 Eli Zaretskii <eliz@gnu.org>
9010 * simple.el (list-processes): Doc fix.
9012 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9014 * desktop.el (desktop--select-frame):
9015 Try harder to reuse existing frames.
9017 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9019 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
9020 (edebug-eval): Use backtrace-eval.
9021 (edebug--display, edebug--recursive-edit): Don't let-bind the
9022 edebug-outer-* vars that keep track of variables we locally let-bind.
9023 (edebug-outside-excursion): Don't restore outside values of locally
9025 (edebug--display): Use user-error.
9026 (cl-lexical-debug, cl-debug-env): Remove.
9028 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
9030 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
9031 are restored to be sure that they are visible before deleting any
9034 2013-07-26 Matthias Meulien <orontee@gmail.com>
9036 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
9037 vc-print-root-log. (Bug#14948)
9039 2013-07-26 Richard Stallman <rms@gnu.org>
9041 Add aliases for encrypting mail.
9042 * epa.el (epa-mail-aliases): New option.
9043 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
9044 Bind inhibit-read-only so read-only text doesn't ruin everything.
9045 (epa-mail-default-recipients): New subroutine broken out.
9046 Handle epa-mail-aliases.
9048 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9050 Add support for lexical variables to the debugger's `e' command.
9051 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
9052 vars, except for debugger-outer-match-data.
9053 (debugger-frame-number): Move check for "on a function call" from
9054 callers into it. Add `skip-base' argument.
9055 (debugger-frame, debugger-frame-clear): Simplify accordingly.
9056 (debugger-env-macro): Only reset the state stored in non-variables,
9057 i.e. current-buffer and match-data.
9058 (debugger-eval-expression): Rewrite using backtrace-eval.
9059 * subr.el (internal--called-interactively-p--get-frame): Remove.
9060 (called-interactively-p):
9061 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
9062 `base' arg of backtrace-frame instead.
9064 2013-07-26 Glenn Morris <rgm@gnu.org>
9066 * align.el (align-regexp): Doc fix. (Bug#14857)
9067 (align-region): Explicit error if subexpression missing/does not match.
9069 * simple.el (global-visual-line-mode):
9070 Do not duplicate the mode lighter. (Bug#14858)
9072 2013-07-25 Martin Rudalics <rudalics@gmx.at>
9074 * window.el (display-buffer): In display-buffer bind
9075 split-window-keep-point to t, bug#14829.
9077 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9079 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
9080 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
9081 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
9082 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9084 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
9085 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
9087 2013-07-25 Glenn Morris <rgm@gnu.org>
9089 * dired-x.el (dired-mark-extension): Convert comment to doc string.
9091 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
9093 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
9094 parameter to modify-frame-parameters if the value has not changed;
9095 this is a workaround for bug#14949.
9096 (desktop--make-frame): On cl-delete-if call, check parameter name,
9099 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9101 * vc/vc.el (vc-ignore): New function.
9103 * vc/vc-svn.el (vc-svn-ignore): New function.
9105 * vc/vc-hg.el (vc-hg-ignore): New function.
9107 * vc/vc-git.el (vc-git-ignore): New function.
9109 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
9110 (vc-dir-ignore): New function.
9112 * vc/vc-cvs.el (vc-cvs-ignore): New function.
9113 (cvs-append-to-ignore): Move here from pcvs.el.
9115 * vc/vc-bzr.el (vc-bzr-ignore): New function.
9117 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
9119 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
9121 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
9122 (desktop-restore-frames): Warn when deleting an existing frame failed.
9124 2013-07-24 Glenn Morris <rgm@gnu.org>
9126 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
9128 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
9130 * filenotify.el (file-notify-supported-p):
9131 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9134 * autorevert.el (auto-revert-use-notify)
9135 (auto-revert-notify-add-watch):
9136 * net/tramp.el (tramp-file-name-for-operation):
9137 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9138 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9139 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9140 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9141 Remove `file-notify-supported-p' entry.
9143 2013-07-24 Glenn Morris <rgm@gnu.org>
9145 * printing.el: Replace all uses of deleted ps-windows-system,
9146 ps-lp-system, ps-flatten-list with lpr- versions.
9148 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9150 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
9151 checked with memq (bug#14935).
9153 * files.el (revert-buffer-function): Use a non-nil default.
9154 (revert-buffer-preserve-modes): Declare var to
9155 provide access to the `preserve-modes' argument.
9156 (revert-buffer): Let-bind it.
9157 (revert-buffer--default): New function, extracted from revert-buffer.
9159 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
9161 * lpr.el: Signal print errors more prominently.
9162 (print-region-function): Don't default to nil.
9163 (lpr-print-region): New function, extracted from print-region-1.
9164 Check lpr's return value and signal an error in case of problem.
9165 (print-region-1): Use it.
9166 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
9168 (ps-printer-name): Default to nil.
9169 (ps-printer-name-option): Default to lpr-printer-switch.
9170 (ps-print-region-function): Don't default to nil.
9171 (ps-postscript-code-directory): Simplify default.
9172 (ps-do-despool): Use lpr-print-region to properly check the outcome.
9173 (ps-string-list, ps-eval-switch, ps-flatten-list)
9174 (ps-flatten-list-1): Remove.
9175 (ps-multibyte-buffer): Avoid setq.
9176 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
9177 (print-region-function, ps-print-region-function): Don't set them here.
9179 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
9181 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
9182 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
9183 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
9184 (ido-decorations): Doc fix.
9186 * ansi-color.el: Fix old URL.
9188 2013-07-23 Michael R. Mauger <michael@mauger.com>
9190 * progmodes/sql.el: Version 3.3
9191 (sql-product-alist): Improve oracle :prompt-cont-regexp.
9192 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
9193 (sql-interactive-remove-continuation-prompt): Rewrite, use
9194 functions above. Fix continuation prompt and complete output line
9196 (sql-redirect-one, sql-execute): Use `read-only-mode' on
9197 redirected output buffer.
9198 (sql-mode): Restore deleted code (Bug#13591).
9200 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9202 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
9204 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
9206 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
9208 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9209 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9210 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
9212 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
9214 * desktop.el (desktop-clear): Simplify; remove useless checks
9215 against invalid buffer names.
9216 (desktop-list*): Use cl-list*.
9217 (desktop-buffer-info, desktop-create-buffer): Simplify.
9219 2013-07-23 Leo Liu <sdl.web@gmail.com>
9221 * bookmark.el (bookmark-make-record): Restore NAME as a default
9224 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
9226 * emacs-lisp/autoload.el (autoload--setup-output): New function,
9227 extracted from autoload--insert-text.
9228 (autoload--insert-text): Remove.
9229 (autoload--print-cookie-text): New function, extracted from
9230 autoload--insert-cookie-text.
9231 (autoload--insert-cookie-text): Remove.
9232 (autoload-generate-file-autoloads): Adjust calls accordingly.
9234 * winner.el (winner-hook-installed-p): Remove.
9235 (winner-mode): Simplify accordingly.
9237 * subr.el (add-to-list): Fix compiler-macro when `append' is
9238 not constant. Don't use `cl-member' for the base case.
9240 * progmodes/subword.el: Fix boundary case (bug#13758).
9241 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9243 (subword-backward-regexp): Make it a constant.
9244 (subword-forward-internal): Don't treat a trailing capital as the
9245 beginning of a word.
9247 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9249 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9250 global value of tabulated-list-revert-hook (bug#14930).
9252 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9254 * desktop.el: Require 'cl-lib.
9255 (desktop-before-saving-frames-functions): New hook.
9256 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9257 for frames being saved. Rename from desktop--save-minibuffer-frames.
9258 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9259 Do not save frames with non-nil `desktop-dont-save' parameter.
9260 Filter out deleted frames.
9261 (desktop--find-frame): Use cl-find-if.
9262 (desktop--select-frame): Use cl-(first|second|third) to access values
9264 (desktop--make-frame): Use cl-delete-if.
9265 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9266 (desktop-restore-frames): Use cl-(first|second|third) to access values
9267 of desktop-mini. Look for visible frame at the end, not while
9270 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9271 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9272 Use string-match-p, looking-at-p (bug#14927).
9274 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9276 * desktop.el (desktop-saved-frame-states):
9277 Rename from desktop--saved-states; all users changed.
9278 (desktop-save-frames): Rename from desktop--save-frames.
9279 Do not save state to desktop file.
9280 (desktop-save): Save desktop-saved-frame-states to desktop file
9282 (desktop-restoring-frames-p): New function.
9283 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9284 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9285 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9287 * desktop.el: Correctly restore iconified frames.
9288 (desktop--filter-iconified-position): New function.
9289 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9291 2013-07-20 Glenn Morris <rgm@gnu.org>
9293 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9294 Let `message' do the formatting.
9295 (def-gdb-preempt-display-buffer): Add explicit format.
9297 * image-dired.el (image-dired-track-original-file):
9298 Use with-current-buffer.
9299 (image-dired-track-thumbnail): Use with-current-buffer.
9300 Avoid changing point of wrong window.
9302 * image-dired.el (image-dired-track-original-file):
9303 Avoid changing point of wrong window. (Bug#14909)
9305 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9307 * progmodes/gdb-mi.el (gdb-done-or-error):
9308 Guard against "%" in gdb output. (Bug#14127)
9310 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9312 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9315 * international/mule.el (coding-system-iso-2022-flags): Fix last
9318 2013-07-20 Kenichi Handa <handa@gnu.org>
9320 * international/mule.el (coding-system-iso-2022-flags):
9321 Add `8-bit-level-4'. (Bug#8522)
9323 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9325 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9328 * net/eww.el (eww-process-text-input): Allow inputting when the
9329 point is at the start of the line, as the properties aren't
9332 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9335 2013-07-19 Richard Stallman <rms@gnu.org>
9337 * epa.el (epa-popup-info-window): Doc fix.
9339 * subr.el (split-string): New arg TRIM.
9341 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9343 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9344 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9346 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9348 * filenotify.el (file-notify--library): Rename from
9349 `file-notify-support'. Do not autoload. Adapt all uses.
9350 (file-notify-supported-p): New defun.
9352 * autorevert.el (auto-revert-use-notify):
9353 Use `file-notify-supported-p' instead of `file-notify-support'.
9355 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9357 * net/tramp.el (tramp-file-name-for-operation):
9358 Add `file-notify-supported-p'.
9360 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9362 (tramp-sh-file-name-handler-alist): Add it as handler for
9363 `file-notify-supported-p '.
9365 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9366 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9367 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9368 Add `ignore' as handler for `file-notify-*' functions.
9370 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9372 * simple.el (line-move-partial, line-move): Don't start vscroll or
9373 scroll-up if the current line is not taller than the window.
9376 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9378 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9379 highlight question marks in the method names as strings.
9380 (ruby-block-beg-keywords): Inline.
9381 (ruby-font-lock-keyword-beg-re): Extract from
9382 `ruby-font-lock-keywords'.
9384 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9386 * frame.el (blink-cursor-blinks): New defcustom.
9387 (blink-cursor-blinks-done): New defvar.
9388 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9389 (blink-cursor-timer-function): Check if number of blinks has been
9391 (blink-cursor-suspend, blink-cursor-check): New defuns.
9393 2013-07-15 Glenn Morris <rgm@gnu.org>
9395 * edmacro.el (edmacro-format-keys): Fix previous change.
9397 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9399 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9400 The hack didn't work outside English locales anyway.
9402 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9404 * simple.el (define-alternatives): Rename from alternatives-define,
9405 per RMS' suggestion.
9407 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9409 * desktop.el (desktop-restore-frames): Change default to t.
9410 (desktop-restore-in-current-display): Now offer more options.
9411 (desktop-restoring-reuses-frames): New customization option.
9412 (desktop--saved-states): Doc fix.
9413 (desktop-filter-parameters-alist): New variable, renamed and expanded
9414 from desktop--excluded-frame-parameters.
9415 (desktop--target-display): New variable.
9416 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9417 (desktop--filter-tty*, desktop--filter-*-color)
9418 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9419 (desktop--filter-save-desktop-parm)
9420 (desktop-restore-in-original-display-p): New functions.
9421 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9422 (desktop--save-minibuffer-frames): New function, inspired by a similar
9423 function from Martin Rudalics.
9424 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9425 (desktop--restore-in-this-display-p): Remove.
9426 (desktop--find-frame): Rename from desktop--find-frame-in-display
9427 and add predicate argument.
9428 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9429 (desktop--reuse-list): New variable.
9430 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9432 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9434 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9436 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9438 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9440 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9441 Highlight conversion methods on Kernel.
9443 2013-07-13 Alan Mackenzie <acm@muc.de>
9445 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9446 and comment it out. This out-commenting enables certain C++
9447 declarations to be parsed correctly.
9449 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9451 * international/mule.el (define-coding-system): Doc fix.
9453 * simple.el (default-font-height): Don't call font-info if the
9454 frame's default font didn't change since the frame was created.
9457 2013-07-13 Leo Liu <sdl.web@gmail.com>
9459 * ido.el (ido-read-file-name): Guard against non-symbol value.
9461 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9463 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9466 2013-07-13 Leo Liu <sdl.web@gmail.com>
9468 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9469 ido-set-matches call. (Bug#6852)
9471 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9473 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9474 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9476 (ruby-font-lock-keywords): Distinguish calls to functions with
9477 module-like names from module references. Highlight character
9480 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9482 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9483 (gdb-send): Handle continued commands. (Bug#14847)
9485 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9487 * desktop.el (desktop--v2s): Remove unused local variable.
9488 (desktop-save-buffer): Make defvar-local; adjust docstring.
9489 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9490 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9492 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9494 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9496 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9498 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9501 2013-07-12 Glenn Morris <rgm@gnu.org>
9503 * doc-view.el: Require cl-lib at runtime too.
9504 (doc-view-remove-if): Remove.
9505 (doc-view-search-next-match, doc-view-search-previous-match):
9508 * edmacro.el: Require cl-lib at runtime too.
9509 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9510 (edmacro-mismatch, edmacro-subseq): Remove.
9512 * shadowfile.el: Require cl-lib.
9513 (shadow-remove-if): Remove.
9514 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9517 * wid-edit.el: Require cl-lib.
9518 (widget-choose): Use cl-remove-if.
9519 (widget-remove-if): Remove.
9521 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9522 (ebrowse-delete-if-not): Remove.
9523 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9524 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9525 Use cl-delete-if-not.
9527 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9529 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9530 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9532 2013-07-12 Leo Liu <sdl.web@gmail.com>
9534 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9536 2013-07-11 Glenn Morris <rgm@gnu.org>
9538 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9539 (edebug-gensym-index, edebug-gensym):
9540 Remove reimplementation of cl-gensym.
9541 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9543 * thumbs.el: Require cl-lib at run-time too.
9544 (thumbs-gensym-counter, thumbs-gensym):
9545 Remove reimplementation of cl-gensym.
9546 (thumbs-temp-file): Use cl-gensym.
9548 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9549 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9550 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9551 (ert--union, ert--gensym-counter, ert--gensym-counter)
9552 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9553 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9554 (ert-make-test-unbound, ert--expand-should-1)
9555 (ert--expand-should, ert--should-error-handle-error)
9556 (should-error, ert--explain-equal-rec)
9557 (ert--plist-difference-explanation, ert-select-tests)
9558 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9559 Use cl-lib functions rather than reimplementations.
9561 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9563 * net/tramp.el (tramp-methods): Extend docstring.
9564 (tramp-connection-timeout): New defcustom.
9565 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9566 (with-tramp-progress-reporter): Simplify.
9567 (tramp-process-actions): Improve messages.
9569 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9570 * net/tramp-sh.el (tramp-maybe-open-connection):
9571 Use `tramp-connection-timeout'.
9572 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9575 2013-07-11 Leo Liu <sdl.web@gmail.com>
9577 * ido.el (ido-read-file-name): Conform to the requirements of
9578 read-file-name. (Bug#11861)
9579 (ido-read-directory-name): Conform to the requirements of
9580 read-directory-name.
9582 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9584 * subr.el (delay-warning): New function.
9586 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9588 * simple.el (default-line-height): New function.
9589 (line-move-partial, line-move): Use it instead of computing the
9591 (line-move-partial): Always compute ROWH. If the last line is
9592 partially-visible, but its text is completely visible, allow
9593 cursor to enter such a partially-visible line.
9595 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9597 Improve error messages. (Bug#14808)
9599 * net/tramp.el (tramp-current-connection): New defvar, moved from
9601 (tramp-message-show-progress-reporter-message): Remove, not
9603 (tramp-error-with-buffer): Show message in minibuffer.
9604 Discard input before waiting. Reset connection timestamp.
9605 (with-tramp-progress-reporter): Improve messages.
9606 (tramp-process-actions): Use progress reporter. Delete process in
9607 case of error. Improve messages.
9609 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9610 Call `tramp-error-with-buffer' with vector and buffer.
9611 (tramp-current-connection): Remove.
9612 (tramp-maybe-open-connection): The car of
9613 `tramp-current-connection' are the first 3 slots of the vector.
9615 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9617 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9618 inside continued strings.
9620 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9622 Timestamp fixes for undo (Bug#14824).
9623 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9625 2013-07-10 Leo Liu <sdl.web@gmail.com>
9627 * files.el (require-final-newline): Allow safe local value.
9630 2013-07-09 Leo Liu <sdl.web@gmail.com>
9632 * ido.el (ido-read-directory-name): Handle fallback.
9633 (ido-read-file-name): Update DIR to ido-current-directory.
9635 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9637 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9639 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9640 "autoload". Remove "warn lower camel case" section, previously
9641 commented out. Highlight negation char. Do not highlight the
9642 target in singleton method definitions.
9644 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9646 * faces.el (tty-setup-hook): Declare the hook.
9648 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9649 and detect when a guard/pred depends on local vars (bug#14773).
9650 (pcase--u1): Adjust caller.
9652 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9654 * simple.el (line-move-partial, line-move): Account for
9656 (line-move-partial): Avoid setting vscroll when the last
9657 partially-visible line in window is of default height.
9659 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9661 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9664 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9666 * subr.el (read-quoted-char): Remove unused local variable `char'.
9668 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9670 * ediff.el (ediff-version): Version update.
9671 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9672 (ediff-merge-with-ancestor-command, ediff-directories-command)
9673 (ediff-directories3-command, ediff-merge-directories-command)
9674 (ediff-merge-directories-with-ancestor-command): New functions.
9675 All are command-line interfaces to ediff: to facilitate calling
9676 Emacs with the appropriate ediff functions invoked.
9678 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9679 (viper-save-kill-buffer): Check if buffer is modified.
9681 * viper.el (viper-version): Version update.
9682 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9684 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9686 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9687 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9688 (viper-intercept-ESC-key): Simplify.
9689 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9690 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9691 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9692 (viper-setup-ESC-to-escape): New functions.
9693 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9694 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9696 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9698 * simple.el (default-font-height, window-screen-lines):
9700 (line-move, line-move-partial): Use them instead of
9701 frame-char-height and window-text-height. This makes scrolling
9702 text smoother when the buffer's default face uses a font that is
9703 different from the frame's default font.
9705 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9707 * files.el (write-file): Do not display confirm dialog for NS,
9708 it does its own dialog, which can't be canceled (Bug#14578).
9710 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9712 * simple.el (line-move-partial): Adjust the row returned by
9713 posn-at-point for the current window-vscroll. (Bug#14567)
9715 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9717 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9718 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9721 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9723 * window.el (window-state-put-stale-windows): New variable.
9724 (window--state-put-2): Save list of windows without matching buffer.
9725 (window-state-put): Remove "bufferless" windows if possible.
9727 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9729 * simple.el (alternatives-define): Remove leftover :group keyword.
9732 2013-07-06 Leo Liu <sdl.web@gmail.com>
9734 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9735 (ido-enable-virtual-buffers): New variable.
9736 (ido-buffer-internal, ido-toggle-virtual-buffers)
9737 (ido-make-buffer-list): Use it.
9738 (ido-exhibit): Support turning on and off virtual buffers
9741 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9743 * simple.el (alternatives-define): New macro.
9745 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9747 * subr.el (read-quoted-char): Use read-key.
9748 (sit-for): Let read-event decode tty input (bug#14782).
9750 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9752 * calendar/todo-mode.el: Add handling of file deletion, both by
9753 mode command and externally. Fix various related bugs.
9754 Clarify Commentary and improve some documentation strings and code.
9755 (todo-delete-file): New command.
9756 (todo-check-file): New function.
9757 (todo-show): Handle external deletion of the file we're trying to
9758 show (bug#14688). Replace called-interactively-p by an optional
9759 prefix argument to avoid problematic interaction with catch form
9760 when byte compiled (bug#14702).
9761 (todo-quit): Handle external deletion of the archive's todo file.
9762 Make sure the buffer that was visiting the archive file is still
9763 live before trying to bury it.
9764 (todo-category-completions): Handle external deletion of any
9765 category completion files.
9766 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9767 of todo files, in case of external deletion.
9768 (todo-add-file): Replace unnecessary setq by let-binding.
9769 (todo-find-archive): Check whether there are any archives.
9770 Replace unnecessary setq by let-binding.
9771 (todo-archive-done-item): Use find-file-noselect to get the
9772 archive buffer whether or not the archive already exists.
9773 Remove superfluous code. Use file size instead of buffer-file-name to
9774 check if the archive is new; if it is, update list of archives.
9775 (todo-default-todo-file): Allow nil to be a valid value for when
9776 there are no todo files.
9777 (todo-reevaluate-default-file-defcustom): Use corrected definition
9778 of todo-default-todo-file.
9779 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9780 (todo-delete-category, todo-show-categories-table)
9781 (todo-category-number): Clarify comment.
9782 (todo-filter-items): Clarify documentation string.
9783 (todo-show-current-file, todo-display-as-todo-file)
9784 (todo-reset-and-enable-done-separator): Tweak documentation string.
9785 (todo-done-separator): Make separator length window-width, since
9786 bug#2749 is now fixed.
9788 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9790 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9791 Support both "gvfs-monitor-dir" and "inotifywait".
9792 (tramp-sh-file-inotifywait-process-filter): Rename from
9793 `tramp-sh-file-notify-process-filter'.
9794 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9795 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9797 2013-07-05 Leo Liu <sdl.web@gmail.com>
9799 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9801 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9803 * frame.el (display-pixel-height, display-pixel-width)
9804 (display-mm-height, display-mm-width): Mention behavior on
9805 multi-monitor setups in docstrings.
9806 (w32-display-monitor-attributes-list): Declare function.
9807 (display-monitor-attributes-list): Use it.
9809 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9811 * filenotify.el: New package.
9813 * autorevert.el (top): Require filenotify.el.
9814 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9816 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9817 (auto-revert-notify-handler): Use `file-notify-*' functions.
9819 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9821 * net/tramp.el (tramp-file-name-for-operation):
9822 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9824 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9825 for `file-notify-add-watch' and `file-notify-rm-watch'.
9826 (tramp-process-sentinel): Improve trace.
9827 (tramp-sh-handle-file-notify-add-watch)
9828 (tramp-sh-file-notify-process-filter)
9829 (tramp-sh-handle-file-notify-rm-watch)
9830 (tramp-get-remote-inotifywait): New defuns.
9832 2013-07-03 Juri Linkov <juri@jurta.org>
9834 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9835 call of `occur-read-primary-args' to interactive spec.
9837 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9838 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9840 2013-07-03 Matthias Meulien <orontee@gmail.com>
9842 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9843 `Buffer-menu-multi-occur'. Add it to the menu.
9844 (Buffer-menu-mode): Document it in docstring.
9845 (Buffer-menu-multi-occur): New command. (Bug#14673)
9847 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9849 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9850 keywords and built-ins.
9852 2013-07-03 Glenn Morris <rgm@gnu.org>
9854 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9856 Make info-xref checks case-sensitive by default
9857 * info.el (Info-find-node, Info-find-in-tag-table)
9858 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9859 Add option for exact case matching of nodes.
9860 * info-xref.el (info-xref): New custom group.
9861 (info-xref-case-fold): New option.
9862 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9864 2013-07-03 Leo Liu <sdl.web@gmail.com>
9866 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9868 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9870 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9871 middle of block statement initially, lower the depth. Remove
9872 FIXME comment, not longer valid. Remove middle of block statement
9873 detection, no need to do that anymore since we've been using
9874 `ruby-parse-region' here.
9876 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9878 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9880 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9882 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9884 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9886 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9887 (desktop-restore-in-current-display): New customization option.
9888 (desktop--excluded-frame-parameters): Add `font'.
9889 (desktop--save-frames): Rename from desktop--save-windows.
9890 (desktop--restore-in-this-display-p): New function.
9891 (desktop--make-full-frame): Remove unwanted width/height from
9892 full(width|height) frames.
9893 (desktop--restore-frames): Rename from desktop--restore-windows.
9894 Obey desktop-restore-current-display. Do not delete old frames or
9895 select a new frame unless we were able to restore at least one frame.
9897 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9899 * files.el (find-file-noselect): Simplify conditional expression.
9901 * textmodes/remember.el (remember-append-to-file):
9902 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9904 Add `remember-notes' function to store random notes across Emacs
9906 * textmodes/remember.el (remember-data-file): Add :set callback to
9907 affect notes buffer (if any).
9908 (remember-notes): New command.
9909 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9910 New defcustoms for the `remember-notes' function.
9911 (remember-notes-save-and-bury-buffer): New command.
9912 (remember-notes-mode-map): New variable.
9913 (remember-mode): New minor mode.
9914 (remember-notes--kill-buffer-query): New function.
9915 * startup.el (initial-buffer-choice): Add notes to custom type.
9917 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9919 * bindings.el (right-char, left-char): Don't call sit-for, this is
9920 no longer needed. Use arithmetic comparison only for numerical
9923 * international/mule-cmds.el (select-safe-coding-system):
9924 Handle the case of FROM being a string correctly. (Bug#14755)
9926 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9928 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9929 progression on degenerate tables.
9930 (shr-rescale-image): ImageMagick animated images currently don't work.
9932 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9934 Some fixes and improvements for desktop frame restoration.
9935 It is still experimental and disabled by default.
9936 * desktop.el (desktop--save-windows): Put the selected frame at
9937 the head of the list.
9938 (desktop--make-full-frame): New function.
9939 (desktop--restore-windows): Try to re-select the frame that was
9940 selected upon saving. Do not abort if some frames fail to restore,
9941 just show an error message and continue. Set up maximized frames
9942 so they have default non-maximized dimensions.
9944 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9946 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9947 Don't start heredoc inside a string or comment.
9949 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9951 * bindings.el (visual-order-cursor-movement): New defcustom.
9952 (right-char, left-char): Provide visual-order cursor motion by
9953 calling move-point-visually. Update the doc strings.
9955 2013-06-28 Kenichi Handa <handa@gnu.org>
9957 * international/mule.el (define-coding-system): New coding system
9958 properties :inhibit-null-byte-detection,
9959 :inhibit-iso-escape-detection, and :prefer-utf-8.
9960 (set-buffer-file-coding-system): If :charset-list property of
9961 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9962 appropriate for setting.
9964 * international/mule-cmds.el (select-safe-coding-system):
9965 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9966 multibyte characters, return utf-8 (or one of its siblings).
9968 * international/mule-conf.el (prefer-utf-8): New coding system.
9969 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9972 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9974 * net/shr.el (shr-render-region): New function.
9976 * net/eww.el: Autoload `eww-browse-url'.
9978 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9980 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9981 Adapt to `package-desc-version' being a list.
9982 Use `package--ac-desc-version' to retrieve version from a package
9985 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9987 New experimental feature to save&restore window and frame setup.
9988 * desktop.el (desktop-save-windows): New defcustom.
9989 (desktop--saved-states): New var.
9990 (desktop--excluded-frame-parameters): New defconst.
9991 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9992 (desktop--restore-windows, desktop--save-windows): New functions.
9993 (desktop-save): Call `desktop--save-windows'.
9994 (desktop-read): Call `desktop--restore-windows'.
9996 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9998 * net/shr.el (add-face-text-property): Remove compat definition.
10000 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10002 * info.el (Info-try-follow-nearest-node): Move search for footnote
10003 above search for node name to prevent missing a footnote (bug#14717).
10005 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
10007 * obsolete/otodo-mode.el: Add obsolescence info to file header.
10009 2013-06-27 Leo Liu <sdl.web@gmail.com>
10011 * net/eww.el (eww-read-bookmarks): Check file size.
10013 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
10016 advice--pending if newdef is nil or an autoload (bug#13820).
10017 (advice-mapc): New function.
10019 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10021 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
10023 (eww-mode-map): Add a menu bar.
10024 (eww-add-bookmark): New command.
10025 (eww-bookmark-mode): New mode and commands.
10026 (eww-add-bookmark): Remove newlines from the title.
10027 (eww-bookmark-browse): Don't bug out if it's the only window.
10029 2013-06-26 Glenn Morris <rgm@gnu.org>
10031 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
10032 (hfy-size): Handle ttys. (Bug#14668)
10034 * info-xref.el: Update for Texinfo 5 change in *note format.
10035 (info-xref-node-re, info-xref-note-re): New constants.
10036 (info-xref-check-buffer): Use info-xref-note-re.
10038 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
10040 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
10042 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
10043 nil terminate the loop (bug#14718).
10045 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10047 * net/eww.el: Rework history traversal. When going forward/back,
10048 put these actions into the history, too, so that they can be
10050 (eww-render): Move the history reset to the correct buffer.
10052 2013-06-25 Juri Linkov <juri@jurta.org>
10054 * files-x.el (modify-dir-local-variable): Change the header comment
10055 in the file with directory local variables. (Bug#14692)
10057 * files-x.el (read-file-local-variable-value): Add `default'.
10060 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10062 * net/eww.el (eww-make-unique-file-name): Create a unique file
10063 name before saving to entering `y' accidentally asynchronously.
10065 2013-06-25 Ivan Kanis <ivan@kanis.fr>
10067 * net/eww.el (eww-download): New command and keystroke.
10069 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10071 * net/eww.el (eww-copy-page-url): Change name of command.
10073 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
10074 be more consistent with Info and dired.
10076 * net/eww.el (eww-mode-map): Ditto.
10078 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10080 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
10081 packages from archives.
10082 (package-archive-contents): Change format; include obsolete packages.
10083 (package-desc): Use `dir' to mark builtin packages.
10084 (package--from-builtin): Set the `dir' field to `builtin'.
10085 (generated-autoload-file, version-control): Declare.
10086 (package-compute-transaction): Change first arg and return value to be
10087 lists of package-descs. Adjust to new package-archive-contents format.
10088 (package--add-to-archive-contents): Adjust to new
10089 package-archive-contents format.
10090 (package-download-transaction): Arg is now a list of package-descs.
10091 (package-install): If `pkg' is a package name, pass it as
10092 a requirement, so it is subject to the usual (e.g. disabled) checks.
10093 (describe-package): Accept package-desc as well.
10094 (describe-package-1): Describe a specific package-desc. Add links to
10095 other package-descs for the same package name.
10096 (package-menu-describe-package): Pass the actual package-desc.
10097 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
10099 (package-desc-status): New function.
10100 (package-menu--refresh): New function, extracted
10101 from package-menu--generate.
10102 (package-menu--generate): Use it.
10103 (package-delete): Update package-alist.
10104 (package-menu-execute): Don't call package-initialize.
10106 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
10107 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
10108 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
10109 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
10110 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
10111 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
10113 2013-06-25 Martin Rudalics <rudalics@gmx.at>
10115 * window.el (window--state-get-1): Workaround for bug#14527.
10116 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
10118 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
10120 * net/eww.el (eww-back-url): Implement the history by stashing all
10121 the data into a list.
10122 (eww-forward-url): Allow going forward in the history, too.
10124 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
10126 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
10127 for values and use read--expression for expressions (bug#14710).
10128 (read-file-local-variable): Avoid setq.
10129 (read-file-local-variable-mode): Use minor-mode-list.
10131 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10133 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
10136 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10138 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
10139 Update imenu-support when dialect changes.
10141 2013-06-25 Leo Liu <sdl.web@gmail.com>
10143 * ido.el (ido-read-internal): Allow forward slash on windows.
10145 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10147 * net/eww.el (eww): Start of strings is \\`, not ^.
10149 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10151 * net/shr.el (shr-browse-url): Fix interactive spec.
10153 * net/eww.el (eww): Add a trailing slash to domain names.
10155 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
10157 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
10159 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
10161 * net/shr.el (shr-browse-url): Use an external browser if given a
10164 * net/eww.el (eww-external-browser): Move to shr.
10166 2013-06-24 Ivan Kanis <ivan@kanis.fr>
10168 * net/eww.el (eww): Work more correctly for file: URLs.
10169 (eww-detect-charset): Allow quoted charsets.
10170 (eww-yank-page-url): New command and keystroke.
10172 2013-06-24 Daiki Ueno <ueno@gnu.org>
10174 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
10175 file name of gpg executable.
10176 (epg-context-program): New function.
10177 (epg-context-home-directory): New function.
10178 (epg-context-set-program): New function.
10179 (epg-context-set-home-directory): New function.
10180 (epg--start): Use `epg-context-program' instead of
10182 (epg--list-keys-1): Likewise.
10184 2013-06-24 Leo Liu <sdl.web@gmail.com>
10186 * ido.el (ido-read-internal): Fix bug#14620.
10188 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10190 * faces.el (face-documentation): Simplify.
10191 (read-face-attribute, tty-find-type, x-resolve-font-name):
10192 Use `string-match-p'.
10193 (list-faces-display): Use `string-match-p'. Simplify.
10194 (face-spec-recalc): Check face to avoid face alias loops.
10195 (read-color): Use `string-match-p' and non-capturing parenthesis.
10197 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10199 * net/shr.el (shr-rescale-image): Use the new
10200 :max-width/:max-height functionality.
10202 2013-06-23 Ivan Kanis <ivan@kanis.fr>
10204 * net/eww.el (eww-search-prefix): New variable.
10206 (eww-external-browser): New variable.
10207 (eww-mode-map): New keystroke.
10208 (eww-browse-with-external-browser): New command.
10210 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
10212 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
10214 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
10215 Don't skip aligning the next header field when padding is 0;
10216 otherwise, field width is not respected unless the title is as
10219 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * emacs-lisp/package.el (package-el-version): Remove.
10222 (package-process-define-package): Fix inf-loop.
10223 (package-install): Allow symbols as arguments again.
10225 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10227 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
10228 add some more keyword-like methods.
10229 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10231 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10233 * bs.el (bs-buffer-show-mark): Make defvar-local.
10234 (bs-mode): Use setq-local.
10236 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10237 (emacs-lock--try-unlocking): Make defvar-local.
10239 2013-06-22 Glenn Morris <rgm@gnu.org>
10241 * play/cookie1.el (cookie-apropos): Minor simplification.
10243 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10245 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10247 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10248 `regexp-opt', it breaks the build during dumping.
10250 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10252 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10253 Highlight keyword-like methods on Kernel and Module with
10254 font-lock-builtin-face.
10255 (auto-mode-alist): Consolidate different entries into one regexp
10256 and add more *file-s.
10258 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10260 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10262 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10263 (diary-entry): Use it in the action of this button type instead of
10266 * calendar/todo-mode.el: New version.
10267 (todo-add-category): Append new category to end of file and give
10268 it the highest number, instead of putting it at the beginning and
10269 giving it 0. Incorporate noninteractive functionality.
10270 (todo-forward-category): Adapt to 1-based category numbering.
10271 Allow skipping over archived categories.
10272 (todo-backward-category): Derive from todo-forward-category.
10273 (todo-backward-item, todo-forward-item): Make noninteractive and
10274 delegate interactive part to new commands. Make sensitive to done items.
10275 (todo-categories): Make value an alist of category names and
10276 vectors of item counts.
10277 (todo-category-beg): Make a defconst.
10278 (todo-category-number): Use 1 instead of 0 as initial value.
10279 (todo-category-select): Make sensitive to overlays, optional item
10280 highlighting and done items.
10281 (todo-delete-item): Make sensitive to overlays and marked and done items.
10282 (todo-edit-item): Make sensitive to overlays and editing of
10283 date/time header optional. Add format checks.
10284 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10285 no-op if point is not on an item. Advertise using todo-edit-quit.
10286 (todo-edit-mode): Make sensitive to new format, font-locking, and
10287 multiple todo files.
10288 (todo-insert-item, todo-insert-item-here): Derive from
10289 todo-basic-insert-item and extend functionality.
10290 (todo-item-end, todo-item-start): Make sensitive to done items.
10291 (todo-item-string): Don't return text properties. Restore point.
10292 (todo-jump-to-category): Make sensitive to multiple todo files and
10293 todo archives. Use extended category completion.
10294 (todo-lower-item, todo-raise-item): Rename to *-priority and
10295 derive from todo-set-item-priority.
10296 (todo-mode): Derive from special-mode. Make sensitive to new
10297 format, font-locking and multiple todo files. Make read-only.
10298 (todo-mode-map): Don't suppress digit keys, so they can supply
10299 prefix arguments. Add many new key bindings.
10300 (todo-prefix): Insert as an overlay instead of file text.
10301 Change semantics from diary date expression to purely visual mark.
10302 (todo-print): Rename to todo-print-buffer. Make buffer display
10303 features printable. Remove option to restrict number of items
10304 printed. Add option to print to file.
10305 (todo-print-function): Rename to todo-print-buffer-function.
10306 (todo-quit): Extend to handle exiting new todo modes.
10307 (todo-remove-item): Make sensitive to overlays.
10308 (todo-save): Extend to buffers of filtered items.
10309 (todo-show): Make sensitive to done items, multiple todo files and
10310 new todo modes. Offer to convert legacy todo file before creating
10311 first new todo file.
10312 (todo-show-priorities): Rename to todo-top-priorities.
10313 Change semantics of value 0.
10314 (todo-top-priorities): Rename to todo-filter-top-priorities,
10315 derive from todo-filter-items and extend functionality.
10316 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10317 and extend functionality to other types of filtered items.
10318 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10319 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10320 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10321 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10322 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10323 (todo-edit-mode-hook, todo-entry-prefix-function)
10324 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10325 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10326 (todo-initials, todo-insert-threshold, todo-item-string-start)
10327 (todo-line-string, todo-menu, todo-mode-hook)
10328 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10329 (todo-print-priorities, todo-remove-separator)
10330 (todo-save-top-priorities-too, todo-string-count-lines)
10331 (todo-string-multiline-p, todo-time-string-format)
10332 (todo-tmp-buffer-name): Remove.
10333 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10334 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10335 (todo-edit-category-diary-inclusion)
10336 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10337 (todo-edit-file, todo-edit-item-date-day)
10338 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10339 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10340 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10341 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10342 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10343 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10344 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10345 (todo-filter-top-priorities-multifile, todo-find-archive)
10346 (todo-find-filtered-items-file, todo-go-to-source-item)
10347 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10348 (todo-jump-to-archive-category, todo-lower-category)
10349 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10350 (todo-move-category, todo-move-item, todo-next-button)
10351 (todo-next-item, todo-padded-string, todo-powerset)
10352 (todo-previous-button, todo-previous-item)
10353 (todo-print-buffer-to-file, todo-raise-category)
10354 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10355 (todo-set-category-number, todo-set-item-priority)
10356 (todo-set-top-priorities-in-category)
10357 (todo-set-top-priorities-in-file, todo-show-categories-table)
10358 (todo-sort-categories-alphabetically-or-numerically)
10359 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10360 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10361 (todo-toggle-item-header, todo-toggle-item-highlighting)
10362 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10363 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10364 (todo-unarchive-items, todo-unmark-category): New commands.
10365 (todo-absolute-file-name, todo-add-to-buffer-list)
10366 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10367 (todo-basic-insert-item, todo-category-completions)
10368 (todo-category-number, todo-category-string-matcher-1)
10369 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10370 (todo-check-format, todo-clear-matches)
10371 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10372 (todo-current-category, todo-date-string-matcher)
10373 (todo-define-insertion-command, todo-diary-expired-matcher)
10374 (todo-diary-goto-entry, todo-diary-item-p)
10375 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10376 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10377 (todo-done-item-section-p, todo-done-separator)
10378 (todo-done-string-matcher, todo-files, todo-filter-items)
10379 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10380 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10381 (todo-insert-category-line, todo-insert-item-from-calendar)
10382 (todo-insert-sort-button, todo-insert-with-overlays)
10383 (todo-insertion-command-name, todo-insertion-key-bindings)
10384 (todo-label-to-key, todo-longest-category-name-length)
10385 (todo-make-categories-list, todo-mode-external-set)
10386 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10387 (todo-modes-set-3, todo-multiple-filter-files)
10388 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10389 (todo-read-category, todo-read-date, todo-read-dayname)
10390 (todo-read-file-name, todo-read-time)
10391 (todo-reevaluate-category-completions-files-defcustom)
10392 (todo-reevaluate-default-file-defcustom)
10393 (todo-reevaluate-filelist-defcustoms)
10394 (todo-reevaluate-filter-files-defcustom)
10395 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10396 (todo-reset-done-separator, todo-reset-done-separator-string)
10397 (todo-reset-done-string, todo-reset-global-current-todo-file)
10398 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10399 (todo-reset-prefix, todo-set-categories)
10400 (todo-set-date-from-calendar, todo-set-show-current-file)
10401 (todo-set-top-priorities, todo-short-file-name)
10402 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10403 (todo-total-item-counts, todo-update-buffer-list)
10404 (todo-update-categories-display, todo-update-categories-sexp)
10405 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10407 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10409 (todo-categories, todo-display, todo-edit, todo-faces)
10410 (todo-filtered): New defgroups.
10411 (todo-archived-only, todo-button, todo-category-string, todo-date)
10412 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10413 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10414 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10415 (todo-add-item-if-new-category, todo-always-add-time-string)
10416 (todo-categories-align, todo-categories-archived-label)
10417 (todo-categories-category-label, todo-categories-diary-label)
10418 (todo-categories-done-label, todo-categories-number-separator)
10419 (todo-categories-todo-label, todo-categories-totals-label)
10420 (todo-category-completions-files, todo-completion-ignore-case)
10421 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10422 (todo-done-separator-string, todo-done-string)
10423 (todo-files-function, todo-filter-done-items, todo-filter-files)
10424 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10425 (todo-initial-category, todo-initial-file, todo-item-mark)
10426 (todo-legacy-date-time-regexp, todo-mode-line-function)
10427 (todo-nondiary-marker, todo-number-prefix)
10428 (todo-print-buffer-function, todo-show-current-file)
10429 (todo-show-done-only, todo-show-first, todo-show-with-done)
10430 (todo-skip-archived-categories, todo-top-priorities-overrides)
10431 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10432 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10434 (todo-category-done, todo-date-pattern, todo-date-string-start)
10435 (todo-diary-items-buffer, todo-done-string-start)
10436 (todo-filtered-items-buffer, todo-item-start)
10437 (todo-month-abbrev-array, todo-month-name-array)
10438 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10439 (todo-top-priorities-buffer): New defconsts.
10440 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10441 (todo-categories-with-marks, todo-category-string-face)
10442 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10443 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10444 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10445 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10446 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10447 (todo-font-lock-keywords, todo-global-current-todo-file)
10448 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10449 (todo-insertion-commands-args)
10450 (todo-insertion-commands-args-genlist)
10451 (todo-insertion-commands-names, todo-insertion-map)
10452 (todo-key-bindings-t, todo-key-bindings-t+a)
10453 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10454 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10455 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10456 (todo-visited): New variables.
10458 2013-06-21 Glenn Morris <rgm@gnu.org>
10460 * play/cookie1.el (cookie-apropos): Add optional display argument.
10461 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10462 (psychoanalyze-pinhead): Use cookie-doctor.
10464 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10466 * emacs-lisp/package.el (tar-get-file-descriptor)
10467 (tar--extract): Declare.
10469 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10471 Extend flymake's warning predicate to be a function (bug#14217).
10472 * progmodes/flymake.el (flymake-warning-predicate): New.
10473 (flymake-parse-line): Use it.
10474 (flymake-warning-re): Make obsolete alias to
10475 `flymake-warning-predicate'.
10477 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10479 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10480 (package-obsolete-list): Remove.
10481 (package-activate): Remove min-version argument. Add `force' argument.
10482 Adjust to new package-alist format.
10483 (package-mark-obsolete): Remove.
10484 (package-unpack): Force reload of the package's autoloads.
10485 (package-installed-p): Check builtins if the installed package is not
10487 (package-initialize): Don't reset package-obsolete-list.
10488 Don't specify which package version to activate.
10489 (package-process-define-package, describe-package-1)
10490 (package-menu--generate): Adjust to new package-alist format.
10492 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10494 * allout-widgets.el (allout-widgets-mode-off)
10495 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10496 (allout-widgets-post-command-business)
10497 (allout-widgets-after-copy-or-kill-function)
10498 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10499 (allout-decorate-item-and-context)
10500 (allout-graphics-modification-handler): Fix typos in docstrings.
10501 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10503 * cmuscheme.el (scheme-start-file): Doc fix.
10504 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10505 (scheme-input-filter): Use `string-match-p'.
10507 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10509 * dired-x.el: Use Dired consistently in docstrings.
10511 * dired.el: Use Dired consistently in docstrings.
10512 (dired-readin, dired-mode): Use `setq-local'.
10513 (dired-switches-alist): Make defvar-local.
10514 (dired-buffers-for-dir): Use `zerop'.
10515 (dired-safe-switches-p, dired-switches-escape-p)
10516 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10517 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10518 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10519 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10520 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10521 (dired-toggle-marks, dired-mark-files-containing-regexp)
10522 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10523 (dired-flag-auto-save-files, dired-flag-backup-files):
10524 Use `looking-at-p'.
10525 (dired-mark-files-regexp, dired-build-subdir-alist):
10526 Use `string-match-p', `looking-at-p'.
10528 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10529 (direct-print-region-helper): Use `string-match-p'.
10531 2013-06-21 Leo Liu <sdl.web@gmail.com>
10533 * comint.el (comint-redirect-results-list-from-process):
10536 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10538 * net/eww.el (eww-update-header-line-format): Quote % characters.
10540 2013-06-21 Glenn Morris <rgm@gnu.org>
10542 * play/cookie1.el (cookie): New custom group.
10543 (cookie-file): New option.
10544 (cookie-check-file): New function.
10545 (cookie): Make it interactive. Make start and end messages optional.
10546 Interactively, display the result. Default to cookie-file.
10547 (cookie-insert): Default to cookie-file.
10548 (cookie-snarf): Make start and end messages optional.
10549 Default to cookie-file. Use with-temp-buffer.
10550 (cookie-read): Rename from read-cookie.
10551 Make start and end messages optional. Default to cookie-file.
10552 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10553 Do not autoload it.
10554 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10555 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10557 2013-06-21 Leo Liu <sdl.web@gmail.com>
10559 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10561 2013-06-21 Glenn Morris <rgm@gnu.org>
10563 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10565 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10566 Daniel Hackney <dan@haxney.org>
10568 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10569 Consolidate the single-file vs tarball code.
10570 (package-desc-suffix): New function.
10571 (package-desc-full-name): Don't bother inlining it.
10572 (package-load-descriptor): Return the new package-desc.
10573 (package-mark-obsolete): Remove unused arg `package'.
10574 (package-unpack): Make it work for single files as well.
10575 Make it update package-alist.
10576 (package--make-autoloads-and-stuff): Rename from
10577 package--make-autoloads-and-compile. Don't compile any more.
10578 (package--compile): New function.
10579 (package-generate-description-file): New function, extracted from
10580 package-unpack-single.
10581 (package-unpack-single): Remove.
10582 (package--with-work-buffer): Add indentation and debugging info.
10583 (package-download-single): Remove.
10584 (package-install-from-archive): Rename from package-download-tar, make
10585 it take a pkg-desc, and make it work for single files as well.
10586 (package-download-transaction): Simplify.
10587 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10588 external tar program.
10589 (package-install-from-buffer): Remove `pkg-desc' argument.
10590 Use package-tar-file-info for tar-mode buffers.
10591 (package-install-file): Simplify accordingly.
10592 (package-archive-base): Change to take a pkg-desc.
10593 * tar-mode.el (tar--check-descriptor): New function, extracted from
10594 tar-get-descriptor.
10595 (tar-get-descriptor): Use it.
10596 (tar-get-file-descriptor): New function.
10597 (tar--extract): New function, extracted from tar-extract.
10598 (tar--extract): Use it.
10599 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10600 case the summary uses non-ascii. Adjust to new calling convention of
10601 package-tar-file-info.
10603 2013-06-21 Leo Liu <sdl.web@gmail.com>
10605 * comint.el (comint-redirect-results-list-from-process):
10606 Fix random delay. (Bug#14681)
10608 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10610 * profiler.el (profiler-format-number): Use log, not log10.
10612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10614 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10616 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10619 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10621 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10622 (AUTOGENEL): ... here.
10623 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10624 (cl--defsubst-expand): Use it.
10626 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10628 * subr.el (log10): Move here from C code, and declare as obsolete.
10629 All uses of (log10 X) replaced with (log X 10).
10631 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10633 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10634 Declare with `defvar-local'.
10635 (tabulated-list-use-header-line, tabulated-list-entries)
10636 (tabulated-list-padding, tabulated-list-printer)
10637 (tabulated-list-sort-key): Declare with `defvar-local'.
10638 (tabulated-list-init-header, tabulated-list-print-fake-header):
10641 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10643 * arc-mode.el (archive-mode): Add `archive-write-file' to
10644 `write-contents-functions' also for remote files. (Bug#14652)
10646 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10648 * cus-edit.el (custom-commands): Fix typos.
10649 (custom-display): Fix tooltip text.
10650 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10651 Fix typos in docstrings.
10652 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10653 (custom-unlispify-menu-entry, custom-magic-value-create)
10654 (custom-add-see-also, custom-group-value-create): Use ?\s.
10655 (custom-guess-type, customize-apropos, editable-field)
10656 (custom-face-value-create): Use `string-match-p'.
10657 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10659 * custom.el (custom-load-symbol): Use `string-match-p'.
10661 * ansi-color.el: Convert to lexical binding.
10662 (ansi-colors): Fix URL.
10663 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10664 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10665 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10667 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10669 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10671 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10673 2013-06-19 Tom Tromey <tromey@redhat.com>
10675 * net/eww.el (eww-top-url): Remove.
10676 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10677 (eww-render): Set new variables. Don't set eww-top-url.
10678 (eww-handle-link): Handle "prev", "home", and "contents".
10679 Downcase the rel text.
10680 (eww-top-url): Choose best top URL.
10682 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10684 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10685 relying in widget.el. Using widget.el leads to too many
10686 user interface inconsistencies.
10687 (eww-self-insert): Implement entering commands in text fields.
10688 (eww-process-text-input): New function to make text input field editing
10690 (eww-submit): Rewrite to use the new-style form methods.
10691 (eww-select-display): Display the correct selected item.
10692 (eww-change-select): Implement changing the select value.
10693 (eww-toggle-checkbox): Implement radio/checkboxes.
10694 (eww-update-field): Fix compilation error.
10695 (eww-tag-textarea): Implement <textarea>.
10697 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10698 we don't shadow mode-specific bindings.
10700 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10703 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10705 2013-06-19 Glenn Morris <rgm@gnu.org>
10707 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10709 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10711 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10714 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10716 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10718 * net/browse-url.el (browse-url-browser-function):
10719 `eww-browse-url' has the right calling signature, `eww' does not.
10721 2013-06-19 Glenn Morris <rgm@gnu.org>
10723 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10724 Only eval autoloaded macros.
10725 (byte-compile-autoload): Only give the macro warning for macros.
10727 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10728 (ps-underlined-faces): Declare.
10730 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10731 (speedbar-add-supported-extension): Declare.
10733 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10734 Don't include a date stamp in the header of the generated file;
10735 it leads to needless differences between output files.
10737 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10739 * net/secrets.el (secrets-struct-secret-content-type):
10740 Replace check of introspection data by a test call of "CreateItem".
10741 Some servers do not offer introspection.
10743 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * electric.el (electric-pair-mode): Improve interaction with
10746 electric-layout-mode.
10747 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10748 (electric-pair-syntax): Use text-mode-syntax-table in comments
10750 (electric-pair--insert): New function.
10751 (electric-pair-post-self-insert-function): Use it and
10752 electric--after-char-pos.
10754 2013-06-19 Leo Liu <sdl.web@gmail.com>
10756 * progmodes/octave.el (octave-help): Fix regexp.
10758 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10760 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10761 (shr-table-horizontal-line): Allow nil as a value, and change the
10763 (shr-insert-table-ruler): Respect the nil value.
10765 2013-06-18 Tom Tromey <tromey@barimba>
10767 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10769 (eww-open-file): New defun.
10770 (eww-render): Initialize new variables.
10771 (eww-display-html): Handle "link" and "a".
10772 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10773 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10774 (eww-back-url): Rename from eww-previous-url.
10775 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10778 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10780 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10781 Distinguish ternary operator tokens from slash symbol and slash
10784 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10786 Convert symbol prettification into minor mode and global minor mode.
10788 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10789 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10790 (prettify-symbols--keywords): Rename from
10791 `prog-prettify-symbols-alist' and make a local defvar.
10792 (prettify-symbols--compose-symbol): Rename from
10793 `prog--prettify-font-lock-compose-symbol'.
10794 (prettify-symbols--make-keywords): Rename from
10795 `prog-prettify-font-lock-symbols-keywords' and simplify.
10796 (prog-prettify-install): Remove.
10797 (prettify-symbols-mode): New minor mode, based on
10798 `prog-prettify-install'.
10799 (turn-on-prettify-symbols-mode): New function.
10800 (global-prettify-symbols-mode): New globalized minor mode.
10802 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10803 * progmodes/cfengine.el (cfengine3-mode):
10804 * progmodes/perl-mode.el (perl-mode): Don't call
10805 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10807 2013-06-18 Juri Linkov <juri@jurta.org>
10809 * files-x.el (modify-file-local-variable-message): New function.
10810 (modify-file-local-variable)
10811 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10812 and call `modify-file-local-variable-message' when it's non-nil.
10813 (add-file-local-variable, delete-file-local-variable)
10814 (add-file-local-variable-prop-line)
10815 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10816 and use it. (Bug#9820)
10818 2013-06-18 Juri Linkov <juri@jurta.org>
10820 * emulation/vi.el (vi-shell-op):
10821 * emulation/vip.el (vip-execute-com, ex-command):
10822 * emulation/viper-cmd.el (viper-exec-bang):
10823 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10824 the call of `shell-command-on-region'. (Bug#14637)
10826 * simple.el (shell-command-on-region): Doc fix.
10828 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10830 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10833 2013-06-18 Glenn Morris <rgm@gnu.org>
10835 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10837 * newcomment.el (comment-search-forward, comment-search-backward):
10838 Doc fix. (Bug#14376)
10840 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10842 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10843 (buffer-face-mode-invoke): Doc fix.
10845 2013-06-18 Matthias Meulien <orontee@gmail.com>
10847 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10848 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10850 2013-06-18 Glenn Morris <rgm@gnu.org>
10852 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10853 Replace obsolete function generic-make-keywords with its expansion.
10855 * progmodes/python.el (ffap-alist): Declare.
10857 * textmodes/reftex.el (bibtex-mode-map): Declare.
10859 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10862 (package-unpack, package-unpack-single): Return the pkg-dir.
10863 (package-download-transaction): Use it to update package-alist.
10865 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10867 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10870 2013-06-17 Juri Linkov <juri@jurta.org>
10872 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10874 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10876 * emacs-lisp/package.el (package-load-descriptor):
10877 Remove `with-syntax-table' call, `read' doesn't need it.
10878 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10880 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10882 * startup.el (command-line): Expand package name returned by
10883 `package--description-file' (bug#14639).
10885 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10887 * emacs-lisp/package.el (package-load-descriptor): Do not call
10888 `emacs-lisp-mode', just use its syntax table.
10890 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10892 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10893 `font-lock-extra-managed-props' if any prettifying keyword is added.
10894 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10895 (prog-mode): Use `setq-local'.
10897 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10899 * international/characters.el (standard-case-table): Set syntax of ?»
10900 and ?« to punctuation.
10902 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10904 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10905 Save relevant match data before calling `syntax-ppss' (bug#14595).
10907 2013-06-15 Juri Linkov <juri@jurta.org>
10909 * files-x.el (modify-file-local-variable-prop-line): Add local
10910 variables to the end of the existing comment on the first line.
10911 Use `file-auto-mode-skip' to skip interpreter magic line,
10912 and also skip XML declaration.
10914 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * startup.el (package--builtin-versions): New var.
10917 (package-subdirectory-regexp): Remove.
10918 (package--description-file): Hard code its value instead.
10920 * emacs-lisp/package.el: Don't activate packages older than builtin.
10921 (package-obsolete-list): Rename from package-obsolete-alist, and make
10922 it into a simple list of package-desc.
10923 (package-strip-version): Remove.
10924 (package-built-in-p): Use package--builtin-versions.
10925 (package-mark-obsolete): Simplify.
10926 (package-process-define-package): Mark it obsolete if older than the
10928 (package-handle-response): Use line-end-position.
10929 (package-read-archive-contents, package--download-one-archive):
10931 (package--add-to-archive-contents): Skip if older than the builtin or
10933 (package-menu-describe-package): Fix last change.
10934 (package-list-unversioned): New var.
10935 (package-menu--generate): Use it.
10937 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10938 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10939 (autoload-builtin-package-versions): New variable.
10940 (autoload-generate-file-autoloads): Use them.
10941 Remove the list of autoloaded functions/macros from the
10942 (autoload...) comments.
10944 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10946 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10948 * simple.el (line-move-partial): Don't jump to the next screen
10949 line as soon as it becomes visible. Instead, continue enlarging
10950 the vscroll until the portion of a tall screen line that's left on
10951 display is about the height of the frame's default font.
10954 2013-06-15 Glenn Morris <rgm@gnu.org>
10956 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10957 compilation-error-regexp-alist void, or local while let-bound.
10959 * progmodes/make-mode.el (makefile-mode-syntax-table):
10960 Treat "=" as punctuation. (Bug#14614)
10962 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10964 * help-fns.el (describe-variable):
10965 Add extra line for permanent-local variables.
10967 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10969 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10970 Add export, import, library. (Bug#9164)
10971 (library): Set indent function.
10973 2013-06-14 Glenn Morris <rgm@gnu.org>
10975 * term/xterm.el (xterm--query):
10976 Stop after first matching handler. (Bug#14615)
10978 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10980 Add support for dired in saveplace.
10981 * dired.el (dired-initial-position-hook): New variable.
10982 (dired-initial-position): Call hook to place cursor position.
10983 * saveplace.el (save-place-to-alist): Add dired position.
10984 (save-place-dired-hook): New function.
10986 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10989 through a symbol rather than letrec.
10991 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10992 (package-desc): Add `dir' field.
10993 (package-desc-full-name): New function.
10994 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10995 (package-maybe-load-descriptor): Remove.
10996 (package-load-all-descriptors): Just call package-load-descriptor.
10997 (package--disabled-p): New function.
10998 (package-desc-vers, package-desc-doc): Remove aliases.
10999 (package--dir): Remove function.
11000 (package-activate): Check if a package is disabled.
11001 (package-process-define-package): New function, extracted from
11003 (define-package): Turn into a place holder.
11004 (package-unpack-single, package-tar-file-info):
11005 Use package--description-file.
11006 (package-compute-transaction): Use package--disabled-p.
11007 (package-download-transaction): Don't call
11008 package-maybe-load-descriptor since they're all loaded anyway.
11009 (package-install): Change argument to be a pkg-desc.
11010 (package-delete): Use a single pkg-desc argument.
11011 (describe-package-1): Use package-desc-dir instead of package--dir.
11012 Use package-desc property instead of package-symbol.
11013 (package-install-button-action): Adjust accordingly.
11014 (package--push): Rewrite.
11015 (package-menu--print-info): Adjust accordingly. Change the ID format
11017 (package-menu-describe-package, package-menu-get-status)
11018 (package-menu--find-upgrades, package-menu-mark-upgrades)
11019 (package-menu-execute, package-menu--name-predicate):
11020 Adjust accordingly.
11021 * startup.el (package--description-file): New function.
11022 (command-line): Use it.
11023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11024 Use package-desc-version.
11026 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
11027 (byte-compile-preprocess): Use it.
11028 (byte-compile-file-form-defalias): Try a bit harder to use macros we
11029 can't quite recognize.
11030 (byte-compile-add-to-list): Remove.
11031 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
11032 (cconv-closure-convert): Add assertion.
11034 * emacs-lisp/map-ynp.el: Use lexical-binding.
11035 (map-y-or-n-p): Remove unused vars `tail' and `object'.
11036 Factor out some repeated code.
11038 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * subr.el (with-eval-after-load): New macro.
11041 (eval-after-load): Allow form to be a function.
11042 take advantage of lexical-binding.
11043 (do-after-load-evaluation): Use dolist and adjust to new format.
11044 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
11046 2013-06-13 Juri Linkov <juri@jurta.org>
11048 * replace.el (perform-replace): Display "symbol " and other search
11049 modes from `isearch-message-prefix' in the *Help* buffer.
11051 * isearch.el (isearch-query-replace): Add " symbol" and other
11052 possible search modes from `isearch-message-prefix' to the prompt.
11053 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
11054 when reading a regexp to collect.
11056 2013-06-13 Juri Linkov <juri@jurta.org>
11058 * isearch.el (word-search-regexp): Match whitespace if the search
11059 string begins or ends in whitespace. The LAX arg is applied to
11060 both ends of the search string. Use `regexp-quote' and explicit
11061 \< and \> instead of \b. Use \` and \' instead of ^ and $.
11062 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
11063 boundaries are replaced with symbol boundaries, and characters
11064 between symbols match non-word non-symbol syntax. (Bug#14602)
11066 2013-06-13 Juri Linkov <juri@jurta.org>
11068 * isearch.el (isearch-del-char): Don't exceed the length of
11069 `isearch-string' by the prefix arg. (Bug#14563)
11071 2013-06-13 Juri Linkov <juri@jurta.org>
11073 * isearch.el (isearch-yank-word, isearch-yank-line)
11074 (isearch-char-by-name, isearch-quote-char)
11075 (isearch-printing-char, isearch-process-search-char):
11076 Add optional count prefix arg. (Bug#14563)
11078 * international/isearch-x.el
11079 (isearch-process-search-multibyte-characters):
11080 Add optional count prefix arg.
11082 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
11085 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
11088 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
11090 * subr.el (set-temporary-overlay-map): Add on-exit argument.
11092 2013-06-13 Glenn Morris <rgm@gnu.org>
11094 * startup.el (tty-handle-args):
11095 Don't just discard "--" and anything after. (Bug#14608)
11097 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
11099 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
11101 Implement changes in Secret Service API. Make it backward compatible.
11102 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
11103 (secrets-create-item): Use it. Prefix properties with interface.
11105 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
11107 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
11108 (term-emulate-terminal): Respect term-suppress-hard-newline.
11110 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
11112 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
11113 Only remove a `thumb-file' overlay. (Bug#14548)
11115 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
11117 * mail/reporter.el (reporter-submit-bug-report):
11118 Handle missing package-name. (Bug#14600)
11120 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11122 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
11123 (reftex-citation-prompt, reftex-default-bibliography)
11124 (reftex-bib-or-thebib, reftex-get-bibfile-list)
11125 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
11126 (reftex-bib-sort-author, reftex-bib-sort-year)
11127 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
11128 (reftex-extract-bib-entries-from-thebibliography)
11129 (reftex-get-bibkey-default, reftex-get-bib-names)
11130 (reftex-parse-bibtex-entry, reftex-get-bib-field)
11131 (reftex-format-bib-entry, reftex-parse-bibitem)
11132 (reftex-format-bibitem, reftex-do-citation)
11133 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
11134 (reftex-restrict-bib-matches, reftex-extract-bib-file)
11135 (reftex-insert-bib-matches, reftex-format-citation)
11136 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
11137 (reftex-create-bibtex-file): Add docstrings, mostly by converting
11138 existing comments into docstrings.
11140 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11142 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
11144 2013-06-12 Andreas Schwab <schwab@suse.de>
11146 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
11147 for auto-save files.
11149 2013-06-12 Glenn Morris <rgm@gnu.org>
11151 * ido.el (ido-delete-ignored-files): Remove.
11152 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
11153 Go back to calling ido-ignore-item-p directly.
11155 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
11157 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
11159 * ido.el (ido-delete-ignored-files): New function,
11160 split from ido-make-file-list-1.
11161 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
11162 (ido-make-file-list-1): Use ido-delete-ignored-files.
11164 2013-06-12 Leo Liu <sdl.web@gmail.com>
11166 * progmodes/octave.el (inferior-octave-startup)
11167 (inferior-octave-completion-table)
11168 (inferior-octave-track-window-width-change)
11169 (octave-eldoc-function-signatures, octave-help)
11170 (octave-find-definition): Use single quoted strings.
11171 (inferior-octave-startup-args): Change default value.
11172 (inferior-octave-startup): Do not hard code "-i" and
11173 "--no-line-editing".
11174 (inferior-octave-resync-dirs): Add optional arg NOERROR.
11175 (inferior-octave-directory-tracker): Use it.
11176 (octave-goto-function-definition): Robustify.
11177 (octave-help): Support highlighting operators in 'See also'.
11178 (octave-find-definition): Find subfunctions only in Octave mode.
11180 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11182 * help-fns.el (help-fns--compiler-macro): If the handler function is
11183 named, then put a link to it.
11184 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
11185 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
11186 (cl-typep): Use it.
11187 (cl-eval-when): Simplify debug spec.
11188 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
11189 compiler-macro function instead of setting `compiler-macro-file'.
11191 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
11193 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
11194 * vc/vc-hooks.el (vc-stay-local): Doc fix.
11196 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11197 Daniel Hackney <dan@haxney.org>
11199 First part of Daniel Hackney's patch to package.el.
11200 * emacs-lisp/package.el: Use defstruct.
11201 (package-desc): New, main struct.
11202 (package--bi-desc, package--ac-desc): New structs, used to describe the
11203 format in external files.
11204 (package-desc-vers): Replace with package-desc-version accessor.
11205 (package-desc-doc): Replace with package-desc-summary accessor.
11206 (package-activate-1): Remove `package' arg since the pkg-vec now
11208 (define-package): Use package-desc-from-define.
11209 (package-unpack-single): Change file-name arg to be a symbol.
11210 (package--add-to-archive-contents): Use package-desc-create and new
11211 accessor functions to package--ac-desc.
11212 (package-buffer-info, package-tar-file-info): Return a package-desc.
11213 (package-install-from-buffer): Remove `type' argument. Change pkg-info
11214 arg to be a package-desc.
11215 (package-install-file): Adjust accordingly. Use \' to match EOS.
11216 (package--from-builtin): New function.
11217 (describe-package-1, package-menu--generate): Use it.
11218 (package--make-autoloads-and-compile): Change name arg to be a symbol.
11219 (package-generate-autoloads): Idem and return the name of the file.
11220 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11221 Change pkg-info arg to be a package-desc.
11222 Use package-make-ac-desc.
11223 (package-upload-file): Use \' to match EOS.
11224 * finder.el (finder-compile-keywords): Use package-make-builtin.
11226 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11228 * vc/vc.el (vc-deduce-fileset): Change error message.
11229 (vc-read-backend): New function.
11230 (vc-next-action): Use it.
11232 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11234 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11235 (prolog-font-lock-keywords): Use regexp-opt instead.
11236 Don't manually highlight strings.
11237 (prolog-mode-variables): Simplify comment-start-skip.
11238 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11240 * emacs-lisp/generic.el (generic--normalise-comments)
11241 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11242 (generic-mode-set-comments): Use them.
11243 (generic-bracket-support): Use setq-local.
11244 (generic-make-keywords-list): Declare obsolete.
11246 2013-06-11 Glenn Morris <rgm@gnu.org>
11248 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11249 Prettify after setting font-lock-defaults. (Bug#14574)
11251 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11253 * replace.el (query-replace, occur-read-regexp-defaults-function)
11255 * subr.el (declare-function, number-sequence, local-set-key)
11256 (substitute-key-definition, locate-user-emacs-file)
11257 (with-silent-modifications, split-string, eval-after-load):
11258 Fix typos, remove unneeded backslashes and reflow some docstrings.
11260 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11262 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11263 default for Elisp files.
11265 2013-06-11 Glenn Morris <rgm@gnu.org>
11267 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11268 although define-derived-mode was doing this anyway. (Bug#14583)
11270 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11272 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11273 Fix make-variable-buffer-local call to refer to the correct variable.
11275 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11277 * eshell/em-term.el (eshell-visual-commands)
11278 (eshell-visual-subcommands, eshell-visual-options):
11279 Add summary line to docstrings. Add cross-references.
11281 2013-06-10 Glenn Morris <rgm@gnu.org>
11283 * epa.el (epa-read-file-name): New function. (Bug#14510)
11284 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11286 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11288 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11289 output redirection to be ignored with visual commands.
11291 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11293 * eshell/em-term.el (eshell-visual-command-p): New function.
11294 (eshell-term-initialize): Move long lambda to separate function
11295 eshell-visual-command-p.
11296 * eshell/em-dirs.el (eshell-dirs-initialize):
11297 * eshell/em-script.el (eshell-script-initialize):
11298 Add missing #' to lambda.
11300 2013-06-08 Leo Liu <sdl.web@gmail.com>
11302 * progmodes/octave.el (octave-add-log-current-defun): New function.
11303 (octave-mode): Set add-log-current-defun-function.
11304 (octave-goto-function-definition): Do not move point if not found.
11305 (octave-find-definition): Enhance to try subfunctions first.
11307 2013-06-08 Glenn Morris <rgm@gnu.org>
11309 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11310 (byte-compile-backward-char, byte-compile-backward-word):
11311 Improve previous change, to handle non-explicit nil.
11313 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11315 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11316 (smie--opener/closer-at-point): New function.
11317 (smie--matching-block-data): Use it. Don't match from right after an
11318 opener or right before a closer. Obey smie-blink-matching-inners.
11319 Don't signal a mismatch for repeated inners like "switch..case..case".
11321 2013-06-07 Leo Liu <sdl.web@gmail.com>
11323 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11325 (octave-function-header-regexp): Fix. (Bug#14570)
11326 (octave-help-mode-finish-hook, octave-help-mode-finish):
11327 Remove. Just use temp-buffer-show-hook.
11329 * newcomment.el (comment-search-backward): Revert last change.
11332 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11334 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11336 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11337 through xargs, to avoid failure due to MS-Windows limitations on
11338 command-line length.
11340 2013-06-06 Glenn Morris <rgm@gnu.org>
11342 * font-lock.el (lisp-font-lock-keywords-2):
11343 Treat user-error like error.
11345 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11346 (byte-compile-backward-char, byte-compile-backward-word):
11347 Handle explicit nil arguments. (Bug#14565)
11349 2013-06-05 Alan Mackenzie <acm@muc.de>
11351 * isearch.el (isearch-allow-prefix): New user option.
11352 (isearch-other-meta-char): Don't exit isearch when a prefix
11353 argument is typed whilst `isearch-allow-prefix' is non-nil.
11356 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11358 * autorevert.el (auto-revert-notify-handler): Use memq.
11359 Hide assertion failure.
11361 * skeleton.el: Use cl-lib.
11362 (skeleton-further-elements): Use defvar-local.
11363 (skeleton-insert): Use cl-progv.
11365 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11367 * progmodes/prog-mode.el (prog-prettify-symbols)
11368 (prog-prettify-install): Update docstrings.
11370 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11372 * simple.el: Move all the prog-mode code to prog-mode.el.
11373 * progmodes/prog-mode.el: New file.
11374 * loadup.el: Add prog-mode.el.
11376 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11378 * simple.el (prog-prettify-symbols): Add version.
11379 (prog-prettify-install): Add convenience function to prettify symbols.
11381 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11382 (perl--augmented-font-lock-keywords-1)
11383 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11384 variables and use it.
11386 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11387 (cfengine3-mode): Remove unneeded variable and use it.
11389 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11390 (lisp--augmented-font-lock-keywords-1)
11391 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11392 Remove unneeded variables and use it.
11394 2013-06-05 João Távora <joaotavora@gmail.com>
11396 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11397 to point when opening the connection. (Bug#14380)
11399 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11401 * subr.el (load-history-regexp, load-history-filename-element)
11402 (eval-after-load, after-load-functions, do-after-load-evaluation)
11403 (eval-next-after-load, display-delayed-warnings)
11404 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11405 definition of save-match-data.
11406 (overriding-local-map): Remove accidental obsolescence declaration.
11408 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11410 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11412 Generalize symbol prettify support to prog-mode and implement it
11413 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11414 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11415 (prog--prettify-font-lock-compose-symbol)
11416 (prog-prettify-font-lock-symbols-keywords): New variables and
11417 functions to support symbol prettification.
11418 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11419 (lisp--augmented-font-lock-keywords-1)
11420 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11421 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11422 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11423 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11424 Implement prettify of -> => :: strings.
11425 * progmodes/perl-mode.el (perl-prettify-symbols)
11426 (perl--font-lock-compose-symbol)
11427 (perl--font-lock-symbols-keywords): Move to prog-mode.
11428 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11429 (perl-font-lock-keywords-1)
11430 (perl-font-lock-keywords-2): Remove explicit prettify support.
11431 (perl--augmented-font-lock-keywords)
11432 (perl--augmented-font-lock-keywords-1)
11433 (perl--augmented-font-lock-keywords-2, perl-mode):
11434 Implement prettify support.
11436 2013-06-05 Leo Liu <sdl.web@gmail.com>
11438 Re-implement SMIE matching block highlight using
11439 show-paren-data-function. (Bug#14395)
11440 * emacs-lisp/smie.el (smie-matching-block-highlight)
11441 (smie--highlight-matching-block-overlay)
11442 (smie--highlight-matching-block-lastpos)
11443 (smie-highlight-matching-block)
11444 (smie-highlight-matching-block-mode): Remove.
11445 (smie--matching-block-data-cache): New variable.
11446 (smie--matching-block-data): New function.
11447 (smie-setup): Use smie--matching-block-data for
11448 show-paren-data-function.
11450 * progmodes/octave.el (octave-mode-menu): Fix.
11451 (octave-find-definition): Skip garbage lines.
11453 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11455 Fix compilation error with simultaneous dynamic+lexical scoping.
11456 Add warning when a defvar appears after the first let-binding.
11457 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11458 (byte-compile-close-variables): Initialize it.
11459 (byte-compile--declare-var): New function.
11460 (byte-compile-file-form-defvar)
11461 (byte-compile-file-form-define-abbrev-table)
11462 (byte-compile-file-form-custom-declare-variable): Use it.
11463 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11464 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11465 (byte-compile-bind): Handle dynamic bindings that shadow
11467 (byte-compile-unbind): Make arg non-optional.
11468 (byte-compile-let): Simplify.
11469 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11470 (cconv--analyse-function, cconv-analyse-form): Populate it.
11471 Protect byte-compile-bound-variables to limit the scope of defvars.
11472 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11473 Remove unneeded rule for `declare'.
11475 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11476 so as to avoid depending on cl-adjoin at run-time.
11477 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11479 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11480 (macroexp--warn-and-return): Use it.
11482 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11484 * subr.el: Convert to lexical binding.
11485 (overriding-local-map): Make obsolete.
11486 (add-to-list): Doc fix. Add compiler macro.
11487 (read-key): Swap values of local maps.
11489 2013-06-05 Leo Liu <sdl.web@gmail.com>
11491 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11493 2013-06-04 Leo Liu <sdl.web@gmail.com>
11495 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11496 (compilation-auto-jump): Suppress the "Mark set" message to give
11497 way to exit message.
11499 2013-06-04 Alan Mackenzie <acm@muc.de>
11501 Remove faulty optimisation from indentation calculation.
11502 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11503 search limit based on 2000 characters back from indent-point.
11505 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11507 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11509 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11511 * emacs-lisp/lisp.el: Use lexical-binding.
11512 (lisp--local-variables-1, lisp--local-variables): New functions.
11513 (lisp--local-variables-completion-table): New var.
11514 (lisp-completion-at-point): Use it complete let-bound vars.
11516 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11517 eagerly (bug#14422).
11519 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11521 * autorevert.el (auto-revert-notify-enabled)
11522 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11523 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11524 (auto-revert-notify-handler): Handle also gfilenotify.
11526 * subr.el (file-notify-handle-event): New defun. Replacing ...
11527 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11530 2013-06-03 Juri Linkov <juri@jurta.org>
11532 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11533 `M-s h .'. (Bug#14427)
11535 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11536 command `hi-lock-face-symbol-at-point'.
11537 (hi-lock-face-symbol-at-point): New command.
11538 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11539 (hi-lock-menu): Add `highlight-symbol-at-point'.
11540 (hi-lock-mode): Doc fix.
11542 * isearch.el (isearch-forward-symbol-at-point): New command.
11543 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11544 (isearch-highlight-regexp): Add a regexp which matches
11545 words/symbols for word/symbol mode.
11547 * subr.el (find-tag-default-bounds): New function with the body
11548 mostly moved from `find-tag-default'.
11549 (find-tag-default): Move most code to `find-tag-default-bounds',
11550 call it and apply `buffer-substring-no-properties' afterwards.
11552 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11554 * eshell/em-term.el (eshell-term-initialize):
11555 Use `cl-intersection' rather than `intersection'.
11557 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11559 * vc/log-view.el: Doc fix.
11560 (log-view-mode-map): Copy keymap from `special-mode-map'.
11562 2013-06-02 Eric Ludlam <zappo@gnu.org>
11564 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11565 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11566 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11567 (eieio-unbound, eieio-default-superclass)
11568 (eieio--define-field-accessors, method-static, method-before)
11569 (method-primary, method-after, method-num-lists)
11570 (method-generic-before, method-generic-primary)
11571 (method-generic-after, method-num-slots)
11572 (eieio-specialized-key-to-generic-key)
11573 (eieio--check-type, class-v, class-p)
11574 (eieio-class-name, define-obsolete-function-alias)
11575 (eieio-class-parents-fast, eieio-class-children-fast)
11576 (same-class-fast-p, class-constructor, generic-p)
11577 (generic-primary-only-p, generic-primary-only-one-p)
11578 (class-option-assoc, class-option, eieio-object-p)
11579 (class-abstract-p, class-method-invocation-order)
11580 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11581 (eieio-class-un-autoload, eieio-defclass)
11582 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11583 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11584 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11585 (eieio-defgeneric-reset-generic-form)
11586 (eieio-defgeneric-form-primary-only)
11587 (eieio-defgeneric-reset-generic-form-primary-only)
11588 (eieio-defgeneric-form-primary-only-one)
11589 (eieio-defgeneric-reset-generic-form-primary-only-one)
11590 (eieio-unbind-method-implementations)
11591 (eieio--defmethod, eieio--typep)
11592 (eieio-perform-slot-validation, eieio-validate-slot-value)
11593 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11594 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11595 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11596 (eieio-slot-name-index, eieio-class-slot-name-index)
11597 (eieio-set-defaults, eieio-initarg-to-attribute)
11598 (eieio-attribute-to-initarg, eieio-c3-candidate)
11599 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11600 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11601 (eieio-class-precedence-list, eieio-generic-call-methodname)
11602 (eieio-generic-call-arglst, eieio-generic-call-key)
11603 (eieio-generic-call-next-method-list)
11604 (eieio-pre-method-execution-functions, eieio-generic-call)
11605 (eieio-generic-call-primary-only, eieiomt-method-list)
11606 (eieiomt-optimizing-obarray, eieiomt-install)
11607 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11608 (eieio-generic-form, eieio-defmethod, make-obsolete)
11609 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11610 (defclass): Remove `eval-and-compile' from macro.
11611 (call-next-method, shared-initialize): Instead of using
11612 `scoped-class' variable, use new eieio--scoped-class, and
11613 eieio--with-scoped-class.
11614 (initialize-instance): Rename local variable 'scoped-class' to
11615 'this-class' to remove ambiguitity from old global.
11617 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11619 (eieio--scoped-class-stack): New variable.
11620 (eieio--scoped-class): New fcn.
11621 (eieio--with-scoped-class): New scoping macro.
11622 (eieio-defclass): Use pushnew instead of add-to-list.
11623 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11624 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11625 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11626 `scoped-class' variable, use new eieio--scoped-class, and
11627 eieio--with-scoped-class.
11629 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11631 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11633 * eshell/esh-ext.el (eshell-external-command): Pass args to
11634 `eshell-find-interpreter'.
11635 (eshell-find-interpreter): Add new second parameter ARGS.
11637 * eshell/em-script.el (eshell-script-initialize): Add second arg
11638 to the function added as MATCH to `eshell-interpreter-alist'.
11640 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11641 the function added as MATCH to `eshell-interpreter-alist'.
11643 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11644 (eshell-visual-options): New defcustom.
11645 (eshell-escape-control-x): Adapt docstring.
11646 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11647 `eshell-visual-options' in addition to `eshell-visual-commands'.
11648 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11650 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11652 * progmodes/python.el (python-indent-block-enders): Add break,
11653 continue and raise keywords.
11655 2013-06-01 Glenn Morris <rgm@gnu.org>
11657 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11659 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11660 * progmodes/cc-cmds.el (delete-forward-p):
11661 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11662 * progmodes/cc-engine.el (buffer-syntactic-context):
11663 * progmodes/cc-fonts.el (face-property-instance):
11664 * progmodes/cc-mode.el (set-keymap-parents):
11665 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11666 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11667 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11668 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11669 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11671 * progmodes/cc-vars.el (other): Emacs has this widget since
11672 at least 21.1, so don't (re)define it.
11674 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11675 Replace the obsolete alias pcomplete-arg-quote-list.
11677 2013-06-01 Leo Liu <sdl.web@gmail.com>
11679 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11680 punctuation syntax.
11681 (inferior-octave-minimal-columns)
11682 (inferior-octave-last-column-width): New variables.
11683 (inferior-octave-track-window-width-change): New function.
11684 (inferior-octave-mode): Adjust column width so that Octave output,
11685 for example from 'ls', can fit into the window nicely.
11687 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11689 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11690 Highlight expansions inside regexp literals.
11692 2013-05-31 Glenn Morris <rgm@gnu.org>
11694 * obsolete/sym-comp.el (symbol-complete):
11695 Replace obsolete completion-annotate-function.
11697 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11699 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11701 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11702 New function, checks if point is inside a literal that allows
11703 expression expansion.
11704 (ruby-syntax-propertize-expansion): Use it.
11705 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11708 2013-05-30 Juri Linkov <juri@jurta.org>
11710 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11712 (isearch-invisible): New variable.
11713 (isearch-forward): Doc fix.
11714 (isearch-mode): Set `isearch-invisible'
11715 to the value of `search-invisible'.
11716 (isearch-toggle-case-fold): Doc fix.
11717 (isearch-toggle-invisible): New command.
11718 (isearch-query-replace): Let-bind `search-invisible'
11719 to the value of `isearch-invisible'.
11720 (isearch-search): Use `isearch-invisible' instead of
11721 `search-invisible'. Let-bind `search-invisible'
11722 to the value of `isearch-invisible'. (Bug#11378)
11724 2013-05-30 Juri Linkov <juri@jurta.org>
11726 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11727 call when `query-flag' is nil and `search-invisible' is non-nil.
11730 2013-05-30 Glenn Morris <rgm@gnu.org>
11732 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11734 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11735 (cc-require): Suppress spurious "noruntime" warnings.
11736 (cc-require-when-compile): Use fboundp, for sake of compiler.
11738 * progmodes/cc-mode.el: Move load of cc-vars before that of
11739 cc-langs (which in turn loads cc-vars), to quieten compiler.
11741 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11743 * paren.el: Simplify the code.
11744 (show-paren-mode): Always start the timer.
11745 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11746 (show-paren--overlay, show-paren--overlay-1): Rename from
11747 show-paren-overlay and show-paren-overlay-1, and initialize to an
11748 overlay rather than to nil.
11749 (show-paren-function): Misc cleanup and simplifications.
11751 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11753 * paren.el (show-paren-data-function): New hook.
11754 (show-paren--default): New function, extracted from show-paren-function.
11755 (show-paren-function): Use show-paren-data-function.
11757 2013-05-30 Glenn Morris <rgm@gnu.org>
11759 * ielm.el (ielm-map, ielm-complete-symbol):
11760 Use completion-at-point rather than obsolete functions.
11761 (inferior-emacs-lisp-mode): Doc fix.
11762 Set completion-at-point-functions, rather than
11763 comint-dynamic-complete-functions.
11765 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11766 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11767 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11769 * image.el (image-animated-p): Tweak definition.
11771 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11772 (rlogin-process-connection-type): Tweak default. Add set-after.
11773 (rlogin-host): Doc fix.
11774 (rlogin): Tweak prompt.
11775 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11777 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11778 * progmodes/tcl.el (inferior-tcl-mode-map):
11779 Use completion-at-point rather than obsolete alias.
11781 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11783 * minibuffer.el (read-file-name-completion-ignore-case):
11784 Move before completion--in-region, for eager macro expansion.
11786 2013-05-29 Juri Linkov <juri@jurta.org>
11788 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11789 for total count of matching lines. Add `global-matches' for total
11790 count of matches. Rename `matches' to `lines' for count of
11791 matching lines. Add `matches' for count of matches.
11792 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11793 to `prev-line' for line number of prev match endpt.
11794 Increment `matches' for every match. Print the number of
11795 matching lines in the header.
11796 (occur-context-lines): Rename `lines' to `curr-line'.
11797 Rename `prev-lines' to `prev-line'. (Bug#14017)
11799 2013-05-29 Juri Linkov <juri@jurta.org>
11801 * replace.el (perform-replace): Add `skip-read-only-count',
11802 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11803 Increment them for corresponding conditions and report the number
11804 of skipped occurrences in the final message. (Bug#11746)
11805 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11806 (replace-string, replace-regexp): Doc fix.
11808 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11810 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11812 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11813 prog-mode-map (bug#14504).
11815 2013-05-29 Leo Liu <sdl.web@gmail.com>
11817 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11818 (octave-help): Small simplification.
11820 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11821 off the highlight first.
11823 2013-05-29 Glenn Morris <rgm@gnu.org>
11825 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11826 Handle idlwave-last-system-routine-info-cons-cell being nil.
11828 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11829 (idlwave-write-paths): Simplify via with-temp-buffer.
11831 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11832 * emulation/cua-rect.el: Also load cua-base at run time.
11834 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11835 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11836 (cperl-imenu-on-info): Require imenu.
11838 2013-05-28 Alan Mackenzie <acm@muc.de>
11840 Handle "capitalised keywords" correctly.
11841 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11843 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11845 * eshell/em-unix.el: Add -r option to cp.
11847 2013-05-28 Glenn Morris <rgm@gnu.org>
11849 * vc/vc-arch.el (vc-exec-after): Declare.
11850 (vc-switches): Autoload.
11851 * vc/vc-bzr.el: No need to require vc when compiling.
11852 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11853 (vc-resynch-buffer, vc-dir-refresh): Declare.
11854 (vc-setup-buffer, vc-switches): Autoload.
11855 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11856 (vc-resynch-buffer): Declare.
11857 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11858 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11859 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11860 (grep-read-regexp, grep-read-files, grep-expand-template)
11861 (vc-dir-refresh): Declare.
11862 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11863 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11864 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11865 * vc/vc-mtn.el (vc-exec-after): Declare.
11866 (vc-switches): Autoload.
11867 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11868 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11869 (vc-file-tree-walk): Declare.
11870 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11871 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11872 (vc-tag-precondition, vc-rename-master): Autoload.
11873 * vc/vc-svn.el (vc-exec-after): Declare.
11874 (vc-switches, vc-setup-buffer): Autoload.
11875 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11877 (vc-resynch-buffer): Declare.
11879 * obsolete/fast-lock.el (byte-compile-warnings):
11880 Don't warn about obsolete features in this obsolete file.
11882 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11883 Move definition before use.
11885 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11886 (dun-unix-verbs): Remove dun-zippy.
11887 (dun-zippy): Remove function.
11889 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11891 2013-05-27 Juri Linkov <juri@jurta.org>
11893 * replace.el (replace-search): New function with code moved out
11894 from `perform-replace'.
11895 (replace-highlight, replace-dehighlight): Move function definitions
11896 up closer to `replace-search'. (Bug#11746)
11898 2013-05-27 Juri Linkov <juri@jurta.org>
11900 * replace.el (perform-replace): Ignore invisible matches.
11901 In addition to checking `query-replace-skip-read-only', also
11902 filter out matches by calling `run-hook-with-args-until-failure'
11903 on `isearch-filter-predicates', and also check `search-invisible'
11904 for t or call `isearch-range-invisible'.
11905 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11907 2013-05-27 Juri Linkov <juri@jurta.org>
11909 * isearch.el (isearch-filter-predicates): Rename from
11910 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11911 (isearch-message-prefix): Display text from the property
11912 `isearch-message-prefix' of the currently active filters.
11913 (isearch-search): Don't compare `isearch-filter-predicate' with
11914 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11915 on `isearch-filter-predicates'. Also check `search-invisible' for t
11916 or call `isearch-range-invisible'.
11917 (isearch-filter-visible): Make obsolete.
11918 (isearch-lazy-highlight-search):
11919 Call `run-hook-with-args-until-failure' on
11920 `isearch-filter-predicates' and use `isearch-range-invisible'.
11922 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11923 `isearch-filter-predicates' instead of `funcall'ing
11924 `isearch-filter-predicate'.
11925 (Info-mode): Set `Info-isearch-filter' to
11926 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11928 * dired-aux.el (dired-isearch-filter-predicate-orig):
11930 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11931 (dired-isearch-filenames-end): Add and remove
11932 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11933 instead of changing the value of `isearch-filter-predicate'.
11934 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11935 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11936 Put property `isearch-message-prefix' to "filename " on
11937 `dired-isearch-filter-filenames'.
11939 * wdired.el (wdired-change-to-wdired-mode):
11940 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11941 locally instead of changing `isearch-filter-predicate'.
11942 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11944 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11946 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11947 return the commit hash (Bug#14459). Also set the
11948 `vc-git-detached' property.
11949 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11950 (vc-git-mode-line-string): Use the same help-echo format whether
11951 in detached mode or not, because we know the actual revision now.
11952 When in detached mode, shorten the revision to 7 chars.
11954 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11956 * emacs-lisp/easy-mmode.el (define-minor-mode):
11957 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11958 mode hook and provide a docstring.
11960 2013-05-27 Alan Mackenzie <acm@muc.de>
11962 Remove spurious syntax-table text properties inserted by C-y.
11963 * progmodes/cc-mode.el (c-after-change): Also clear hard
11964 syntax-table property with value nil.
11966 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11968 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11969 when reading the events; the buffer layout shall not be changed.
11971 2013-05-27 Leo Liu <sdl.web@gmail.com>
11973 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11975 (inferior-octave-directory-tracker): Automatically re-sync
11977 (octave-help): Improve handling of 'See also'.
11979 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11981 * doc-view.el: Minor naming convention tweaks.
11982 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11984 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11985 even if there's no `display' property yet (bug#14435).
11987 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11989 * subr.el (unmsys--file-name): Rename from reveal-filename.
11991 * Makefile.in (custom-deps, finder-data, autoloads)
11992 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11993 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11994 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11996 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11998 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11999 error-completion on the first 2 args of condition-case (bug#14446).
12002 2013-05-25 Leo Liu <sdl.web@gmail.com>
12004 * comint.el (comint-previous-matching-input): Do not flood the
12005 *Messages* buffer with trivial messages.
12007 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12009 * progmodes/flymake.el (flymake-nop): Don't return a string.
12010 (flymake-set-at): Fix typo.
12012 * simple.el (read--expression): New function, extracted from
12013 eval-expression. Set completion-at-point-functions (bug#14465).
12014 (eval-expression, eval-minibuffer): Use it.
12016 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
12018 * progmodes/flymake.el (flymake-save-buffer-in-file)
12019 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
12020 (flymake-selected-frame, flymake-log, flymake-ins-after)
12021 (flymake-set-at, flymake-get-buildfile-from-cache)
12022 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
12023 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
12024 Refine the doc string.
12025 (flymake-get-file-name-mode-and-masks): Reformat.
12026 (flymake-get-real-file-name-function): Fix a minor bug.
12028 2013-05-24 Juri Linkov <juri@jurta.org>
12030 * progmodes/grep.el (grep-mode-font-lock-keywords):
12031 Support =linenumber= format used by git-grep for lines with
12032 function names. (Bug#13549)
12034 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12036 * progmodes/octave.el (octave-smie-rules): Return nil rather than
12037 0 after a semi-colon; it works better for smie-auto-fill.
12038 (octave--indent-new-comment-line): New function.
12039 (octave-indent-new-comment-line): Use it (indirectly).
12040 (octave-mode): Don't disable smie-auto-fill. Use add-function to
12041 modify comment-line-break-function.
12043 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
12044 (smie-setup): Use add-function to set it.
12046 2013-05-24 Sam Steingold <sds@gnu.org>
12048 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
12049 argument (before the `interactive' argument).
12051 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12053 * image-mode.el (image-mode-winprops): Add winprops to
12054 image-mode-winprops-alist before running
12055 image-mode-new-window-functions.
12056 * doc-view.el (doc-view-new-window-function): Don't delay
12057 doc-view-goto-page via timers (bug#14435).
12059 2013-05-24 Tassilo Horn <tsdh@gnu.org>
12061 * doc-view.el: Integrate with desktop.el. (Bug#14435)
12062 (doc-view-desktop-save-buffer): New function.
12063 (doc-view-restore-desktop-buffer): New function.
12064 (desktop-buffer-mode-handlers):
12065 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
12067 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
12068 `desktop-save-buffer' function.
12070 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
12072 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
12073 (tramp-gvfs-file-name-handler): Raise a user error when
12074 `tramp-gvfs-enabled' is nil.
12075 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
12076 Do not raise a user error when loading package. (Bug#14447)
12078 * net/xesam.el: Move to obsolete/.
12080 2013-05-24 Glenn Morris <rgm@gnu.org>
12082 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
12084 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
12086 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
12087 (Info-find-node, Man-getpage-in-background): Declare.
12089 * mail/unrmail.el (unrmail):
12090 Replace obsolete detect-coding-with-priority.
12092 * net/socks.el (socks-split-string): Use this rather than split-string.
12093 (socks-nslookup-host): Update for above change.
12094 (dynamic-choice, s5-dynamic-choice-match)
12095 (s5-dynamic-choice-match-inline, s5-widget-value-create):
12096 Comment out unused code.
12098 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
12099 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
12100 (gud-tooltip-echo-area): Make obsolete.
12101 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
12103 * progmodes/js.el (js--optimize-arglist): Declare.
12105 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
12107 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
12108 (ediff-window-C): Declare.
12110 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
12111 Tweak requires to silence compiler.
12113 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12114 (he-search-string, he-tried-table, he-expand-list)
12115 (he-init-string, he-string-member, he-substitute-string)
12116 (he-reset-string): Declare.
12118 * obsolete/options.el (list-options): Use custom-variable-p,
12119 rather than obsolete alias.
12121 2013-05-23 Sam Steingold <sds@gnu.org>
12123 * simple.el (shell-command-on-region): Pass the `replace' argument
12124 down to `call-process-region' to comply with the doc as reported on
12125 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
12127 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * emacs-lisp/smie.el (smie-indent-forward-token)
12130 (smie-indent-backward-token): Handle string tokens (bug#14381).
12132 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12134 * ielm.el (ielm-menu): New menu.
12135 (inferior-emacs-lisp-mode): Set comment-start.
12137 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12139 * textmodes/reftex.el (reftex-ref-style-toggle):
12140 Fix deactivate action.
12142 * textmodes/reftex-vars.el (reftex-ref-style-alist):
12143 Add cleveref macros.
12145 * textmodes/reftex-parse.el
12146 (reftex-locate-bibliography-files): Accept options for
12147 bibliography commands.
12148 * textmodes/reftex-vars.el (reftex-bibliography-commands):
12149 Add addbibresource. Basic Biblatex support.
12151 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
12153 * net/tramp-gvfs.el (top):
12154 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
12155 when loading package. (Bug#14447)
12157 2013-05-23 Glenn Morris <rgm@gnu.org>
12159 * progmodes/js.el: No need to load comint when compiling.
12160 (ring-insert, comint-send-string, comint-send-input)
12161 (comint-last-input-end, ido-chop): Declare.
12163 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
12164 * vc/ediff-mult.el: Adjust requires.
12165 (ediff-directories-internal, ediff-directory-revisions-internal)
12166 (ediff-patch-file-internal): Declare.
12167 * vc/ediff-ptch.el: Adjust requires.
12168 (ediff-use-last-dir, ediff-buffers-internal): Declare.
12169 (ediff-find-file): Autoload.
12170 * vc/ediff-util.el: No need to load ediff when compiling.
12171 (ediff-regions-internal): Declare.
12172 * vc/ediff-wind.el: Adjust requires.
12173 (ediff-compute-toolbar-width): Define when compiling.
12174 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
12175 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
12176 (dired-get-filename, dired-get-marked-files)
12177 (ediff-last-dir-patch, ediff-patch-default-directory)
12178 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
12179 (ediff-patch-buffer-internal): Declare.
12181 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
12182 (ispell-process, ispell-buffer-local-words, lm-summary)
12183 (lm-section-start, lm-section-end): Declare.
12184 (checkdoc-ispell-init): Simplify.
12186 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
12187 (he-string-member, he-reset-string, he-substitute-string): Declare.
12189 * eshell/em-ls.el: Adjust requires.
12190 (eshell-glob-regexp): Declare.
12191 * eshell/em-tramp.el: Adjust requires.
12192 (eshell-parse-command): Autoload.
12193 * eshell/em-xtra.el: Adjust requires.
12194 (eshell-parse-command): Autoload.
12195 * eshell/esh-ext.el: Adjust requires.
12196 (eshell-parse-command, eshell-close-handles): Autoload.
12197 * eshell/esh-io.el: Adjust requires.
12198 (eshell-output-filter): Autoload.
12199 * eshell/esh-util.el: No need to load tramp when compiling.
12200 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
12202 (eshell-parse-ange-ls): Require ange-ftp and tramp.
12203 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
12204 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
12205 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
12206 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
12207 * eshell/esh-opt.el, eshell/esh-proc.el:
12208 * eshell/esh-var.el: Adjust requires.
12209 * eshell/eshell.el: Do not require esh-util twice.
12210 (eshell-add-input-to-history): Declare.
12211 (eshell-command): Check history module is active before using it.
12213 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
12215 2013-05-22 Leo Liu <sdl.web@gmail.com>
12217 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
12219 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
12221 * autorevert.el (auto-revert-notify-add-watch)
12222 (auto-revert-notify-handler): Add `attrib' for the inotify case,
12223 it indicates changes in file modification time.
12225 2013-05-22 Glenn Morris <rgm@gnu.org>
12227 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12228 Always delete the autoloaded function from the noruntime and
12229 unresolved functions lists.
12231 * allout.el: No need to load epa, epg, overlay when compiling.
12232 (epg-context-set-passphrase-callback, epg-list-keys)
12233 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12234 (epg-key-user-id-list): Declare.
12236 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12237 (viper-set-parsing-style-toggling-macro)
12238 (viper-set-emacs-state-searchstyle-macros):
12239 Use called-interactively-p on Emacs.
12240 (viper-looking-back): Make it an obsolete alias. Update callers.
12241 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12242 Use looking-back rather than viper-looking-back.
12243 (viper-tmp-insert-at-eob, viper-enlarge-region)
12244 (viper-read-string-with-history, viper-register-to-point)
12245 (viper-append-to-register, viper-change-state-to-vi)
12246 (viper-backward-char-carefully, viper-forward-char-carefully)
12247 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12248 (viper-change-state-to-emacs): Declare.
12249 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12250 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12251 * emulation/viper-mous.el: Do not load viper-cmd.
12252 (viper-backward-char-carefully, viper-forward-char-carefully)
12253 (viper-forward-word, viper-adjust-window): Declare.
12255 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12257 * progmodes/idlw-help.el (idlwave-help-fontify):
12258 Use called-interactively-p.
12260 * term/w32console.el (w32-get-console-codepage)
12261 (w32-get-console-output-codepage): Declare.
12263 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12264 Remove unnecessary declarations.
12265 (dframe-message): Doc fix.
12267 * info.el (dframe-select-attached-frame, dframe-current-frame):
12270 * speedbar.el (speedbar-message): Make it an obsolete alias.
12271 Update all callers.
12272 (speedbar-with-attached-buffer)
12273 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12274 (speedbar-with-writable): Use backquote.
12275 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12276 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12277 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12278 rather than speedbar- aliases.
12279 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12280 (speedbar-make-specialized-keymap, speedbar-insert-button)
12281 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12282 (speedbar-do-function-pointer): Declare.
12283 (rmail-speedbar-button, rmail-speedbar-find-file)
12284 (rmail-speedbar-move-message):
12285 Use dframe-with-attached-buffer rather than speedbar- alias.
12286 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12287 (dframe-message, speedbar-make-specialized-keymap)
12288 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12289 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12290 (speedbar-insert-button, dframe-select-attached-frame)
12291 (dframe-maybee-jump-to-attached-frame)
12292 (speedbar-change-initial-expansion-list)
12293 (speedbar-previously-used-expansion-list-name): Declare.
12294 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12295 Use dframe-message, dframe-with-attached-buffer rather than
12297 (gud-sentinel): Silence compiler.
12298 * progmodes/vhdl-mode.el (speedbar-refresh)
12299 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12300 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12301 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12302 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12303 (speedbar-file-lists, speedbar-make-tag-line)
12304 (speedbar-line-directory, speedbar-goto-this-file)
12305 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12306 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12307 (speedbar-make-button, speedbar-reset-scanners)
12308 (speedbar-files-item-info, speedbar-line-text)
12309 (speedbar-find-file-in-frame, speedbar-set-timer)
12310 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12311 (speedbar-with-writable): Do not (re)define it.
12312 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12313 rather than speedbar- alias.
12315 2013-05-21 Leo Liu <sdl.web@gmail.com>
12317 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12319 (octave-mode): Tweak fill-nobreak-predicate.
12320 (inferior-octave-startup): Check process to avoid infinite loop.
12321 (inferior-octave): Pop to buffer first to show abornmal process
12324 2013-05-21 Glenn Morris <rgm@gnu.org>
12326 * printing.el (pr-menu-bar): Define when compiling.
12328 2013-05-21 Leo Liu <sdl.web@gmail.com>
12330 * progmodes/octave.el (octave-auto-fill): Remove.
12331 (octave-indent-new-comment-line): Improve.
12332 (octave-mode): Use auto fill mode through
12333 comment-line-break-function and fill-nobreak-predicate.
12334 (octave-goto-function-definition): Support DEFUN_DLD.
12335 (octave-beginning-of-defun): Small tweak.
12336 (octave-help): Show parent directory.
12338 2013-05-21 Glenn Morris <rgm@gnu.org>
12340 * files.el (dired-unmark):
12341 * progmodes/gud.el (gdb-input): Update declarations.
12343 * calculator.el (electric, ehelp): No need to load when compiling.
12344 (Electric-command-loop, electric-describe-mode): Declare.
12346 * doc-view.el (doc-view-current-converter-processes): Move before use.
12348 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12349 Move MODE-set-explicitly definition before use.
12351 * international/mule-diag.el (mule-diag):
12352 Don't use obsolete window-system-version.
12354 * mail/feedmail.el (smtpmail): No need to load when compiling.
12355 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12357 * mail/mail-utils.el (rfc822): No need to load when compiling.
12358 (rfc822-addresses): Autoload it.
12359 (mail-strip-quoted-names): Trivial simplification.
12361 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12362 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12364 * net/snmp-mode.el (tempo): Don't duplicate requires.
12366 * progmodes/prolog.el (info): No need to load when compiling.
12367 (comint): Require before shell requires it.
12368 (Info-goto-node): Autoload it.
12369 (Info-follow-nearest-node): Declare.
12370 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12372 * textmodes/artist.el (picture-mode-exit): Declare.
12374 * textmodes/reftex-parse.el (reftex-parse-from-file):
12375 Trivial rewrite so the compiler can parse it better.
12377 2013-05-20 Leo Liu <sdl.web@gmail.com>
12379 * progmodes/octave.el (octave-help-mode-map)
12380 (octave-help-mode-finish-hook): New variables.
12381 (octave-help-mode, octave-help-mode-finish): New functions.
12382 (octave-help): Use octave-help-mode.
12384 2013-05-20 Glenn Morris <rgm@gnu.org>
12386 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12388 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12390 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12391 start at point, so that expansion starting right after opening
12392 slash in a regexp is recognized.
12393 (ruby-syntax-before-regexp-re): New defvar, extracted from
12394 ruby-syntax-propertize-function. Since the value of this regexp
12395 is looked up at runtime now, we should be able to turn
12396 `ruby-syntax-methods-before-regexp' into a defcustom later.
12397 (ruby-syntax-propertize-function): Split regexp matching into two
12398 parts, for opening and closing slashes. That allows us to skip
12399 over string interpolations and support multiline regexps.
12400 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12401 for them, which calls `ruby-syntax-propertize-expansion'.
12402 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12403 call to `ruby-syntax-propertize-function'.
12404 (ruby-syntax-propertize-expansion): Extracted from
12405 `ruby-syntax-propertize-expansions'. Handles one expansion.
12406 (ruby-syntax-propertize-percent-literal): Leave point right after
12407 the percent symbol, so that the expression expansion rule can
12408 propertize the contents.
12409 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12411 (ruby-syntax-propertize-expansions): Remove.
12413 2013-05-18 Juri Linkov <juri@jurta.org>
12415 * man.el (Man-default-man-entry): Remove `-' from the end
12416 of the default value. (Bug#14400)
12418 2013-05-18 Glenn Morris <rgm@gnu.org>
12420 * comint.el (comint-password-prompt-regexp):
12421 Allow "password for XXX" where XXX contains colons (eg https://...).
12423 2013-05-18 Leo Liu <sdl.web@gmail.com>
12425 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12426 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12427 (octave-source-directories): Don't check process.
12428 (octave-source-directories, octave-find-definition): Doc fix.
12430 2013-05-18 Glenn Morris <rgm@gnu.org>
12432 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12433 Remove backspace/delete bindings. (Bug#14392)
12435 * cus-dep.el (custom-make-dependencies): Sort the output.
12436 (custom-versions-load-alist): Convert comment to doc.
12438 2013-05-17 Leo Liu <sdl.web@gmail.com>
12440 * newcomment.el (comment-search-backward): Stricter in finding
12441 comment start. (Bug#14303)
12443 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12444 (octave-comment-start-skip): Properly anchored.
12446 2013-05-17 Leo Liu <sdl.web@gmail.com>
12448 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12449 Clean up when turned off. (Bug#14395)
12450 (smie--highlight-matching-block-overlay): No longer buffer-local.
12451 (smie-highlight-matching-block): Adjust.
12453 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12455 Doc string fix for "nanoseconds" (Bug#14406).
12456 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12457 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12459 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12461 * calc/calc-units.el (math-extract-units): Preserve powers
12464 2013-05-17 Leo Liu <sdl.web@gmail.com>
12466 * subr.el (delete-consecutive-dups): New function.
12467 * ido.el (ido-set-matches-1): Use it.
12468 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12469 * ido.el (ido-remove-consecutive-dups): Remove.
12471 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12473 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12474 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12475 regexp-opt's `words'.
12477 2013-05-16 Leo Liu <sdl.web@gmail.com>
12479 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12480 (smie--highlight-matching-block-overlay)
12481 (smie--highlight-matching-block-lastpos)
12482 (smie--highlight-matching-block-timer): New variables.
12483 (smie-highlight-matching-block): New function.
12484 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12485 (smie-setup): Conditionally enable smie-blink-matching-open.
12487 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12489 Sync with upstream verilog-mode r840.
12490 * progmodes/verilog-mode.el (verilog-mode-version)
12491 (verilog-mode-release-date): Update.
12492 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12493 (verilog-sig-tieoff): Fix string error on
12494 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12495 (verilog-read-decls): Fix parameters confusing
12496 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12498 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12500 * subr.el (reveal-filename): New function.
12502 * loadup.el: Compute Emacs executable versions on MS-Windows,
12503 where executables have the .exe extension. Add a hard link
12504 emacs-XX.YY.ZZ.exe on MS-Windows.
12506 * Makefile.in (XARGS_LIMIT): New variable.
12507 (custom-deps, finder-data, autoloads)
12508 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12509 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12510 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12511 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12513 2013-05-16 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12516 (octave-mode-menu, octave-mode-map): Remove its uses.
12518 2013-05-16 Reto Zimmermann <reto@gnu.org>
12520 Sync with upstream vhdl mode v3.34.2.
12521 * progmodes/vhdl-mode.el: Use `push' throughout.
12522 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12523 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12524 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12525 (vhdl-actual-generic-name): New option to derive actual generic name.
12526 (vhdl-port-paste-signals): Replace formal by actual generics.
12527 (vhdl-beautify): New name for old group vhdl-align. Update users.
12528 (vhdl-beautify-options): New option.
12529 (vhdl-last-input-event): New compat alias. Use throughout.
12530 (vhdl-goto-line): Replace user level function `goto-line'.
12531 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12532 vhdl-fix-statement-buffer.
12533 (vhdl-create-mode-menu): Add some entries.
12534 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12535 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12536 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12537 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12538 to force statements on one line.
12539 (vhdl-remove-trailing-spaces-region):
12540 New, split from vhdl-remove-trailing-spaces.
12541 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12542 Respect vhdl-beautify-options.
12543 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12544 (vhdl-update-sensitivity-list): Not add with index if exists without.
12545 Not include array index with signal. Ignore keywords in comments.
12546 (vhdl-get-visible-signals): Regexp tweaks.
12547 (vhdl-template-component-inst): Handle empty library.
12548 (vhdl-template-type): Add template for 'enum' type.
12549 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12550 Use vhdl-replace-string.
12551 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12552 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12553 (vhdl-speedbar-initialize): Update for above name change.
12554 (vhdl-compose-wire-components): Fix in handling of constants.
12555 (vhdl-error-regexp-emacs-alist): New variable.
12556 (vhdl-error-regexp-add-emacs): New function;
12557 adds support for new compile.el (Emacs 22+)
12558 (vhdl-generate-makefile-1): Change target order for single lib. units.
12559 Allow use of absolute file names.
12561 2013-05-16 Leo Liu <sdl.web@gmail.com>
12563 * simple.el (prog-indent-sexp): Indent enclosing defun.
12565 2013-05-15 Glenn Morris <rgm@gnu.org>
12567 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12568 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12569 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12570 (whitespace-highlight): Move to whitespace group.
12572 * comint.el (comint-source):
12573 * pcmpl-linux.el (pcmpl-linux):
12574 * shell.el (shell-faces):
12575 * eshell/esh-opt.el (eshell-opt):
12576 * international/ccl.el (ccl): Remove empty custom groups.
12578 * completion.el (dynamic-completion-mode):
12579 * jit-lock.el (jit-lock-debug-mode):
12580 * minibuffer.el (completion-in-region-mode):
12581 * type-break.el (type-break-mode-line-message-mode)
12582 (type-break-query-mode):
12583 * emulation/tpu-edt.el (tpu-edt-mode):
12584 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12585 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12586 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12588 * term/xterm.el (xterm): Change parent group to terminals.
12590 * master.el (master): Remove empty custom group.
12591 (master-mode): Remove unused :group argument.
12592 * textmodes/refill.el (refill): Remove empty custom group.
12593 (refill-mode): Remove unused :group argument.
12595 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12597 * cus-dep.el: Provide a feature.
12598 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12599 Don't mistakenly ignore files whose basenames match a basename
12600 from preloaded-file-list (eg cedet/ede/simple.el).
12601 Add a fallback method for getting :group.
12603 2013-05-15 Juri Linkov <juri@jurta.org>
12605 * isearch.el (isearch-char-by-name): Rename from
12606 `isearch-insert-char-by-name'. Doc fix.
12607 (isearch-forward): Mention `isearch-char-by-name' in
12608 the docstring. (Bug#13348)
12610 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12611 `exit-minibuffer' instead of
12612 `isearch-nonincremental-exit-minibuffer'.
12613 (isearch-edit-string): Remove mention of
12614 `isearch-nonincremental-exit-minibuffer' from docstring.
12615 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12616 (isearch-forward-exit-minibuffer)
12617 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12619 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * loadup.el: Just use unversioned DOC.
12623 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12624 literals as extending to EOB.
12625 (nxml-last-fontify-end): Remove unused variable.
12626 (nxml-after-change1): Use with-silent-modifications.
12627 (nxml-extend-after-change-region): Simplify.
12628 (nxml-extend-after-change-region1): Remove function.
12629 (nxml-after-change1): Don't adjust for dependent regions.
12630 (nxml-fontify-matcher): Simplify.
12631 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12632 (xmltok-add-dependent): Remove function.
12633 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12634 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12635 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12636 unclosed <[[, <?, comment, and other literals as extending to EOB.
12637 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12638 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12640 (rng-do-some-validation-1): Don't mark dependent regions.
12641 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12642 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12643 (nxml-clear-dependent-regions): Remove functions.
12644 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12645 (nxml-ensure-scan-up-to-date):
12646 Don't clear&mark dependent regions.
12648 2013-05-15 Leo Liu <sdl.web@gmail.com>
12650 * progmodes/octave.el (octave-goto-function-definition):
12651 Improve and fix callers.
12653 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12655 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12656 the setter (bug#14387).
12658 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12659 surrounding group (bug#14402).
12661 2013-05-14 Juri Linkov <juri@jurta.org>
12663 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12666 2013-05-14 Glenn Morris <rgm@gnu.org>
12668 * progmodes/f90.el (f90-imenu-generic-expression):
12669 Fix typo in 2013-05-08 change. (Bug#14402)
12671 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12673 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12674 Remove signals for which replies are never received.
12676 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12678 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12679 (gdb-handler-alist, gdb-handler-number): Remove variables.
12680 (gdb-handler-list): New variable.
12681 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12682 (gdb-pending-handler-p, gdb-handle-reply)
12683 (gdb-remove-all-pending-triggers): New functions.
12684 (gdb-discard-unordered-replies): New defcustom.
12685 (gdb-handler): New defstruct.
12686 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12687 instead of gdb-pending-triggers. Update docstring.
12688 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12689 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12690 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12691 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12692 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12693 (gdb-frame-handler): Pending triggers are now automatically managed.
12694 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12696 (gdb-input): Automatically handles pending triggers. Update docstring.
12697 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12698 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12700 (gdb-done-or-error): Now use gdb-handle-reply.
12702 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12704 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12707 2013-05-14 Glenn Morris <rgm@gnu.org>
12709 * subr.el (user-emacs-directory-warning): New option.
12710 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12712 2013-05-14 Leo Liu <sdl.web@gmail.com>
12714 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12716 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12717 (octave-font-lock-texinfo-comment): Fix invalid search bound
12718 error: wrong side of point.
12720 2013-05-14 Glenn Morris <rgm@gnu.org>
12722 * progmodes/flymake.el (flymake-xml-program): New option.
12723 (flymake-xml-init): Use it.
12725 * term/xterm.el: Provide a feature.
12727 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12729 2013-05-13 Glenn Morris <rgm@gnu.org>
12731 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12732 Add compat aliases as a hack workaround. (Bug#14384)
12734 2013-05-13 Leo Liu <sdl.web@gmail.com>
12736 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12738 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12740 (octave-comment-start-skip): Include %!.
12741 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12743 2013-05-12 Leo Liu <sdl.web@gmail.com>
12745 * progmodes/octave.el (inferior-octave-startup): Store the value
12746 of __octave_srcdir__ for octave-source-directories.
12747 (inferior-octave-check-process): New function refactored out of
12748 inferior-octave-send-list-and-digest.
12749 (octave-source-directories)
12750 (octave-find-definition-filename-function): New variables.
12751 (octave-source-directories)
12752 (octave-find-definition-default-filename): New functions.
12753 (octave-find-definition): Improve to find functions implemented in C++.
12755 2013-05-12 Glenn Morris <rgm@gnu.org>
12757 * calendar/diary-lib.el (diary-outlook-format-1):
12758 Don't include dayname in the output. (Bug#14349)
12760 2013-05-11 Glenn Morris <rgm@gnu.org>
12762 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12764 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12765 Treat cc-provide like provide.
12767 2013-05-11 Kevin Ryde <user42@zip.com.au>
12769 * cus-dep.el (custom-make-dependencies):
12770 Use generated-autoload-load-name for the sake of files such
12771 such cedet/semantic/bovine/c.el, where the base file name
12772 is not in load-path. (Bug#5277)
12774 2013-05-11 Glenn Morris <rgm@gnu.org>
12776 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12779 2013-05-11 Leo Liu <sdl.web@gmail.com>
12781 * progmodes/octave.el (octave-indent-comment): Improve.
12782 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12783 (octave-eldoc-function-signatures, octave-eldoc-function):
12785 (octave-mode, inferior-octave-mode): Add eldoc support.
12787 2013-05-11 Richard Stallman <rms@gnu.org>
12789 * epa.el (epa-decrypt-file): Take output file name as argument
12790 and read it using `interactive'.
12792 2013-05-11 Leo Liu <sdl.web@gmail.com>
12794 * progmodes/octave.el (octave-beginning-of-line)
12795 (octave-end-of-line): Check before using up-list because it jumps
12796 out of more syntactic contructs since moving to smie.
12797 (octave-indent-comment): New function.
12798 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12799 (octave-begin-keywords, octave-end-keywords)
12800 (octave-reserved-words, octave-smie-bnf-table)
12801 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12803 2013-05-11 Glenn Morris <rgm@gnu.org>
12805 * faces.el (internal-face-x-get-resource):
12806 * frame.el (ns-display-monitor-attributes-list):
12807 * calc/calc-aent.el (math-to-radians-2):
12808 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12811 * calc/calc-menu.el: Make it loadable in isolation.
12813 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12814 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12815 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12816 (eudc-bbdb-query-internal): Require 'bbdb.
12818 * lpr.el (lpr-headers-switches):
12819 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12821 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12823 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12825 * term.el (term-set-escape-char): Make it idempotent.
12827 2013-05-10 Leo Liu <sdl.web@gmail.com>
12829 * progmodes/octave.el (inferior-octave-completion-table):
12830 No longer a function and all uses changed. Use cache to speed up
12831 completion due to bug#11906.
12832 (octave-beginning-of-defun): Re-write to be more general.
12834 2013-05-10 Glenn Morris <rgm@gnu.org>
12836 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12838 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * comint.el (comint-redirect-send-command-to-process): Use :around
12841 rather than :override for comint-redirect-filter.
12842 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12843 Call it instead of comint-redirect-original-filter-function (which
12844 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12846 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12848 * frame.el (display-monitor-attributes-list): Add NS case.
12849 (ns-display-monitor-attributes-list): Declare.
12851 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12853 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12855 2013-05-09 Glenn Morris <rgm@gnu.org>
12857 * international/fontset.el (vertical-centering-font-regexp):
12858 Set standard-value.
12860 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12862 * bookmark.el (bookmark-search-delay):
12863 * cus-start.el (vertical-centering-font-regexp):
12864 * ps-mule.el (ps-mule-font-info-database-default):
12865 * ps-print.el (ps-default-fg, ps-default-bg):
12866 * type-break.el (type-break-good-break-interval):
12867 * whitespace.el (whitespace-indentation-regexp)
12868 (whitespace-space-after-tab-regexp):
12869 * emacs-lisp/testcover.el (testcover-1value-functions)
12870 (testcover-noreturn-functions, testcover-progn-functions)
12871 (testcover-prog1-functions):
12872 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12873 * eshell/em-glob.el (eshell-glob-translate-alist):
12874 * play/tetris.el (tetris-tty-colors):
12875 * progmodes/cpp.el (cpp-face-default-list):
12876 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12877 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12878 (idlwave-help-browser-generic-args):
12879 * progmodes/make-mode.el (makefile-special-targets-list):
12880 * progmodes/python.el (python-shell-virtualenv-path):
12881 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12882 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12883 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12884 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12885 * textmodes/reftex-vars.el (reftex-format-label-function):
12886 * textmodes/remember.el (remember-diary-file): Fix custom types.
12888 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12891 2013-05-09 Leo Liu <sdl.web@gmail.com>
12893 * progmodes/octave.el (inferior-octave-completion-at-point):
12894 Restore file completion. (Bug#14300)
12895 (inferior-octave-startup): Fix incorrect highlighting for the
12898 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12900 * progmodes/ruby-mode.el: First cut at SMIE support.
12901 (ruby-use-smie): New var.
12902 (ruby-smie-grammar): New constant.
12903 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12904 (ruby-smie--forward-token, ruby-smie--backward-token)
12905 (ruby-smie-rules): New functions.
12906 (ruby-mode-variables): Setup SMIE if applicable.
12908 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12910 * simple.el (line-move-visual): Signal beginning/end of buffer
12911 only if vertical-motion moved less than it was requested. Avoids
12912 silly incorrect error messages when there are display strings with
12913 multiple newlines at EOL.
12915 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12917 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12918 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12919 (prolog-char-quote-workaround):
12920 * progmodes/cperl-mode.el (cperl-under-as-char):
12921 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12923 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12925 (vhdl-mode-syntax-table-init): Remove.
12927 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12930 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12932 (ld-script-font-lock-keywords):
12933 Change regexps to use things like \_< and \_>.
12935 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12936 Change all regexps to use things like \_< and \_>.
12938 * progmodes/autoconf.el (autoconf-definition-regexp)
12939 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12940 Handle a _ with symbol syntax.
12941 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12943 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12944 Consolidate declaration.
12945 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12947 (ada-create-syntax-table): Remove.
12948 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12949 already has the right syntax nowadays.
12950 (ada-goto-next-word): Don't change the syntax of "_".
12952 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12955 2013-05-08 Sam Steingold <sds@gnu.org>
12957 * thingatpt.el (thing-at-point): Accept optional second argument
12958 NO-PROPERTIES to strip the text properties from the return value.
12959 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12960 to `thing-at-point' instead of stripping the properties ourselves.
12961 Also, when `thing-at-point' fails to find a url, prepend "http://"
12962 to the filename at point on the assumption that the user is
12963 pointing at something like gnu.org/gnu.
12965 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12967 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12968 * faces.el (crm-separator):
12969 Silence byte-compiler.
12971 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12972 (tool-bar-map): Remove unneeded defvars.
12974 2013-05-08 Leo Liu <sdl.web@gmail.com>
12976 Re-work a fix for bug#10994 based on Le Wang's patch.
12977 * ido.el (ido-remove-consecutive-dups): New helper.
12978 (ido-completing-read): Use it.
12979 (ido-chop): Revert fix for bug#10994.
12981 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12983 * cus-edit.el (custom-save-variables):
12984 Pretty-print long values. (Bug#14187)
12986 2013-05-08 Glenn Morris <rgm@gnu.org>
12988 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12989 (m4-mode-syntax-table): Init in the defvar.
12990 (m4-mode-abbrev-table): Let define-derived-mode define it.
12992 2013-05-08 Tom Tromey <tromey@redhat.com>
12994 * progmodes/m4-mode.el (m4-mode-syntax-table):
12995 Do not treat "_" as word constituent. (Bug#14167)
12997 2013-05-07 Glenn Morris <rgm@gnu.org>
12999 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
13000 Remove explicit eshell-isearch-cancel-map.
13002 * progmodes/f90.el (f90-smart-end-names): New option.
13003 (f90-smart-end): Doc fix.
13004 (f90-end-block-optional-name): New constant.
13005 (f90-block-match): Respect f90-smart-end-names.
13007 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * progmodes/octave.el (octave-smie-forward-token): Be more careful
13010 about implicit semi-colons (bug#14218).
13012 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13014 * frame.el (display-monitor-attributes-list)
13015 (frame-monitor-attributes): New functions.
13017 2013-05-06 Leo Liu <sdl.web@gmail.com>
13019 * progmodes/octave.el (octave-syntax-propertize-function): Change
13020 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
13021 (octave-font-lock-keywords): Use octave-operator-regexp.
13022 (octave-completion-at-point): Rename from
13023 octave-completion-at-point-function.
13024 (inferior-octave-directory-tracker): Robustify.
13025 (octave-text-functions): Remove and fix its uses. No such things
13028 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13030 * emacs-lisp/trace.el (trace--display-buffer): New function.
13031 (trace-make-advice): Use it.
13033 2013-05-06 Juri Linkov <juri@jurta.org>
13035 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
13036 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
13038 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
13039 in the help string. (Bug#12985)
13041 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
13043 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
13045 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13047 * progmodes/perl-mode.el: Add support for here documents.
13048 (perl-syntax-propertize-function): Match here-doc markers.
13049 (perl-syntax-propertize-special-constructs): Find their end.
13050 (perl-imenu-generic-expression): Use [:alnum:].
13052 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
13053 (advice--add-function): Refresh the advice if already present
13056 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
13058 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
13060 2013-05-06 Glenn Morris <rgm@gnu.org>
13062 * w32-fns.el (w32-charset-info-alist): Declare.
13064 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
13065 of its defcustom properties.
13066 (eshell-cmpl-initialize): No need to load pcomplete.
13068 * generic-x.el: No need to require comint when compiling.
13070 * net/eudc-export.el: Make it loadable without bbdb.
13071 (top-level): Use require rather than load-library.
13072 (eudc-create-bbdb-record, eudc-bbdbify-phone)
13073 (eudc-batch-export-records-to-bbdb)
13074 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
13077 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13079 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
13080 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
13081 some tweaks, instead.
13083 2013-05-05 Leo Liu <sdl.web@gmail.com>
13085 * progmodes/octave.el (octave-font-lock-keywords)
13086 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
13087 (inferior-octave-send-list-and-digest): Improve error message.
13088 (octave-mode, inferior-octave-mode): Use setq-local.
13089 (octave-help): Set info-lookup-mode.
13091 2013-05-05 Richard Stallman <rms@gnu.org>
13093 * vc/compare-w.el (compare-windows-whitespace):
13094 Treat no-break space as whitespace.
13096 * mail/rmailsum.el (rmail-summary-rmail-update):
13097 Detect empty summary and don't change selected message.
13098 (rmail-summary-goto-msg): Likewise.
13100 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
13101 Doc fixes, rename args.
13103 2013-05-05 Alan Mackenzie <acm@muc.de>
13105 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
13107 2013-05-05 Juri Linkov <juri@jurta.org>
13109 * info.el (Info-read-subfile): Use (point-min) instead of (point)
13110 to not add the length of the summary segment to the return value.
13113 2013-05-05 Leo Liu <sdl.web@gmail.com>
13115 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
13116 (inferior-octave-output-filter): Remove.
13117 (octave-send-region, inferior-octave-startup): Fix callers.
13118 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
13119 (octave-binary-file-extensions): New user variable.
13120 (octave-find-definition): Confirm if opening binary files.
13121 (octave-help-file): Use octave-find-definition to get the binary
13123 (octave-help): Adjust for octave-help-file change.
13125 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
13128 Merge the two entries that handle function definitions.
13129 (pascal--syntax-propertize): New const.
13130 (pascal-mode): Use it. Use setq-local.
13132 2013-05-04 Glenn Morris <rgm@gnu.org>
13134 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
13135 (diary-from-outlook): Respect diary-from-outlook-function.
13137 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13139 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
13140 Move the declaration from C.
13141 (read-minibuffer, eval-minibuffer): Move from C.
13142 (completion-setup-function): Avoid minibuffer-completion-contents.
13144 2013-05-03 Leo Liu <sdl.web@gmail.com>
13146 * progmodes/octave.el (octave-font-lock-keywords): Do not
13147 dehighlight 'end' in comments or strings.
13148 (octave-completing-read, octave-goto-function-definition):
13150 (octave-help-buffer): New user variable.
13151 (octave-help-file, octave-help-function): New button types.
13152 (octave-help): New command and bind it to C-h ;.
13153 (octave-find-definition): New command and bind it to M-.
13154 (user-error): Alias to error if not defined.
13156 2013-05-02 Leo Liu <sdl.web@gmail.com>
13158 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
13160 (octave-font-lock-keywords): Include [ and {.
13162 2013-05-02 Leo Liu <sdl.web@gmail.com>
13164 * progmodes/octave.el (inferior-octave-startup-file): Change default.
13165 (inferior-octave): Remove calling comint-mode and return the buffer.
13166 (inferior-octave-startup): Cosmetic changes.
13168 2013-05-02 Leo Liu <sdl.web@gmail.com>
13170 * progmodes/octave.el (octave-syntax-propertize-function):
13171 Include the case when ' is at line beginning. (Bug#14336)
13173 2013-05-02 Glenn Morris <rgm@gnu.org>
13175 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
13176 * desktop.el (vc-dir-mode): Just autoload it here.
13178 2013-05-02 Alan Mackenzie <acm@muc.de>
13180 Eliminate variable c-standard-font-lock-fontify-region-function.
13181 * progmodes/cc-mode.el
13182 (c-standard-font-lock-fontify-region-function): Remove.
13183 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
13185 2013-05-01 Leo Liu <sdl.web@gmail.com>
13187 * progmodes/octave.el: Compatible with older emacs-24 releases.
13188 (inferior-octave-has-built-in-variables): Remove. Built-in
13189 variables were removed from Octave in 2007.
13190 (inferior-octave-startup): Fix uses.
13191 (comint-line-beginning-position): Remove compatibility code for
13194 2013-05-01 Juri Linkov <juri@jurta.org>
13196 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
13198 2013-05-01 Juri Linkov <juri@jurta.org>
13200 * comint.el (comint-previous-matching-input): Don't print message
13201 "History item: %d" when `isearch-mode' is active.
13202 (comint-history-isearch-message): Print message "History item: %d"
13203 when `comint-input-ring-index' is not empty and this function is
13204 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
13206 2013-05-01 Leo Liu <sdl.web@gmail.com>
13208 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
13209 definitions. Use completion-at-point to insert keywords.
13210 (octave-abbrev-start): Remove.
13211 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
13213 2013-04-30 Leo Liu <sdl.web@gmail.com>
13215 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
13218 2013-04-30 Alan Mackenzie <acm@muc.de>
13220 Handle arbitrarily long C++ member initialisation lists.
13221 * progmodes/cc-engine.el (c-back-over-member-initializers):
13223 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
13224 (most) member init lists.
13226 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13228 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13231 2013-04-30 Leo Liu <sdl.web@gmail.com>
13233 * progmodes/octave.el (octave-variables): Remove. No builtin
13234 variables any more. All converted to functions.
13235 (octave-font-lock-keywords, octave-completion-at-point-function):
13237 (octave-font-lock-texinfo-comment): New user variable.
13238 (octave-texinfo-font-lock-keywords): New variable for texinfo
13240 (octave-function-comment-block): New face.
13241 (octave-font-lock-texinfo-comment): New function.
13242 (octave-mode): Font lock texinfo comment block.
13244 2013-04-29 Leo Liu <sdl.web@gmail.com>
13246 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13247 indexing expression.
13248 (octave-continuation-string): Do not use \.
13249 (inferior-octave-complete-impossible): Remove.
13250 (inferior-octave-completion-table)
13251 (inferior-octave-completion-at-point): Remove its uses.
13252 (inferior-octave-startup): completion_matches was introduced to
13253 Octave in 1996 so safe to assume it.
13254 (octave-function-file-comment): Improve to follow how Octave does it.
13255 (octave-update-function-file-comment): Tweak.
13257 2013-04-29 Leo Liu <sdl.web@gmail.com>
13259 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13260 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13261 (octave-function-file-comment): Fix typo.
13262 (octave-sync-function-file-names): Use read-char-choice.
13264 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13266 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13267 to t for the less important warnings.
13269 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13271 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13273 2013-04-27 Glenn Morris <rgm@gnu.org>
13275 * vc/log-view.el (log-view-current-entry):
13276 Treat "---" separator lines as part of the following rev. (Bug#14169)
13278 2013-04-27 Juri Linkov <juri@jurta.org>
13280 * subr.el (read-number): Doc fix about using it by interactive
13281 code letter `n'. (Bug#14254)
13283 2013-04-27 Juri Linkov <juri@jurta.org>
13285 * desktop.el (desktop-auto-save-timeout): New option.
13286 (desktop-file-checksum): New variable.
13287 (desktop-save): Add optional arg `auto-save' and don't auto-save
13288 if nothing changed.
13289 (desktop-auto-save-timer): New variable.
13290 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13291 (after-init-hook): Call `desktop-auto-save-set-timer'.
13292 Suggested by Reuben Thomas <rrt@sc3d.org> in
13293 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13295 2013-04-27 Leo Liu <sdl.web@gmail.com>
13297 * progmodes/octave.el (octave-function-file-p)
13298 (octave-skip-comment-forward, octave-function-file-comment)
13299 (octave-update-function-file-comment): New functions.
13300 (octave-mode-map): Bind C-c ; to
13301 octave-update-function-file-comment.
13302 (octave-mode-menu): Add octave-update-function-file-comment.
13303 (octave-mode, inferior-octave-mode): Fix doc-string.
13304 (octave-insert-defun): Conform to Octave's coding convention.
13307 * files.el (basic-save-buffer): Don't let errors in
13308 before-save-hook prevent saving buffer.
13310 2013-04-20 Roland Winkler <winkler@gnu.org>
13312 * faces.el (read-face-name): Use completing-read if arg multiple
13315 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13317 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13318 displayed, move point to after the totals line.
13319 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13322 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13324 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13325 Add current dir to the load-path.
13326 (package-generate-autoloads): Don't rely on
13327 autoload-ensure-default-file.
13329 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13331 * textmodes/remember.el (remember-store-in-files): Document that
13332 the file name format is passed to `format-time-string'.
13334 2013-04-26 Leo Liu <sdl.web@gmail.com>
13336 * progmodes/octave.el (octave-sync-function-file-names): New function.
13337 (octave-mode): Use it in before-save-hook.
13339 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13341 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13344 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13345 \n and comment, even if it's not an implicit ; (bug#14218).
13347 2013-04-26 Glenn Morris <rgm@gnu.org>
13349 * subr.el (read-number): Once more use `read' rather than
13350 `string-to-number', to trap non-numeric input. (Bug#14254)
13352 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13354 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13355 Use `syntax-multiline' text property consistently instead of
13356 `font-lock-multiline'. (Bug#14237)
13358 2013-04-26 Glenn Morris <rgm@gnu.org>
13360 * emacs-lisp/shadow.el (list-load-path-shadows):
13361 No longer necessary to check for duplicate simple.el, since
13362 2012-07-07 change to init_lread to not include installation lisp
13363 directories in load-path when running uninstalled. (Bug#14270)
13365 2013-04-26 Leo Liu <sdl.web@gmail.com>
13367 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13368 (octave-mode, inferior-octave-mode): Use setq-local.
13369 (octave-not-in-string-or-comment-p): Rename to
13370 octave-in-string-or-comment-p.
13371 (octave-in-comment-p, octave-in-string-p)
13372 (octave-in-string-or-comment-p): Replace defsubst with defun.
13374 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13376 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13378 2013-04-25 Bastien Guerry <bzg@gnu.org>
13380 * textmodes/remember.el (remember-data-directory)
13381 (remember-directory-file-name-format): Fix custom types.
13383 2013-04-25 Leo Liu <sdl.web@gmail.com>
13385 * progmodes/octave.el (octave-completion-at-point-function):
13386 Make use of inferior octave process.
13387 (octave-initialize-completions): Remove.
13388 (inferior-octave-completion-table): New function.
13389 (inferior-octave-completion-at-point): Use it.
13390 (octave-completion-alist): Remove.
13392 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13395 (opascal-mode-syntax-table): New var.
13396 (opascal-literal-kind, opascal-is-literal-end)
13397 (opascal-literal-token-at): Rewrite.
13398 (opascal--literal-start-re, opascal-font-lock-keywords)
13399 (opascal--syntax-propertize): New constants.
13400 (opascal-font-lock-defaults): Adjust.
13401 (opascal-mode): Use them. Set comment-<foo> variables as well.
13402 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13403 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13404 (delphi-other-face, opascal-other-face): Remove face variables.
13405 (opascal-save-state): Remove macro.
13406 (opascal-fontifying-progress-step): Remove constant.
13407 (opascal--ignore-changes): Remove var.
13408 (opascal-set-token-property, opascal-parse-next-literal)
13409 (opascal-is-stable-literal, opascal-complete-literal)
13410 (opascal-is-literal-start, opascal-face-of)
13411 (opascal-parse-region, opascal-parse-region-until-stable)
13412 (opascal-fontify-region, opascal-after-change)
13413 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13414 (opascal-debug-parse-region, opascal-debug-parse-window)
13415 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13416 (opascal-debug-fontify-buffer): Remove.
13417 (opascal-debug-mode-map): Adjust accordingly.
13419 2013-04-25 Leo Liu <sdl.web@gmail.com>
13421 Merge octave-mod.el and octave-inf.el into octave.el with some
13423 * progmodes/octave.el: New file renamed from octave-mod.el.
13424 * progmodes/octave-inf.el: Merged into octave.el.
13425 * progmodes/octave-mod.el: Renamed to octave.el.
13427 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13429 * textmodes/reftex-vars.el
13430 (reftex-label-ignored-macros-and-environments): New defcustom.
13432 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13434 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13437 (smie-indent-keyword): Improve the check to ensure that the next
13438 comment is really on the same line.
13439 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13441 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13442 semi-colons if the line is not otherwise empty (bug#14218).
13444 2013-04-25 Glenn Morris <rgm@gnu.org>
13446 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13448 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13450 * progmodes/opascal.el (opascal-set-token-property): Rename from
13451 opascal-set-text-properties and only set `token' (bug#14134).
13452 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13453 (opascal-literal-text-properties): Remove.
13454 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13457 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13459 * textmodes/remember.el (remember-handler-functions): Add an
13460 option for a new handler `remember-store-in-files'.
13461 (remember-data-directory, remember-directory-file-name-format):
13463 (remember-store-in-files): New function to store remember notes
13464 as separate files within a directory.
13466 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13468 * progmodes/compile.el (compilation-next-error-function):
13469 Pass "formats" to compilation-find-file (bug#11777).
13471 2013-04-24 Glenn Morris <rgm@gnu.org>
13473 * vc/vc-bzr.el (vc-bzr-print-log):
13474 * vc/vc-hg.el (vc-hg-print-log):
13475 * vc/vc-svn.el (vc-svn-print-log):
13476 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13478 * vc/vc-bzr.el (vc-bzr-print-log):
13479 * vc/vc-cvs.el (vc-cvs-print-log):
13480 * vc/vc-git.el (vc-git-print-log):
13481 * vc/vc-hg.el (vc-hg-print-log):
13482 * vc/vc-mtn.el (vc-mtn-print-log):
13483 * vc/vc-rcs.el (vc-rcs-print-log):
13484 * vc/vc-sccs.el (vc-sccs-print-log):
13485 * vc/vc-svn.el (vc-svn-print-log):
13486 * vc/vc.el (vc-print-log-internal): Doc fixes.
13488 2013-04-23 Glenn Morris <rgm@gnu.org>
13490 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13491 Remove venerable code attempting to avoid substitute-command-keys.
13493 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13495 * textmodes/reftex-vars.el (reftex-label-regexps):
13496 Call `reftex-compile-variables' after changes to this variable.
13498 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13500 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13501 Use lexical-binding.
13502 (jit-lock-force-redisplay): Use markers, check buffer's continued
13503 existence and beware narrowed buffers.
13504 (jit-lock-fontify-now): Adjust call accordingly.
13506 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13508 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13509 to avoid misleading the user.
13511 2013-04-22 Leo Liu <sdl.web@gmail.com>
13513 * info-look.el: Prefer latex2e.info. (Bug#14240)
13515 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13517 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13519 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13520 * net/tramp.el (tramp-call-process): ... here.
13521 (tramp-set-completion-function, tramp-parse-putty):
13522 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13523 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13524 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13525 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13526 (tramp-call-local-coding-command): Use `tramp-call-process'
13527 instead of `tramp-compat-call-process'.
13529 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13530 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13531 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13532 (tramp-find-inline-compress): Improve traces.
13533 (tramp-maybe-send-script): Check for Perl binary.
13534 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13536 2013-04-22 Daiki Ueno <ueno@gnu.org>
13538 * epg.el (epg-context-pinentry-mode): New function.
13539 (epg-context-set-pinentry-mode): New function.
13540 (epg--start): Pass --pinentry-mode option to gpg command.
13542 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13544 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13545 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13546 `completion-at-point'. (Bug#13774)
13548 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13549 default key binding for `describe-distribution' has been moved to
13550 `C-h C-o'. (Bug#13970)
13552 2013-04-21 Glenn Morris <rgm@gnu.org>
13554 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13556 (vc-print-log): Clarify interactive prompt.
13558 2013-04-20 Glenn Morris <rgm@gnu.org>
13560 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13561 No longer include timestamp etc information.
13563 2013-04-20 Roland Winkler <winkler@gnu.org>
13565 * faces.el (read-face-name): Bug fix, return just one face if arg
13566 multiple is nil. (Bug#14209)
13568 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13570 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13571 (remove-function): Autoload.
13573 * comint.el (comint-redirect-original-filter-function): Remove.
13574 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13575 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13576 (vc-cvs-annotate-command):
13577 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13578 * progmodes/prolog.el (prolog-consult-compile):
13579 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13580 Use add/remove-function instead.
13581 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13582 (gud-tooltip-process-output, gud-tooltip-tips):
13583 Use add/remove-function instead.
13584 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13585 (scheme-interaction-mode, exit-scheme-interaction-mode):
13586 Use add/remove-function instead.
13588 * vc/vc-dispatcher.el: Use lexical-binding.
13589 (vc--process-sentinel): Rename from vc-process-sentinel.
13590 Change last arg to be the code to run. Don't use vc-previous-sentinel
13591 and vc-sentinel-commands any more.
13592 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13593 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13595 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13597 * progmodes/sh-script.el (sh-imenu-generic-expression):
13598 Handle function names with a single character. (Bug#14111)
13600 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13602 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13603 for subroutines defined in an eval (bug#14182).
13605 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13607 * bookmark.el (bookmark-completing-read): Improve handling of empty
13608 string (bug#14176).
13610 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13612 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13614 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13616 New faster Imenu implementation (bug#14058).
13617 * progmodes/python.el:
13618 (python-imenu-prev-index-position):
13619 (python-imenu-format-item-label-function)
13620 (python-imenu-format-parent-item-label-function)
13621 (python-imenu-format-parent-item-jump-label-function):
13623 (python-imenu-format-item-label)
13624 (python-imenu-format-parent-item-label)
13625 (python-imenu-format-parent-item-jump-label)
13626 (python-imenu--put-parent, python-imenu--build-tree)
13627 (python-imenu-create-index, python-imenu-create-flat-index)
13628 (python-util-popn): New functions.
13629 (python-mode): Set imenu-create-index-function to
13630 python-imenu-create-index.
13632 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * winner.el (winner-active-region): Use region-active-p, activate-mark
13635 and deactivate-mark (bug#14225).
13637 * simple.el (deactivate-mark): Don't inline it.
13639 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13641 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13643 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13645 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13646 file extensions from the archive-mode entry in order to prefer
13647 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13649 2013-04-18 Leo Liu <sdl.web@gmail.com>
13651 * bindings.el (help-event-list): Add ?\?.
13653 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13655 * subr.el (with-wrapper-hook): Declare obsolete.
13656 * simple.el (filter-buffer-substring-function): New hook.
13657 (filter-buffer-substring): Use it.
13658 (filter-buffer-substring-functions): Mark obsolete.
13659 * minibuffer.el (completion-in-region-function): New hook.
13660 (completion-in-region): Use it.
13661 (completion-in-region-functions): Mark obsolete.
13662 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13663 * abbrev.el (abbrev-expand-function): New hook.
13664 (expand-abbrev): Use it.
13665 (abbrev-expand-functions): Mark obsolete.
13666 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13667 and :filter-return.
13669 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13671 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13672 and do not care about match data.
13674 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13676 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13677 completion tables when completing error conditions and
13678 `declare' arguments.
13679 (lisp-complete-symbol, field-complete): Mark as obsolete.
13680 (check-parens): Unmatched parens are user errors.
13681 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13683 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13685 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13686 command changed buffer (ie. `flyspell-pre-buffer' is not current
13687 buffer), which prevents making decisions based on invalid value of
13688 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13689 cause an error when `flyspell-pre-point' was nil after switching
13691 (flyspell-post-command-hook): No longer needs to change buffers when
13692 checking pre-word. While at it remove unnecessary progn.
13694 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13696 * textmodes/ispell.el (ispell-add-per-file-word-list):
13697 Fix `flyspell-correct-word-before-point' error when accepting
13698 words and `coment-padding' is an integer by using
13699 `comment-normalize-vars' (Bug #14214).
13701 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13703 New defun movement commands.
13704 * progmodes/python.el (python-nav--syntactically)
13705 (python-nav--forward-defun, python-nav-backward-defun)
13706 (python-nav-forward-defun): New functions.
13708 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13710 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13711 (python-syntax-context): Use named compiler-macro for backwards
13712 compatibility with Emacs 24.x.
13714 2013-04-17 Leo Liu <sdl.web@gmail.com>
13716 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13717 octave-hide-process-buffer.
13719 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13721 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13724 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13726 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13727 Fix adjustment of offset when receiving incomplete responses from GDB
13730 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13732 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13733 python-mode-abbrev-table.
13734 (python-skeleton-define): Adjust accordingly.
13735 (python-mode-abbrev-table): New table that inherits from it so that
13736 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13738 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13739 (abbrev-symbol): Use it.
13740 (abbrev--before-point): Use it since we already handle inheritance.
13742 2013-04-16 Leo Liu <sdl.web@gmail.com>
13744 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13745 binding to info-lookup-symbol.
13747 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13749 * minibuffer.el (completion--twq-all):
13750 * term/ns-win.el (ns-initialize-window-system):
13751 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13753 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13755 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13758 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13760 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13762 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13763 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13765 (ruby-end-of-defun): Remove the unused arg, change the docstring
13766 to reflect that this function is only used as the value of
13767 `end-of-defun-function'.
13768 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13769 to reflect an earlier change that beginning/end-of-defun functions
13770 jump between methods in a class definition, as well as top-level
13773 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13775 * minibuffer.el (minibuffer-complete): Don't just scroll
13776 a *Completions* that's been iconified.
13777 (minibuffer-force-complete): Make sure repetitions do cycle when going
13778 through completion-in-region -> minibuffer-complete.
13780 2013-04-15 Alan Mackenzie <acm@muc.de>
13782 Correct the placement of c-cpp-delimiters when there're #s not at
13785 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13786 place a submatch around the #.
13787 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13788 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13791 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13793 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13794 (advice--member-p): New arg `name'.
13795 (advice--add-function, advice-member-p): Use it (bug#14202).
13797 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13799 Reformulate java imenu-generic-expression.
13800 The old expression contained ill formed regexps.
13802 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13803 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13804 (cc-imenu-java-method-arg-regexp): New defconsts.
13805 (cc-imenu-java-build-type-args-regex): New defun.
13806 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13807 handling of spaces in the regexp.
13809 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13811 * textmodes/ispell.el (ispell-command-loop): Remove
13812 flyspell highlight of a word when ispell accepts it (bug #14178).
13814 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13816 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13817 uses code from the previous `ange-ftp-run-real-handler'.
13818 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13819 only in case that function exist. This is needed for proper
13820 unloading of Tramp.
13822 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13824 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13826 * textmodes/reftex.el (reftex-compile-variables): Use it.
13828 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13830 * files.el (normal-mode): Only use default major-mode if no other mode
13833 * emacs-lisp/trace.el (trace-values): New function.
13835 * files.el: Allow : in local variables (bug#14089).
13836 (hack-local-variable-regexp): New var.
13837 (hack-local-variables-prop-line, hack-local-variables): Use it.
13839 2013-04-13 Roland Winkler <winkler@gnu.org>
13841 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13842 data before it gets modified by bibtex-beginning-of-entry.
13844 2013-04-13 Roland Winkler <winkler@gnu.org>
13846 * textmodes/bibtex.el (bibtex-url): Doc fix.
13848 2013-04-13 Roland Winkler <winkler@gnu.org>
13850 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13851 does not visit a BibTeX file, exclude it from the list of buffers
13852 returned by bibtex-initialize.
13854 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13856 * window.el (split-window): Remove interactive form, since as a
13857 command this function is a special case of split-window-below.
13858 Correct doc string.
13860 2013-04-12 Roland Winkler <winkler@gnu.org>
13862 * faces.el (read-face-name): Do not override value of arg default.
13863 Allow single faces and strings as default values. Remove those
13864 elements from return value that are not faces.
13865 (describe-face): Simplify.
13866 (face-at-point): New optional args thing and multiple so that this
13867 function can provide the same functionality previously provided by
13869 (make-face-bold, make-face-unbold, make-face-italic)
13870 (make-face-unitalic, make-face-bold-italic, invert-face)
13871 (modify-face, read-face-and-attribute): Use face-at-point.
13873 * cus-edit.el (customize-face, customize-face-other-window)
13874 * cus-theme.el (custom-theme-add-face)
13875 * face-remap.el (buffer-face-set)
13876 * facemenu.el (facemenu-set-face): Use face-at-point.
13878 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13880 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13882 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13884 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13885 off leading { and trailing } from field values.
13887 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13889 * emacs-lisp/timer.el (timer--check): New function.
13890 (timer--time, timer-set-function, timer-event-handler): Use it.
13891 (timer-set-idle-time): Simplify.
13892 (timer--activate): CSE.
13893 (timer-event-handler): Give more info in error message.
13894 (internal-timer-start-idle): New function, moved from C.
13896 * mpc.el (mpc-proc): Add `restart' argument.
13897 (mpc-proc-cmd): Use it.
13898 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13899 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13902 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13904 * progmodes/sh-script.el: Implement `sh-mode' own
13905 `add-log-current-defun-function' (bug#14112).
13906 (sh-current-defun-name): New function.
13907 (sh-mode): Use the function.
13909 2013-04-09 Bastien Guerry <bzg@gnu.org>
13911 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13913 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13915 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13917 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13920 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13922 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13925 2013-04-07 Leo Liu <sdl.web@gmail.com>
13927 * pcmpl-x.el: New file.
13929 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13931 Do not set x-display-name until X connection is established.
13932 This is needed to prevent from weird situation described at
13933 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13934 * frame.el (make-frame): Set x-display-name after call to
13935 window system initialization function, not before.
13936 * term/x-win.el (x-initialize-window-system): Add optional
13937 display argument and use it.
13938 * term/w32-win.el (w32-initialize-window-system):
13939 * term/ns-win.el (ns-initialize-window-system):
13940 * term/pc-win.el (msdos-initialize-window-system):
13941 Add compatible optional display argument.
13943 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13945 * files.el (normal-backup-enable-predicate): On MS-Windows and
13946 MS-DOS compare truenames of temporary-file-directory and of the
13947 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13948 don't fail comparison by compare-strings. Also, compare file
13949 names case-insensitively on MS-Windows and MS-DOS.
13951 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13953 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13954 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13956 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13958 * whitespace.el (whitespace-color-on, whitespace-color-off):
13959 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13961 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13963 * ispell.el (ispell-set-spellchecker-params):
13964 Really set `ispell-args' for all equivs.
13966 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13968 * ido.el (ido-completions): Use extra elements of ido-decorations
13970 (ido-decorations): Update docstring.
13972 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13974 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13975 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13976 nil during initialization, in order not to miss changes since the
13977 file was opened. (Bug#14140)
13979 2013-04-05 Leo Liu <sdl.web@gmail.com>
13981 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13983 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13985 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13987 2013-04-04 Glenn Morris <rgm@gnu.org>
13989 * electric.el (electric-pair-inhibit-predicate): Add :version.
13991 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13993 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13994 when a package is required several times (bug#14082).
13996 2013-04-04 Roland Winkler <winkler@gnu.org>
13998 * faces.el (read-face-name): Behave as promised by the docstring.
13999 Assume that arg default is a list of faces.
14000 (describe-face): Call read-face-name with list of default faces.
14002 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14004 * bookmark.el: Fix deletion of bookmarks (bug#13972).
14005 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
14006 (bookmark-bmenu-execute-deletions): Only skip first line if it's
14008 (bookmark-exit-hook-internal): Save even if list is empty.
14010 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
14012 * emacs-lisp/package.el (package-pinned-packages): New var.
14013 (package--add-to-archive-contents): Obey it (bug#14118).
14015 2013-04-03 Alan Mackenzie <acm@muc.de>
14017 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
14018 Also adapt to the new values of element 7 of a parse state.
14020 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
14021 parameter `not-in-delimiter'. Handle being inside comment opener.
14022 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
14023 character in case we're typing a '*' after a '/'.
14024 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
14025 instead by passing the parameter to c-state-pp-to-literal.
14027 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
14028 for elt. 7 of a parse state.
14030 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
14032 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
14033 * international/latin1-disp.el, international/mule-util.el:
14034 * language/cyril-util.el, language/european.el, language/ind-util.el:
14035 * language/lao-util.el, language/thai.el, language/tibet-util.el:
14036 * language/tibetan.el, language/viet-util.el:
14037 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
14039 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14041 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
14042 (electric-pair-post-self-insert-function): Use it.
14043 (electric-pair-default-inhibit): New function, extracted from
14044 electric-pair-post-self-insert-function.
14046 2013-03-31 Roland Winkler <winkler@gnu.org>
14048 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
14050 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14052 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
14054 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
14056 Un-indent after "pass" and "return" statements (Bug#13888)
14057 * progmodes/python.el (python-indent-block-enders): New var.
14058 (python-indent-calculate-indentation): Use it.
14060 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
14062 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
14063 defun. Defining it as defalias could introduce too eager
14064 byte-compiler optimization. (Bug#14030)
14066 2013-03-30 Chong Yidong <cyd@gnu.org>
14068 * iswitchb.el (iswitchb-read-buffer): Fix typo.
14070 2013-03-30 Leo Liu <sdl.web@gmail.com>
14072 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
14073 (kmacro-execute-from-register): Pass the keyboard macro to
14074 kmacro-call-macro or repeating won't work correctly.
14076 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
14078 * progmodes/subword.el: Back to using `forward-symbol'.
14080 * subr.el (forward-whitespace, forward-symbol)
14081 (forward-same-syntax): Move from thingatpt.el.
14083 2013-03-29 Leo Liu <sdl.web@gmail.com>
14085 * kmacro.el (kmacro-to-register): New command.
14086 (kmacro-execute-from-register): New function.
14087 (kmacro-keymap): Bind to 'x'. (Bug#14071)
14089 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
14091 * mpc.el: Use defvar-local and setq-local.
14092 (mpc--proc-connect): Connection failures are not bugs.
14093 (mpc-mode-map): `follow-link' only applies to the buffer's content.
14094 (mpc-volume-map): Bind to the up-events.
14096 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
14098 * progmodes/subword.el (superword-mode): Use `forward-sexp'
14099 instead of `forward-symbol'.
14101 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
14103 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
14104 (edebug--recursive-edit): Use it.
14105 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
14106 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
14108 2013-03-28 Leo Liu <sdl.web@gmail.com>
14110 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
14112 2013-03-27 Eli Zaretskii <eliz@gnu.org>
14114 * facemenu.el (list-colors-callback): New defvar.
14115 (list-colors-redisplay): New function.
14116 (list-colors-display): Install list-colors-redisplay as the
14117 revert-buffer-function. (Bug#14063)
14119 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14121 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
14122 and suffixes don't overlap (bug#14061).
14124 * case-table.el: Use lexical-binding.
14125 (case-table-get-table): New function.
14126 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
14128 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
14130 * progmodes/subword.el: Add `superword-mode' to do word motion
14131 over symbol_words (parallels and leverages `subword-mode' which
14132 does word motion inside MixedCaseWords).
14134 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
14136 * eshell/em-unix.el: Move su and sudo to...
14137 * eshell/em-tramp.el: ...Eshell tramp module.
14139 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14141 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
14142 Change return value to be a sexp. Delay `get-buffer' to after
14143 restoring the desktop (bug#13951).
14145 2013-03-26 Leo Liu <sdl.web@gmail.com>
14147 * register.el: Move semantic tag handling back to
14148 cedet/semantic/senator.el. (Bug#14052)
14150 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14152 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
14153 into the prompt either (bug#13963).
14155 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
14158 part of "(error-foo)".
14160 2013-03-24 Juri Linkov <juri@jurta.org>
14162 * replace.el (list-matching-lines-prefix-face): New defcustom.
14163 (occur-1): Pass `list-matching-lines-prefix-face' to the function
14164 `occur-engine' if `face-differs-from-default-p' returns t.
14165 (occur-engine): Add `,' inside backquote construct to evaluate
14166 `prefix-face'. Propertize the prefix with the `prefix-face' face.
14167 Pass `prefix-face' to the functions `occur-context-lines' and
14168 `occur-engine-add-prefix'.
14169 (occur-engine-add-prefix, occur-context-lines): Add optional arg
14170 `prefix-face' and propertize the prefix with `prefix-face'.
14173 2013-03-24 Leo Liu <sdl.web@gmail.com>
14175 * nxml/rng-valid.el (rng-validate-while-idle)
14176 (rng-validate-quick-while-idle): Guard against deleted buffer.
14179 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
14180 is the last entry in kill-buffer-hook.
14182 * files.el (kill-buffer-hook): Doc fix.
14184 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
14186 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
14187 Make it safe-local.
14189 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
14191 2013-03-23 Leo Liu <sdl.web@gmail.com>
14193 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
14196 * nxml/rng-valid.el (rng-validate-mode)
14197 (rng-after-change-function, rng-do-some-validation):
14198 * nxml/rng-maint.el (rng-validate-buffer):
14199 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
14200 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
14201 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
14202 (nxml-extend-after-change-region): Use with-silent-modifications.
14204 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
14207 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
14208 (rng-next-error-1, rng-previous-error-1): Do not let-bind
14209 timer-idle-list. (Bug#13999)
14211 2013-03-23 Juri Linkov <juri@jurta.org>
14213 * info.el (info-index-match): New face.
14214 (Info-index, Info-apropos-matches): Add a nested subgroup to the
14215 main pattern and add text properties with the new face to matches
14216 in index entries relative to the beginning of the index entry.
14219 2013-03-21 Eric Ludlam <zappo@gnu.org>
14221 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
14222 Inhibit read only while inserting objects.
14224 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
14226 * progmodes/cfengine.el: Update docs to mention
14227 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
14228 symbol motion. Remove "_" from the word syntax.
14230 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14232 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14233 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14235 2013-03-20 Juri Linkov <juri@jurta.org>
14237 * info.el (Info-next-reference-or-link)
14238 (Info-prev-reference-or-link): New functions.
14239 (Info-next-reference, Info-prev-reference): Use them.
14240 (Info-try-follow-nearest-node): Handle footnote navigation.
14241 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14243 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14245 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14246 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14248 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14250 Suppress unnecessary non-ASCII chatter during build process.
14251 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14252 (batch-skkdic-convert): Suppress most of the chatter.
14253 It's not needed so much now that machines are faster,
14254 and its non-ASCII component was confusing; see Dmitry Gutov in
14255 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14257 2013-03-20 Leo Liu <sdl.web@gmail.com>
14259 * ido.el (ido-chop): Fix bug#10994.
14261 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14263 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14265 (whitespace-color-on, whitespace-color-off):
14266 Use `font-lock-fontify-buffer' (Bug#13817).
14268 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14270 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14271 remapping in mode-line.
14272 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14274 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14276 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14277 value for `whitespace-line' face (Bug#13875).
14278 (whitespace-font-lock-keywords): Change description.
14279 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14280 the constructed keywords instead.
14281 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14283 2013-03-19 Leo Liu <sdl.web@gmail.com>
14285 * progmodes/compile.el (compilation-display-error): New command.
14286 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14289 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14291 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14293 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14295 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14297 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14299 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14301 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14302 * net/tramp-gvfs.el (top):
14303 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14304 (tramp-handle-shell-command): Use it.
14305 (tramp-dissect-file-name): Raise an error when hostname is a
14306 method name, and neither method nor user is specified.
14308 * net/trampver.el: Update release number.
14310 2013-03-18 Leo Liu <sdl.web@gmail.com>
14312 Make sure eldoc can be turned off properly.
14313 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14315 (eldoc-display-message-p): Revert last change.
14316 (eldoc-display-message-no-interference-p)
14317 (eldoc-print-current-symbol-info): Tweak.
14319 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14321 * doc-view.el (doc-view-new-window-function): Check the new window
14322 overlay's display property instead the char property of the
14323 buffer's first char. Use `with-selected-window' instead of
14324 `save-window-excursion' with `select-window'.
14325 (doc-view-document->bitmap): Check the current doc-view overlay's
14326 display property instead the char property of the buffer's first char.
14328 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14330 Automate the build of ja-dic.el (Bug#13984).
14331 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14332 from the input, rather than assume that it's been done for us by the
14333 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14334 the current date into a ja-dic.el comment, as that complicates
14335 regression testing.
14337 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14339 * whitespace.el: Fix double evaluation.
14340 (whitespace-space, whitespace-hspace, whitespace-tab)
14341 (whitespace-newline, whitespace-trailing, whitespace-line)
14342 (whitespace-space-before-tab, whitespace-indentation)
14343 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14345 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14346 (whitespace-color-on): Use a single font-lock-add-keywords call.
14347 Fix double-evaluation of face variables.
14349 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14351 * net/tramp-adb.el (tramp-adb-parse-device-names):
14352 Use `start-process' instead of `call-process'. Otherwise, the
14353 function might be blocked under MS Windows. (Bug#13299)
14355 2013-03-17 Leo Liu <sdl.web@gmail.com>
14357 Extend eldoc to display info in the mode-line. (Bug#13978)
14358 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14359 (eldoc-mode-line-string): New variable.
14360 (eldoc-minibuffer-message): New function.
14361 (eldoc-message-function): New variable.
14362 (eldoc-message): Use it.
14363 (eldoc-display-message-p)
14364 (eldoc-display-message-no-interference-p):
14365 Support eldoc-post-insert-mode.
14367 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14368 (eval-expression): Run it.
14370 2013-03-17 Roland Winkler <winkler@gnu.org>
14372 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14373 strings in the list of return values.
14375 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14377 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14378 radix before checking for HMS forms.
14380 2013-03-16 Leo Liu <sdl.web@gmail.com>
14382 * progmodes/scheme.el: Add indentation and font-locking for λ.
14385 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14387 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14388 token before point (bug#13942).
14390 2013-03-16 Leo Liu <sdl.web@gmail.com>
14392 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14394 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14396 * startup.el (command-line-normalize-file-name): Fix handling of
14397 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14398 <xfq.free@gmail.com> in
14399 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14401 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14403 Sync with Tramp 2.2.7.
14405 * net/trampver.el: Update release number.
14407 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14409 * doc-view.el: Fix bug#13887.
14410 (doc-view-insert-image): Don't modify overlay associated to
14411 non-live windows, and implement horizontal centering of image in
14412 case it's smaller than the window.
14413 (doc-view-new-window-function): Force redisplay of new windows on
14416 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14418 * saveplace.el (save-place-alist-to-file): Don't sort
14419 `save-place-alist', just pretty-print it (bug#13882).
14421 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14423 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14424 Check whether `default-file-name-coding-system' is bound.
14425 It isn't in XEmacs.
14427 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14429 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14430 backquotes for `obsolete' (bug#13929).
14432 * international/mule.el (find-auto-coding): Include file name in
14433 obsolescence warning (bug#13922).
14435 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14437 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14438 for CFEngine 3-specific indentation.
14439 (cfengine3-indent-line): Use it. Fix up category regex.
14440 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14442 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14444 * type-break.el (type-break-file-name):
14445 * textmodes/remember.el (remember-data-file):
14446 * strokes.el (strokes-file):
14447 * shadowfile.el (shadow-initialize):
14448 * saveplace.el (save-place-file):
14449 * ps-bdf.el (bdf-cache-file):
14450 * progmodes/idlwave.el (idlwave-config-directory):
14451 * net/quickurl.el (quickurl-url-file):
14452 * international/kkc.el (kkc-init-file-name):
14453 * ido.el (ido-save-directory-list-file):
14454 * emulation/viper.el (viper-custom-file-name):
14455 * emulation/vip.el (vip-startup-file):
14456 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14457 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14459 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14461 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14462 * language/thai-word.el: Switch to UTF-8.
14464 See ChangeLog.16 for earlier changes.
14466 ;; Local Variables:
14470 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14472 This file is part of GNU Emacs.
14474 GNU Emacs is free software: you can redistribute it and/or modify
14475 it under the terms of the GNU General Public License as published by
14476 the Free Software Foundation, either version 3 of the License, or
14477 (at your option) any later version.
14479 GNU Emacs is distributed in the hope that it will be useful,
14480 but WITHOUT ANY WARRANTY; without even the implied warranty of
14481 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14482 GNU General Public License for more details.
14484 You should have received a copy of the GNU General Public License
14485 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.