1 2014-03-21 Daniel Colascione <dancol@dancol.org>
3 * mail/emacsbug.el (report-emacs-bug): Include memory usage
4 information in bug reports.
6 2014-03-23 Daniel Colascione <dancol@dancol.org>
8 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
9 list to look for keyword arguments instead of `memq', fixing
10 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11 Please make bootstrap.
13 2014-03-23 Richard Stallman <rms@gnu.org>
15 * battery.el (battery-linux-sysfs): Search for each field
16 from the beginning of the buffer.
18 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
20 * emacs-lisp/package.el (package-desc): Use the contents of the
21 quoted form, not its cdr. (Bug#16873)
23 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
25 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
26 benefit of doc.c; change parameter profile to match the X function.
28 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
30 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
33 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
34 (tramp-maybe-open-connection): Handle `tramp-login-env'.
36 2014-03-21 Glenn Morris <rgm@gnu.org>
38 * electric.el (electric-indent-post-self-insert-function): Add doc.
40 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
42 * emacs-lisp/package.el (package-compute-transaction):
43 Use `version-list-<=' to compare the requirement version against
44 the version of package already to be installed. Update the error
47 * progmodes/ruby-mode.el (ruby-smie-rules):
48 Add indentation rule for ` @ '. (Bug#17050)
50 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
52 * align.el (align-regexp): Remove superfluous backslash.
54 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
55 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
56 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
58 (ffap-next): Use C-u in docstring.
59 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
60 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
61 Remove superfluous backslashes.
62 (ffap-string-at-point): Reflow docstring.
64 * server.el (server-host): Reflow docstring.
65 (server-unload-function): Fix docstring typo.
66 (server-eval-at): Remove superfluous backslash.
68 * skeleton.el (skeleton-insert): Remove superfluous backslash.
69 (skeleton-insert): Doc fix.
70 (skeleton-insert): Reflow docstring.
72 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
73 (tty-color-approximate, tty-color-by-index, tty-color-values)
74 (tty-color-desc): Remove superfluous backslashes.
76 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
78 * electric.el (electric-newline-and-maybe-indent): New command.
79 Bind it globally to C-j.
80 (electric-indent-mode): Don't mess with the global map any more.
81 Don't drop the post-self-insert-hook is some buffer is still using it
83 * bindings.el (global-map): Remove C-j binding.
85 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
86 the docstring of functions advised before dumping (bug#16993).
88 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
90 * ps-print.el (ps-generate-postscript-with-faces):
91 Explicitly deactivate the mark (bug#16866).
92 * simple.el (deactivate-mark): Update region highlight.
94 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
96 * emacs-lisp/package.el (describe-package-1):
97 Decode commentary (bug#16733).
99 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
101 * custom.el (defcustom): Doc fix: recommend avoiding destructive
102 modification of the value argument of :set (bug#16755).
104 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
106 * simple.el (newline-and-indent): Do autofill (bug#17031).
108 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
110 * newcomment.el (comment-normalize-vars): Only add escaping check
111 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
112 (comment-beginning): Use `narrow-to-region' instead of moving back
114 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
115 (comment-start-skip): Update the docstring.
117 2014-03-18 Richard Stallman <rms@gnu.org>
119 * dired.el (dired-display-file): Force use of other window.
121 2014-03-18 Daniel Colascione <dancol@dancol.org>
123 * startup.el (tty-handle-args): Remove debug message from 2007.
125 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
127 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
128 (advice--make-interactive-form): Use it to avoid (auto)loading function.
129 (advice--make-1, advice-add, advice-remove):
130 Remove braindead :advice-pending hack.
132 2014-03-17 Glenn Morris <rgm@gnu.org>
134 * calendar/calendar.el (calendar-generate-month): Apply weekend
135 face to the right days; fixes 2013-08-06 change. (Bug#17028)
137 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
139 * net/tramp.el (tramp-action-out-of-band): Read pending output.
140 (tramp-call-process): Trace also DESTINATION.
142 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
143 Quote file names when they are local. Remove superfluous trace.
145 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
147 * newcomment.el (comment-beginning): If `comment-start-skip'
148 doesn't match, move back one char and try again. (Bug#16971)
150 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
151 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
152 Set `comment-start-skip' to a simpler value that doesn't try to
153 check if the semicolon is escaped (this is handled by
154 `syntax-ppss' now). (Bug#16971)
156 * progmodes/scheme.el (scheme-mode-variables): Same.
158 2014-03-16 Martin Rudalics <rudalics@gmx.at>
160 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
161 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
162 current (Bug#16816, Bug#17007).
163 (with-current-buffer-window): New macro doing the same as
164 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
165 * help.el (help-print-return-message): Warn in doc-string to not
166 use this in `with-help-window'.
167 (describe-bindings-internal): Call `describe-buffer-bindings'
168 from within help buffer. See Juanma's scenario in (Bug#16816).
169 (with-help-window): Update doc-string.
170 * dired.el (dired-mark-pop-up):
171 * files.el (save-buffers-kill-emacs):
172 * register.el (register-preview): Use `with-current-buffer-window'
173 instead of `with-temp-buffer-window'.
175 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
177 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
178 Implement inserting into current buffer, documented in their docstrings.
179 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
180 (rst-section-tree-point, rst-forward-section, rst-indent)
181 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
182 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
183 (rst-font-lock-handle-adornment-pre-match-form)
184 (rst-repeat-last-character): Reflow docstrings.
185 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
186 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
187 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
188 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
190 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
191 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
192 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
194 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
196 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
197 for compatibility with other ports.
198 (ns-initialize-window-system): Use it. It is set in term/common-win.el
199 from the -xrm command line argument, but in the Nextstep port its value
200 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
202 * progmodes/python.el (defconst, python-syntax-count-quotes)
203 (python-indent-region, python-indent-shift-right)
204 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
205 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
206 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
207 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
208 (inferior-python-mode, python-shell-make-comint, run-python-internal)
209 (python-shell-buffer-substring, python-shell-send-buffer)
210 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
211 (python-completion-complete-at-point, python-fill-docstring-style)
212 (python-eldoc-function, python-imenu-format-item-label)
213 (python-imenu-format-parent-item-label)
214 (python-imenu-format-parent-item-jump-label)
215 (python-imenu--build-tree, python-imenu-create-index)
216 (python-imenu-create-flat-index): Fix docstring typos.
217 (python-indent-context, python-shell-prompt-regexp, run-python):
218 Remove superfluous backslashes.
219 (python-indent-line, python-nav-beginning-of-defun)
220 (python-shell-get-buffer, python-shell-get-process)
221 (python-info-current-defun, python-info-current-line-comment-p)
222 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
223 (python-indent-post-self-insert-function, python-shell-send-file)
224 (python-shell-completion-get-completions)
225 (python-shell-completion-complete-or-indent)
226 (python-eldoc--get-doc-at-point): Reflow docstrings.
228 2014-03-14 Glenn Morris <rgm@gnu.org>
230 * emacs-lisp/package.el (package-menu-mode-map):
231 Replace use of obsolete function alias. Tweak menu item text.
233 * info.el (Info-finder-find-node):
234 Ignore the `emacs' metapackage. (Bug#10813)
236 * finder.el (finder-list-matches): Include unversioned packages
237 in the result of a keyword search.
239 * finder.el (finder--builtins-descriptions): New constant.
240 (finder-compile-keywords): Use finder--builtins-descriptions.
242 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
244 * simple.el (blink-matching-paren): Describe the new value,
245 `jump', enabling the old behavior.
246 (blink-matching-open): Use that value. (Bug#17008)
248 2014-03-14 Glenn Morris <rgm@gnu.org>
250 * finder.el (finder-no-scan-regexp): Add leim-list.
251 (finder-compile-keywords):
252 Don't skip files with same basename. (Bug#14010)
253 * Makefile.in (setwins_finder): New, excluding leim.
254 (finder-data): Use setwins_finder.
256 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
257 (help-function-arglist, help-make-usage): Move from here...
258 * help.el (help-split-fundoc, help-add-fundoc-usage)
259 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
260 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
262 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
264 * net/socks.el (socks, socks-override-functions)
265 (socks-find-services-entry):
266 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
267 (hif-find-ifdef-block):
268 * progmodes/modula2.el (m2-indent): Fix docstring typos.
270 * net/tls.el (tls-program): Reflow docstring.
272 * progmodes/pascal.el (pascal-mode-abbrev-table)
273 (pascal-imenu-generic-expression, pascal-auto-endcomments)
274 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
275 (pascal-outline-mode): Fix docstring typos.
276 (pascal-mode): Let define-derived-mode document mode hook.
277 (pascal-uncomment-area): Reflow.
278 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
280 * progmodes/opascal.el (opascal-compound-block-indent)
281 (opascal-case-label-indent): Fix docstring typos.
282 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
284 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
286 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
287 Fontify multiple adjacent negation chars. (Bug#17004)
289 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
291 * emacs-lisp/package.el (package--prepare-dependencies):
292 Accept requirements without explicit version (bug#14941).
294 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
296 * register.el (register-separator, copy-to-register): Doc fixes.
297 (register-preview-default): Remove unnecessary call to concat.
299 * frameset.el (frameset-restore): When checking for a visible frame,
300 use the action map instead of calling visible-frame-list.
302 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
304 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
306 2014-03-12 Martin Rudalics <rudalics@gmx.at>
308 * window.el (fit-frame-to-buffer): Get maximum width from
309 display's width instead of height.
311 2014-03-12 Glenn Morris <rgm@gnu.org>
313 * desktop.el (desktop-restore-frames)
314 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
315 (desktop-restore-reuses-frames): Doc tweaks.
317 * electric.el (electric-indent-mode): Doc fix.
319 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
321 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
322 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
323 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
324 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
325 (cvs-dired-use-hook): Fix docstring typos.
326 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
329 * vc/pcvs-defs.el (cvs-auto-remove-handled)
330 (cvs-auto-remove-directories, cvs-default-ignore-marks)
331 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
332 (cvs-execute-single-dir): Fix docstring typos.
334 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
335 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
337 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
339 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
342 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
344 * frameset.el (frameset--jump-to-register): Add autoload; it could be
345 called from jump-to-register after unloading the frameset package.
347 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
349 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
350 (bug#16975). Deactivate the mark before setting it to nil.
351 (activate-mark): Do nothing if region is already active.
353 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
355 * frameset.el (frameset--target-display): Remove definition; declare.
356 (frameset-save, frameset-restore): Let-bind frameset--target-display.
358 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
360 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
361 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
362 when the advice is pending.
363 (advice-remove): Remove this marker when not needed any more.
365 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
367 * frameset.el: Separate options for reusing frames and cleaning up.
368 (frameset--reuse-list): Remove definition; declare.
369 (frameset--action-map): Declare.
370 (frameset--find-frame-if): Doc fix.
371 (frameset--restore-frame): Cache frame action.
372 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
373 how to clean up the frame list after restoring. Remove cleaning
374 options from REUSE-FRAMES. Change all keyword values to symbols.
375 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
377 * desktop.el (desktop-restore-forces-onscreen)
378 (desktop-restore-reuses-frames): Use non-keyword values.
379 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
381 2014-03-10 Glenn Morris <rgm@gnu.org>
383 * files.el (find-file): Doc fix: update info node name.
385 * emacs-lisp/advice.el (ad-add-advice, defadvice):
386 Doc fix: remove references to deleted info nodes.
388 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
390 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
391 Do not add `nil' to the environment, when there's no remote `locale'.
392 (tramp-find-inline-encoding): Check, that the remote host has
393 installed perl, before sending scripts.
395 2014-03-10 Leo Liu <sdl.web@gmail.com>
397 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
398 Clear eldoc-last-message. (Bug#16920)
400 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
402 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
405 2014-03-09 Juri Linkov <juri@jurta.org>
407 * ansi-color.el (ansi-color-names-vector): Copy default colors
408 from `xterm-standard-colors' that look well on the default white
409 background (and also on the black background) to avoid illegible
410 color combinations like yellow-on-white and white-on-white.
411 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
413 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
415 * frameset.el (frameset-restore): When no frame is visible, do not
416 generate a list of frames, just make visible the selected one.
418 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
420 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
421 it only contains the repository root. (Bug#16897)
423 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
425 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
426 only when `remote-file-name-inhibit-cache' is nil.
427 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
429 2014-03-06 Martin Rudalics <rudalics@gmx.at>
431 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
433 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
434 fit-frame-to-buffer variable. Fix doc-string.
435 (fit-window-to-buffer): Set ONLY argument in call of
436 fit-frame-to-buffer. Fix doc-string.
438 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
440 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
441 (tramp-action-password): Clear password cache if needed.
442 (tramp-read-passwd): Do not clear password cache.
444 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
445 cache unless it is the first password request.
447 2014-03-06 Glenn Morris <rgm@gnu.org>
449 * simple.el (newline): Doc tweak.
451 * emacs-lisp/shadow.el (load-path-shadows-find):
452 Ignore dir-locals. (Bug#12357)
454 2014-03-05 Glenn Morris <rgm@gnu.org>
456 * files.el (interpreter-mode-alist):
457 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
459 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
461 * frameset.el (frameset--initial-params): Filter out null entries.
463 2014-03-05 Martin Rudalics <rudalics@gmx.at>
465 * window.el (window-min-height, window-min-width):
467 (window-body-size): Add PIXELWISE argument to make it consistent
470 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
472 * finder.el (finder-mode-map, finder-mode-syntax-table):
473 Revert part of 2014-02-28 change.
475 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
477 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
478 (eww-setup-buffer): Clear next/prev/etc more reliably.
479 (eww-textarea-map): [tab] doesn't work on tty.
480 Reported by Mario Lang.
482 * net/shr.el (shr-map): Ditto.
484 2014-03-04 Glenn Morris <rgm@gnu.org>
486 * minibuffer.el (completion-hilit-commonality):
487 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
489 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
491 * hilit-chg.el (hilit-chg-unload-function): New function.
492 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
493 (hilit-chg-map-changes): Prefer cardinal number to digit.
494 (hilit-chg-display-changes): Reflow docstring.
495 (highlight-changes-rotate-faces): Remove superfluous backslash.
497 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
499 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
500 `tramp-send-command-and-check'.
502 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
504 * hexl.el (hexl-address-region, hexl-ascii-region)
505 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
506 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
507 (hexl-forward-word, hexl-previous-line, hexl-next-line):
508 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
509 (hexl-mode): Doc fix.
510 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
511 (hexl-mode-ruler): Fix typos in docstrings.
513 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
514 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
515 Remove superfluous backslashes.
516 (strokes-last-stroke, strokes-global-map, strokes-mode):
518 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
519 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
520 (strokes-distance-squared, strokes-global-set-stroke)
521 (strokes-global-set-stroke-string): Doc fixes.
522 (strokes-help): Fix typos; reflow docstring.
524 2014-03-04 Martin Rudalics <rudalics@gmx.at>
526 * window.el (window-in-direction): Fix doc-string.
528 2014-03-04 Glenn Morris <rgm@gnu.org>
530 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
531 Explicit error if no grammar.
532 (smie-config-save): Doc fix. Fix quote typo.
534 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
536 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
537 electric-indent-mode-hook if we obey electric-indent-mode.
538 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
539 decide whether we obey electric-indent-mode.
540 (c-change-set-fl-decl-start, c-extend-after-change-region):
542 (c-electric-indent-mode-hook): Assume we do want to obey
543 electric-indent-mode.
545 * electric.el (electric-indent-mode-has-been-called): Remove.
546 (electric-indent-mode): Fix accordingly.
548 * files.el (hack-local-variables): Mention file name in warning.
550 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
552 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
554 * binding.el: Add comment describing why C-d binds to `delete-char'.
555 * simple.el (delete-forward-char): Mark as interactive-only.
557 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
559 * icomplete.el (icomplete-completions):
560 Follow-up to 2014-03-01 change.
562 * icomplete.el: Miscellaneous doc fixes.
563 Use Icomplete everywhere instead of icomplete for consistency.
564 (icomplete-max-delay-chars): Fix typo.
565 (icomplete-mode): Use \[].
566 (icomplete-tidy, icomplete-exhibit): Reflow.
567 (icomplete-minibuffer-setup-hook, icomplete-completions):
568 Remove superfluous backlashes.
570 * ido.el: Miscellaneous doc fixes.
571 Use Ido everywhere instead of ido or `ido' for consistency.
572 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
573 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
574 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
575 (ido-separator): Extract obsolescence info from docstring and declare
576 with make-obsolete-variable.
577 (ido-minibuffer-setup-hook): Simplify example.
578 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
579 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
580 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
581 (ido-everywhere): Reflow docstring.
582 (ido-toggle-vc): Doc fix.
583 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
584 of long list of keybindings.
586 2014-03-03 Glenn Morris <rgm@gnu.org>
588 * frame.el (display-pixel-height, display-pixel-width)
589 (display-mm-dimensions-alist, display-mm-height)
590 (display-mm-width): Doc tweaks.
592 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
594 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
595 case of undo in region.
597 2014-03-02 Martin Rudalics <rudalics@gmx.at>
599 * window.el (fit-window-to-buffer): Fix argument in window-size
600 call when window is horizontally combined.
602 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
604 * icomplete.el (icomplete-completions): Use string-width.
605 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
607 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
609 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
610 Highlight regexp options. (Bug#16914)
612 2014-03-01 Martin Rudalics <rudalics@gmx.at>
614 * window.el (window--max-delta-1): Round down when calculating
615 how many lines/columns we can get from a window.
617 2014-03-01 Glenn Morris <rgm@gnu.org>
619 * isearch.el (search-invisible): Doc fix.
621 * minibuffer.el (completion-hilit-commonality):
622 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
623 * comint.el (comint-dynamic-list-completions): Doc fix.
624 * comint.el (comint-dynamic-list-completions):
625 * filecache.el (file-cache-minibuffer-complete):
626 * tempo.el (tempo-display-completions):
627 * eshell/em-hist.el (eshell-list-history):
628 Replace use of obsolete argument of display-completion-list.
630 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
632 * icomplete.el (icomplete-completions):
633 Revert back to using "..." when ?… cannot be displayed.
635 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
637 * finder.el (finder-unload-function): New function.
639 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
641 * dframe.el (dframe-detach):
642 * find-dired.el (find-dired, find-name-dired):
643 * finder.el (finder-mode-map, finder-mode-syntax-table)
644 (finder-headmark, finder-select, finder-mouse-select):
647 2014-02-28 Martin Rudalics <rudalics@gmx.at>
649 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
650 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
651 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
652 Fix doc-string based on a suggestion by Nicolas Richard
653 <theonewiththeevillook@yahoo.fr>.
654 * help.el (with-help-window): Fix doc-string.
656 2014-02-28 Ivan Kanis <ivan@kanis.fr>
658 * net/shr.el (shr-image-animate): New option.
659 (shr-put-image): Respect shr-image-animate.
661 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
663 * net/tramp-adb.el (tramp-adb-parse-device-names):
664 Use `accept-process-output'.
665 (tramp-adb-handle-file-truename): Cache the localname only.
666 (tramp-adb-handle-make-directory)
667 (tramp-adb-handle-delete-directory): Flush file properties correctly.
668 (tramp-adb-handle-set-file-modes): Do not raise an error when file
669 modes cannot be changed.
671 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
672 file properties of symlinks.
674 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
676 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
677 required/optional fields to match development biblatex. (Bug#16781)
679 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
681 * saveplace.el (toggle-save-place):
682 Fix argument handling. (Bug#16673)
684 2014-02-28 Glenn Morris <rgm@gnu.org>
686 * minibuffer.el (completions-first-difference)
687 (completions-common-part, completion-hilit-commonality): Doc fixes.
689 2014-02-28 Karl Berry <karl@gnu.org>
691 * info.el (Info-mode-map): Add H for describe-mode,
692 to synchronize with standalone Info.
694 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
696 * progmodes/sql.el (sql-interactive-mode):
697 Avoid setting global comint-input-ring-separator. (Bug#16814)
699 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
701 * net/dbus.el (dbus--init-bus): Declare function.
702 (dbus-path-local, dbus-interface-local): New defconst.
703 (dbus-init-bus): Use them.
704 (dbus-return-values-table): Extend doc.
705 (dbus-handle-bus-disconnect): Extend error message.
707 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
709 * subr.el (y-or-n-p): Fix double space issue in message.
711 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
713 * net/tramp.el (tramp-call-process): Improve trace message.
714 (tramp-handle-insert-file-contents): Trace error case.
716 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
717 <insert-directory>: Use `tramp-handle-insert-directory'.
718 (tramp-adb-handle-insert-directory): Remove function.
719 (tramp-adb-send-command-and-check): New defun, replacing
720 `tramp-adb-command-exit-status'. Change all callees.
721 (tramp-adb-handle-file-attributes)
722 (tramp-adb-handle-directory-files-and-attributes): Use it.
723 (tramp-adb-ls-output-name-less-p):
724 Use `directory-listing-before-filename-regexp'.
725 (tramp-adb-handle-delete-directory): Flush also file properties of
726 the truename of directory.
727 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
728 (tramp-adb-handle-file-local-copy): Make the local copy readable.
729 (tramp-adb-handle-write-region): Implement APPEND.
730 (tramp-adb-handle-rename-file): Make it more robust. Flush file
731 properties correctly.
732 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
733 variables. Check for connected devices only when needed.
735 2014-02-27 Glenn Morris <rgm@gnu.org>
737 * minibuffer.el (completion-table-dynamic)
738 (completion-table-with-cache): Doc fixes.
740 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
741 (completing-read-multiple): Doc fixes.
743 2014-02-27 Daniel Colascione <dancol@dancol.org>
745 * minibuffer.el (completion--nth-completion): Fix indentation.
747 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
748 explicit tramp path is empty.
750 2014-02-27 Glenn Morris <rgm@gnu.org>
752 * emacs-lisp/crm.el (completing-read-multiple):
753 Empower help-enable-auto-load.
755 2014-02-26 Glenn Morris <rgm@gnu.org>
757 * startup.el (command-line): Don't init the tty in daemon mode.
759 Avoid calling tty-setup-hook twice, eg if a term file
760 explicitly calls tty-run-terminal-initialization. (Bug#16859)
761 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
762 (tty-create-frame-with-faces): Use it.
763 * startup.el (command-line): Pass run-hook argument
764 to tty-run-terminal-initialization.
766 * dired.el (dired-restore-desktop-buffer): Demote errors;
767 eg in case a glob match fails. (Bug#16884)
769 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
771 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
772 error from `read-from-string'. (Bug#16850)
774 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
775 result of `completing-read' in the interactive form. (Bug#16854)
777 2014-02-25 Glenn Morris <rgm@gnu.org>
779 * image.el (image-animate, image-animate-timeout):
780 Stop animating images in dead buffers. (Bug#16878)
782 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
784 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
786 * startup.el (term-setup-hook): Doc fix. Make obsolete.
787 * term/sun.el (sun-raw-prefix-hooks):
788 Use tty-setup-hook instead of term-setup-hook.
789 (terminal-init-sun): Construct message from bytecomp plist.
790 * term/wyse50.el (enable-arrow-keys): Doc fix.
792 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
794 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
797 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
799 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
801 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
803 * minibuffer.el (completion--try-word-completion):
804 Fix error when completing M-x commands (bug#16808).
806 2014-02-24 Leo Liu <sdl.web@gmail.com>
808 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
810 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
812 * apropos.el (apropos-print): Avoid formatting error when
813 apropos-do-all and apropos-compact-layout are both t.
815 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
817 * apropos.el (apropos-property, apropos-all-words-regexp)
818 (apropos-true-hit, apropos-variable, apropos-print):
819 Fix docstring typos, and remove obsolete comment.
821 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
823 * net/tramp-sh.el (tramp-sh-handle-file-truename):
824 Preserve trailing "/". (Bug#16851)
826 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
828 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
829 after `=>' (bug#16811).
830 (ruby-smie-rules): Handle the inconsistent second element of the
831 list returned by `smie-indent--parent'.
832 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
835 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
837 * elec-pair.el (electric-pair-text-syntax-table)
838 (electric-pair-syntax-info, electric-pair--syntax-ppss)
839 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
840 (electric-pair--looking-at-unterminated-string-p): Doc fix.
841 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
843 2014-02-22 Glenn Morris <rgm@gnu.org>
845 * imenu.el (imenu--generic-function): Doc fix.
847 * register.el (frame-configuration-to-register): Make obsolete.
849 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
851 * desktop.el (desktop-save-buffer-p): Do not fail when
852 desktop-files-not-to-save is nil. Return t for true result
855 2014-02-22 Daniel Colascione <dancol@dancol.org>
857 * net/secrets.el (secrets-create-item, secrets-search-items):
858 Check that attribute values are strings, avoiding the construction
859 of invalid dbus messages.
861 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
863 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
864 defun-declarations-alist.
866 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
868 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
871 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
873 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
874 (whitespace-newline, whitespace-trailing, whitespace-line)
875 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
876 (whitespace-space-after-tab): Fix typo in docstrings.
878 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
880 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
882 * electric.el (electric-indent-functions-without-reindent):
883 Add `yaml-indent-line'.
885 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
887 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
888 It has done nothing for years; should be removed after the release.
890 * simple.el (choose-completion): Fix docstring typo.
891 (read-quoted-char-radix): Remove unneeded * in docstring.
892 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
893 Don't escape parentheses unnecessarily in docstrings.
895 2014-02-21 Martin Rudalics <rudalics@gmx.at>
897 Fix handling of window-min-height/-width (Bug#16738).
898 * window.el (window--dump-window, window--dump-frame):
900 (window--min-size-1): Account for window dividers.
901 When window-resize-pixelwise is nil, delay rounding till after the
902 sum of the window components has been calculated.
903 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
904 nil make sure at least one text line and two text columns remain
906 (window-resize): Signal an error when window-resize-apply fails.
907 (window--resize-child-windows): Fix calculation of by how many
908 pixels a window can still be shrunk via window-new-normal.
909 (adjust-window-trailing-edge): Call window--resizable with
910 correct TRAIL argument.
912 (with-temp-buffer-window): Don't evaluate BODY within
913 with-current-buffer (Bug#16816).
915 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
917 * net/tramp.el (tramp-check-cached-permissions):
918 Call `file-attributes' with `suffix' being a symbol but a string.
920 2014-02-21 Daniel Colascione <dancol@dancol.org>
922 * net/dbus.el (dbus-init-bus-1): Declare new subr.
923 (dbus-init-bus): New function: call into dbus-init-bus-1
924 and installs a handler for the disconnect signal.
925 (dbus-call-method): Rewrite to look for result in cons.
926 (dbus-call-method-handler): Store result in cons.
927 (dbus-check-event): Recognize events with nil sender as valid.
928 (dbus-handle-bus-disconnect): New function. React to bus
929 disconnection signal by synthesizing dbus error for each
930 pending synchronous or asynchronous call.
931 (dbus-notice-synchronous-call-errors): New function.
932 (dbus-handle-event): Raise errors directly only when `dbus-debug'
933 is true, not all the time.
935 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
937 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
938 Remove obsolescence declarations, these variables do not exist anymore.
940 * savehist.el (savehist-save-minibuffer-history)
941 (savehist-additional-variables, savehist-file, savehist-mode-hook)
942 (savehist-save-hook, savehist-coding-system, savehist-loaded)
943 (savehist-load, savehist-install, savehist-autosave): Fix typos;
944 mostly, refer to "Savehist mode" when talking about the mode,
945 and not the function.
947 * saveplace.el (save-place): Remove redundant info in docstring.
948 (save-place-forget-unreadable-files, toggle-save-place)
949 (save-place-forget-unreadable-files, save-place-dired-hook):
950 Fix typos and remove unneeded backslashes.
952 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
954 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
955 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
957 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
958 <insert-directory>: Use `tramp-handle-insert-directory'.
959 (tramp-gvfs-handle-insert-directory): Remove function.
961 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
962 Call `tramp-handle-insert-directory'.
964 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
966 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
967 before the start of buffer/region (bug#16799).
969 2014-02-20 Glenn Morris <rgm@gnu.org>
971 * isearch.el (search-invisible): Doc fix.
973 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
975 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
978 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
980 * frameset.el (frameset-restore): Delay removing an old frame's
981 duplicate id until the new frame has been correctly created.
983 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
985 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
986 (tramp-check-cached-permissions): Call `file-attributes' if the
989 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
990 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
992 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
993 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
994 (tramp-gvfs-maybe-open-connection): Set always connection
995 properties, even if target is mounted already.
997 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
998 Set tramp-autoload cookie.
999 (tramp-get-remote-touch): New defun.
1000 (tramp-sh-handle-set-file-times): Use it.
1001 (tramp-sh-handle-directory-files-and-attributes):
1002 Use `tramp-handle-directory-files-and-attributes' if neither stat
1003 nor perl are available on the remote host.
1005 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
1006 "/". Write long listing only when "l" belongs to the switches.
1008 * net/trampver.el: Update release number.
1010 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
1012 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
1014 2014-02-19 Martin Rudalics <rudalics@gmx.at>
1016 * window.el (window-state-put): Allow WINDOW to refer to an
1017 internal window (Bug#16793).
1019 2014-02-19 Glenn Morris <rgm@gnu.org>
1021 * textmodes/remember.el: Move provide statement to end.
1022 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
1023 (remember-notes): Doc fixes.
1025 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * delsel.el (delete-char): Restore incorrectly erased property
1030 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
1032 * frameset.el (frameset--restore-frame): When a frame is being reused
1033 and its root window is not alive, delete all the frame's windows before
1034 restoring the window state. This works around the issue in bug#16793.
1036 2014-02-18 Glenn Morris <rgm@gnu.org>
1038 * textmodes/remember.el (remember-data-directory)
1039 (remember-directory-file-name-format, remember-store-in-files)
1040 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
1041 (remember-notes-save-and-bury-buffer)
1042 (remember-notes--kill-buffer-query): Doc fixes.
1044 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
1046 2014-02-17 Alan Mackenzie <acm@muc.de>
1048 Connect electric-indent-mode up with CC Mode. Bug #15478.
1049 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
1050 to electric-indent-{,local-}-mode.
1051 (c-basic-common-init): Set electric-indent-inhibit.
1052 Initialise c-electric-flag from electric-indent-mode.
1053 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
1054 New hook functions which propagate electric-indent-mode to CC mode.
1056 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
1057 hit, toggle electric-indent-local-mode.
1059 * electric.el (electric-indent-mode-has-been-called):
1062 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
1064 * frameset.el (frameset-cfg-id): New function.
1065 (frameset--reuse-frame, frameset-restore): Use it.
1066 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
1068 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * ido.el (ido-file-internal): Remove unused var `d'.
1071 Use \` for to match BoS. Fit within 80n columns.
1073 2014-02-17 Daniel Colascione <dancol@dancol.org>
1075 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
1076 dbus-call-method check for completion using a busy-wait loop with
1079 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1081 Sync with Tramp 2.2.9.
1083 * net/trampver.el: Update release number.
1085 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
1087 * ido.el (ido-file-internal): Don't add the name of an existing
1088 directory twice. (Bug#16747)
1090 2014-02-16 Glenn Morris <rgm@gnu.org>
1092 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
1093 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
1095 2014-02-15 Michael R. Mauger <michael@mauger.com>
1097 * progmodes/sql.el: Version 3.4
1098 (sql-oracle-options): New default value ("-L").
1099 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
1100 (sql-placeholders-filter): Correct placeholder pattern.
1101 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
1102 (sql-login-delay): New variable.
1103 (sql-product-interactive): Use it.
1105 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
1107 * frameset.el (frameset--jump-to-register): Check that buffer is live
1110 2014-02-15 Glenn Morris <rgm@gnu.org>
1112 * info.el (info-initialize): Revert 2014-01-10 change.
1114 2014-02-14 Glenn Morris <rgm@gnu.org>
1116 * replace.el (map-query-replace-regexp)
1117 (read-regexp-defaults-function, read-regexp): Doc fixes.
1119 * dired.el (dired-read-regexp):
1120 * faces.el (list-faces-display):
1121 * misearch.el (multi-isearch-read-matching-buffers)
1122 (multi-isearch-read-matching-files):
1123 * play/cookie1.el (cookie-apropos):
1124 * progmodes/grep.el (grep-read-regexp): Doc fixes.
1126 * textmodes/remember.el (remember): Use frameset-to-register
1127 rather than frame-configuration-to-register.
1129 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
1131 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
1132 incorrect keybinding.
1134 2014-02-13 Daniel Colascione <dancol@dancol.org>
1136 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
1137 when adding overlays so that line numbers from compiler match line
1140 2014-02-13 Glenn Morris <rgm@gnu.org>
1142 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
1144 * jit-lock.el (jit-lock-mode): Doc fix.
1146 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1148 * apropos.el (apropos-read-pattern): When the user passes an empty
1149 string, give a more helpful error message than "Wrong type
1150 argument: stringp, nil".
1152 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1156 2014-02-13 Glenn Morris <rgm@gnu.org>
1158 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1160 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1162 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1163 shift-select commands.
1165 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1167 * progmodes/js.el (js-indent-line): Don't widen.
1168 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1170 2014-02-12 Glenn Morris <rgm@gnu.org>
1172 * icomplete.el (icomplete): Add info-link to defgroup.
1173 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1174 (icomplete-minibuffer-map, icomplete-mode)
1175 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1177 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1178 (package-menu-filter): Rename from package-menu-filter-interactive.
1181 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1183 * frameset.el (frameset--jump-to-register): Select the required
1184 window and buffer before restoring position (bug#16696).
1186 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1188 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1190 2014-02-10 Glenn Morris <rgm@gnu.org>
1192 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1194 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1196 * w32-common-fns.el (x-get-selection): Doc fix.
1197 * select.el (x-get-selection): Doc fix. (Bug#15109)
1199 * face-remap.el (face-remap-add-relative)
1200 (face-remap-remove-relative, face-remap-reset-base)
1201 (face-remap-set-base): Call force-mode-line-update to redisplay
1202 the current buffer due to potential change in faces. (Bug#16709)
1204 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1206 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1207 script more robustly.
1209 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1211 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1213 * simple.el (choose-completion): Doc fix (bug#14160).
1215 * subr.el (event-start): Say what a nil EVENT value means.
1217 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1220 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1222 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1224 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1226 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1227 predicate function (bug#15455).
1229 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1231 * ielm.el (inferior-emacs-lisp-mode): Instead of
1232 `comment-use-global-state', set `comment-use-syntax'.
1234 2014-02-10 Glenn Morris <rgm@gnu.org>
1236 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1238 2014-02-09 Alan Mackenzie <acm@muc.de>
1240 Fix c-invalidate-state-cache on narrowed buffers.
1241 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1242 Widen when setting and clearing the CPP delimiter properties.
1244 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1246 * help.el (describe-bindings): Doc fix (bug#9888).
1248 * files.el (save-buffer): Use ARG as the parameter name for
1249 consistency (bug#10346).
1250 (save-buffer): Clarify the 0 argument (bug#10346).
1252 * cus-edit.el (customize-apropos): Fix error string.
1253 (custom-buffer-create): Doc fix (bug#11122).
1254 (custom-sort-items): Doc fix (bug#11121).
1256 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1258 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1259 (icomplete-simple-completing-p): Mention the previous variable.
1261 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1262 meaning of the parameter (bug#12282).
1264 * files.el (find-file-noselect): Clarify prompt when changing
1265 readedness (bug#13261).
1266 (locate-file): Suffixes aren't returned, so don't say that they
1268 (backup-inhibited): Doc clarification (bug#12525).
1270 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1271 before we actually start to delete things (bug#16331).
1273 * subr.el (event-start): Doc fix (bug#14228).
1276 2014-02-09 Glenn Morris <rgm@gnu.org>
1278 * emacs-lisp/warnings.el (lwarn):
1279 Empower help-enable-auto-load. (Bug#15940)
1281 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1283 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1286 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1288 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1289 Insert output at end of buffer. (Bug#16120)
1291 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1293 * simple.el (choose-completion-string-functions): Document new
1294 calling convention (bug#14153).
1295 (execute-extended-command): Clarify doc string (bug#13373).
1297 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1299 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1300 (find-grep-dired): Doc fix (bug#14288).
1302 2014-02-08 Juri Linkov <juri@jurta.org>
1304 * isearch.el (isearch-quote-char): Check character validity
1305 like in `quoted-insert' (bug#16677).
1307 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1309 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1311 * isearch.el (isearch-hide-immediately): Doc clarification
1314 * simple.el (line-move): Document utility function used many
1315 places in the Emacs sources (bug#14843).
1317 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1318 (dired-prev-marked-file): Doc fix (bug#14855).
1319 (dired-up-directory): Doc fix (bug#14848).
1321 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1323 * files.el (file-relative-name): Doc fix (bug#15159).
1325 * fringe.el (fringe-styles): Doc fix (bug#15239).
1327 * isearch.el (isearch-filter-predicate): Documentation typo fix
1330 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1332 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1334 * replace.el (replace-match-maybe-edit): Doc clarification
1337 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1339 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1341 2014-02-08 Glenn Morris <rgm@gnu.org>
1343 * help-fns.el (describe-variable):
1344 Check {file,dir}-local-variables-alist, and buffer-file-name,
1345 in the correct buffer.
1347 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1349 * help-fns.el (describe-variable): Fix the case where
1350 a value is directory-local with no dir-locals file. (Bug#16635)
1352 2014-02-08 Glenn Morris <rgm@gnu.org>
1354 * abbrev.el (edit-abbrevs-mode):
1355 Derive from fundamental-mode. (Bug#16682)
1357 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1359 * simple.el (quoted-insert): Check character validity (bug#16677).
1361 2014-02-07 Juri Linkov <juri@jurta.org>
1363 * desktop.el (desktop-read): Claim the lock when the owner is not
1364 the current process. (Bug#16157)
1366 2014-02-07 Juri Linkov <juri@jurta.org>
1368 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1369 to "\\` ". (Bug#16651)
1371 2014-02-07 Juri Linkov <juri@jurta.org>
1373 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1374 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1375 (desktop-auto-save-cancel-timer): New function with some code from
1376 `desktop-auto-save-set-timer'.
1377 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1378 Instead of setting `desktop-save-mode' to nil, call
1379 `desktop-save-mode' with arg 0. (Bug#16630)
1381 2014-02-07 Glenn Morris <rgm@gnu.org>
1383 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1384 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1385 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1387 * obsolete/iswitchb.el: Move to obsolete/.
1388 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1389 since obsolete/ is not scanned for autoloads.
1390 * emacs-lisp/authors.el (authors-valid-file-names):
1393 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1394 Disable now non-functional find-file-hook.
1396 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1398 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1399 instead of ";" in order to avoid additional prompts. Let heredoc
1400 scripts read from tty. (Bug#16582)
1401 (tramp-send-command): No special handling of heredocs, it isn't
1404 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1407 with a space (bug#16664). Limit the symbols considered to the ones
1408 that are bound or fbound (bug#16646).
1410 2014-02-06 Glenn Morris <rgm@gnu.org>
1412 * epa.el (epa-mail-aliases): Doc fix.
1414 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1416 * emacs-lisp/lisp.el (lisp-completion-at-point):
1417 Use `completion-table-merge' instead of `completion-table-in-turn'
1420 * minibuffer.el (completion-table-merge): New function.
1422 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1425 (tramp-sh-handle-set-file-acl)
1426 (tramp-sh-handle-start-file-process)
1427 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1428 (tramp-find-executable, tramp-send-command): Use it.
1430 2014-02-05 Glenn Morris <rgm@gnu.org>
1432 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1434 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1436 * progmodes/python.el (python-shell-send-string)
1437 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1439 2014-02-04 Anders Lindgren <andlind@gmail.com>
1441 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1442 the names (bug#16620).
1444 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1446 * faces.el (window-divider): New default value. Rewrite doc-string.
1447 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1449 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1451 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1452 `protected' and `public' can also be called without arguments.
1454 2014-02-03 Glenn Morris <rgm@gnu.org>
1456 * register.el (window-configuration-to-register)
1457 (frame-configuration-to-register): Unadvertise unused argument.
1458 * frameset.el (frameset-to-register): Remove unused argument.
1460 * frameset.el (frameset-to-register):
1461 * kmacro.el (kmacro-to-register):
1462 * register.el (increment-register):
1463 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1464 (calc-append-to-register, calc-prepend-to-register):
1465 * play/gametree.el (gametree-layout-to-register)
1466 (gametree-apply-register-layout):
1467 * textmodes/picture.el (picture-clear-rectangle-to-register)
1468 (picture-yank-rectangle-from-register):
1469 * vc/emerge.el (emerge-combine-versions-register):
1470 Use register-read-with-preview to read registers.
1472 2014-02-03 João Távora <joaotavora@gmail.com>
1474 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1475 when at beginning of (possibly narrowed) buffer.
1477 2014-02-02 Daniel Colascione <dancol@dancol.org>
1479 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1480 Also try to display local help from just before point.
1482 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1484 c-parse-state. Don't "append-lower-brace-pair" in certain
1485 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1486 recognised as a comment.
1488 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1489 as well as normal comment starter.
1490 (c-parse-state-get-strategy): Extra return possibility
1492 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1493 return value list to indicate replacement of a brace-pair cons
1495 (c-parse-state-1): With 'back-and-forward, only call
1496 c-append-lower-brace-pair-to state-cache when cons-separated.
1498 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1500 * term/ns-win.el (ns-suspend-error): New function.
1501 (ns-initialize-window-system): Add ns-suspend-error to
1502 suspend-hook (Bug#16612).
1504 2014-02-02 Daniel Colascione <dancol@dancol.org>
1506 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1507 Make loading cc-mode silent.
1509 2014-02-02 Daniel Colascione <dancol@dancol.org>
1511 * comint.el (comint-prompt-read-only): Change doc to suggest
1514 2014-02-02 Glenn Morris <rgm@gnu.org>
1516 * register.el (register-read-with-preview, point-to-register)
1517 (window-configuration-to-register, frame-configuration-to-register)
1518 (jump-to-register, number-to-register, view-register, insert-register)
1519 (copy-to-register, append-to-register, prepend-to-register)
1520 (copy-rectangle-to-register): Doc fixes.
1522 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1525 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1526 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1527 * help-fns.el (describe-function-1): Use it.
1529 2014-02-02 Glenn Morris <rgm@gnu.org>
1531 * register.el (register-preview-default): New function,
1532 split from register-preview.
1533 (register-preview-function): Rename from register-preview-functions,
1535 (register-preview): Use register-preview-function.
1536 (register-read-with-preview): Error on non-character event. (Bug#16595)
1538 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1540 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1541 `:' before binary operators (bug#16609). Don't check for `:'
1542 before `[' and `(', or their syntax status. A percent literal
1543 can't end with either.
1544 (ruby-font-lock-keywords): For built-ins that require arguments,
1545 check that they're followed by something that looks like argument
1548 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1550 * subr.el (butlast): Document what an omitted N means (bug#13437).
1553 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1555 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1556 depth shallower (bug#16587).
1557 (shr-tag-svg): Respect `shr-inhibit-images'.
1558 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1560 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1562 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1563 (ruby-smie-grammar): Make "." right-associative. Make its priority
1564 lower than the ternary and all binary operators.
1565 (ruby-smie-rules): Indent "(" relative to the first non-"."
1566 parent, or the first "." parent at indentation.
1567 Use `ruby-align-chained-calls' for indentation of "." tokens.
1570 2014-01-31 Juri Linkov <juri@jurta.org>
1572 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1573 from `make-hash-table'.
1575 * textmodes/ispell.el (ispell-init-process): Change message format
1576 to be consistent with other messages.
1578 2014-01-31 Glenn Morris <rgm@gnu.org>
1580 * delsel.el (delete-selection-mode): Doc fix.
1582 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1583 (trace-function-background): Doc fixes.
1585 * ido.el (ido-use-virtual-buffers): Doc fix.
1586 Reset :version, since the default value has not changed.
1588 * register.el (register-preview-delay, register-read-with-preview):
1591 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1592 do not mess with mail-buffer position (fixes 2009-11-03 change).
1593 * progmodes/cc-mode.el (c-submit-bug-report):
1594 Check auto-fill-mode is bound. (Bug#16592)
1596 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1598 * startup.el (fancy-splash-image-file): New function,
1599 split from fancy-splash-head.
1600 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1601 so that we are both using the same image. (Bug#16574)
1603 2014-01-30 Glenn Morris <rgm@gnu.org>
1605 * simple.el (eval-expression): Doc fix.
1607 * hexl.el (hexl-mode-hook):
1608 * ielm.el (ielm-mode-hook):
1609 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1610 (lisp-interaction-mode-hook):
1611 * progmodes/cfengine.e (cfengine3-documentation-function):
1612 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1614 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1616 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1617 is a symbol (bug#16584).
1619 2014-01-30 Glenn Morris <rgm@gnu.org>
1621 * help.el (help-for-help-internal): Add "P" to text.
1623 2014-01-29 Glenn Morris <rgm@gnu.org>
1625 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1627 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1629 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1632 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1634 * progmodes/hideif.el: Extend to full CPP expression syntax.
1635 (hif-token-alist): Add missing tokens.
1636 (hif-token-regexp): Add support for float/octal/hex immediates.
1637 (hif-string-literal-regexp): New const.
1638 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1639 (hif-exprlist): New function.
1640 (hif-parse-if-exp): Use it.
1641 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1642 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1643 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1644 (hif-logxor, hif-comma): New functions.
1646 2014-01-28 Glenn Morris <rgm@gnu.org>
1648 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1650 * indent.el (tab-stop-list): Doc fix. Add :version.
1652 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1653 (cvs-append-to-ignore): Add compatibility alias.
1655 2014-01-27 Glenn Morris <rgm@gnu.org>
1657 * dired.el (dired-hide-details-mode): Don't autoload it,
1658 since it cannot be used outside Dired buffers anyway.
1660 * emulation/cua-base.el (cua-mode): Doc fix.
1662 * dired.el (dired-hide-details-hide-symlink-targets)
1663 (dired-hide-details-hide-information-lines)
1664 (dired-hide-details-mode): Doc fixes.
1666 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1667 * strokes.el (strokes-file): Doc fix. Bump :version.
1668 (strokes-help): Doc fix.
1669 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1670 * emulation/viper.el (viper): Doc fix for custom group.
1671 (top-level): Remove oh-so-no-longer-relevant text about vip.
1672 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1674 * ido.el (ido-save-directory-list-file):
1675 * saveplace.el (save-place-file):
1676 * calendar/timeclock.el (timeclock-file):
1677 * net/quickurl.el (quickurl-url-file):
1678 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1679 * progmodes/idlwave.el (idlwave-config-directory):
1680 * textmodes/remember.el (remember-data-file):
1683 2014-01-26 Glenn Morris <rgm@gnu.org>
1685 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1686 Doc fix. Make obsolete.
1687 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1689 * sort.el (delete-duplicate-lines): Doc fix.
1691 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1693 * progmodes/ada-mode.el (ada):
1694 * woman.el (woman): Link to info manual and Commentary section.
1696 * progmodes/flymake.el (flymake):
1697 * nxml/nxml-mode.el (nxml):
1699 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1700 * htmlfontify.el (htmlfontify):
1703 * ido.el (ido): Link to info manual.
1705 2014-01-25 Leo Liu <sdl.web@gmail.com>
1707 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1709 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1711 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1714 >>>>>>> MERGE-SOURCE
1715 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1717 * net/eww.el (eww-download-callback):
1718 Fix reference to eww-download-directory.
1720 * emacs-lisp/bytecomp.el (byte-compile-file):
1721 Remove unused local variable `file-name'.
1723 2014-01-24 Glenn Morris <rgm@gnu.org>
1725 * woman.el (woman-default-faces, woman-monochrome-faces):
1726 Fix obsolescence specification.
1728 * subr.el (with-demoted-errors): Doc fix.
1730 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1732 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1733 (cl--macroexp-fboundp): New function.
1734 (cl--make-type-test): Use it.
1736 2014-01-23 Glenn Morris <rgm@gnu.org>
1738 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1739 * simple.el (eval-expression): Doc fixes.
1741 2014-01-22 Glenn Morris <rgm@gnu.org>
1743 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1745 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * emacs-lisp/package.el: Write files silently.
1748 (package-autoload-ensure-default-file, package--write-file-no-coding)
1749 (package-generate-description-file, package--download-one-archive)
1750 (package-install-from-archive): Tell `write-region' to stay quiet.
1751 (package-menu-mode, package-menu--print-info): Omit the Archive column
1752 if there's only one archive.
1753 (package-all-keywords, package--has-keyword-p): Remove dead code.
1755 2014-01-22 Glenn Morris <rgm@gnu.org>
1757 * version.el (emacs-bzr-version-bzr): Fix typo.
1759 * version.el (emacs-repository-get-version):
1760 Check either .bzr or .git, but not both.
1761 Make the git case actually use the DIR argument, and return nil
1762 rather than the empty string.
1763 Avoid error if .git exists but the git executable is not found.
1765 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1767 Fixes in window size functions around Bug#16430 and Bug#16470.
1768 * window.el (window-total-size, window-size): New argument ROUND.
1769 (window--min-delta-1, window-min-delta, window--max-delta-1):
1770 Be more conservative when calculating the numbers of lines or
1771 columns a window can shrink (Bug#16430).
1772 (fit-window-to-buffer): Simplify code.
1773 * term.el (term-window-width): Call window-body-width again.
1775 2014-01-22 Glenn Morris <rgm@gnu.org>
1777 * image.el (image-format-suffixes): Doc fix.
1779 * international/quail.el (quail-define-package): Doc fix.
1781 * emacs-lisp/authors.el (authors-valid-file-names)
1782 (authors-renamed-files-alist): Additions.
1784 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1785 reverts 2014-01-09 change. (Bug#16422)
1787 * calc/calc-embed.el (thing-at-point-looking-at):
1788 * emacs-lisp/map-ynp.el (x-popup-dialog):
1789 * obsolete/lmenu.el (x-popup-dialog):
1790 * emacs-lisp/package.el (url-recreate-url):
1791 * mail/mailclient.el (clipboard-kill-ring-save):
1792 * subr.el (x-popup-dialog): Update declaration.
1793 * mail/rmail.el (rmail-mime-message-p):
1794 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1796 2014-01-21 Daniel Colascione <dancol@dancol.org>
1798 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1799 Correctly detect when we're inside an arithmetic expansion form
1800 containing nested parenthesis.
1801 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1802 to detect cases where we shouldn't expand "<<" to a heredoc
1805 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1808 (eldoc--message-command-p): New function.
1809 (eldoc-display-message-p): Use it.
1810 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1811 message is not automatically erased for us.
1812 (eldoc-print-current-symbol-info): Erase previous message, if any.
1814 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1816 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1817 specify it's an interactive function.
1819 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1820 Fix regex used for scanning for citation keys which failed for
1821 citations with optional arguments.
1823 2014-01-21 Leo Liu <sdl.web@gmail.com>
1825 * simple.el (read--expression): Don't enable eldoc-mode.
1827 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1829 * simple.el (move-beginning-of-line): Make sure we don't move forward
1832 2014-01-20 Juri Linkov <juri@jurta.org>
1834 * saveplace.el (toggle-save-place, save-place-to-alist)
1835 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1836 'dired-mode) before checking for dired-directory. (Bug#16477)
1838 2014-01-20 Juri Linkov <juri@jurta.org>
1840 * indent.el (indent-line-to): Use backward-to-indentation
1841 instead of back-to-indentation. (Bug#16461)
1843 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1845 Revert some of the CANNOT_DUMP fix (Bug#16494).
1846 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1847 but fixing this can wait until after the next release.
1848 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1850 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1852 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1853 Use `password-word-equivalents'.
1854 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1855 to t. (Bug#5664, Bug#13124)
1857 2014-01-19 Alan Mackenzie <acm@muc.de>
1859 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1861 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1862 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1863 * progmodes/cc-mode.el (c-before-change, c-after-change)
1864 (c-font-lock-fontify-region): Bind it here.
1866 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1868 * term.el (term-window-width): Call window-text-width instead of
1869 window-width (Bug#16470).
1871 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1873 * simple.el (password-word-equivalents): Remove duplicates.
1874 Sort, to make this easier next time.
1875 Downcase. Omit ": " after "jelszó".
1877 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1879 * term/common-win.el (saved-region-selection): Defvar it.
1880 (x-select-text): Set saved-region-selection (Bug#16382).
1882 2014-01-18 Glenn Morris <rgm@gnu.org>
1884 * emacs-lisp/authors.el (authors-aliases)
1885 (authors-renamed-files-alist): Add some entries.
1887 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1889 * net/tramp.el (tramp-password-prompt-regexp):
1890 Use `password-word-equivalents' if available.
1891 (tramp-action-password, tramp-process-one-action)
1892 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1894 2014-01-17 Chong Yidong <cyd@gnu.org>
1896 * simple.el (password-word-equivalents): New defcustom.
1897 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1899 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1902 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1904 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1905 (ruby-align-to-stmt-keywords): Change the default value.
1906 Use `ruby-alignable-keywords' to generate the possible customization
1908 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1909 keywords, check against the value of `ruby-alignable-keywords'
1910 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1912 2014-01-17 Glenn Morris <rgm@gnu.org>
1914 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1916 Make M-x authors return zero *Authors Errors* from current logs.
1917 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1918 (authors-ignored-files): Add some entries, remove others.
1919 (authors-ambiguous-files, authors-valid-file-names):
1921 (authors-renamed-files-alist): Add, remove, and adjust entries.
1922 (authors-renamed-files-regexps): Add some entries.
1923 Remove some very broad ones. Make some entries `lax'.
1924 (authors-lax-changelogs): New constant.
1925 (authors-disambiguate-file-name): Treat top-level specially.
1926 (authors-lax-changelog-p): New function.
1927 (authors-canonical-file-name): Check file as written against
1928 authors-valid-file-names. Do not special-case etc/.
1929 Handle `lax' logs and authors-renamed-files-regexps elements.
1931 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1933 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1934 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1937 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1940 Assume we're already in the proper buffer.
1941 Inspired by Anders Lindgren <andlind@gmail.com>.
1942 (follow-post-command-hook): Call it from the right buffer.
1943 (follow-comint-scroll-to-bottom): Adjust call.
1944 (follow-all-followers): Use get-buffer-window-list.
1946 2014-01-15 Daniel Colascione <dancol@dancol.org>
1948 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1949 `buffer-file-name' in interactive-form so that we don't leave
1950 pathless file names in `file-name-history'.
1952 2014-01-15 Juri Linkov <juri@jurta.org>
1954 * indent.el (indent-rigidly): Set deactivate-mark to nil
1955 in transient indentation mode. (Bug#16438)
1957 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1959 * emacs-lisp/package.el (package-desc-keywords): New function
1961 (describe-package-1, package-all-keywords)
1962 (package--has-keyword-p): Use it.
1964 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1966 * simple.el (define-alternatives): When creating the
1967 COMMAND-alternatives variable, assign COMMAND as its definition
1968 name so that `describe-variable' can relocate it.
1970 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1972 * font-lock.el (font-lock-keywords): Fix typo in docstring
1975 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1977 * ispell.el (ispell-region): Reset `in-comment' for new line
1978 instead of wrongly reset `add-coment' (bug#13577).
1980 2014-01-14 Daiki Ueno <ueno@gnu.org>
1982 * epa-file.el (epa-file-write-region): Encode the region according
1983 to `buffer-file-format'. Problem reported at:
1984 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1986 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1989 so it applies in the right buffer (bug#16410).
1991 2014-01-13 Daniel Colascione <dancol@dancol.org>
1993 * textmodes/rst.el (rst-define-key): Provide deprecated
1994 keybindings through named functions instead of anonymous ones so
1995 that "??" doesn't appear in describe-mode output.
1997 2014-01-13 Bastien Guerry <bzg@gnu.org>
1999 * simple.el (define-alternatives): Call the selected command
2000 interactively. When setting `COMMAND--implementation' for the
2001 first time, tell the user how to chose another implementation.
2002 Enhance the docstring.
2004 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
2007 (log-edit--match-first-line): New function.
2008 (log-edit-font-lock-keywords): Use it.
2009 (log-edit-mode): Make jit-lock-defer-multiline work.
2011 2014-01-13 Bastien Guerry <bzg@gnu.org>
2013 * rect.el (rectangle-mark-mode): When the region is not active,
2014 display a message saying that the mark as been set and that
2015 rectangle mode is in use.
2016 (rectangle--highlight-for-redisplay): Only put an overlay with a
2017 visible vertical bar when (display-graphic-p) is non-nil.
2018 This partially fixes Bug#16403.
2020 2014-01-13 Juri Linkov <juri@jurta.org>
2022 * info.el (Info-find-file): Go to DIR before displaying the error
2023 about a nonexistent file if no previous Info file is visited.
2024 Use `user-error' instead of `error' for "Info file %s does not exist".
2025 (Info-find-node-2): In case of a nonexistent node in unwind forms
2026 go to the Top node if there is no previous node to revert to.
2029 2014-01-13 Martin Rudalics <rudalics@gmx.at>
2031 fit-frame/window-to-buffer code fixes including one for Bug#14096.
2032 * window.el (fit-frame-to-buffer): Fix doc-string.
2033 Respect window-min-height/-width. Fit pixelwise when
2034 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
2035 when avoiding that frame goes partially off-screen.
2036 (fit-window-to-buffer): Respect window-min-height/-width
2039 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
2042 after an empty line.
2044 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * net/shr.el (shr-render-region): Autoload.
2048 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
2050 * net/eww.el (eww-download-directory): Rename from
2051 `eww-download-path' (Bug#16419).
2053 2014-01-12 Leo Liu <sdl.web@gmail.com>
2055 * dired-x.el (dired-mode-map): Fix last change.
2057 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
2059 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
2062 * emacs-lisp/generic.el (generic--normalize-comments):
2063 Rename from generic--normalise-comments. All uses changed.
2064 * play/bubbles.el (bubbles--neighborhood-score)
2065 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
2066 (bubbles--neighborhood-available)
2067 (bubbles--update-neighborhood-score):
2068 Rename from names with 'neighbourhood'. All uses changed.
2070 2014-01-12 Leo Liu <sdl.web@gmail.com>
2072 Re-implement the feature of showing eldoc info after editing.
2073 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
2074 (eldoc-edit-message-commands): New function.
2075 (eldoc-print-after-edit): New variable.
2076 (eldoc-pre-command-refresh-echo-area): Emit message only by
2077 eldoc-message-commands.
2078 (eldoc-mode): Restrict eldoc-message-commands to editing commands
2079 if eldoc-print-after-edit is set. (Bug#16346)
2080 * simple.el (read--expression): Enable eldoc-mode.
2081 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
2083 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
2084 Eric S. Raymond <esr@thyrsus.com>
2086 * version.el (emacs-repository-get-version): Enhance so the
2087 function works correctly in either a Bazaar or Git repo.
2089 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
2091 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
2092 Goes with removal of the joke manpages from /etc.
2094 2014-01-10 Kenichi Handa <handa@gnu.org>
2096 * mail/rmail.el (rmail-get-coding-system):
2097 Check rmail-get-coding-function before "funcall"ing it.
2099 2014-01-10 Glenn Morris <rgm@gnu.org>
2101 * emacs-lisp/authors.el (authors-fixed-entries):
2102 Update for files that no longer exist.
2104 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
2106 * version.el (emacs-bzr-get-version): Restore compatibilty with
2109 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
2111 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
2114 2014-01-10 Eli Zaretskii <eliz@gnu.org>
2116 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
2118 2014-01-10 Chong Yidong <cyd@gnu.org>
2120 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
2122 2014-01-10 Anders Lindgren <andlind@gmail.com>
2124 * follow.el (follow-cache-command-list): Include right-char and
2127 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
2130 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
2131 * woman.el (woman-mark-horizontal-position):
2132 Rename from woman-mark-horizonal-position. Use changed.
2134 2014-01-10 Glenn Morris <rgm@gnu.org>
2136 * info.el (info-initialize): If running uninstalled, ensure our
2137 own info files are always found first, even if INFOPATH is set.
2139 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
2141 2014-01-09 David Engster <deng@randomsample.de>
2143 * emacs-lisp/eieio-custom.el:
2144 * emacs-lisp/eieio-opt.el: Set generated autoload file to
2145 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
2146 * emacs-lisp/eieio.el: Regenerate autoloads.
2148 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2150 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2151 following renames. (Bug#8756)
2153 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2157 (activate-mark): Add `no-tmm' argument.
2158 (set-mark, push-mark-command): Use it instead of running
2159 activate-mark-hook by hand.
2161 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2163 In preparation for the move to git, sanitize out some
2164 Bazaar-specific names.
2166 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2168 * version.el (emacs-bzr-version): Name changed to
2169 emacs-repository-version. Obsolete-variable alias made.
2170 * loadup.el: Follow through on this name change.
2171 * mail/emacsbug.el (report-emacs-bug): Factor out any
2172 assumption about the version control system in use.
2174 2014-01-08 David Engster <deng@randomsample.de>
2176 * help-fns.el (help-fns-describe-function-functions):
2177 New variable to call functions for augmenting help buffers.
2178 (describe-function-1): Remove explicit calls to
2179 `help-fns--compiler-macro', `help-fns--parent-mode' and
2180 `help-fns--obsolete'. Put them in above new variable instead, and
2181 call them through `run-hook-with-args'.
2182 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2183 `eieio-describe-class'. Not meant for interactive use anymore,
2184 but to augment existing help buffers. Remove optional second
2185 argument. Create proper button for file location.
2186 Rewrite function to use `insert' instead of `princ' and `prin1' where
2188 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2189 (eieio-method-def, eieio-class-def): Move further up.
2190 (describe-method, describe-generic, eieio-describe-method):
2192 (eieio-help-constructor, eieio-help-generic): Rename from
2193 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2194 Rewrite to use `insert' in the current buffer and use proper help
2196 (eieio-help-find-method-definition)
2197 (eieio-help-find-class-definition): Also accept symbols as
2199 (eieio-help-mode-augmentation-maybee): Remove.
2200 (eieio-describe-class-sb): Use `describe-function'.
2201 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2202 Add `eieio-help-generic' and `eieio-help-constructor'.
2204 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2207 * language/china-util.el (hz-ascii-designation):
2208 Rename from hz-ascii-designnation.
2209 (hz-ascii-designation): Rename from hz-ascii-designnation.
2212 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2217 2014-01-08 Bastien Guerry <bzg@gnu.org>
2219 * emacs-lisp/package.el (package-delete):
2220 Correctly delete the package from package-alist.
2222 2014-01-08 Daiki Ueno <ueno@gnu.org>
2224 * emacs-lisp/package.el (url-recreate-url): Declare.
2225 (url-http-target-url): Declare.
2226 (package-handle-response): Include requested URL in the error message.
2227 (package--check-signature): Don't re-signal errors from
2228 package--with-work-buffer. Suggested by Stefan Monnier.
2230 2014-01-07 Bastien Guerry <bzg@gnu.org>
2232 * minibuffer.el (completion--try-word-completion): When both a
2233 hyphen and a space are possible candidates for the character
2234 following a word, display both candidates. (Bug#15980)
2236 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2238 * window.el (balance-windows-2): While rounding don't give a
2239 window more than the remainder. Bug#16351, bug#16383.
2241 2014-01-07 Glenn Morris <rgm@gnu.org>
2243 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2244 (menu-bar-help-menu): Use view-external-packages instead.
2246 2014-01-07 Bastien Guerry <bzg@gnu.org>
2248 * emacs-lisp/package.el (package-delete): Also delete the package
2249 name from `package-alist', not its description only.
2251 2014-01-07 Glenn Morris <rgm@gnu.org>
2253 * help.el (view-external-packages):
2254 * menu-bar.el (menu-bar-help-extra-packages):
2255 Visit efaq.info rather than etc/MORE.STUFF.
2257 2014-01-07 Juri Linkov <juri@jurta.org>
2259 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2260 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2262 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2263 that shadows RET. (Bug#16342)
2265 2014-01-07 Chong Yidong <cyd@gnu.org>
2267 * isearch.el (isearch-yank-char, isearch-yank-word)
2268 (isearch-yank-line): Doc fix.
2270 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2272 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2273 * emacs-lisp/elint.el (elint-find-builtins):
2274 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2275 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2276 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2277 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2278 * apropos.el (apropos-safe-documentation):
2279 * subr.el (symbol-file): Remove redundant fboundp.
2280 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2282 2014-01-06 Bastien Guerry <bzg@gnu.org>
2284 * hl-line.el (global-hl-line-overlay): Make a local variable.
2285 (global-hl-line-overlays): New variable to store all overlays.
2286 (global-hl-line-mode): Don't delete overlays from the current
2287 buffer when `global-hl-line-sticky-flag' is non-nil.
2288 (global-hl-line-highlight): Add new overlays to
2289 `global-hl-line-overlays'.
2290 (global-hl-line-unhighlight-all): New function to delete all
2291 overlays when turning off `global-hl-line-mode'.
2292 This fixes Bug#16183.
2294 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * subr.el (set-transient-map): Fix nested case and docstring.
2298 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2300 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2303 2014-01-06 Daniel Colascione <dancol@dancol.org>
2305 Fix defun navigation in vc log view.
2307 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2308 like `beginning-of-defun'.
2309 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2310 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2311 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2312 (log-view-extract-comment): Call `log-view-current-entry' directly
2313 instead of relying on broken `log-view-beginning-of-defun' behavior.
2315 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2318 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2319 * emacs-lisp/debug.el (cancel-debug-on-entry):
2320 * epg.el (epg-error-to-string):
2321 * files.el (recover-file):
2322 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2323 * mail/emacsbug.el (report-emacs-bug-hook):
2324 * mail/sendmail.el (mail-recover):
2325 * ses.el (ses-yank-resize):
2326 * term/ns-win.el (ns-print-buffer):
2327 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2328 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2330 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2332 2014-01-06 Leo Liu <sdl.web@gmail.com>
2334 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2335 to avoid shadowing global key. (Bug#16354)
2337 2014-01-06 Daniel Colascione <dancol@dancol.org>
2339 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2342 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2344 * window.el (balance-windows): Add mising t to fix Bug#16351.
2346 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2348 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2350 (shr-insert): If we have a word that's longer than `shr-width',
2351 break after it anyway. Otherwise we'll do no breaking once we get
2354 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2356 * net/eww.el (eww): Support single/double quote for search.
2357 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2358 (eww-history-quit): Delete and use quit-window.
2359 (eww-history-kill): Delete, because it doesn't work well and
2361 (eww-history-mode-map): Delete some keys and add easy-menu.
2363 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2365 Fix misspelling of 'chinese' in rx (Bug#16237).
2366 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2369 Change subword regexps back to vars (Bug#16296).
2370 * progmodes/subword.el (subword-forward-regexp)
2371 (subword-backward-regexp): Change these back to variables.
2373 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2375 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2376 syntax-begin-function (bug#16247).
2378 2014-01-03 Chong Yidong <cyd@gnu.org>
2380 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2381 (advice--docstring): Delete variable.
2382 (advice--make-1): Leave the docstring empty.
2383 (advice-add): Use function-documentation for advised docstring.
2385 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2386 Ignore function-documentation property when getting documentation.
2387 (ad-activate-advised-definition): Use function-documentation
2388 generate the docstring.
2389 (ad-make-advised-definition): Don't call
2390 ad-make-advised-definition-docstring.
2391 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2394 * progmodes/sql.el (sql-help): Use function-documentation instead
2395 of dynamic-docstring-function property. No need to autoload now.
2396 (sql--help-docstring): New variable.
2397 (sql--make-help-docstring): Use it.
2399 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * ielm.el (ielm-tab): Retarget.
2402 (ielm-map): Use ielm-tab for tab.
2403 (ielm-complete-filename): Use comint-filename-completion.
2404 (ielm-complete-symbol): Remove.
2405 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2406 remove ielm-tab from completion-at-point-functions (bug#16224).
2408 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2409 Beware signals raised by predicates (bug#16201).
2411 2014-01-02 Richard Stallman <rms@gnu.org>
2413 * dired-aux.el (dired-do-print): Handle printer-name.
2415 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2416 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2417 (rmail-epa-decrypt): Turn off mime processing.
2419 * mail/rmail.el (rmail-make-in-reply-to-field):
2420 Add parens in message-id.
2422 * mail/rmail.el (rmail-get-coding-function): Variable.
2423 (rmail-get-coding-system): Use it.
2425 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2427 * international/mule-conf.el: Unify the charset indian-is13194.
2428 (indian-is13194): Specify unify-map.
2430 2013-12-31 Leo Liu <sdl.web@gmail.com>
2432 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2434 2013-12-30 Daniel Colascione <dancol@dancol.org>
2436 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2437 of printing a useless when we resume from sleep.
2439 * progmodes/sh-script.el
2440 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2441 in indentation code. (Bug#16233)
2443 2013-12-28 João Távora <joaotavora@gmail.com>
2445 * elec-pair.el (electric-pair-post-self-insert-function):
2446 Don't open extra newlines at beginning of buffer. (Bug#16272)
2448 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2450 * frame.el (window-system-for-display): Don't allow to create a
2451 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2453 2013-12-28 Glenn Morris <rgm@gnu.org>
2455 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2458 * apropos.el (apropos-match-face):
2459 * calculator.el (calculator-displayer):
2460 * dabbrev.el (dabbrev-search-these-buffers-only):
2461 * face-remap.el (buffer-face-mode-face):
2462 * simple.el (yank-handled-properties):
2463 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2464 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2465 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2466 (hashcash-double-spend-database):
2467 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2468 (ruby-deep-indent-paren-style):
2469 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2470 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2471 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2472 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2473 Specify custom types.
2475 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2476 * bookmark.el (bookmark-bmenu-use-header-line):
2477 * doc-view.el (doc-view-scale-internally):
2478 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2479 * register.el (register-preview-delay):
2480 * net/shr.el (shr-bullet):
2481 * progmodes/cfengine.el (cfengine-cf-promises)
2482 (cfengine-parameters-indent):
2483 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2484 * textmodes/reftex-vars.el (reftex-label-regexps):
2485 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2487 * net/tls.el (tls-certtool-program): Fix default value.
2489 * desktop.el (desktop-restore-in-current-display):
2490 * newcomment.el (comment-empty-lines):
2491 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2492 (idlwave-pad-keyword):
2493 * progmodes/tcl.el (tcl-tab-always-indent):
2494 * textmodes/reftex-vars.el (reftex-index-default-tag):
2495 * elec-pair.el (electric-pair-skip-whitespace):
2496 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2498 * emacs-lisp/authors.el (authors-ignored-files)
2499 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2501 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2503 * shell.el (shell-dynamic-complete-command): Doc fix.
2504 (shell--command-completion-data): Shell completion now matches
2505 executable filenames from the current buffer's directory, on
2506 systems in which this behavior is the default (windows-nt, ms-dos).
2508 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2510 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2512 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2514 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2517 * electric.el: Move all electric-pair-* to elec-pair.el.
2518 * elec-pair.el: New file, split from electric.el.
2520 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2522 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2523 indentation level is larger than the width, because that will
2525 (shr-insert): Fill repeatedly long texts, so that Japanese is
2526 formatted correctly (bug#16263).
2527 (shr-find-fill-point): Off by one error in comparison with the
2530 2013-12-26 João Távora <joaotavora@gmail.com>
2532 * electric.el (electric-pair-mode): More flexible engine for skip-
2533 and inhibit predicates, new options for pairing-related functionality.
2534 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2535 if that keeps or improves their balance in buffers.
2536 (electric-pair-delete-adjacent-pairs): Delete the pair when
2537 backspacing over adjacent matched delimiters.
2538 (electric-pair-open-extra-newline): Open extra newline when
2539 inserting newlines between adjacent matched delimiters.
2540 (electric--sort-post-self-insertion-hook):
2541 Sort post-self-insert-hook according to priority values when
2542 minor-modes are activated.
2543 * simple.el (newline-and-indent): Call newline with interactive
2545 (blink-paren-post-self-insert-function): Set priority to 100.
2546 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2547 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2548 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2549 electric-pair-open-newline-between-pairs to nil.
2551 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2553 * progmodes/python.el: Use lexical-binding.
2554 (python-nav-beginning-of-defun): Stop searching ASAP.
2556 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2558 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2559 Fix interactive spec. Doc fix. (Bug#15754)
2561 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2563 * emacs-lisp/byte-run.el (eval-when-compile):
2564 * progmodes/cc-defs.el (cc-eval-when-compile):
2565 Fix edebug spec (bug#16184).
2567 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2569 * net/shr.el (shr-visit-file): Remove debugging function.
2570 (shr-insert): Don't infloop if we can't find a good place to break
2571 the line (bug#16256).
2573 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2575 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2576 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2577 python-nav-lisp-forward-sexp-safe.
2578 (python-nav--forward-sexp): New argument SAFE allows switching
2579 forward sexp movement behavior for parens.
2580 (python-nav-forward-sexp): Throw errors on unterminated parens
2582 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2583 (python-nav-backward-sexp-safe): New functions.
2584 (python-shell-buffer-substring):
2585 Use `python-nav-forward-sexp-safe'.
2587 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2589 * net/shr.el (shr-find-fill-point): Don't break lines before a
2591 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2592 (shr-find-fill-point): Remove the special checks for the quotation
2593 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2595 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2597 * net/eww.el (eww-form-textarea): Use a different face for
2598 textareas than text input since they have different keymaps
2601 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2603 * progmodes/python.el (python-nav-beginning-of-statement):
2604 Speed up (Bug#15295).
2606 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2608 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2609 the window configuration.
2611 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2613 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2614 we run on MS-Windows or MS-DOS.
2616 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2618 * window.el (balance-windows-area): Call window-size instead of
2619 window-height and window-width. Bug#16241.
2621 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2623 * net/eww.el (eww-bookmark-quit): Remove.
2624 (eww-bookmark-browse): Restore the window configuration when you
2625 choose a bookmark (bug#16144).
2627 2013-12-24 Daniel Colascione <dancol@dancol.org>
2629 * icomplete.el: Remove redundant :group arguments to `defcustom'
2631 (icomplete-show-matches-on-no-input): New customizable variable.
2632 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2633 we have something to show.
2634 (icomplete-exhibit): Compute completions even if we have no user input.
2636 2013-12-23 Daniel Colascione <dancol@dancol.org>
2638 * icomplete.el: Move `provide' to end of file.
2640 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2642 * net/gnutls.el (gnutls-verify-error): Add version tag.
2644 2013-12-23 Chong Yidong <cyd@gnu.org>
2646 * subr.el (set-transient-map): Rename from
2647 set-temporary-overlay-map. Doc fix.
2649 * face-remap.el (text-scale-adjust):
2650 * indent.el (indent-rigidly):
2651 * kmacro.el (kmacro-call-macro):
2652 * minibuffer.el (minibuffer-force-complete):
2653 * repeat.el (repeat):
2654 * simple.el (universal-argument--mode):
2655 * calendar/todo-mode.el (todo-insert-item--next-param):
2656 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2658 * indent.el (indent-rigidly): Use substitute-command-keys.
2660 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2662 * net/eww.el (eww-tag-select): Add text-property to jump to next
2664 (eww): Add non-supported ftp error.
2666 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2668 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2669 comments. Handle electric indent after typing `?' and `!'.
2671 2013-12-22 Chong Yidong <cyd@gnu.org>
2673 * faces.el (face-spec-recalc): If the theme specs are not
2674 applicable to a frame, fall back on the defface spec.
2675 This prevents themes from obliterating faces on low-color terminals.
2677 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2679 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2680 after `{'. We need it after block openers, and it doesn't seem
2681 to hurt after hash openers.
2683 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2685 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2686 extracted from `ruby-smie-rules'.
2687 (ruby--electric-indent-chars): New variable.
2688 (ruby--electric-indent-p): New function.
2689 (ruby-mode): Use `electric-indent-functions' instead of
2690 `electric-indent-chars'.
2692 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2694 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2696 (ruby-smie-rules): Indent plus one level after `=>'.
2698 2013-12-21 Richard Stallman <rms@gnu.org>
2700 * simple.el (newline): Doc fix.
2702 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2704 * net/eww.el (eww-list-histories, eww-list-histories)
2705 (eww-history-browse, eww-history-quit, eww-history-kill)
2706 (eww-history-mode-map, eww-history-mode): New command and
2707 functions to list browser histories.
2708 (eww-form-text): Support text form with disabled
2709 and readonly attributes.
2710 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2712 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2714 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2715 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2716 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2717 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2719 (eww-bookmark-mode-map): Add menu.
2720 (eww-render, eww-mode): Use `setq-local'.
2721 (eww-tool-bar-map): New variable.
2722 (eww-mode): Set `tool-bar-map'.
2723 (eww-view-source): Check for `html-mode' with `fboundp'.
2725 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2727 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2728 elements with text inside. Also remove debugging.
2730 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2732 * cus-start.el (all): Add ns-use-srgb-colorspace.
2734 2013-12-21 Chong Yidong <cyd@gnu.org>
2736 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2737 undefined. Thus, theme settings for undefined faces do not take
2738 effect until the faces are defined with defface, the same as with
2741 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2742 (face-spec-reset-face): Don't assign extra properties in temacs.
2743 (face-spec-recalc): Apply X resources too.
2745 2013-12-21 Chong Yidong <cyd@gnu.org>
2747 * faces.el (face-spec-set):
2748 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2749 * custom.el (defface): Doc fixes (Bug#16203).
2751 * indent.el (indent-rigidly-map): Add docstring, and move commands
2752 into named functions.
2753 (indent-rigidly-left, indent-rigidly-right)
2754 (indent-rigidly-left-to-tab-stop)
2755 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2756 indentation direction based on bidi direction, and accumulate
2757 sequential commands in a single undo boundary.
2758 (indent-rigidly--pop-undo): New utility function.
2760 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2762 * faces.el (read-face-name): Require crm.el when using crm-separator.
2764 2013-12-20 Daniel Colascione <dancol@dancol.org>
2766 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2767 so that we don't reflow comments into the shebang line.
2769 2013-12-20 Juri Linkov <juri@jurta.org>
2771 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2772 a position when `dired-directory' is non-nil. Check integer
2773 positions with `integerp'.
2774 (toggle-save-place, save-places-to-alist): Add check for
2776 (save-place-find-file-hook): Check integer positions with
2778 (save-place-dired-hook): Use `dired-goto-file' when
2779 `dired-filename' is found in the assoc list. Check integer
2780 positions with `integerp'.
2781 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2783 * dired.el (dired-initial-position-hook): Rename back from
2784 `dired-initial-point-hook'.
2785 (dired-initial-position): Rename `dired-initial-point-hook' to
2786 `dired-initial-position-hook'.
2787 (dired-file-name-at-point): Doc fix. (Bug#15329)
2789 2013-12-20 Juri Linkov <juri@jurta.org>
2791 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2792 (read-regexp-suggestions): New function.
2793 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2794 Use `read-regexp-suggestions'. Add non-empty default to history
2796 (occur-read-regexp-defaults-function): Remove function.
2797 (occur-read-primary-args): Use `regexp-history-last' instead of
2798 `occur-read-regexp-defaults-function'.
2800 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2801 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2802 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2803 `hi-lock-read-regexp-defaults-function'. Doc fix.
2804 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2805 with `find-tag-default-as-symbol-regexp'. Doc fix.
2806 (hi-lock-read-regexp-defaults): Remove function.
2807 (hi-lock-regexp-okay): Add check for null.
2809 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2810 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2812 * subr.el (find-tag-default-as-symbol-regexp): New function.
2813 (find-tag-default-as-regexp): Move symbol regexp formatting to
2814 `find-tag-default-as-symbol-regexp'.
2816 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2818 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2821 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2823 * calendar/todo-mode.el: New implementation of item insertion
2824 commands and key bindings.
2825 (todo-key-prompt): New face.
2826 (todo-insert-item): New command.
2827 (todo-insert-item--parameters): New defconst, replacing defvar
2828 todo-insertion-commands-args-genlist.
2829 (todo-insert-item--param-key-alist): New defconst, replacing
2830 defvar todo-insertion-commands-arg-key-list.
2831 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2832 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2833 (todo-insert-item--next-param): New functions.
2834 (todo-insert-item--args, todo-insert-item--argleft)
2835 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2837 (todo-key-bindings-t): Change binding of "i" from
2838 todo-insertion-map to todo-insert-item.
2839 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2840 (todo-insertion-command-name, todo-insertion-commands-names)
2841 (todo-define-insertion-command, todo-insertion-commands)
2842 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2844 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2846 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2847 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2849 (todo-move-category): Allow choosing a non-existing todo file to
2850 move the category to, and create that file.
2851 (todo-default-priority): New user option.
2852 (todo-set-item-priority): Use it.
2853 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2854 (desktop-restore-file-buffer): Declare.
2855 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2856 (todo-modes-set-2): Locally set desktop-save-buffer to
2857 todo-desktop-save-buffer.
2858 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2859 (auto-mode-alist): Add autoload cookie.
2861 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2863 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2864 helpers.el was a poor choice of name.
2865 (string-remove-prefix): New function.
2866 (string-remove-suffix): New function.
2868 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2870 Fix assignment for new window total sizes.
2871 * window.el (window--pixel-to-size): Remove function.
2872 (window--pixel-to-total-1, window--pixel-to-total):
2873 Fix calculation of new total sizes.
2875 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2877 * comint.el (comint-output-filter): Fix rear-nonsticky property
2878 placement (Bug#16010).
2880 2013-12-20 Chong Yidong <cyd@gnu.org>
2882 * faces.el (read-color): Minor fix for completion function.
2884 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2886 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2887 New option. (Bug#16182)
2888 (ruby-smie--indent-to-stmt-p): Use it.
2889 (ruby-smie-rules): Revert the logic in the handling of `when'.
2890 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2891 (ruby-deep-arglist, ruby-deep-indent-paren)
2892 (ruby-deep-indent-paren-style): Update docstrings to note that the
2893 vars don't have any effect with SMIE.
2895 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2897 * calc/calc.el (calc-enter, calc-pop): Use the variable
2898 `calc-context-sensitive-enter'.
2900 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2902 * net/shr.el (shr-insert): Protect against infloops in degenerate
2905 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2907 * progmodes/octave.el (octave): Add link to manual and octave
2909 (octave-mode-menu): Link to octave-mode manual.
2911 2013-12-20 Leo Liu <sdl.web@gmail.com>
2913 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2914 insertion using skeleton-end-newline. (Bug#16138)
2916 2013-12-20 Juri Linkov <juri@jurta.org>
2918 * replace.el (occur-engine): Use `add-face-text-property'
2919 to add the face property to matches and titles. (Bug#14645)
2921 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2922 the palette of other hi-lock colors.
2923 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2925 2013-12-19 Juri Linkov <juri@jurta.org>
2927 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2928 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2929 (minibuffer-history-symbol): Move variable declaration closer to
2932 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2935 2013-12-19 Juri Linkov <juri@jurta.org>
2937 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2939 (log-edit-hook): Add it to :options. (Bug#16170)
2941 2013-12-19 Juri Linkov <juri@jurta.org>
2943 * simple.el (eval-expression-print-format): Don't check for
2944 command names and the last command. Always display additional
2945 formats of the integer result in the echo area, and insert them
2946 to the current buffer only with a zero prefix arg.
2947 Display character when char-displayable-p is non-nil.
2948 (eval-expression): With a zero prefix arg, set `print-length' and
2949 `print-level' to nil, and insert the integer values from
2950 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2952 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2953 `eval-last-sexp-arg-internal'. Doc fix.
2954 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2955 `eval-last-sexp-print-value'. Doc fix.
2956 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2957 Set `print-length' and `print-level' to nil when arg is zero.
2958 (eval-last-sexp): Doc fix.
2959 (eval-defun-2): Print the integer values from
2960 `eval-expression-print-format' at the end.
2962 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2963 values from `eval-expression-print-format' at the end.
2965 * ielm.el (ielm-eval-input): Print the integer
2966 values from `eval-expression-print-format' at the end.
2968 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2970 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2971 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2973 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2975 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2976 (hl-line-highlight, global-hl-line-highlight): Use it.
2977 (hl-line-overlay): Use defvar-local.
2979 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2981 * term/ns-win.el: Require dnd.
2982 (global-map): Remove drag items.
2983 (ns-insert-text, ns-set-foreground-at-mouse)
2984 (ns-set-background-at-mouse):
2985 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2986 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2989 2013-12-19 Glenn Morris <rgm@gnu.org>
2991 * emacs-lisp/ert.el (ert-select-tests):
2992 Fix string/symbol mixup. (Bug#16121)
2994 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2996 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2997 keywords to their parent.
2999 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
3001 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
3002 first arg to be a string (fixed dead code), or an operator symbol.
3003 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
3005 (ruby-smie-rules): Remove parent token check in the `.' clause, it
3006 did nothing. Don't respond to `(:after ".")', it will be called
3007 with :before anyway. Remove the ` @ ' rule, it didn't seem to
3008 change anything. Only return indentation for binary operators
3009 when they are hanging. De-dent opening paren when its parent is
3010 `.', otherwise it looks bad when the dot is not at bol or eol
3013 2013-12-19 Juri Linkov <juri@jurta.org>
3015 * replace.el (query-replace-read-args): Split a non-negative arg
3016 and a negative arg into separate elements.
3017 (query-replace, query-replace-regexp, replace-string)
3018 (replace-regexp): Add arg `backward'. Doc fix.
3019 (replace-match-maybe-edit): When new arg `backward' is non-nil,
3020 move point to the beginning of the match.
3021 (replace-search, replace-highlight): Use new arg `backward'
3022 to set the value of `isearch-forward'.
3023 (perform-replace): Add arg `backward' and use it to perform
3024 replacement backward. (Bug#14979)
3026 * isearch.el (isearch-query-replace): Use a negative prefix arg
3027 to call `perform-replace' with a non-nil arg `backward'.
3029 2013-12-18 Juri Linkov <juri@jurta.org>
3031 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
3032 to the default list. Move `log-edit-show-files' to the end.
3033 Add more available functions to options.
3034 (log-edit): Move default specific settings to
3035 `log-edit-insert-message-template'. Don't move point.
3036 (log-edit-insert-message-template): New function.
3037 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
3040 2013-12-18 Juri Linkov <juri@jurta.org>
3042 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
3043 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
3045 2013-12-18 Leo Liu <sdl.web@gmail.com>
3047 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
3050 2013-12-18 Eli Zaretskii <eliz@gnu.org>
3052 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
3053 formats for displaying file sizes when the -s switch is given.
3054 Instead, compute a separate format for displaying the size in
3055 blocks, which is displayed in addition to the "regular" size.
3056 When -h is given in addition to -s, produce size in blocks in
3057 human-readable form as well. (Bug#16179)
3059 2013-12-18 Tassilo Horn <tsdh@gnu.org>
3061 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3062 Reference tables with ~\ref{...} instead of only \ref{...}.
3064 2013-12-18 Chong Yidong <cyd@gnu.org>
3066 * cus-edit.el (custom-magic-alist): Fix "themed" description
3069 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
3070 is non-nil, do not create a new entry in the symbol's theme-value
3071 or theme-face property; update theme-settings only (Bug#14664).
3072 (custom-available-themes): Doc fix.
3074 * cus-theme.el (custom-new-theme-mode-map): Add bindings
3077 * replace.el (occur-engine): Avoid infloop (Bug#7593).
3079 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
3081 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
3084 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
3086 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
3088 2013-12-18 Glenn Morris <rgm@gnu.org>
3090 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
3091 * cus-start.el (load-prefer-newer): New option.
3093 2013-12-18 Le Wang <l26wang@gmail.com>
3095 * comint.el (comint-previous-matching-input-from-input):
3096 Retain point (Bug#13404).
3098 2013-12-18 Chong Yidong <cyd@gnu.org>
3100 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
3102 2013-12-18 Glenn Morris <rgm@gnu.org>
3104 * mail/emacsbug.el (report-emacs-bug):
3105 Only mention enable-multibyte-characters if non-standard.
3107 2013-12-17 Juri Linkov <juri@jurta.org>
3109 * arc-mode.el (archive-extract-by-file): Check if directory exists
3110 before deletion to not show irrelevant errors if it doesn't exist.
3112 2013-12-17 Juri Linkov <juri@jurta.org>
3114 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
3117 * net/eww.el (browse-web): Add alias to `eww'.
3118 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
3119 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
3121 * net/browse-url.el (browse-url-browser-function): Move `eww'
3122 closer to similar functions.
3124 * startup.el (fancy-startup-screen, fancy-about-screen):
3125 Set browse-url-browser-function to eww-browse-url locally.
3128 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3130 * window.el (window--pixel-to-total): Remove unused `mini' var.
3131 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
3132 (split-window): Remove unused `new' var.
3133 (window--display-buffer): Remove unused `frame' and `delta' vars.
3134 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
3137 2013-12-17 Martin Rudalics <rudalics@gmx.at>
3139 * dired.el (dired-mark-pop-up):
3140 * register.el (register-preview): Don't bind
3141 split-height-threshold here since it's now done in
3142 display-buffer-below-selected.
3144 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
3146 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
3147 xterm-rgb-convert-to-16bit.
3148 (rxvt-register-default-colors): Standardize with
3149 xterm-register-default-colors (Bug#14078).
3151 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3153 * simple.el (kill-region): Pass mark first, then point, so that
3154 kill-append works right (Bug#12819).
3155 (copy-region-as-kill, kill-ring-save): Likewise.
3157 2013-12-17 Leo Liu <sdl.web@gmail.com>
3159 * net/rcirc.el (rcirc-add-face):
3160 * eshell/em-prompt.el (eshell-emit-prompt):
3161 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3164 2013-12-17 Chong Yidong <cyd@gnu.org>
3166 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3167 Suggested by Xue Fuqiao.
3169 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3171 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3173 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3175 * net/shr.el (shr-insert-document): Remove unused var
3176 `shr-preliminary-table-render'.
3177 (shr-rescale-image): Remove unused arg `force'.
3178 (shr-put-image): Update calls accordingly.
3179 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3181 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3183 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3184 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3185 :close-all, to see which indentation method to use (Bug#16116).
3186 (smie-rules-function): Document the method :close-all.
3188 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3190 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3192 * net/eww.el (eww-display-html): If we can't find the anchor we're
3193 looking for, then go to point-min.
3195 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3197 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3198 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3199 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3200 Expand dir too, in case it's relative.
3202 2013-12-16 Juri Linkov <juri@jurta.org>
3204 * desktop.el (desktop-auto-save-timeout): Change default to
3205 `auto-save-timeout'. Doc fix.
3206 (desktop-save): Skip the timestamp in desktop-saved-frameset
3207 when checking for auto-save changes.
3208 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3209 `desktop-auto-save' is called repeatedly by the idle timer.
3210 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3211 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3214 2013-12-16 Juri Linkov <juri@jurta.org>
3216 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3218 (isearch-pre-command-hook): Check `this-command' for symbolp.
3220 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3224 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3226 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3227 (cfengine3--current-function): Bring in the current-function
3228 functionality from `cfengine3--current-word'.
3229 (cfengine3-completion-function): Bring in the
3230 bounds-of-current-word functionality from
3231 `cfengine3--current-word'.
3233 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3235 * window.el (display-buffer-below-selected):
3236 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3238 2013-12-16 Leo Liu <sdl.web@gmail.com>
3240 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3241 Remove NOMSG arg and all uses changed.
3243 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3246 (cua--deactivate-rectangle): Don't deactivate the mark.
3247 (cua-set-rectangle-mark): Don't set mark-active since
3248 cua--activate-rectangle already does it for us.
3249 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3250 non-rectangular region.
3252 * emulation/cua-base.el (cua-repeat-replace-region):
3253 Use with-current-buffer.
3255 * net/gnutls.el: Use cl-lib.
3256 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3258 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3260 * emacs-lisp/package.el (package-built-in-p): Support both
3261 built-in and the package.el converted package descriptions.
3262 (package-show-package-list): Allow keywords.
3263 (package-keyword-button-action): Use it instead of
3264 `finder-list-matches'.
3265 (package-menu-filter-interactive): Interactive filtering (by
3267 (package-menu--generate): Support keywords and change keymappings
3268 and headers when they are given.
3269 (package--has-keyword-p): Helper function.
3270 (package-menu--refresh): Use it.
3271 (package--mapc): Helper function.
3272 (package-all-keywords): Use it.
3273 (package-menu-mode-map): Set up menu items and keybindings to
3274 provide a filtering UI.
3276 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3278 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3279 the behavior when a certificate fails validation. Defaults to
3280 old behavior: never abort, just warn.
3281 (gnutls-negotiate): Use it.
3283 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3285 * window.el (display-buffer-below-selected): Never split window
3286 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3288 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3290 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3291 (package-buffer-info): Use it (bug#15108).
3293 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3295 * icomplete.el (icomplete-completions): Make sure the prefix is already
3296 displayed elsewhere before hiding it (bug#16219).
3298 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3300 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3301 open-paren tokens when preceded by a open-paren, too.
3302 (ruby-smie-rules): Handle virtual indentation after open-paren
3303 tokens specially. If there is code between it and eol, return the
3304 column where is starts (Bug#16118).
3306 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3308 * progmodes/cfengine.el: Fix `add-hook' doc.
3309 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3310 (cfengine3--current-word): Fix parameters.
3311 (cfengine3-make-syntax-cache): Simplify further.
3312 (cfengine3-completion-function, cfengine3--current-function):
3313 Use `assq' for symbols.
3314 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3316 2013-12-13 Glenn Morris <rgm@gnu.org>
3318 * loadup.el (load-path): Warn if site-load or site-init changes it.
3319 No more need to reset it when bootstrapping.
3321 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3323 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3324 locations for cf-promises.
3325 (cfengine-mode-syntax-functions-regex): New caching variable.
3326 (cfengine3-fallback-syntax): Fallback syntax for cases where
3327 cf-promises doesn't run.
3328 (cfengine3--current-word): Reimplement using
3329 `cfengine-mode-syntax-functions-regex'.
3330 (cfengine3-completion-function, cfengine3--current-function):
3331 Use `cfengine3-make-syntax-cache' directly.
3332 (cfengine3-clear-syntax-cache): New function.
3333 (cfengine3-make-syntax-cache): Simplify and create
3334 `cfengine-mode-syntax-functions-regex' on demand.
3335 (cfengine3-format-function-docstring): Don't call
3336 `cfengine3-make-syntax-cache' explicitly.
3338 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3340 Fix windmove-find-other-window broken after pixelwise resizing
3342 * windmove.el (windmove-other-window-loc): Revert change from
3344 (windmove-find-other-window): Call window-in-direction.
3345 * window.el (window-in-direction): New arguments SIGN, WRAP and
3346 MINI to emulate original windmove-find-other-window behavior.
3348 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3350 * simple.el (blink-matching--overlay): New variable.
3351 (blink-matching-open): Instead of moving point, highlight the
3352 matching paren with an overlay
3353 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3355 * faces.el (paren-showing-faces, show-paren-match)
3356 (show-paren-mismatch): Move from paren.el.
3358 2013-12-13 Leo Liu <sdl.web@gmail.com>
3360 * indent.el (indent-region): Disable progress reporter in
3361 minibuffer. (Bug#16108)
3363 * bindings.el (visual-order-cursor-movement): Fix version.
3365 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3367 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3368 Also match after beginning of line.
3369 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3370 files. Thanks to Russell Sim. (Bug#15378)
3372 2013-12-13 Juri Linkov <juri@jurta.org>
3374 * simple.el <Keypad support>: Remove key bindings duplicated
3375 with bindings.el. (Bug#14397)
3377 2013-12-13 Juri Linkov <juri@jurta.org>
3379 * comint.el (comint-mode-map): Replace `delete-char' with
3380 `delete-forward-char'. (Bug#16109)
3382 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3384 * progmodes/python.el (python-indent-calculate-indentation):
3385 Fix de-denters cornercase. (Bug#15731)
3387 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3390 (advice--make): Pay attention to `depth'.
3391 (advice--make-1): Don't autoload commands eagerly.
3392 * emacs-lisp/elp.el (elp-instrument-function):
3393 * emacs-lisp/trace.el (trace-function-internal):
3394 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3396 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3398 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3400 * term/w32-win.el (w32-handle-dropped-file):
3401 * startup.el (normal-top-level):
3402 * net/browse-url.el (browse-url-file-url):
3403 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3404 decode file names using 'utf-8' rather than
3405 file-name-coding-system.
3407 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3409 * progmodes/python.el (python-indent-context)
3410 (python-indent-calculate-indentation): Fix auto-identation
3411 behavior for comment blocks. (Bug#15916)
3413 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3415 * progmodes/python.el (python-indent-calculate-indentation):
3416 When determining indentation, don't treat "return", "pass", etc., as
3417 operators when they are just string constituents. (Bug#15812)
3419 2013-12-12 Juri Linkov <juri@jurta.org>
3421 * uniquify.el (uniquify-buffer-name-style): Change default to
3422 `post-forward-angle-brackets'.
3424 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3425 `uniquify'. Change default to `post-forward-angle-brackets'.
3427 2013-12-11 Glenn Morris <rgm@gnu.org>
3429 * emacs-lisp/package.el (finder-list-matches):
3430 Autoload rather than falsely declaring.
3432 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3434 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3435 (eww-mode-map): Use them.
3437 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3439 * window.el (display-buffer-in-side-window): Fix doc-string
3442 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3444 * vc/vc-git.el: Silence byte-compiler warnings.
3445 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3446 (log-edit-set-header): Declare.
3448 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3450 * Makefile.in (custom-deps, finder-data): Run output file names
3451 through unmsys--file-name. (Bug#16099)
3453 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3456 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3458 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3459 instead of deleting the selection "by hand" (bug#16098).
3460 Rely on insert-for-yank to yank rectangles.
3461 (cua-highlight-region-shift-only): Mark obsolete.
3462 (cua-mode): Don't enable/disable transient-mark-mode,
3463 shift-select-mode (cua-mode works both with and without them), and
3464 pc-selection-mode (obsolete).
3465 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3466 (cua--deactivate-rectangle): Deactivate it.
3468 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3469 (delete-selection-helper): Make sure yank starts at the top of the
3471 (minibuffer-keyboard-quit): Use region-active-p.
3473 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3475 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3476 to `delete' (bug#16109).
3478 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3480 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3481 info manual and show keybindings and set `:group' keyword.
3483 2013-12-11 Juri Linkov <juri@jurta.org>
3485 * delsel.el (delete-active-region): Let-bind `this-command'
3486 to prevent `kill-region' from changing its original value.
3487 (delete-selection-helper): Handle `overwrite-mode' for the type
3488 `kill' exactly the same way as for the type `t'.
3489 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3490 Support more commands. (Bug#13312)
3492 2013-12-11 Juri Linkov <juri@jurta.org>
3494 * bindings.el: Map kp keys to non-kp keys systematically
3495 with basic modifiers control, meta and shift. (Bug#14397)
3497 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3499 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3500 "Close browser" menu items. Fix wrong function of "List
3503 2013-12-11 Juri Linkov <juri@jurta.org>
3505 * misearch.el (multi-isearch-buffers): Set the value of
3506 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3507 arg of isearch-forward to t.
3508 (multi-isearch-buffers-regexp): Set the value of
3509 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3510 arg of isearch-forward-regexp to t.
3511 (multi-isearch-files): Set the value of
3512 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3513 arg of isearch-forward to t.
3514 (multi-isearch-files-regexp): Set the value of
3515 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3516 arg of isearch-forward-regexp to t. (Bug#16035)
3518 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3519 arg of isearch-forward to t.
3520 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3521 arg of isearch-forward-regexp to t.
3522 (dired-isearch-filter-filenames): Remove unnecessary check for
3523 `dired-isearch-filenames'.
3525 * comint.el (comint-history-isearch-backward):
3526 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3527 (comint-history-isearch-backward-regexp):
3528 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3530 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3532 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3533 unmsys--file-name. (Bug#16099)
3535 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3537 * emacs-lisp/package.el (package-keyword-button-action):
3538 Remove finder.el require dependency.
3540 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3542 * emacs-lisp/package.el: Require finder.el.
3543 (describe-package-1): Add keyword buttons.
3544 (package-make-button): New convenience function.
3545 (package-keyword-button-action): Keyword button action using
3546 `finder-list-matches'.
3548 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3550 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3553 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3555 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3558 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3560 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3561 after the end of a percent literal.
3563 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3565 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3566 Handle caret-delimited strings (Bug#16079).
3568 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3570 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3571 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3572 `ruby-parse-partial' (Bug#16078).
3574 2013-12-09 Leo Liu <sdl.web@gmail.com>
3576 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3578 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3580 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3581 (js-switch-indent-offset): New option.
3582 (js--proper-indentation): Use it. And handle the case when
3583 "default" is actually a key in an object literal.
3584 (js--same-line): New function.
3585 (js--multi-line-declaration-indentation): Use it.
3586 (js--indent-in-array-comp, js--array-comp-indentation):
3588 (js--proper-indentation): Use them, to handle array comprehension
3591 2013-12-08 Leo Liu <sdl.web@gmail.com>
3593 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3594 (flymake-make-overlay): Remove arg MOUSE-FACE.
3595 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3597 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3601 (redisplay-highlight-region-function): Use it.
3603 * emulation/cua-base.el (cua--explicit-region-start)
3604 (cua--last-region-shifted): Remove.
3605 (cua--deactivate): Use deactivate-mark.
3606 (cua--pre-command-handler-1): Don't handle shift-selection.
3607 (cua--post-command-handler-1): Don't change transient-mark-mode.
3608 (cua--select-keymaps): Use region-active-p rather than
3609 cua--explicit-region-start or cua--last-region-shifted.
3610 (cua-mode): Enable shift-select-mode.
3612 2013-12-08 Leo Liu <sdl.web@gmail.com>
3614 * progmodes/flymake.el (flymake-popup-current-error-menu):
3615 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3616 (flymake-posn-at-point-as-event, flymake-popup-menu)
3617 (flymake-make-emacs-menu): Remove. (Bug#16077)
3619 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3621 * rect.el (rectangle-mark-mode): Activate mark even if
3622 transient-mark-mode is off (bug#16066).
3623 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3624 is > mark and at bolp.
3626 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3627 (region-extract-function): Use it.
3628 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3629 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3631 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3632 kill-ring-save, kill-region, delete-char, delete-forward-char.
3633 Ignore self-insert-iso.
3635 * emulation/cua-gmrk.el (cua--init-global-mark):
3636 Ignore `self-insert-iso'.
3638 * emulation/cua-base.el (cua--prefix-copy-handler)
3639 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3640 checking cua--rectangle.
3641 (cua-delete-region): Use region-extract-function.
3642 (cua-replace-region): Delete function.
3643 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3644 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3645 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3646 (cua--init-keymaps): Don't remap delete-selection commands.
3647 (cua-mode): Use delete-selection-mode instead of rolling our own
3650 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3651 Obey region-extract-function.
3653 Make registers and delete-selection-mode work on rectangles.
3654 * register.el (describe-register-1): Don't modify the register's value.
3655 (copy-to-register): Obey region-extract-function.
3656 * delsel.el (delete-active-region): Obey region-extract-function.
3658 2013-12-08 Leo Liu <sdl.web@gmail.com>
3660 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3661 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3662 (flymake-compilation-prevents-syntax-check)
3663 (flymake-start-syntax-check-on-newline)
3664 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3665 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3666 (flymake-xml-program, flymake-master-file-dirs)
3667 (flymake-master-file-count-limit)
3668 (flymake-allowed-file-name-masks): Relocate.
3669 (flymake-makehash, flymake-float-time)
3670 (flymake-replace-regexp-in-string, flymake-split-string)
3671 (flymake-get-temp-dir): Remove.
3672 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3673 (flymake-current-row, flymake-selected-frame)
3674 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3675 related functions. (Bug#16077)
3677 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3679 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3681 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3683 * help-fns.el (describe-function-1): Use new advice-* functions
3684 rather than old ad-* functions. Fix function type description and
3685 source links for advised functions and subrs.
3687 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3689 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3691 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3693 * progmodes/compile.el (compilation-start):
3694 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3696 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3697 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3699 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3701 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3702 Touch up the last change.
3704 2013-12-06 Leo Liu <sdl.web@gmail.com>
3706 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3707 (inferior-octave-startup): Always use "octave> " for prompt.
3708 (octave-goto-function-definition)
3709 (octave-sync-function-file-names)
3710 (octave-find-definition-default-filename): Remove redundant backquotes.
3712 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3714 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3716 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3717 where appropriate already.
3718 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3719 end of method names (Bug#15874).
3721 2013-12-06 Juri Linkov <juri@jurta.org>
3723 * isearch.el (isearch--saved-overriding-local-map):
3724 New internal variable.
3725 (isearch-mode): Set it to the initial value of
3726 `overriding-terminal-local-map'.
3727 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3728 with `isearch--saved-overriding-local-map'. (Bug#16035)
3730 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3732 * progmodes/octave.el (inferior-octave-completion-table):
3733 Turn back into function, use `completion-table-with-cache'
3734 (Bug#11906). Update all references.
3736 * minibuffer.el (completion-table-with-cache): New function.
3738 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3740 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3742 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3744 * net/eww.el (eww-current-source): New variable to store page
3746 (eww-display-html, eww-mode, eww-save-history)
3747 (eww-restore-history): Use it.
3748 (eww-view-source): New command to view page source.
3749 Opportunistically uses `html-mode' to highlight the buffer.
3750 (eww-mode-map): Install it.
3752 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3754 * net/dbus.el (dbus-unregister-service)
3755 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3757 (dbus-unregister-service): Skip :serial entries in
3758 `dbus-registered-objects-table'.
3759 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3761 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3763 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3764 around keywords with extra `split-string' argument.
3766 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3768 * windmove.el (windmove-other-window-loc): Handle navigation
3769 between windows (excluding the minibuffer window - Bug#16017).
3771 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3773 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3774 in D-Bus type syntax.
3775 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3776 preserve unibyte strings. (Bug#16048)
3778 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3780 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3781 Call force-mode-line-update is the proper buffer (bug#16042).
3783 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3785 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3786 `log-edit-remember-comment', make argument optional. Adjust all
3788 (log-edit-mode): Add `log-edit-remember-comment' to
3789 `kill-buffer-hook' locally.
3790 (log-edit-kill-buffer): Don't remember comment explicitly since
3791 the buffer is killed anyway.
3793 2013-12-04 Juri Linkov <juri@jurta.org>
3795 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3796 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3798 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3800 * notifications.el (notifications-close-notification): Call the
3801 D-Bus method with ID being a `:uint32'. (Bug#16030)
3803 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3805 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3807 2013-12-03 Juri Linkov <juri@jurta.org>
3809 * progmodes/compile.el (compilation-start): Rename window alist
3810 entry `no-display-ok' to `allow-no-window'.
3812 * simple.el (shell-command): Add window alist entry
3813 `allow-no-window' to `display-buffer'.
3814 (async-shell-command): Doc fix.
3816 * window.el (display-buffer-no-window): New action function.
3817 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3819 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3821 * vc/log-edit.el (log-edit-set-header): Extract from
3822 `log-edit-toggle-header'.
3823 (log-edit-extract-headers): Separate the summary, when extracted
3824 from header, from the rest of the message with an empty line.
3826 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3827 line, if present, to the Summary header.
3829 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3831 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3832 in current-buffer (bug#16029).
3834 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3836 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3837 (debugger-mode-map): Bind it.
3838 (debugger--backtrace-base): New function.
3839 (debugger-eval-expression): Use it.
3840 (debugger-frame-number): Skip local vars when present.
3841 (debugger--locals-visible-p, debugger--insert-locals)
3842 (debugger--show-locals, debugger--hide-locals): New functions.
3844 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3846 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3848 (tramp-get-remote-locale): New defun.
3849 (tramp-open-connection-setup-interactive-shell): Use it.
3851 2013-12-02 Leo Liu <sdl.web@gmail.com>
3853 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3855 * progmodes/sh-script.el (sh-shell-process):
3856 * progmodes/octave.el (inferior-octave-process-live-p):
3857 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3858 (gdb-inferior-io-sentinel):
3859 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3861 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3863 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3864 `save-selected-window' to `log-edit-hide-buf'. This makes
3865 `log-edit-show-files' idempotent.
3866 (log-edit-show-files): Mark the new window as dedicated.
3868 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3870 * vc/log-edit.el (log-edit-mode-map): Add binding for
3871 `log-edit-kill-biffer'.
3872 (log-edit-hide-buf): Add a FIXME comment.
3873 (log-edit-add-new-comment): New function, extracted from
3875 (log-edit-done, log-edit-add-to-changelog): Use it.
3876 (log-edit-kill-buffer): New command.
3878 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3880 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3881 instead of killing the buffer.
3883 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3887 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3889 * net/eww.el (eww-form-checkbox-selected-symbol)
3890 (eww-form-checkbox-symbol): New customizable variable.
3891 (eww-form-checkbox, eww-toggle-checkbox):
3892 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3894 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3895 (shr--get-media-pref, shr--extract-best-source): New function.
3896 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3897 no :src tag was specified.
3899 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3900 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3901 Use \\` to match beginning of string instead of ^.
3902 (eww-browse-with-external-browser): Provide optional URL parameter.
3903 (eww-render): Set `eww-current-title' back to "".
3905 * net/shr.el (shr-tag-video): Display content for video if no
3906 poster is available.
3907 (shr-tag-audio): Add support for <audio> tag.
3909 * net/eww.el (eww-text-input-types): New const.
3910 (eww-process-text-input): Treat input types in
3911 `eww-text-input-types' as text.
3913 * net/shr.el (shr-tag-table): Fix comment typo.
3915 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3917 * net/eww.el (eww-follow-link): New command to avoid reloading
3918 pages when we follow #target links (bug#15243).
3919 (eww-quit): Special mode buffers shouldn't query before exiting.
3921 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3923 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3926 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3928 * net/eww.el (eww-restore-history): Update the window title after
3929 moving in the history.
3930 (eww-current-dom): New variable used to save the current DOM.
3932 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3934 * vc/log-edit.el (log-edit-mode-map): Add binding for
3935 `log-edit-beginning-of-line'.
3936 (log-edit-setup-add-author): New user option.
3937 (log-edit-beginning-of-line): New command.
3938 (log-edit): Move major mode call above the contents setup so that
3939 the local variable values are already applied.
3940 (log-edit): Only insert "Author: " when
3941 `log-edit-setup-add-author' is non-nil.
3942 (log-edit): When SETUP is non-nil, position point after ": "
3943 instead of point-min.
3945 2013-12-01 Glenn Morris <rgm@gnu.org>
3947 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3949 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3951 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3952 redisplay to make sure the initial frame gets a chance to become
3953 visible. (Bug#16014)
3955 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3957 Support resizing frames and windows pixelwise.
3958 * cus-start.el (frame-resize-pixelwise)
3959 (window-resize-pixelwise): New entries.
3960 * emacs-lisp/debug.el (debug): Use window-total-height instead
3961 of window-total-size.
3962 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3963 * help.el (describe-bindings-internal): Use help-buffer as
3964 argument for with-help-window.
3965 (temp-buffer-max-width): New option.
3966 (resize-temp-buffer-window, help-window-setup)
3967 (with-help-window): Rewrite.
3968 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3970 * window.el (frame-char-size, window-min-pixel-height)
3971 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3972 (window-min-pixel-width, window-safe-min-pixel-size)
3973 (window-combination-p, window-safe-min-size)
3974 (window-resizable-p, window--size-to-pixel)
3975 (window--pixel-to-size, window--resize-apply-p): New functions.
3976 (window-safe-min-height): Fix doc-string.
3977 (window-size, window-min-size, window--min-size-1)
3978 (window-sizable, window-sizable-p, window--min-delta-1)
3979 (window-min-delta, window--max-delta-1, window-max-delta)
3980 (window--resizable, window--resizable-p, window-resizable)
3981 (window-full-height-p, window-full-width-p, window-at-side-p)
3982 (window--in-direction-2, window-in-direction)
3983 (window--resize-reset-1, window--resize-mini-window)
3984 (window-resize, window-resize-no-error)
3985 (window--resize-child-windows-normal)
3986 (window--resize-child-windows, window--resize-siblings)
3987 (window--resize-this-window, window--resize-root-window)
3988 (window--resize-root-window-vertically)
3989 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3990 (maximize-window, minimize-window, delete-window)
3991 (quit-restore-window, window-split-min-size, split-window)
3992 (balance-windows-2, balance-windows)
3993 (balance-windows-area-adjust, balance-windows-area)
3994 (window--state-get-1, window-state-get, window--state-put-1)
3995 (window--state-put-2, window-state-put)
3996 (display-buffer-record-window, window--display-buffer):
3997 Make functions handle pixelwise sizing of windows.
3998 (display-buffer--action-function-custom-type)
3999 (display-buffer-fallback-action):
4000 Add display-buffer-in-previous-window.
4001 (display-buffer-use-some-window): Resize window to height it had
4003 (fit-window-to-buffer-horizontally): New option.
4004 (fit-frame-to-buffer): Describe new values.
4005 (fit-frame-to-buffer-bottom-margin): Replace with
4006 fit-frame-to-buffer-margins.
4007 (window--sanitize-margin): New function.
4008 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
4009 using window-text-pixel-size.
4011 2013-11-30 Glenn Morris <rgm@gnu.org>
4013 * emacs-lisp/bytecomp.el (byte-compile-form):
4014 Make the `interactive-only' warning like the `obsolete' one.
4015 * comint.el (comint-run):
4016 * files.el (insert-file-literally, insert-file):
4017 * replace.el (replace-string, replace-regexp):
4018 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
4019 (goto-line, insert-buffer, next-line, previous-line):
4020 Tweak `interactive-only' spec.
4022 Stop keeping (most) generated cedet grammar files in the repository.
4023 * Makefile.in (semantic): New.
4024 (compile-main): Depend on semantic.
4026 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
4029 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
4031 * uniquify.el (uniquify-buffer-name-style): Change default.
4033 * loadup.el: Preload "uniquify".
4035 * time.el (display-time-update): Update all mode lines (bug#15999).
4037 * electric.el (electric-indent-mode): Enable by default.
4038 * loadup.el: Preload "electric".
4040 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
4042 * emacs-lisp/helpers.el (string-empty-p): New function.
4043 (string-blank-p): New function.
4045 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
4047 * imenu.el (imenu--index-alist): Add missing dot to the docstring
4050 2013-11-29 Andreas Politz <politza@fh-trier.de>
4051 * imenu.el (imenu--subalist-p): Don't error on non-conses and
4052 allow non-lambda lists as functions.
4053 (imenu--in-alist): Don't recurse into non-subalists.
4054 (imenu): Don't pass function itself as an argument (Bug#14029).
4056 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4058 * progmodes/python.el (python-mode-map): Remove binding for ":".
4059 (python-indent-electric-colon): Remove command.
4060 (python-indent-post-self-insert-function): Integrate the previous code
4061 of python-indent-electric-colon. Make it conditional on
4062 electric-indent-mode.
4063 (python-mode): Add ?: to electric-indent-chars.
4064 Move python-indent-post-self-insert-function to the end of
4065 post-self-insert-hook.
4067 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * doc-view.el (doc-view-goto-page): Update mode-line.
4071 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
4073 2013-11-27 Glenn Morris <rgm@gnu.org>
4075 * international/charprop.el, international/uni-bidi.el:
4076 * international/uni-category.el, international/uni-combining.el:
4077 * international/uni-comment.el, international/uni-decimal.el:
4078 * international/uni-decomposition.el, international/uni-digit.el:
4079 * international/uni-lowercase.el, international/uni-mirrored.el:
4080 * international/uni-name.el, international/uni-numeric.el:
4081 * international/uni-old-name.el, international/uni-titlecase.el:
4082 * international/uni-uppercase.el:
4083 Remove generated files from VCS repository.
4085 2013-11-27 Eli Zaretskii <eliz@gnu.org>
4087 * filenotify.el (file-notify-add-watch): Don't special-case
4088 w32notify when computing the directory to watch.
4090 2013-11-27 Glenn Morris <rgm@gnu.org>
4092 Make bootstrap without generated uni-*.el files possible again.
4093 * loadup.el: Update command-line-args checking for unidata-gen.
4094 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
4095 * composite.el, international/characters.el:
4096 Handle unicode tables being undefined.
4098 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
4099 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
4100 (compile-main): Depend on leim rule.
4102 * loadup.el: Move leim-list.el to leim/ subdirectory.
4103 * startup.el (normal-top-level): No more leim directory.
4104 * international/ja-dic-cnv.el (skkdic-convert):
4105 Disable version-control and autoloads in output files.
4106 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
4107 Disable version-control and autoloads in output files.
4108 * leim/quail: Move here from ../leim.
4109 * leim/quail/hangul.el (hangul-input-method-activate):
4110 Add autoload cookie.
4111 (generated-autoload-load-name): Set file-local value.
4112 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
4113 (generated-autoload-load-name): Set file-local value.
4115 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
4117 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
4118 (eww-add-bookmark): Ask confirmation when add to bookmarks.
4119 (eww-quit): Ask confirmation before quitting eww.
4121 2013-11-26 Eli Zaretskii <eliz@gnu.org>
4123 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
4124 reading output from Diff on MS-Windows and MS-DOS.
4126 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
4128 * emacs-lisp/helpers.el (string-reverse): New function.
4130 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
4132 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
4133 names on MS Windows, like "/[::1]:".
4135 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
4138 2013-11-26 Glenn Morris <rgm@gnu.org>
4140 * progmodes/python.el (python-indent-guess-indent-offset):
4141 Avoid corner-case error. (Bug#15975)
4143 Preload leim-list.el. (Bug#4789)
4144 * loadup.el: Load leim-list.el when found.
4145 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
4147 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4149 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4151 * emacs-lisp/helpers.el (string-join): New function.
4153 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4155 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4156 Mark as obsolete and replace it with a symbol property.
4157 (byte-compile-form): Use new 'interactive-only property.
4158 * comint.el, files.el, replace.el, simple.el:
4159 Apply new 'interactive-only properly.
4161 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4163 * window.el (display-buffer-at-bottom): Make sure that
4164 split-window-sensibly creates the new window on bottom
4167 2013-11-23 David Kastrup <dak@gnu.org>
4169 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4170 on the conflict markers when available.
4171 (smerge--get-marker): New function.
4172 (smerge-end-re, smerge-base-re): Add subgroup.
4174 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4176 * frame.el (handle-focus-in, handle-focus-out): Add missing
4179 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4181 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4182 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4184 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4187 (gomoku--last-pos): New var.
4188 (gomoku--intangible-chars): New const.
4189 (gomoku--intangible): New function.
4190 (gomoku-mode): Use it. Derive from special-mode.
4191 (gomoku-move-up): Adjust line count.
4192 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4193 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4194 Simplify accordingly.
4196 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4197 Remove blink-cursor code.
4198 (blink-cursor-timer-function, blink-cursor-suspend):
4199 Don't special-case GUIs.
4200 (blink-cursor-mode): Use focus-in/out-hook.
4202 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4204 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4205 work when annotation is invisible (Bug#13886).
4207 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4209 * json.el (json-alist-p): Only return non-nil if the alist has
4210 simple keys (Bug#13518).
4212 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4214 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4215 when control-statement is the first statement in a buffer (Bug#15956).
4217 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4219 * imenu.el (imenu-generic-skip-comments-and-strings):
4220 New option (Bug#15560).
4221 (imenu--generic-function): Use it.
4223 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4225 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4228 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4230 * emacs-lisp/helpers.el: Add some string helpers.
4231 (string-trim-left): Removes leading whitespace.
4232 (string-trim-right): Removes trailing whitespace.
4233 (string-trim): Removes leading and trailing whitespace.
4235 * subr.el (string-suffix-p): New function.
4237 2013-11-23 Glenn Morris <rgm@gnu.org>
4239 * progmodes/python.el (python-shell-send-file):
4240 Add option to delete file when done. (Bug#15647)
4241 (python-shell-send-string, python-shell-send-region): Use it.
4243 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4245 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4246 to set buffer-read-only to t, never to nil. (Bug#15938)
4248 * textmodes/tex-mode.el (latex-noindent-environments):
4249 Add safe-local-variable property. (Bug#15936)
4251 2013-11-23 Glenn Morris <rgm@gnu.org>
4253 * textmodes/enriched.el (enriched-mode): Doc fix.
4254 * emacs-lisp/authors.el (authors-renamed-files-alist):
4255 Add enriched.doc -> enriched.txt.
4257 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4259 2013-11-22 Leo Liu <sdl.web@gmail.com>
4261 * progmodes/octave.el (inferior-octave-startup): Spit out error
4264 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4266 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4269 (ruby-encoding-magic-comment-style): Add :version.
4271 2013-11-22 Leo Liu <sdl.web@gmail.com>
4273 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4275 (octave-help-mode): Adapt to change to help-mode-finish to use
4276 derived-mode-p on 2013-09-17.
4277 (inferior-octave-prompt): Also match octave-gui.
4278 (octave-kill-process): Don't ask twice. (Bug#10564)
4280 2013-11-22 Leo Liu <sdl.web@gmail.com>
4282 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4283 (inferior-octave-startup, inferior-octave-check-process)
4284 (inferior-octave-track-window-width-change)
4285 (octave-completion-at-point, octave-eldoc-function): Use it.
4286 (octave-kill-process): Provide confirmation. (Bug#10564)
4288 2013-11-21 Leo Liu <sdl.web@gmail.com>
4290 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4291 Fix obsolete variable comment-use-global-state.
4293 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4295 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4296 Add `octave-source-file'.
4297 (octave-source-file): New function. (Bug#15935)
4299 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4301 * net/eww.el (eww-local-regex): New variable.
4302 (eww): Use it to detect localhost and similar.
4304 2013-11-21 Leo Liu <sdl.web@gmail.com>
4306 Add completion for command `ag'.
4307 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4308 (pcomplete/ag): New function.
4309 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4311 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4315 (make-obsolete): Remove interactive spec.
4317 2013-11-21 Glenn Morris <rgm@gnu.org>
4319 * startup.el (command-line-1): Use path-separator with -L.
4321 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4323 * emacs-lisp/package.el (describe-package-1): Add package archive
4326 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4328 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4329 Change default to "# encoding: %s" to differentiate it from the
4330 default Ruby encoding comment template.
4332 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4334 * ses.el (ses-mode): Doc fix. (Bug#14748)
4336 2013-11-20 Leo Liu <sdl.web@gmail.com>
4338 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4340 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4342 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4343 when rebase or bisect are in progress.
4345 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4347 * filenotify.el (file-notify-add-watch): Doc fix.
4349 2013-11-19 Leo Liu <sdl.web@gmail.com>
4351 * obsolete/rcompile.el: Mark obsolete.
4353 * progmodes/compile.el (compilation-start)
4354 (compilation-goto-locus, compilation-find-file):
4355 Pass no-display-ok and handle nil value from display-buffer.
4358 * window.el (display-buffer-alist, display-buffer): Document the
4359 new parameter no-display-ok. Return either a window or nil
4360 but never a non-window value.
4362 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * electric.el (electric-indent-mode-map): Remove.
4365 (electric-indent-mode): Change the global-map instead (bug#15915).
4367 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4370 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4372 * emacs-lisp/nadvice.el (remove-function): Align with
4373 add-function's behavior.
4375 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4376 (gdb--string-regexp): New constant.
4377 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4378 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4379 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4381 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4382 Adjust use accordingly.
4383 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4385 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4387 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4388 interpolation curlies (Bug#15914).
4390 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4392 * calc/calc.el (calc-context-sensitive-enter): New variable.
4393 (calc-enter): Use `calc-context-sensitive-enter'.
4395 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4397 * progmodes/cfengine.el: Version bump.
4398 (cfengine-cf-promises): New defcustom to locate cf-promises.
4399 (cfengine3-vartypes): Add new "data" type.
4400 (cfengine3--current-word): New function to get current name-like
4402 (cfengine3--current-function): New function to look up a CFEngine
4403 function's definition.
4404 (cfengine3-format-function-docstring): New function.
4405 (cfengine3-make-syntax-cache): New function.
4406 (cfengine3-documentation-function): New function: ElDoc glue.
4407 (cfengine3-completion-function): New function: completion glue.
4408 (cfengine3-mode): Set `compile-command',
4409 `eldoc-documentation-function', and add to
4410 `completion-at-point-functions'.
4412 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4414 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4415 `tramp-current-connection'.
4417 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4419 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4420 nil/self/true/false with "end of symbol".
4422 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4424 * subr.el (version-regexp-alist): Fix a typo.
4426 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4428 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4429 "en_US.utf8" and "LC_CTYPE" to "".
4430 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4431 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4433 2013-11-15 Leo Liu <sdl.web@gmail.com>
4435 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4437 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4439 * progmodes/gud.el (ctl-x-map):
4440 Remove C-x SPC binding. (Bug#12342)
4441 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4443 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4445 * subr.el (version-regexp-alist):
4446 Recognize hg, svn and darcs versions as snapshot versions.
4448 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4449 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4450 (ruby--encoding-comment-required-p): Extract from
4451 `ruby-mode-set-encoding'.
4452 (ruby-mode-set-encoding): Add the ability to always insert an
4453 utf-8 encoding comment. Fix and simplify coding comment update
4456 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4458 * net/tramp-gvfs.el (top): Run init code only when
4459 `tramp-gvfs-enabled' is not nil.
4460 (tramp-gvfs-enabled): Check also :system bus.
4462 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4464 Sync with upstream verilog-mode revision 78e66ba.
4465 * progmodes/verilog-mode.el (verilog-end-of-defun)
4466 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4467 (verilog-get-end-of-defun): Remove unused argument.
4468 (verilog-comment-depth): Remove unused local `e'.
4469 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4470 Don't pass arg to verilog-get-end-of-defun.
4472 2013-11-14 Glenn Morris <rgm@gnu.org>
4474 * obsolete/assoc.el (aget): Prefix dynamic variable.
4476 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4478 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * widget.el, hfy-cmap.el: Remove bogus package version number.
4482 2013-11-13 Glenn Morris <rgm@gnu.org>
4484 * replace.el (replace-eval-replacement):
4485 Try to give more helpful error message. (Bug#15836)
4487 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4488 (archive-7z-update): Avoid custom type mismatches.
4490 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4492 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4494 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4495 address can be empty.
4497 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4498 Accept nil SWITCHES.
4499 (tramp-gvfs-handle-write-region): Implement APPEND.
4501 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4503 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4504 binary "|" operator and closing block args delimiter.
4505 Remove FIXME comment referring to Ruby 1.8-only syntax.
4506 (ruby-smie--implicit-semi-p): Not after "|" operator.
4507 (ruby-smie--closing-pipe-p): New function.
4508 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4509 (ruby-smie-rules): Indent after "|".
4511 2013-11-12 Glenn Morris <rgm@gnu.org>
4513 * ps-print.el (ps-face-attribute-list):
4514 Handle anonymous faces. (Bug#15827)
4516 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4518 * window.el (display-buffer-other-frame): Fix doc-string.
4521 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4525 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4527 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4528 (tramp-sh-handle-file-local-copy): Don't write a message when
4529 saving temporary files.
4531 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4532 both directories are remote.
4533 (tramp-smb-handle-directory-files): Do not return double entries.
4534 Do not expand full file names.
4535 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4536 (tramp-smb-handle-write-region): Implement APPEND.
4537 (tramp-smb-get-stat-capability): Fix a stupid bug.
4539 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4541 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4543 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4545 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4546 throwing error over malformed let/let* (bug#15814).
4548 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * iswitchb.el (iswitchb-mode): Mark obsolete.
4552 2013-11-11 Glenn Morris <rgm@gnu.org>
4554 * international/uni-bidi.el, international/uni-category.el:
4555 * international/uni-name.el, international/uni-numeric.el:
4556 Regenerate for Unicode 6.3.0.
4558 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4560 * net/tramp.el (tramp-methods):
4561 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4562 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4564 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4566 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4567 Force highlighting text after Summary keyword in doc face for rpm.
4569 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4571 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4572 available and the word has no wildcards, append one to the grep pattern.
4573 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4574 (ispell-complete-word): Call `ispell-lookup-words' with the value
4575 independent of `ispell-look-p'.
4577 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4579 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4581 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4584 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4586 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4587 (ruby-font-lock-keywords): Use backquote.
4589 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4591 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4592 (ruby-smie--backward-token): Only consider full-string matches.
4594 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4596 * faces.el (describe-face): Add distant-foreground.
4598 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4600 * progmodes/ruby-mode.el: Improve encoding comment handling.
4601 (ruby-encoding-magic-comment-style): New option.
4602 (ruby-custom-encoding-magic-comment-template): New option.
4603 (ruby--insert-coding-comment, ruby--detect-encoding):
4604 New functions extracted from `ruby-mode-set-encoding'.
4605 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4606 to control the style of the auto-inserted encoding comment.
4608 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4610 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4611 Use `smie-backward-sexp' with token argument.
4613 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4615 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4616 Remove instrumentation code.
4618 2013-11-08 Glenn Morris <rgm@gnu.org>
4620 * progmodes/autoconf.el (autoconf-mode):
4621 Tweak comment-start-skip. (Bug#15822)
4623 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4625 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4626 at bobp (bug#15826).
4627 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4629 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4631 * man.el (Man-start-calling): New macro, extracted from
4632 Man-getpage-in-background.
4633 (Man-getpage-in-background): Use it.
4634 (Man-update-manpage): New command.
4635 (Man-mode-map): Bind it.
4637 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4639 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4640 of "and", "or", "&&" and "||".
4641 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4642 argument. Prohibit opening curly brace because it could only be a
4643 block opener in that position.
4644 (ruby-smie--forward-token, ruby-smie--backward-token):
4645 Separate "|" from "&" or "*" going after it. That can happen in block
4647 (ruby-smie--indent-to-stmt): New function, seeks the end of
4648 previous statement or beginning of buffer.
4649 (ruby-smie-rules): Use it.
4650 (ruby-smie-rules): Check if there's a ":" before a curly block
4651 opener candidate; if there is, it's a hash.
4653 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4656 (cl--block-wrapper): Fix last accidental change.
4658 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4660 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4661 Instrument, in order to hunt failure on hydra.
4663 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4665 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4666 malformed bindings form (bug#15814).
4668 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4670 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4671 "." compared to " @ ". This incidentally fixes some indentation
4673 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4674 (ruby-smie-grammar): New tokens: "and" and "or".
4675 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4676 Exclude "and" and "or". Remove "do" in order to work around token
4678 (ruby-smie-rules): Add all infix tokens. Handle the case of
4679 beginning-of-buffer.
4681 2013-11-06 Glenn Morris <rgm@gnu.org>
4683 * Makefile.in (setwins_almost, setwins_for_subdirs):
4684 Avoid accidental matches.
4686 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * menu-bar.el (popup-menu): Use key-binding.
4690 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4692 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4693 menus, support also the menus produced by minor modes.
4696 2013-11-06 Leo Liu <sdl.web@gmail.com>
4698 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4699 DISTANCE to bound the search. All uses changed. (Bug#15808)
4701 2013-11-06 Glenn Morris <rgm@gnu.org>
4703 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4704 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4705 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4707 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4709 * electric.el (electric-indent-just-newline): New command.
4710 (electric-indent-mode-map): New keymap.
4711 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4712 Re-add :group which weren't redundant.
4714 * electric.el (electric-indent-local-mode): New minor mode.
4715 (electric-indent-functions-without-reindent): New var.
4716 (electric-indent-post-self-insert-function): Use it.
4717 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4719 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4721 * international/quail.el (quail-help): Be more explicit about the
4722 meaning of the labels shown on the keys. (Bug#15800)
4724 * startup.el (normal-top-level): Load the subdirs.el files before
4725 setting the locale environment. (Bug#15805)
4727 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4730 via arguments so as to get the right ones (bug#15418).
4732 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4734 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4736 Fix problems found while writing a test suite.
4738 * net/tramp-compat.el (tramp-compat-load): New defun.
4739 * net/tramp.el (tramp-handle-load): Use it.
4741 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4742 "(numberp ok-if-already-exists)" correctly.
4744 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4746 * international/characters.el (glyphless-char-display-control):
4749 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4751 * progmodes/python.el (python-mode):
4752 * progmodes/scheme.el (scheme-mode):
4753 * progmodes/prolog.el (prolog-mode):
4754 * progmodes/ruby-mode.el (ruby-mode):
4755 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4756 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4758 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4760 * rect.el (rectangle--highlight-for-redisplay):
4761 * emacs-lisp/smie.el (smie--next-indent-change):
4762 Use buffer-chars-modified-tick.
4764 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4766 * electric.el (electric-indent-post-self-insert-function):
4767 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4769 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4771 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4773 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4775 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4778 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4780 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4782 * progmodes/python.el: Fix up last change.
4783 (python-shell--save-temp-file): New function.
4784 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4785 `string' comes from the current buffer.
4786 (python-shell-send-string-no-output): Remove `msg' arg.
4787 (python--use-fake-loc): New var.
4788 (python-shell-buffer-substring): Obey it. Try to compensate for the
4789 extra coding line added by python-shell--save-temp-file.
4790 (python-shell-send-region): Use python-shell--save-temp-file and
4791 python-shell-send-file directly. Add `nomain' argument.
4792 (python-shell-send-buffer): Use python-shell-send-region.
4793 (python-electric-pair-string-delimiter): New function.
4794 (python-mode): Use it.
4796 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4798 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4799 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4800 environment and decoding all of the default-directory's to here
4802 (command-line): Decode also argv[0].
4804 * loadup.el: Error out if default-directory is a multibyte string
4805 when we are dumping.
4807 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4809 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4811 * emacs-lisp/package.el (package-menu-mode)
4812 (package-menu--print-info, package-menu--archive-predicate):
4813 Add Archive column to package list.
4815 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4817 Fix problems found while writing a test suite.
4819 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4820 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4821 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4822 to nil when running original file name handler. Otherwise,
4823 there are problems with constructs like "$$FOO".
4825 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4828 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4830 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4832 * subr.el (version<, version<=, version=):
4833 Update docstrings with information for snapshot versions.
4835 * helpers.el: New library for misc helper functions.
4836 (hash-table-keys): New function returning a list of hash keys.
4837 (hash-table-values): New function returning a list of hash values.
4839 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4841 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4842 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4844 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4846 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4847 checking whether point is after a 1-letter word.
4849 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4851 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4852 Don't infloop when expanding region over `multiline' syntax-type that
4853 begins a line (bug#15778).
4855 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4857 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4858 Make it into a proper minor mode.
4859 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4860 (rectangle-mark-mode-map): New keymap.
4861 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4863 2013-11-04 Glenn Morris <rgm@gnu.org>
4865 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4867 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4869 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4870 (ruby-smie-rules): Use smie-rule-parent instead.
4872 * emacs-lisp/smie.el (smie-rule-parent): Always call
4873 smie-indent-virtual rather than only for hanging tokens.
4874 (smie--next-indent-change): New helper command.
4876 2013-11-03 Glenn Morris <rgm@gnu.org>
4878 * Makefile.in (abs_srcdir): Remove.
4879 (emacs): Unset EMACSLOADPATH.
4881 2013-11-02 Glenn Morris <rgm@gnu.org>
4883 * Makefile.in (EMACS): Use a relative filename.
4884 (abs_top_builddir): Remove.
4885 (custom-deps, finder-data, autoloads): Use --chdir.
4887 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4889 Use relative filenames in TAGS files.
4890 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4891 (lisptagsfiles4, TAGS): Use relative file names.
4892 (TAGS-LISP): Remove.
4893 (maintainer-clean): No more TAGS-LISP file.
4895 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4896 (lisptagsfiles4): Use absolute filenames again.
4897 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4898 Remove all *loaddefs files, not just the first. Remove esh-groups.
4899 (maintainer-clean): Delete TAGS, TAGS-LISP.
4901 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4903 * emacs-lisp/package.el (package-version-join):
4904 Recognize snapshot versions.
4906 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4908 * subr.el (version-regexp-alist): Add support for snapshot versions.
4910 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4912 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4913 New function, replacement for `smie-rule-parent' for when we want to
4914 skip over our direct parent if it's an assignment token..
4915 (ruby-smie-rules): Use it.
4917 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4919 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4920 unconditionally. Remove now unnecessary forward declarations.
4921 Remove XEmacs-specific setup.
4922 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4923 (ruby-font-lock-syntactic-keywords)
4924 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4925 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4926 (ruby-here-doc-end-syntax): Remove.
4927 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4928 defined as function.
4930 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4932 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4934 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4936 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4937 table and abbrev table, `define-derived-mode' does that for us
4940 2013-11-01 Glenn Morris <rgm@gnu.org>
4942 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4943 files is atomic for some time, so no parallel compilation issues).
4945 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4947 * faces.el (face-x-resources): Add :distant-foreground.
4948 (region): Use :distant-foreground for gtk and ns.
4950 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4952 Allow multiple bibliographies when BibLaTeX is used rather than
4954 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4955 (reftex-locate-bibliography-files): Us it.
4957 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4959 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4960 allow comments in pbm files.
4962 * term/w32-win.el (dynamic-library-alist): Support newer versions
4963 of libjpeg starting with v7: look only for the DLL from the
4964 version against which Emacs was built.
4965 Support versions of libpng beyond 1.4.x.
4966 Support libtiff v4.x.
4968 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4970 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4971 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4973 (ruby-deep-arglist): Add property :type.
4975 2013-10-31 Glenn Morris <rgm@gnu.org>
4977 * Makefile.in (custom-deps, finder-data): No need to setq the target
4978 variables, we are in the right directory and the defaults work fine.
4980 2013-10-30 Glenn Morris <rgm@gnu.org>
4982 * Makefile.in (autoloads): Do not use abs_lisp.
4984 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4985 `newline' does not respect `standard-output', so use `princ'.
4987 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4989 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4990 * buff-menu.el (Buffer-menu--unmark): New function.
4991 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4993 2013-10-30 Glenn Morris <rgm@gnu.org>
4995 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4997 * emacs-lisp/package.el (lm-homepage): Declare.
4999 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
5002 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
5004 * Makefile.in (finder-data, autoloads, update-subdirs)
5005 (compile-main, compile-clean, compile-always, bootstrap-clean):
5006 Check return value of cd.
5007 (compile-calc): Remove.
5009 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
5013 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
5014 (byte-compile-and-folded): New function.
5015 (=, <, >, <=, >=): Use it.
5017 * dos-w32.el (minibuffer-history-case-insensitive-variables)
5018 (path-separator, null-device, buffer-file-coding-system)
5019 (lpr-headers-switches): Check system-type before modifying them.
5020 (find-buffer-file-type-coding-system): Mark obsolete.
5021 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
5022 find-file-not-found-set-buffer-file-coding-system.
5023 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
5024 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
5025 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
5026 (w32-direct-print-region-helper, w32-direct-print-region-function)
5027 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
5028 * startup.el (normal-top-level-add-subdirs-to-load-path):
5029 * ps-print.el (ps-print-region-function):
5030 * lpr.el (print-region-function): Use new name.
5032 * subr.el (custom-declare-variable-early): Remove function.
5033 (custom-declare-variable-list): Remove var.
5034 (error, user-error): Remove `while' loop.
5035 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
5036 (user-emacs-directory-warning, locate-user-emacs-file):
5038 * simple.el (read-quoted-char-radix, read-quoted-char):
5039 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
5041 * custom.el (custom-declare-variable-list): Don't process
5042 custom-declare-variable-list.
5044 * progmodes/python.el (python-shell-get-buffer): New function.
5045 (python-shell-get-process): Use it.
5046 (python-shell-send-string): Always use utf-8 and add a cookie to tell
5047 Python which encoding was used. Don't split-string since we only care
5048 about the first line. Return the temp-file, if applicable.
5049 (python-shell-send-region): Tell compile.el how to turn locations in
5050 the temp-file into locations in the source buffer.
5052 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * subr.el (undefined): Add missing behavior from the C code for
5057 * rect.el: Use lexical-binding. Add new rectangular region support.
5058 (rectangle-mark): New command.
5059 (rectangle--region): New var.
5060 (deactivate-mark-hook): Reset rectangle--region.
5061 (rectangle--extract-region, rectangle--insert-for-yank)
5062 (rectangle--highlight-for-redisplay)
5063 (rectangle--unhighlight-for-redisplay): New functions.
5064 (region-extract-function, redisplay-unhighlight-region-function)
5065 (redisplay-highlight-region-function): Use them to handle
5067 * simple.el (region-extract-function): New var.
5068 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
5069 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
5070 (kill-region): Replace obsolete `yank-handler' arg with `region'.
5071 (copy-region-as-kill, kill-ring-save): Add `region' argument.
5072 (redisplay-unhighlight-region-function)
5073 (redisplay-highlight-region-function): New vars.
5074 (redisplay--update-region-highlight): New function.
5075 (pre-redisplay-function): Use it.
5076 (exchange-point-and-mark): Don't deactivate the mark before
5077 reactivate-it anyway.
5078 * comint.el (comint-kill-region): Remove yank-handler argument.
5079 * delsel.el (delete-backward-char, backward-delete-char-untabify)
5080 (delete-char): Remove property, since it's now part of their
5082 (self-insert-iso): Remove property since this command doesn't exist.
5084 * emacs-lisp/package.el (package--download-one-archive)
5085 (describe-package-1): Don't query the user about final newline.
5087 2013-10-29 Daniel Colascione <dancol@dancol.org>
5089 * net/tramp.el (tramp-methods): Document new functionality.
5090 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
5091 tramp-hostname-checker if method provides one instead of scanning
5092 argument list for "%h" to decide hostname acceptability.
5094 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
5096 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
5097 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
5098 Handle COPY-CONTENTS. (Bug#15737)
5100 2013-10-28 Daiki Ueno <ueno@gnu.org>
5103 (epa-file-cache-passphrase-for-symmetric-encryption):
5104 Document that this option has no effect with GnuPG 2.0 (bug#15552).
5106 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
5108 * image.el (defimage, image-load-path): Doc fixes.
5110 2013-10-27 Alan Mackenzie <acm@muc.de>
5112 Indent statements in macros following "##" correctly.
5113 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5114 Modify the "#" arm of a cond form to handle "#" and "##" operators.
5116 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5118 * linum.el (linum-update-window): Fix boundary test (bug#13446).
5120 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
5122 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
5123 after `=' is probably a new expression.
5125 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5127 * man.el (man-imenu-title): New option.
5128 (Man-mode-map): Add menu. (Bug#15722)
5129 (Man-mode): Add imenu to menu.
5131 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
5133 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
5134 specific in what the first arg can be: a non-keyword word,
5135 string/regexp/percent literal opener, opening paren, or unary
5136 operator followed directly by word.
5138 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
5141 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
5142 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
5143 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
5144 Remove vars, they do not apply any more.
5145 (prolog-mode-abbrev-table): Remove redundant declaration.
5146 (prolog-upper-case-string, prolog-lower-case-string): Remove.
5147 (prolog-use-smie): Remove.
5148 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5149 supported by prolog-electric-if-then-else-flag.
5150 (prolog-mode-variables, prolog-menu): Use setq-local.
5151 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5152 Remove binding to `Backspace' since this key doesn't exist anyway.
5153 Remove bindings for electric self-inserting keys.
5154 (prog-mode): Assume it's defined.
5155 (prolog-post-self-insert): New function.
5156 (prolog-mode): Use it.
5157 (prolog-indent-line, prolog-indent-level)
5158 (prolog-find-indent-of-matching-paren)
5159 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5160 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5161 (prolog-goto-next-paren, prolog-in-string-or-comment)
5162 (prolog-tokenize, prolog-inside-mline-comment)
5163 (prolog-find-start-of-mline-comment): Remove functions.
5164 (prolog-find-unmatched-paren, prolog-clause-end)
5165 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5166 (prolog-electric--if-then-else): Rename from
5167 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5168 (prolog-tokenize-searchkey): Remove const.
5169 (prolog-clause-info): Use forward-sexp.
5170 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5171 (prolog-electric-if-then-else): Remove commands.
5172 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5173 for use in post-self-insert-hook.
5174 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5175 for use in post-self-insert-hook.
5176 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5177 for use in post-self-insert-hook.
5178 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5179 adapt it for use in post-self-insert-hook.
5181 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5183 * emacs-lisp/ert.el (ert-run-tests-interactively):
5184 Use `completing-read'. (Bug#9756)
5186 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5188 * simple.el (line-move): Call line-move-1 instead of
5189 line-move-visual when the current window hscroll is zero, but
5190 temporary-goal-column indicates we will need to hscroll as result
5191 of the movement. (Bug#15712)
5193 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5195 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5196 capitalization. Use :visible instead of :active.
5197 Fix `ruby-indent-exp' reference. Add menu items for the generic
5198 commands that are used with SMIE.
5199 (ruby-do-end-to-brace): Insert space after `{'.
5201 2013-10-25 John Anthony <john@jo.hnanthony.com>
5203 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5205 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5207 2013-10-25 Glenn Morris <rgm@gnu.org>
5209 * vc/vc.el (vc-print-log): Don't use a working revision unless
5210 one was explicitly specified. (Bug#15322)
5212 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5214 * subr.el (add-to-list): Preserve return value in compiler-macro
5217 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5219 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5220 result. Ask user to retry using '-all' flag. (Bug#15701)
5222 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * emacs-lisp/smie.el: New smie-config system.
5225 (smie-config): New defcustom.
5226 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5227 (smie-config-guess, smie-config-save): New commands.
5228 (smie-config--mode-local, smie-config--buffer-local)
5229 (smie-config--trace, smie-config--modefuns): New vars.
5230 (smie-config--advice, smie-config--mode-hook)
5231 (smie-config--setter, smie-config-local, smie-config--get-trace)
5232 (smie-config--guess-value, smie-config--guess): New functions.
5233 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5234 text properties. Treat "string fence" syntax like string syntax.
5236 * progmodes/sh-script.el (sh-use-smie): Change default.
5237 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5238 (sh-var-value): Simplify by CSE.
5239 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5240 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5242 (sh-guess-basic-offset): Use cl-incf.
5243 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5245 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5247 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5250 2013-10-24 Glenn Morris <rgm@gnu.org>
5252 * Makefile.in (abs_top_srcdir): Remove.
5253 (update-subdirs): Use relative path to update-subdirs.
5255 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5257 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5258 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5259 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5260 Call unmsys--file-name before expand-file-name, not after it.
5262 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5264 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5265 (ert-test-skipped): New error.
5266 (ert-skip, ert-stats-skipped): New defuns.
5267 (ert--skip-unless): New macro.
5268 (ert-test-skipped): New struct.
5269 (ert--run-test-debugger, ert-test-result-type-p)
5270 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5271 (ert--stats-set-test-and-result, ert-char-for-test-result)
5272 (ert-string-for-test-result, ert-run-tests-batch)
5273 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5274 Handle skipped tests. (Bug#9803)
5276 2013-10-24 Glenn Morris <rgm@gnu.org>
5278 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5280 * Makefile.in (abs_top_srcdir): New, set by configure.
5281 (update-subdirs): Correct build-aux location.
5283 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5285 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5286 value, whether we could auto-deduce `backend', or not.
5288 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5289 with parameters" example. Simplify the "is it block or is it
5290 hash" check, but also make it more thorough.
5292 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5294 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5296 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5301 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5304 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5306 * progmodes/compile.el (compilation-directory-matcher)
5307 (compilation-page-delimiter):
5308 Support GNU Make-4.0 directory quoting. (Bug#15678)
5310 2013-10-23 Leo Liu <sdl.web@gmail.com>
5312 * ido.el (ido-tidy): Handle read-only text.
5314 2013-10-23 Glenn Morris <rgm@gnu.org>
5316 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5317 (emacs, compile, compile-always):
5318 Quote entities that might contain whitespace.
5319 (custom-deps, finder-data, autoloads): Use abs_lisp.
5320 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5321 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5322 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5324 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5326 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5327 Use `following-char'.
5329 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5331 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5332 * progmodes/ruby-mode.el (ruby-smie-rules):
5333 Remove corresponding workaround. Fix indentation rule of ";" so it
5334 also applies when ";" is the parent.
5336 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5338 * frame.el (display-screens, display-pixel-height)
5339 (display-pixel-width, display-mm-width, display-backing-store)
5340 (display-save-under, display-planes, display-color-cells)
5341 (display-visual-class, display-monitor-attributes-list):
5342 Mention the optional ‘display’ argument in doc strings.
5344 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5346 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5347 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5349 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5351 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5352 TODO. Add "." after " @ ".
5353 (ruby-smie--at-dot-call): New function. Checks if point at method
5354 call with explicit target.
5355 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5356 to the method name tokens when it precedes them.
5357 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5358 (ruby-smie-rules): Add rule for indentation before and after "."
5361 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5363 * textmodes/remember.el (remember-diary-extract-entries):
5366 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5369 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5371 * progmodes/ruby-mode.el (ruby-smie-grammar):
5372 Add (almost) all infix operators.
5373 (ruby-smie--implicit-semi-p): Add new operator chars.
5375 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5377 (ruby-smie--args-separator-p): Check that there's no newline
5378 between method call and its arguments.
5380 2013-10-20 Alan Mackenzie <acm@muc.de>
5382 Allow comma separated lists after Java "implements".
5384 * progmodes/cc-engine.el (c-backward-over-enum-header):
5386 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5387 from a "disallowed" list in enum fontification.
5389 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5391 * startup.el (default-frame-background-mode): Remove unused defvar.
5393 * progmodes/verilog-mode.el (verilog-mode): Don't set
5394 comment-indent-function globally.
5396 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5398 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5399 Move Info menu item creation to ns-win.el.
5401 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5404 * menu-bar.el: Move GNUstep specific menus...
5406 * term/ns-win.el (ns-initialize-window-system): ... to here.
5408 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5410 * simple.el (newline): Only run post-self-insert-hook when
5411 called interactively.
5413 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5415 * icomplete.el (icomplete-with-completion-tables): Add :version.
5417 2013-10-19 Alan Mackenzie <acm@muc.de>
5419 Fix fontification bugs with constructors and const.
5421 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5422 CASE 2) Remove the check for the absence of a suffix construct
5423 after a function declaration with only types (no identifiers) in
5424 the parentheses. Also, accept a function declaration with just a
5425 type inside the parentheses, if this type can be positively
5426 recognised as such, or if a prefix keyword like "explicit" nails
5427 down the construct as a declaration.
5429 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5431 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5432 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5433 the problem whereby selecting a menu item that leads to a
5434 minibuffer prompt moves the cursor out of the minibuffer window,
5435 making it hard to type at the prompt. Suggested by Stefan Monnier
5436 <monnier@iro.umontreal.ca>.
5438 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5440 * menu-bar.el: Don't make Services menu.
5442 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5444 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5445 (ffap-alist): Use ffap-c++-mode for c++-mode.
5446 (ffap-c++-path): New variable.
5447 (ffap-c++-mode): New function.
5449 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5451 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5453 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5455 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5456 introduced on 2013-09-08, which results in an infinite loop
5457 requesting a password.
5459 2013-10-18 Glenn Morris <rgm@gnu.org>
5461 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5463 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5465 Sync with upstream verilog-mode revision 1a6ecec7.
5466 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5467 (verilog-mode-release-date): Remove.
5468 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5469 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5470 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5471 (verilog-auto-tieoff-ignore-regexp)
5472 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5473 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5474 (verilog-signals-with, verilog-dir-cache-preserving)
5475 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5477 (verilog-case-fold): New option, to control case folding in
5478 regexp searches, bug597.
5479 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5480 (verilog-string-match-fold, verilog-in-paren-count)
5481 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5482 (verilog-at-close-struct-p): New functions.
5483 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5484 (verilog-forward-sexp, verilog-set-auto-endcomments)
5485 (verilog-leap-to-case-head): Handle "unique0" case.
5486 (verilog-in-constraint-re): New constant.
5487 (verilog-keywords, verilog-type-font-keywords):
5488 Add some SystemVerilog 1800-2012 keywords.
5489 (verilog-label-be): Remove unimplemented argument, bug669.
5490 (verilog-batch-execute-func): When batch expanding clear
5491 create-lockfiles to prevent spurious user locks when a file ends
5493 (verilog-calculate-indent, verilog-calc-1)
5494 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5495 (verilog-do-indent): Fix indentation of nested constraints
5497 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5498 (verilog-auto-inst-param): Use verilog-string-match-fold.
5499 (verilog-read-inst-module-matcher):
5500 Fix AUTOINST on gate primitives with #1.
5501 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5502 Reads all user-defined typed variables.
5503 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5504 (verilog-signals-matching-regexp)
5505 (verilog-signals-not-matching-regexp, verilog-auto):
5506 Respect verilog-case-fold.
5507 (verilog-diff-report): Fix line count.
5508 (verilog-auto-assign-modport): Remove unused local `modi'.
5509 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5510 better handle multidimensional arrays.
5511 Fix packed array ports misadding bit index in AUTOINST, bug637.
5512 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5513 to not double-declare existing outputs and inputs, respectively.
5514 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5515 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5516 (verilog-sk-uvm-component): New skeleton.
5517 (verilog-submit-bug-report): Add verilog-case-fold,
5518 remove verilog-mode-release-date.
5520 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5522 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5525 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5527 * textmodes/remember.el (remember): Set buffer-offer-save in
5528 remember buffers (bug#13566).
5530 2013-10-18 Daniel Colascione <dancol@dancol.org>
5532 When evaluating forms in ielm, direct standard output to ielm
5533 buffer. Add new ielm-return-for-effect command. Remove trailing
5534 whitespace throughout.
5536 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5537 (ielm-return-for-effect): New command.
5538 (ielm-send-input): Accept optional `for-effect' parameter.
5539 (ielm-eval-input): Accept optional `for-effect' parameter.
5540 Bind `standard-output' to stream we create using
5541 `ielm-standard-output-impl'. Suppress printing result when
5543 (ielm-standard-output-impl): New function.
5544 (inferior-emacs-lisp-mode): Explain new features in documentation.
5546 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5550 * net/tramp.el (tramp-debug-message): Do not check for connection
5552 (tramp-message): Use "vector" connection property.
5554 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5555 (tramp-equal-remote, tramp-eshell-directory-change)
5556 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5557 (tramp-adb-handle-rename-file)
5558 * net/tramp-cmds.el (tramp-list-remote-buffers)
5559 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5560 * net/tramp-compat.el (tramp-compat-process-running-p)
5561 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5562 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5563 (tramp-gvfs-handle-rename-file)
5564 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5565 (tramp-set-file-uid-gid)
5566 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5567 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5570 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5571 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5572 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5573 (tramp-gw-open-network-stream): Suppress unrelated traces.
5575 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5576 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5577 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5578 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5579 connection property.
5581 * net/tramp-cache.el (top): Suppress traces when reading
5584 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5585 Refactor common code. Improve debug message.
5586 (tramp-maybe-open-connection)
5587 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5588 connection buffer too early.
5590 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5591 from `tramp-smb-actions-with-acl'.
5592 (tramp-smb-actions-set-acl): New defconst.
5593 (tramp-smb-handle-copy-directory)
5594 (tramp-smb-action-get-acl): New defun, renamed from
5595 `tramp-smb-action-with-acl'.
5596 (tramp-smb-action-set-acl): New defun.
5597 (tramp-smb-handle-set-file-acl): Rewrite.
5599 2013-10-17 Glenn Morris <rgm@gnu.org>
5601 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5603 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * skeleton.el (skeleton-newline): Remove.
5606 (skeleton-internal-1): Use (insert "\n") instead.
5608 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5611 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5612 forward-sexp-function while we redo its job (bug#15613).
5614 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5616 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5617 represented by lists.
5619 2013-10-16 Glenn Morris <rgm@gnu.org>
5621 * tmm.el (tmm--history): New dynamic variable.
5622 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5624 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5626 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5627 (tramp-smb-errors): Add error messages.
5628 (tramp-smb-actions-with-acl): New defconst.
5629 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5630 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5631 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5632 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5633 (tramp-smb-get-stat-capability): Fix tests.
5635 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5637 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5640 2013-10-16 Glenn Morris <rgm@gnu.org>
5642 * ansi-color.el (ansi-color-drop-regexp):
5643 Add 1J, 1K, 2K. (Bug#15617)
5645 * files.el (hack-local-variables--warned-lexical): New.
5646 (hack-local-variables):
5647 Warn about misplaced lexical-binding. (Bug#15616)
5649 * net/eww.el (eww-render): Always set eww-current-url,
5650 and update header line. (Bug#15622)
5651 (eww-display-html): ... Rather than just doing it here.
5653 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5655 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5656 menu navigations commands.
5658 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5660 * progmodes/subword.el (subword-capitalize): Be careful when
5661 the search for [[:alpha:]] fails (bug#15580).
5663 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5665 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5666 to commands that scroll the menu.
5668 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5670 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5671 Handle methods ending with `?' and `!'.
5673 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5675 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5676 `japanese-cp932' to `cp932' to fix the problem where saving a
5677 source file written in Shift_JIS twice would end up having
5678 `coding: japanese-cp932' which Ruby could not recognize.
5679 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5680 in `ruby-encoding-map'.
5681 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5682 doesn't need to be explicitly declared in magic comment.
5683 (ruby-encoding-map): Add type declaration for better customize UI.
5685 2013-10-13 Glenn Morris <rgm@gnu.org>
5687 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5688 Occur buffers are read-only. http://bugs.debian.org/720775
5690 * emacs-lisp/authors.el (authors-fixed-entries):
5691 Comment out old alpha stuff.
5693 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5695 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5696 to `after-save-hook' instead of `before-save-hook'.
5697 (ruby-mode-set-encoding): Use the value of coding system used to
5698 write the file. Call `basic-save-buffer-1' after modifying the
5701 2013-10-13 Alan Mackenzie <acm@muc.de>
5703 Fix indentation/fontification of Java enum with
5704 "implements"/generic.
5706 * progmodes/cc-engine.el (c-backward-over-enum-header):
5707 Extracted from the three other places and enhanced to handle generics.
5708 (c-inside-bracelist-p): Uses new function above.
5709 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5711 (c-font-lock-enum-tail): Uses new function above.
5713 2013-10-13 Kenichi Handa <handa@gnu.org>
5715 * international/mule-cmds.el (select-safe-coding-system): Remove a
5716 superfluous condition in chekcing whether a coding system is safe
5719 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5721 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5723 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5725 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5727 2013-10-13 Glenn Morris <rgm@gnu.org>
5729 * menu-bar.el (menu-bar-update-buffers):
5730 Unify Buffers menu prompt string. (Bug#15576)
5732 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5734 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5736 (authors-fixed-entries): Use accented form of name.
5738 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5741 method calls (bug#15594).
5742 (ruby-smie--args-separator-p): New function.
5743 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5744 recognize paren-free method calls.
5746 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5747 internals of universal-argument.
5749 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5751 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5752 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5753 dropped menu on second mouse click on the menu bar.
5755 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5758 (explicit-shell-file-name): Declare.
5759 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5760 (sh-completion-at-point-function): New function.
5762 (sh-smie--keyword-p): Remove unused argument.
5763 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5765 (sh-set-shell): Always setup SMIE, even if we use the
5766 old indentation code.
5768 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5770 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5772 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5773 predicate would return nil are almost non-existent.
5774 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5776 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5777 cache also after commands that modify the buffer but don't move
5780 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * env.el (substitute-env-in-file-name): New function.
5783 (substitute-env-vars): Extend the meaning of the optional arg.
5785 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5787 * term/w32-win.el (dynamic-library-alist): Define separate lists
5788 of GIF DLLs for versions before and after 5.0.0 of giflib.
5791 2013-10-10 João Távora <joaotavora@gmail.com>
5793 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5794 not locked, use last revision and current source as
5795 defaults. (Bug#15569)
5797 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5799 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5802 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5804 * window.el (pop-to-buffer-same-window): Fix doc-string.
5807 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5811 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5813 * calendar/icalendar.el (icalendar-import-file):
5814 Fix interactive spec. (Bug#15482)
5816 2013-10-10 Glenn Morris <rgm@gnu.org>
5818 * desktop.el (desktop-save): Default to saving in .emacs.d,
5819 since PWD is no longer in desktop-path by default. (Bug#15319)
5821 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5822 now that text mode has a menu with the same entry.
5823 (menu-bar-text-mode-auto-fill): Remove now unused func.
5824 * textmodes/text-mode.el (text-mode-map):
5825 Use auto-fill help text from menu-bar.el.
5827 2013-10-10 John Anthony <john@jo.hnanthony.com>
5829 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5831 2013-10-09 Juri Linkov <juri@jurta.org>
5833 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5834 instead of this-command-keys. Add universal-argument-more and
5835 universal-argument-minus to the list of prefix commands. (Bug#15568)
5837 2013-10-09 Glenn Morris <rgm@gnu.org>
5839 * vc/vc-svn.el (vc-svn-create-repo):
5840 Expand paths in file://... url. (Bug#15446)
5842 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5844 (authors): Remove unused local variables.
5846 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5848 * profiler.el: Create a more coherent calltree from partial backtraces.
5849 (profiler-format): Hide the tail with `invisible' so that C-s can still
5850 find the hidden elements.
5851 (profiler-calltree-depth): Don't recurse so enthusiastically.
5852 (profiler-function-equal): New hash-table-test.
5853 (profiler-calltree-build-unified): New function.
5854 (profiler-calltree-build): Use it.
5855 (profiler-report-make-name-part): Indent the calltree less.
5856 (profiler-report-mode): Add visibility specs for profiler-format.
5857 (profiler-report-expand-entry, profiler-report-toggle-entry):
5858 Expand the whole subtree when provided with a prefix arg.
5860 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5862 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5864 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5865 hanging iuwu-mod token.
5866 (ruby-smie--forward-token): Do not include a dot after a token in
5868 (ruby-smie--backward-token): Likewise.
5870 2013-10-08 Juri Linkov <juri@jurta.org>
5872 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5873 to isearch-other-control-char.
5874 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5875 and isearch-post-command-hook to post-command-hook.
5876 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5877 and isearch-post-command-hook from post-command-hook.
5878 (isearch-unread-key-sequence)
5879 (isearch-reread-key-sequence-naturally)
5880 (isearch-lookup-scroll-key, isearch-other-control-char)
5881 (isearch-other-meta-char): Remove functions.
5882 (isearch-pre-command-hook, isearch-post-command-hook):
5883 New functions based on isearch-other-meta-char rewritten
5884 relying on the new behavior of overriding-terminal-local-map
5885 that does not replace the local keymaps any more. (Bug#15200)
5887 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5889 Support menus on text-mode terminals.
5890 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5893 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5895 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5896 Move here from mouse.el.
5897 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5899 (tty-menu-navigation-map): New map for TTY menu navigation.
5901 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5903 * frame.el (display-mouse-p): Report text-mode mouse as available
5905 (display-popup-menus-p): Report availability if mouse is
5906 available; don't condition on window-system.
5908 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5909 (tty-menu-selected-face): New faces.
5911 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5914 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5915 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5916 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5918 (lisp-mode-variables): New `elisp' argument.
5919 (emacs-lisp-mode): Use it.
5920 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5921 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5923 * indent.el: Use lexical-binding.
5924 (indent-region): Add progress reporter.
5925 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5927 (indent--next-tab-stop): New function to implement this behavior.
5928 (tab-to-tab-stop, move-to-tab-stop): Use it.
5930 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5932 * indent.el (indent-rigidly--current-indentation): New function.
5933 (indent-rigidly-map): New var.
5934 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5936 2013-10-08 Bastien Guerry <bzg@gnu.org>
5938 * register.el (insert-register): Fix 2013-10-07 change.
5940 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * progmodes/perl-mode.el: Use lexical-binding.
5943 Remove redundant :group args.
5944 (perl-nochange): Change default to be closer to other major modes's
5946 (perl-indent-line): Don't consider text on current line as a
5947 valid beginning of function from which to indent.
5949 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5950 with more than one argument (bug#15538).
5952 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5954 * vc/pcvs.el: Use lexical-binding.
5955 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5956 environment of `eval'.
5957 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5958 than a list of expressions. Adjust callers.
5959 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5961 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5963 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5964 case of the dot in a chained method call being on the following line.
5966 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * electric.el (electric-indent-inhibit): New var.
5969 (electric-indent-post-self-insert-function): Use it.
5970 * progmodes/python.el (python-mode): Set it.
5972 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5975 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5977 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5978 (css-mode): Use electric-indent-chars.
5980 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5981 (font-lock-beg, font-lock-end): Move before first use.
5982 (nxml-mode): Use syntax-propertize-function.
5983 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5984 (nxml-extend-after-change-region): Remove.
5985 * nxml/xmltok.el: Use lexical-binding.
5986 (xmltok-save): Use `declare'.
5987 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5988 * nxml/nxml-util.el: Use lexical-binding.
5989 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5991 * nxml/nxml-ns.el: Use lexical-binding.
5992 (nxml-ns-save): Use `declare'.
5993 (nxml-ns-prefixes-for): Avoid add-to-list.
5994 * nxml/rng-match.el: Use lexical-binding.
5995 (rng--ipattern): Use cl-defstruct.
5996 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5997 (rng-cons-group-after, rng-subst-group-after)
5998 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5999 Use closures instead of `(lambda...).
6001 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
6003 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
6006 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6007 Use `tramp-handle-insert-file-contents'.
6008 (tramp-gvfs-handle-insert-file-contents): Remove function.
6010 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
6011 Use `save-restriction' in order to keep markers.
6013 * net/trampver.el: Update release number.
6015 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * progmodes/compile.el (compilation-parse-errors):
6018 Use compilation--put-prop.
6019 (compilation--ensure-parse): Check compilation-multiline.
6021 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
6023 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
6026 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
6028 * progmodes/ruby-mode.el: Fix recently added tests.
6029 (ruby-smie-grammar): Add - and +.
6030 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
6031 (ruby-smie--backward-id): New functions.
6032 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
6033 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
6036 2013-10-07 Leo Liu <sdl.web@gmail.com>
6038 * register.el (register-preview-delay)
6039 (register-preview-functions): New variables.
6040 (register-read-with-preview, register-preview)
6041 (register-describe-oneline): New functions.
6042 (point-to-register, window-configuration-to-register)
6043 (frame-configuration-to-register, jump-to-register)
6044 (number-to-register, view-register, insert-register)
6045 (copy-to-register, append-to-register, prepend-to-register)
6046 (copy-rectangle-to-register): Use register-read-with-preview to
6047 read register. (Bug#15525)
6049 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
6051 * net/network-stream.el (network-stream-open-starttls): Don't add
6052 --insecure if it's already present, because that gnutls-cli
6053 rejects getting that parameter twice.
6055 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
6057 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
6060 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
6062 * newcomment.el (comment-use-global-state): Change default value
6063 to t, mark obsolete (Bug#15251).
6064 (comment-beginning): In addition to `comment-to-syntax', check the
6065 value of `comment-use-global-state'.
6067 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6069 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
6070 (ruby-comment-column): Follow the global default, by default.
6071 (ruby-smie-grammar): Add assignment syntax.
6072 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
6073 open-paren, a comma, or a \.
6074 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
6075 and line continuations.
6076 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
6077 followed by implicit semi-colons. Add rule for string concatenation
6078 and for indentation at BOB.
6079 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
6081 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
6082 calling next-sexp, since next-token may have skipped chars which
6083 next-sexp doesn't know should be skipped!
6085 2013-10-05 Leo Liu <sdl.web@gmail.com>
6087 * progmodes/octave.el (octave-send-region):
6088 Call compilation-forget-errors.
6090 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6092 * vc/vc-svn.el (vc-svn-find-admin-dir):
6093 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
6094 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
6095 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
6096 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
6098 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
6102 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * subr.el (read-passwd): Hide chars even when called within a context
6105 where after-change-functions is disabled (bug#15501).
6106 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
6107 until we removed ourself from overriding-terminal-local-map.
6109 2013-10-04 Leo Liu <sdl.web@gmail.com>
6111 * progmodes/octave.el (inferior-octave-mode):
6112 Call compilation-forget-errors.
6114 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
6116 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
6118 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
6120 * net/secrets.el (secrets-create-collection): Add optional
6121 argument ALIAS. Use proper Label keyword. Append ALIAS as
6122 dbus-call-method argument. (Bug#15516)
6124 2013-10-04 Leo Liu <sdl.web@gmail.com>
6126 * progmodes/octave.el (inferior-octave-error-regexp-alist)
6127 (inferior-octave-compilation-font-lock-keywords): New variables.
6128 (compilation-error-regexp-alist)
6129 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
6130 (inferior-octave-mode): Use compilation-shell-minor-mode.
6132 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
6134 * minibuffer.el (completion--replace): Be careful that `end' might be
6137 2013-10-03 Daiki Ueno <ueno@gnu.org>
6139 Add support for package signature checking.
6140 * emacs-lisp/package.el (url-http-file-exists-p)
6141 (epg-make-context, epg-context-set-home-directory)
6142 (epg-verify-string, epg-context-result-for)
6143 (epg-signature-status, epg-signature-to-string)
6144 (epg-check-configuration, epg-configuration)
6145 (epg-import-keys-from-file): Declare.
6146 (package-check-signature): New user option.
6147 (package-unsigned-archives): New user option.
6148 (package-desc): Add `signed' field.
6149 (package-load-descriptor): Set `signed' field if .signed file exists.
6150 (package--archive-file-exists-p): New function.
6151 (package--check-signature): New function.
6152 (package-install-from-archive): Check package signature.
6153 (package--download-one-archive): Check archive signature.
6154 (package-delete): Remove .signed file.
6155 (package-import-keyring): New command.
6156 (package-refresh-contents): Import default keyring.
6157 (package-desc-status): Add "unsigned" status.
6158 (describe-package-1, package-menu--print-info)
6159 (package-menu-mark-delete, package-menu--find-upgrades)
6160 (package-menu--status-predicate): Support "unsigned" status.
6162 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6165 the new compilation scheme using the new byte-codes.
6167 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6168 (byte-pophandler): New byte codes.
6169 (byte-goto-ops): Adjust accordingly.
6170 (byte-compile--use-old-handlers): New var.
6171 (byte-compile-catch): Use new byte codes depending on
6172 byte-compile--use-old-handlers.
6173 (byte-compile-condition-case--old): Rename from
6174 byte-compile-condition-case.
6175 (byte-compile-condition-case--new): New function.
6176 (byte-compile-condition-case): New function that dispatches depending
6177 on byte-compile--use-old-handlers.
6178 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6181 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6182 Optimize under `condition-case' and `catch' if
6183 byte-compile--use-old-handlers is nil.
6184 (disassemble-offset): Handle new bytecodes.
6186 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6188 * subr.el (error): Use `declare'.
6189 (decode-char, encode-char): Use advertised-calling-convention instead
6190 of the docstring to discourage use of the `restriction' arg.
6192 2013-10-03 Daiki Ueno <ueno@gnu.org>
6194 * epg.el (epg-verify-file): Add a comment saying that it does not
6195 notify verification error as a return value nor a signal.
6196 (epg-verify-string): Ditto.
6198 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6200 * progmodes/compile.el (compilation-start): Try globbing the arg to
6203 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6205 Sync with Tramp 2.2.8.
6207 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6208 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6209 * net/trampver.el: Update release number.
6211 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6213 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6214 and default-process-coding-system for darwin only.
6216 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6220 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6222 * vc/vc-git.el (vc-git-grep): Disable pager.
6224 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6226 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6227 Use :url instead of :homepage, as per
6228 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6230 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6231 non-nil, use `syntax-ppss' (Bug#15251).
6233 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6235 * progmodes/octave.el (inferior-octave-startup-file):
6236 Prefer ~/.emacs.d/init_octave.m.
6238 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6240 * emacs-lisp/package.el (package-desc-from-define):
6241 Accept additional arguments as plist, convert them to an alist and store
6242 them in the `extras' slot.
6243 (package-generate-description-file): Convert extras alist back to
6244 plist and append to the `define-package' form arguments.
6245 (package--alist-to-plist): New function.
6246 (package--ac-desc): Add `extras' slot.
6247 (package--add-to-archive-contents): Check if the archive-contents
6248 vector is long enough, and if it is, pass its `extras' slot value
6249 to `package-desc-create'.
6250 (package-buffer-info): Call `lm-homepage', pass the returned value
6251 to `package-desc-from-define'.
6252 (describe-package-1): Render the homepage button (Bug#13291).
6254 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6255 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6257 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6259 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6260 and default-process-coding-system to utf-8-unix (Bug#15402).
6262 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6264 * subr.el (looking-back): Do not recommend using looking-back.
6266 2013-09-28 Alan Mackenzie <acm@muc.de>
6268 Fix indentation/fontification of Java enum with "implements".
6270 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6271 regexp which matches "implements", etc., in Java.
6272 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6273 specifier clauses coming after "enum".
6274 * progmodes/cc-fonts.el (c-font-lock-declarations)
6275 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6278 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6280 * faces.el (region): Change ns_selection_color to
6281 ns_selection_fg_color, add ns_selection_bg_color.
6283 2013-09-28 Leo Liu <sdl.web@gmail.com>
6285 * progmodes/octave.el (inferior-octave-completion-table)
6286 (inferior-octave-completion-at-point): Minor tweaks.
6288 * textmodes/ispell.el (ispell-lookup-words): Rename from
6289 lookup-words. (Bug#15460)
6290 (lookup-words): Obsolete.
6291 (ispell-complete-word, ispell-command-loop): All uses changed.
6293 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6295 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6296 (octave-mode-menu): Add octave-send-buffer.
6297 (octave-send-buffer): New function.
6299 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6301 * progmodes/octave.el (octave-mode-map): Add key binding for
6303 (octave-mode-menu): Add octave-lookfor.
6304 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6306 (octave-lookfor): New function.
6308 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6311 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6313 (cl--loop-set-iterator-function): New function.
6314 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6315 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6316 Bind `it' with `let' instead of substituting it with `cl-subst'.
6317 (cl--unused-var-p): New function.
6318 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6319 Eliminate some unused variable warnings (bug#15326).
6321 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6323 * doc-view.el (doc-view-scale-reset): Rename from
6324 `doc-view-reset-zoom-level'.
6325 (doc-view-scale-adjust): New command.
6326 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6327 `doc-view-scale-adjust'.
6329 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6331 * doc-view.el (doc-view-reset-zoom-level): New command.
6332 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6333 zoom commands (bug#15466).
6335 2013-09-26 Kenichi Handa <handa@gnu.org>
6337 * international/quail.el (quail-help): Make it not a command.
6339 2013-09-26 Leo Liu <sdl.web@gmail.com>
6341 * minibuffer.el (completion-all-sorted-completions): Make args
6342 optional as they are.
6344 2013-09-25 Daniel Colascione <dancol@dancol.org>
6346 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6347 specs are and that they're not evaluated.
6349 2013-09-24 Sam Steingold <sds@gnu.org>
6351 * midnight.el (clean-buffer-list-kill-regexps)
6352 (clean-buffer-list-kill-buffer-names): Update for the new Man
6353 buffer naming which includes the object name.
6355 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6357 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6358 (eshell-parse-command, eshell-parse-pipeline): Use it since
6359 eshell-separate-commands requires a dynamic scoped var.
6360 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6362 2013-09-23 Leo Liu <sdl.web@gmail.com>
6364 * autoinsert.el (auto-insert-alist): Make the value of
6365 lexical-binding match its file setting.
6367 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6369 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6371 * autoarg.el (autoarg-kp-digit-argument):
6372 * electric.el (Electric-command-loop):
6373 * kmacro.el (kmacro-step-edit-insert):
6374 Do not set universal-argument-num-events.
6376 2013-09-22 Leo Liu <sdl.web@gmail.com>
6378 * files.el (interpreter-mode-alist): Add octave.
6380 2013-09-21 Alan Mackenzie <acm@muc.de>
6382 C++: fontify identifier in declaration following "public:" correctly.
6383 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6384 to match "public", etc.
6385 (c-decl-prefix-re): Add ":" into the C++ value.
6386 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6387 bit. Add a check for a ":" preceded by "public", etc.
6389 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6391 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6392 recognized by GDB 7.5 and later.
6394 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6396 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6398 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * subr.el (internal--call-interactively): New const.
6401 (called-interactively-p): Use it (bug#3984).
6403 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6405 * vc/pcvs.el (cvs-mode-ignore):
6406 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6407 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6409 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6412 (eshell-ls-orig-insert-directory): Remove.
6413 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6414 (eshell-ls-use-in-dired): Use advice-add/remove.
6415 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6416 Add `orig-fun' arg for use in :around advice.
6417 Make it check (redundantly) eshell-ls-use-in-dired.
6419 2013-09-19 Glenn Morris <rgm@gnu.org>
6421 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6423 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6425 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6427 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6429 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6430 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6431 (tramp-get-remote-python): New defuns.
6432 (tramp-get-remote-uid-with-perl)
6433 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6434 contributed by yary <not.com@gmail.com> (tiny change).
6435 (tramp-get-remote-uid-with-python)
6436 (tramp-get-remote-gid-with-python): New defuns. Python code
6437 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6438 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6440 2013-09-19 Glenn Morris <rgm@gnu.org>
6442 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6444 * eshell/em-unix.el (eshell-remove-entries):
6445 Rename argument to avoid name-clash with global `top-level'.
6447 * eshell/esh-proc.el (eshell-kill-process-function):
6448 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6449 (eshell-reset-after-proc): Remove unused arg `proc'.
6451 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6452 (directory-files-and-attributes): Mark unused arg.
6454 * eshell/em-unix.el (eshell-remove-entries):
6455 Remove unused arg `path'. Update callers.
6457 * eshell/em-hist.el (eshell-hist-parse-arguments):
6458 Remove unused arg `silent'. Update callers.
6460 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6461 Fix (f)boundp mix-up.
6463 * eshell/em-smart.el (eshell-smart-scroll-window)
6464 (eshell-disable-after-change):
6465 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6467 2013-09-18 Alan Mackenzie <acm@muc.de>
6469 Fix fontification of type when followed by "const".
6470 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6471 "known" types from fontification.
6473 2013-09-18 Glenn Morris <rgm@gnu.org>
6475 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6476 (chart-face-list): Drop Emacsen without display-color-p.
6478 * net/eww.el (libxml-parse-html-region): Declare.
6479 (eww-display-html): Explicit error if no libxml2 support.
6481 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6483 * image.el (image-type-from-buffer, image-multi-frame-p):
6484 Remove --without-x warning/error.
6486 * mouse.el (mouse-yank-primary):
6487 * term.el (term-mouse-paste):
6488 Reorder to silence --without-x compilation.
6490 * mpc.el (doc-view-mode): Silence --without-x compilation.
6492 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6493 Silence --without-x compilation.
6495 * progmodes/gud.el (gud-find-file, gud-mode):
6496 Silence --without-x compilation.
6497 (tooltip-mode): Declare.
6499 * wdired.el (dired-backup-overwrite): Remove declaration.
6500 (wdired-mode-map): Add doc string.
6502 * custom.el (x-get-resource): Declare.
6504 * eshell/em-glob.el (ange-cache):
6505 * eshell/em-unix.el (ange-cache): Declare.
6507 * faces.el (x-display-list, x-open-connection, x-get-resource):
6510 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6511 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6514 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6516 * net/gnutls.el (gnutls-log-level): Declare.
6518 * net/shr.el (image-size, image-animate): Declare.
6520 * simple.el (font-info): Declare.
6522 * subr.el (x-popup-dialog): Declare.
6524 * term/common-win.el (x-select-enable-primary)
6525 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6528 * term/ns-win.el (x-handle-args): Declare.
6530 * term/x-win.el (x-select-enable-clipboard): Declare.
6532 * term/w32-win.el (create-default-fontset): Declare.
6534 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6537 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6538 (fit-frame-to-buffer): Explicit error if --without-x.
6539 (mouse-autoselect-window-select): Silence compiler.
6541 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6543 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6544 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6545 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6546 * eshell/esh-util.el (eshell-sublist):
6547 Remove unused local variables.
6549 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6551 * textmodes/two-column.el: Make 2C-split work for --without-x.
6552 (scroll-bar-columns): Autoload.
6553 (top-level): Require fringe when compiling.
6555 2013-09-18 Leo Liu <sdl.web@gmail.com>
6557 * subr.el (add-hook): Robustify to handle closure as well.
6559 2013-09-17 Glenn Morris <rgm@gnu.org>
6561 * simple.el (messages-buffer-mode-map): Unbind "g".
6563 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6565 * help-mode.el (help-mode-finish): Use derived-mode-p.
6566 Remove obsolete highlighting.
6568 * play/life.el (life-mode): Use define-derived-mode. Derive from
6570 (life): Let-bind inhibit-read-only.
6571 (life-setup): Avoid `setq'. Use `life-mode'.
6573 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6574 which should not be needed any more.
6575 (package-menu-refresh, package-menu-describe-package): Use user-error.
6577 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6578 (eshell-post-rewrite-command-hook): Make obsolete.
6579 (eshell-parse-command): Simplify.
6580 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6581 (eshell--cmd): Declare.
6582 (eshell-parse-pipeline): Remove unused var `final-p'.
6583 Pass a dynvar to eshell-post-rewrite-command-hook.
6584 Implement the new eshell-post-rewrite-command-function.
6585 (eshell-invoke-directly): Remove unused arg `input'.
6586 * eshell/esh-io.el (eshell-io-initialize):
6587 Use eshell-post-rewrite-command-function (bug#15399).
6588 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6589 adjust to new calling convention.
6590 (eshell-create-handles): Rename args to avoid clashing with dynvar
6593 2013-09-17 Glenn Morris <rgm@gnu.org>
6595 * simple.el (messages-buffer-mode): New major mode.
6596 (messages-buffer): New function.
6597 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6598 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6599 (ert-run-test): Use `messages-buffer' function.
6600 (ert--force-message-log-buffer-truncation): Ignore read-only.
6601 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6602 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6604 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6606 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6608 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6610 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * icomplete.el (icomplete-in-buffer): New var.
6613 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6614 vars and replace them with functions.
6615 (icomplete-minibuffer-setup): Adjust accordingly.
6616 (icomplete--completion-table, icomplete--completion-predicate)
6617 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6619 (icomplete-forward-completions, icomplete-backward-completions)
6620 (icomplete-simple-completing-p, icomplete-exhibit)
6621 (icomplete-completions): Use them.
6622 (icomplete--in-region-buffer): New var.
6623 (icomplete--in-region-setup): New function.
6624 (icomplete-mode): Use it.
6626 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6628 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6629 return args and options.
6630 (eshell-eval-using-options): Use the new return value of
6631 eshell--do-opts to set the options's vars in their scope.
6632 (eshell--set-option): Rename from eshell-set-option.
6634 (eshell--process-option): Rename from eshell-process-option.
6636 (eshell--process-args): Use an `opt-vals' alist to store the options's
6637 values during their processing and return them additionally to the
6640 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6643 continuation character an operator, as far as indentation is
6644 concerned (Bug#15369).
6646 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6648 * window.el (window--state-put-2): Don't process buffer state
6649 when buffer doesn't exist any more (Bug#15382).
6651 2013-09-15 Glenn Morris <rgm@gnu.org>
6653 * eshell/em-unix.el (eshell/rm):
6654 Make -f ignore missing files. (Bug#15373)
6656 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6657 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6658 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6660 2013-09-14 Glenn Morris <rgm@gnu.org>
6662 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6664 2013-09-13 Glenn Morris <rgm@gnu.org>
6666 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6667 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6669 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6671 * frame.el (x-focus-frame): Mark as declared in frame.c.
6673 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * ls-lisp.el: Use advice-add.
6676 (original-insert-directory): Remove.
6677 (ls-lisp--insert-directory): Rename from insert-directory; add
6678 `orig-fun' argument.
6679 (insert-directory): Advise.
6681 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6683 * term.el (term-emulate-terminal): Decode the command string
6684 before passing it to term-command-hook. (Bug#15337)
6686 2013-09-13 Glenn Morris <rgm@gnu.org>
6688 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6690 * eshell/esh-ext.el (eshell-search-path): Declare.
6692 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6693 Otherwise an error occurs if eshell-dirs module not loaded.
6695 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6697 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6699 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6700 `tramp-check-proper-host'. Check for a valid method name.
6702 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6703 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6704 * net/tramp-sh.el (tramp-maybe-open-connection):
6705 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6707 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6708 also for hash values.
6710 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6712 * term/ns-win.el (parameters): Don't declare as dynamic.
6713 (before-make-frame-hook): Don't add ineffective function.
6715 * eshell/*.el: Use lexical-binding (bug#15231).
6717 2013-09-12 Kenichi Handa <handa@gnu.org>
6719 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6721 2013-09-12 Glenn Morris <rgm@gnu.org>
6723 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6724 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6726 * subr.el (do-after-load-evaluation): Also give compiler warnings
6727 when obsolete files are used (except by obsolete files).
6729 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6730 in the status output, assume `filename' is the first. (Bug#15322)
6732 * vc/vc.el (vc-deduce-fileset): Doc fix.
6734 * calc/calc-help.el (Info-goto-node):
6735 * progmodes/cperl-mode.el (Info-find-node):
6736 * vc/ediff.el (Info-goto-node): Update declarations.
6738 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6740 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6741 (vc-bzr-pull): Require vc-dispatcher.
6742 * vc/vc-git.el (vc-compilation-mode): Declare.
6743 (vc-git-pull): Require vc-dispatcher.
6745 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6747 * progmodes/octave.el (help-button-action): Declare.
6749 * shell.el (shell-directory-tracker): Output error as a message
6750 rather than just returning it as a string.
6751 (shell-process-pushd): Remove useless use of message.
6753 * dframe.el (dframe-timer-fn):
6754 * files.el (dir-locals-read-from-file):
6755 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6757 * reveal.el (reveal-post-command):
6758 * saveplace.el (load-save-place-alist-from-file):
6759 * shell.el (shell-resync-dirs):
6760 * w32-common-fns.el (x-get-selection-value):
6761 * emacs-lisp/copyright.el (copyright-find-copyright):
6762 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6763 * emulation/tpu-edt.el (tpu-copy-keyfile):
6764 * play/bubbles.el (bubbles--mark-neighbourhood):
6765 * progmodes/executable.el
6766 (executable-make-buffer-file-executable-if-script-p):
6767 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6769 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6771 Cleanup Eshell to rely less on dynamic scoping.
6772 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6773 last-value, and ext-command here. Bind `args' closer to `body'.
6774 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6775 (eshell--args): Declare new dynamic var.
6776 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6777 last-value, and ext-command. Pass `args' to `body'.
6778 (eshell-process-args): Bind eshell--args.
6779 (eshell-set-option): Use eshell--args.
6780 * eshell/eshell.el (eshell): Use derived-mode-p.
6781 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6782 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6783 (eshell-glob-function): Declare.
6784 * eshell/esh-util.el: Require cl-lib.
6785 (eshell-read-hosts-file): Avoid add-to-list.
6786 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6788 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6790 (eshell/diff): Remove unused var `err'.
6791 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6793 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6794 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6796 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6797 Move declaration before first use.
6798 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6799 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6802 2013-09-12 Glenn Morris <rgm@gnu.org>
6804 * term/ns-win.el (global-map): Remove binding for ispell-next,
6805 deleted 1999-05-29. (Bug#15357)
6807 2013-09-11 Glenn Morris <rgm@gnu.org>
6809 * echistory.el (electric-command-history): Remove call to deleted func.
6811 * play/landmark.el (landmark-mode): Fix typos.
6813 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6814 Check cvs-sort-ignore-file is bound.
6816 * savehist.el: No need for cl when compiling on Emacs.
6818 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6820 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6822 (eshell-self-insert-command, eshell-send-invisible):
6823 Remove unused argument.
6824 (eshell-handle-control-codes): Remove unused var `orig'.
6825 Avoid delete-backward-char.
6827 * files.el (set-auto-mode): Simplify a bit further.
6829 2013-09-11 Glenn Morris <rgm@gnu.org>
6831 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6832 (set-auto-mode): Don't regexp-quote elements.
6833 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6834 * progmodes/cc-mode.el (interpreter-mode-alist):
6835 * progmodes/ruby-mode.el (interpreter-mode-alist):
6836 Revert previous change.
6838 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6840 * play/snake.el (snake-mode):
6841 * play/mpuz.el (mpuz-mode):
6842 * play/landmark.el (lm-mode):
6843 * play/blackbox.el (blackbox-mode):
6844 * play/5x5.el (5x5-mode):
6845 * obsolete/options.el (Edit-options-mode):
6846 * net/quickurl.el (quickurl-list-mode):
6847 * net/newst-treeview.el (newsticker-treeview-mode):
6848 * mail/rmailsum.el (rmail-summary-mode):
6849 * mail/mspools.el (mspools-mode):
6850 * locate.el (locate-mode):
6851 * ibuffer.el (ibuffer-mode):
6852 * emulation/ws-mode.el (wordstar-mode):
6853 * emacs-lisp/debug.el (debugger-mode):
6854 * array.el (array-mode):
6855 * net/eudc.el (eudc-mode): Use define-derived-mode.
6856 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6857 Move initialization into declaration.
6858 (mairix-searches-mode): Use define-derived-mode.
6859 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6860 (eudc-edit-hotlist): Use dolist.
6861 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6862 (Man-mode): Use define-derived-mode.
6863 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6864 (Info-edit-mode): Use define-derived-mode.
6865 (Info-cease-edit): Use Info-mode.
6866 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6868 (eshell-mode): Use define-derived-mode.
6869 * chistory.el (command-history-mode-map): Rename from
6870 command-history-map.
6871 (command-history-mode): Use define-derived-mode.
6872 (Command-history-setup): Remove function.
6873 * calc/calc.el (calc-trail-mode-map): New var.
6874 (calc-trail-mode): Use define-derived-mode.
6875 (calc-trail-buffer): Set calc-main-buffer manually.
6876 * bookmark.el (bookmark-insert-annotation): New function.
6877 (bookmark-edit-annotation): Use it.
6878 (bookmark-edit-annotation-mode): Make it a proper major mode.
6879 (bookmark-send-edited-annotation): Use derived-mode-p.
6880 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6881 closer to its ideal place. Use \' to match EOS.
6883 * profiler.el (profiler-calltree-find): Use function-equal.
6885 2013-09-10 Glenn Morris <rgm@gnu.org>
6887 * files.el (interpreter-mode-alist): Convert to regexps.
6888 (set-auto-mode): Adapt for this. (Bug#15306)
6889 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6890 Comment out unused variable.
6891 * progmodes/cc-mode.el (interpreter-mode-alist):
6892 * progmodes/python.el (interpreter-mode-alist):
6893 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6894 * progmodes/sh-script.el (sh-set-shell):
6895 No longer use interpreter-mode-alist to get list of shells.
6897 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6899 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6901 * simple.el: Use set-temporary-overlay-map for universal-argument.
6902 (universal-argument-map): Don't use default-bindings (bug#15317).
6903 Bind switch-frame explicitly. Replace universal-argument-minus with
6904 a conditional binding.
6905 (universal-argument-num-events, saved-overriding-map): Remove.
6906 (restore-overriding-map): Remove.
6907 (universal-argument--mode): Rename from save&set-overriding-map,
6909 (universal-argument, universal-argument-more, negative-argument)
6910 (digit-argument): Adjust accordingly.
6911 (universal-argument-minus): Remove.
6912 (universal-argument-other-key): Remove.
6914 * subr.el (with-demoted-errors): Add `format' argument.
6916 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6918 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6919 `tramp-cleanup-connection'.
6921 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6922 parameters KEEP-DEBUG and KEEP-PASSWORD.
6924 * net/tramp.el (tramp-file-name-handler):
6925 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6926 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6927 (tramp-maybe-open-connection):
6928 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6929 Use `tramp-cleanup-connection'.
6931 * net/tramp-sh.el (tramp-maybe-open-connection):
6932 Catch 'uname-changed inside the progress reporter.
6934 2013-09-10 Glenn Morris <rgm@gnu.org>
6936 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6938 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6939 returns "alternate access method" in mode (eg "-rw-r--r--.").
6941 2013-09-08 Glenn Morris <rgm@gnu.org>
6943 * saveplace.el (load-save-place-alist-from-file):
6944 Demote errors. (Bug#15305)
6946 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6948 Improve compatibility with older Emacsen, and XEmacs.
6950 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6951 only if it is bound. It isn't for XEmacs.
6952 (with-tramp-progress-reporter): Do not let-bind `result'.
6953 This yields to scoping errors in XEmacs.
6954 (tramp-handle-make-auto-save-file-name): New function, moved from
6957 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6958 for `make-auto-save-file-name'.
6959 (tramp-adb--gnu-switches-to-ash):
6960 Use `tramp-compat-replace-regexp-in-string'.
6962 * net/tramp-cache.el (tramp-cache-print): Call
6963 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6965 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6966 bound. It isn't for XEmacs.
6968 * net/tramp-compat.el (tramp-compat-copy-file):
6969 Catch `wrong-number-of-arguments' error.
6970 (tramp-compat-replace-regexp-in-string): New defun.
6972 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6973 for `make-auto-save-file-name'.
6974 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6976 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6977 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6978 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6980 * net/tramp-gw.el (tramp-gw-open-network-stream):
6981 Use `tramp-compat-replace-regexp-in-string'.
6983 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6984 Call `tramp-handle-make-auto-save-file-name'.
6985 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6986 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6987 (tramp-sh-file-inotifywait-process-filter):
6988 Use `tramp-compat-replace-regexp-in-string'.
6989 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6991 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6992 for `make-auto-save-file-name'.
6993 (tramp-smb-handle-copy-directory):
6994 Call `tramp-compat-replace-regexp-in-string'.
6995 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6996 (tramp-smb-handle-copy-file): Improve error message.
6997 (tramp-smb-handle-rename-file): Rename directly only in case
6998 `newname' does not exist yet. This is a restriction of smbclient.
6999 (tramp-smb-maybe-open-connection): Rerun the function only when
7000 `auth-sources' is non-nil.
7002 2013-09-08 Kenichi Handa <handa@gnu.org>
7004 * international/characters.el: Set category "^" (Combining) for
7007 2013-09-07 Alan Mackenzie <acm@muc.de>
7009 Correctly fontify Java class constructors.
7010 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
7012 (c-recognize-typeless-decls): Set the Java value to t.
7013 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
7014 While handling a "(", add a check for, effectively, Java, and handle a
7015 "typeless" declaration there.
7017 2013-09-07 Roland Winkler <winkler@gnu.org>
7019 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
7020 field subtitle for entry type book.
7022 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7024 * minibuffer.el: Make minibuffer-complete call completion-in-region
7025 rather than other way around.
7026 (completion--some, completion-pcm--find-all-completions):
7027 Don't delay signals when debugging.
7028 (minibuffer-completion-contents): Beware fields within the
7029 minibuffer contents.
7030 (completion-all-sorted-completions): Use defvar-local.
7031 (completion--do-completion, completion--cache-all-sorted-completions)
7032 (completion-all-sorted-completions, minibuffer-force-complete):
7033 Add args `beg' and `end'.
7034 (completion--in-region-1): New fun, extracted from minibuffer-complete.
7035 (minibuffer-complete): Use completion-in-region.
7036 (completion-complete-and-exit): New fun, extracted from
7037 minibuffer-complete-and-exit.
7038 (minibuffer-complete-and-exit): Use it.
7039 (completion--complete-and-exit): Rename from
7040 minibuffer--complete-and-exit.
7041 (completion-in-region--single-word): New function, extracted from
7042 minibuffer-complete-word.
7043 (minibuffer-complete-word): Use it.
7044 (display-completion-list): Make `common-substring' argument obsolete.
7045 (completion--in-region): Call completion--in-region-1 instead of
7046 minibuffer-complete.
7047 (completion-help-at-point): Pass boundaries to
7048 minibuffer-completion-help as args rather than via an overlay.
7049 (completion-pcm--string->pattern): Use `any-delim'.
7050 (completion-pcm--optimize-pattern): New function.
7051 (completion-pcm--pattern->regex): Handle `any-delim'.
7052 * icomplete.el (icomplete-forward-completions)
7053 (icomplete-backward-completions, icomplete-completions):
7054 Adjust calls to completion-all-sorted-completions and
7055 completion--cache-all-sorted-completions.
7056 (icomplete-with-completion-tables): Default to t.
7057 * emacs-lisp/crm.el (crm--current-element): Rename from
7058 crm--select-current-element. Don't put an overlay but return the
7060 (crm--completion-command): Take two new args to bind to the boundaries.
7061 (crm-completion-help): Adjust accordingly.
7062 (crm-complete): Use completion-in-region.
7063 (crm-complete-word): Use completion-in-region--single-word.
7064 (crm-complete-and-exit): Use completion-complete-and-exit.
7066 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7068 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
7071 2013-09-06 Juri Linkov <juri@jurta.org>
7073 * info.el (Info-display-images-node): When image file doesn't exist
7074 display text version of the image if it's provided in the Info file.
7075 Otherwise, display the location of missing image from SRC attribute.
7076 Add help-echo text property from ALT attribute. (Bug#15279)
7078 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7080 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
7081 (edit-abbrevs-mode): Use define-derived-mode.
7083 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
7084 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
7086 (epa-key-list-mode, epa-key-mode, epa-info-mode):
7087 Use define-derived-mode.
7089 * epg.el (epg-start-encrypt): Minor CSE simplification.
7091 2013-09-06 William Xu <william.xwl@gmail.com>
7093 * arc-mode.el: Add support for 7za (bug#15264).
7094 (archive-7z-program): New var.
7095 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
7096 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
7097 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
7099 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
7103 * net/tramp.el (tramp-syntax, tramp-prefix-format)
7104 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
7105 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
7106 (tramp-postfix-host-format, tramp-file-name-regexp)
7107 (tramp-completion-file-name-regexp)
7108 (tramp-completion-dissect-file-name)
7109 (tramp-handle-substitute-in-file-name): Remove 'url case.
7110 (tramp-file-name-regexp-url)
7111 (tramp-completion-file-name-regexp-url): Remove constants.
7113 2013-09-06 Glenn Morris <rgm@gnu.org>
7115 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
7117 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
7119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
7120 keywords" below "here-doc beginnings" (Bug#15270).
7122 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7124 * subr.el (pop): Use `car-safe'.
7125 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
7126 to detect unused `pop' return value.
7128 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
7130 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
7131 (python-fill-string): Remove unused var `marker'.
7132 (python-skeleton-add-menu-items): Remove unused var `items'.
7134 * international/mule-cmds.el: Require CL.
7135 (find-coding-systems-for-charsets): Avoid add-to-list.
7136 (sanitize-coding-system-list): New function, extracted from
7137 select-safe-coding-system-interactively.
7138 (select-safe-coding-system-interactively): Use it.
7139 (read-input-method-name): Accept symbols for `default'.
7141 * emacs-lisp/advice.el (defadvice): Add indent rule.
7143 2013-09-05 Daniel Hackney <dan@haxney.org>
7147 * net/browse-url.el:
7150 * net/eudcb-ldap.el:
7163 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7164 byte compiler. Remove some unused let-bound variables.
7166 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7169 a "ref-cell", since it gets better optimized (bug#14883).
7171 2013-09-05 Glenn Morris <rgm@gnu.org>
7173 * progmodes/cc-awk.el (c-forward-sws): Declare.
7175 2013-09-04 Glenn Morris <rgm@gnu.org>
7177 * generic-x.el [rul-generic-mode]: Require cc-mode.
7178 (c++-mode-syntax-table): Declare.
7179 (rul-generic-mode-syntax-table): Init in the defvar.
7181 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7184 (vc-do-command, vc-set-async-update):
7185 * vc/vc-mtn.el (vc-mtn-dir-status):
7186 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7187 (vc-hg-pull, vc-hg-merge-branch):
7188 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7189 (vc-git-merge-branch):
7190 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7191 (vc-cvs-dir-status-files):
7192 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7193 (vc-bzr-dir-status-files):
7194 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7195 * vc/vc-annotate.el: Use lexical-binding.
7196 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7197 (vc-sentinel-movepoint): Declare.
7198 (vc-annotate): Don't use `goto-line'.
7199 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7200 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7201 (vc-sentinel-movepoint): Declare.
7202 * vc/vc-svn.el: Use lexical-binding.
7203 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7205 * vc/vc-rcs.el: Use lexical-binding.
7207 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7208 `deleted'. Don't drop errors silently.
7210 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7212 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7214 * vc/vc.el (vc-ignore): Rewrite.
7215 (vc-default-ignore): New function.
7216 (vc-default-ignore-completion-table): Use find-ignore-file.
7218 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7219 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7220 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7221 Remove. Most code moved to vc.el.
7223 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7226 * net/tramp-smb.el (tramp-smb-get-file-entries):
7227 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7228 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7230 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7232 (eww-change-select): Remove unused var `properties'.
7233 (eww-make-unique-file-name): Remove unused var `base'.
7235 * finder.el (finder-compile-keywords): Don't mess with windows.
7237 * calculator.el (calculator-funcall): Fix typo in last change.
7239 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7241 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7242 <pkg>-autoloads.el file stop us.
7244 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7245 warnings, and factor out common code.
7247 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7249 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7250 two-character operators and whether the character preceding them
7251 changes their meaning (Bug#15208).
7253 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7255 Format code sent to Python shell for robustness.
7256 * progmodes/python.el (python-shell-buffer-substring):
7258 (python-shell-send-region, python-shell-send-buffer): Use it.
7260 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7263 * net/tramp.el (tramp-user-error): ... here.
7264 (tramp-find-method, tramp-check-proper-host)
7265 (tramp-dissect-file-name, tramp-debug-message)
7266 (tramp-handle-shell-command):
7267 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7270 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7272 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7274 * avoid.el (mouse-avoidance-point-position)
7275 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7278 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7280 * progmodes/python.el (python-shell-completion-get-completions):
7281 Drop use of deleted `comint-last-prompt-overlay'.
7282 (python-nav-if-name-main): New command.
7284 2013-09-01 Glenn Morris <rgm@gnu.org>
7286 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7287 Avoid leading space in $wins. Otherwise the sed command used by
7288 eg compile-main ends up containing "/*.el". (Bug#15170)
7290 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7292 2013-08-30 Glenn Morris <rgm@gnu.org>
7294 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7295 Fix is-this-a-directory logic. (Bug#15220)
7297 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7299 * textmodes/css-mode.el: Use SMIE.
7300 (css-smie-grammar): New var.
7301 (css-smie--forward-token, css-smie--backward-token)
7302 (css-smie-rules): New functions.
7303 (css-mode): Use them.
7304 (css-navigation-syntax-table): Remove var.
7305 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7306 (css-indent-calculate, css-indent-line): Remove functions.
7308 Misc changes to reduce use of `(lambda...); and other cleanups.
7309 * cus-edit.el: Use lexical-binding.
7310 (customize-push-and-save, customize-apropos)
7311 (custom-buffer-create-internal): Use closures.
7312 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7313 * progmodes/ada-xref.el: Use setq.
7314 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7315 * dframe.el: Use lexical-binding.
7316 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7317 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7318 * descr-text.el: Use lexical-binding.
7319 (describe-text-widget, describe-text-sexp, describe-property-list):
7321 * comint.el (comint-history-isearch-push-state): Use a closure.
7322 * calculator.el: Use lexical-binding.
7323 (calculator-number-to-string): Make it work with lexical-binding.
7324 (calculator-funcall): Same and use cl-letf.
7326 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7327 (lisp--company-doc-string, lisp--company-location): New functions.
7328 (lisp-completion-at-point): Use them to improve Company support.
7330 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7331 params of lambda expressions.
7332 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7333 (ruby-smie--opening-pipe-p): New function.
7334 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7335 symbols and matched |...| for formal params.
7336 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7337 from being treated as hanging. Handle "rescue".
7339 2013-08-29 Glenn Morris <rgm@gnu.org>
7341 * progmodes/cc-engine.el (c-pull-open-brace):
7342 Move definition before use.
7344 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7347 are immutable. Don't use `unsafe' any more.
7348 (cl--defsubst-expand): Don't substitute at the same time as keeping
7349 a residual unused let-binding. Don't use `unsafe' any more.
7351 2013-08-29 Glenn Morris <rgm@gnu.org>
7353 * calendar/cal-china.el (calendar-chinese-year-cache):
7356 * nxml/nxml-util.el (nxml-debug-clear-inside):
7357 Use cl-loop rather than loop.
7359 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7361 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7363 2013-08-28 Glenn Morris <rgm@gnu.org>
7365 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7367 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7369 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7371 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * simple.el (repeat-complex-command--called-interactively-skip):
7375 (repeat-complex-command): Use it (bug#14136).
7377 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7378 (c-define-abbrev-table): Add `doc' argument.
7379 (c-mode-abbrev-table, c++-mode-abbrev-table)
7380 (objc-mode-abbrev-table, java-mode-abbrev-table)
7381 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7382 (awk-mode-abbrev-table): Use it.
7383 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7384 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7385 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7386 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7387 Move initialization into the declaration; and remove any
7390 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7391 and dynamic let binding.
7393 * vc/smerge-mode.el: Remove redundant :group args.
7395 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7398 2013-08-28 Juri Linkov <juri@jurta.org>
7400 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7401 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7402 (isearch-other-meta-char): Handle an undefined shifted printing
7403 character by downshifting it. (Bug#15200)
7405 2013-08-28 Juri Linkov <juri@jurta.org>
7407 * isearch.el (isearch-search): Change regexp error message for
7408 non-regexp searches. (Bug#15166)
7410 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7412 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7413 for portability to hosts where /bin/sh has problems.
7415 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7417 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7419 2013-08-27 Juri Linkov <juri@jurta.org>
7421 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7422 in the keyboard macro. (Bug#15126)
7424 2013-08-27 Juri Linkov <juri@jurta.org>
7426 * isearch.el (isearch-quote-char): Comment out converting unibyte
7427 to multibyte, thus syncing with its `quoted-insert' counterpart.
7430 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7432 * window.el (display-buffer-use-some-window): Add missing
7433 argument in call of get-largest-window (Bug#15185).
7434 Reported by Stephen Leake.
7436 2013-08-27 Glenn Morris <rgm@gnu.org>
7438 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7440 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7443 from a matcher-function unless there's no more matches (bug#15161).
7445 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7447 * minibuffer.el: Revert change from 2013-08-20.
7449 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7450 with text property `tramp-default', if appropriate.
7451 (tramp-check-proper-host): New defun.
7452 (tramp-dissect-file-name): Do not check hostname. Revert change
7454 (tramp-backtrace): Make VEC-OR-PROC optional.
7456 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7457 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7458 * net/tramp-sh.el (tramp-maybe-open-connection):
7459 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7460 Apply `tramp-check-proper-host'.
7462 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7464 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7465 lambda expression in order to have `describe-variable' display it.
7467 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7469 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7470 BUF can be optional. (Bug#15186)
7472 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7474 * progmodes/flymake.el (flymake-get-real-file-name-function):
7475 Fix broken customization. (Bug#15184)
7477 2013-08-25 Alan Mackenzie <acm@muc.de>
7479 Improve indentation of bracelists defined by macros (without "=").
7481 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7482 expansion begins with "{", regard it as bracelist when it doesn't
7485 Parse C++ inher-intro when there's a template split over 2 lines.
7487 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7488 rigorously the search for "class" etc. followed by ":".
7490 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7491 random languages a regexp which never matches rather than nil.
7493 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7495 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7496 (c-awk-regexp-one-line-possibly-open-char-list-re)
7497 (c-awk-one-line-possibly-open-regexp-re)
7498 (c-awk-one-line-non-syn-ws*-re): Remove.
7499 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7500 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7501 (c-awk-space*-unclosed-regexp-/-re): New constants.
7502 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7503 aren't regexp delimiters.
7505 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7506 handling for a rare situation in AWK Mode involving unterminated
7509 2013-08-23 Glenn Morris <rgm@gnu.org>
7511 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7513 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7515 * files.el (create-file-buffer): If the result would begin with
7516 spaces, prepend a "|" instead of removing them. (Bug#15162)
7518 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7521 text-properties (bug#15155).
7523 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7525 (calc-keypad-redraw): Remove unused var `pad'.
7526 (calc-keypad-press): Remove unused var `menu'.
7528 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7530 * window.el (display-buffer-pop-up-frame):
7531 Call pop-up-frame-function with BUFFER current so `make-frame' will
7532 use it as the new frame's buffer (Bug#15133).
7534 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * calendar/timeclock.el: Minor cleanups.
7537 (timeclock-ask-before-exiting, timeclock-use-display-time):
7539 (timeclock-modeline-display): Define as alias before the
7541 (timeclock-mode-line-display): Use define-minor-mode.
7542 (timeclock-day-list-template): Make it a function, add an argument.
7543 (timeclock-day-list-required, timeclock-day-list-length)
7544 (timeclock-day-list-debt, timeclock-day-list-span)
7545 (timeclock-day-list-break): Adjust calls accordingly.
7547 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7550 Use read--expression so that completion works again.
7552 2013-08-21 Sam Steingold <sds@gnu.org>
7554 Add rudimentary inferior shell interaction
7555 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7556 (sh-set-shell): Reset it.
7557 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7558 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7560 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7562 * align.el: Use lexical-binding.
7563 (align-region): Simplify accordingly.
7565 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7567 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7569 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7572 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7576 * net/tramp-cmds.el:
7578 * net/tramp-gvfs.el:
7580 * net/tramp-sh.el: Don't wrap external variable declarations by
7581 `eval-when-compile'.
7583 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7585 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7586 now that Emacs supports ImageMagick animations.
7588 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7590 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7591 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7593 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7595 * window.el (mouse-autoselect-window-select): Do autoselect when
7596 mouse pointer is on margin.
7598 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7600 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7602 2013-08-16 Glenn Morris <rgm@gnu.org>
7604 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7605 Handle "Remote Directory" response of some clients. (Bug#15058)
7607 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7608 Tweak warning. (Bug#14926)
7610 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7611 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7613 * image-mode.el (image-mode-map): Add menu items to reverse,
7614 increase, decrease, reset animation speed.
7615 (image--set-speed, image-increase-speed, image-decrease-speed)
7616 (image-reverse-speed, image-reset-speed): New functions.
7617 (image-mode-map): Add bindings for speed commands.
7619 * image.el (image-animate-get-speed, image-animate-set-speed):
7621 (image-animate-timeout): Respect image :speed property.
7623 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7626 previous line (bug#15101).
7627 (debugger-eval-expression, debugger-record-expression):
7628 Use read--expression (bug#15102).
7630 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7632 Remove byte compiler warnings, visible when compiling with
7633 `byte-compile-force-lexical-warnings' set to t.
7635 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7636 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7637 (tramp-handle-unhandled-file-name-directory)
7638 (tramp-handle-file-notify-add-watch, tramp-action-login)
7639 (tramp-action-succeed, tramp-action-permission-denied)
7640 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7643 * net/tramp-adb.el (tramp-adb-parse-device-names)
7644 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7645 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7646 (tramp-adb-handle-file-truename): Remove unused arguments.
7648 * net/tramp-cache.el (tramp-flush-directory-property)
7649 (tramp-flush-connection-property, tramp-list-connections)
7650 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7652 * net/tramp-compat.el (tramp-compat-make-temp-file):
7653 Rename FILENAME to F.
7655 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7656 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7657 (tramp-zeroconf-parse-workstation-device-names)
7658 (tramp-zeroconf-parse-webdav-device-names)
7659 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7661 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7662 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7664 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7666 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7667 (tramp-sh-handle-insert-file-contents-literally)
7668 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7670 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7671 Remove unused variables.
7673 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7674 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7675 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7677 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7678 Make them a defconst.
7679 (tramp-uuencode-region): Remove unused variable.
7681 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7683 * frameset.el (frameset--prop-setter): New function.
7684 (frameset-prop): Add gv-setter declaration.
7685 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7686 parameter was already set in FILTERED. Doc fix.
7687 (frameset--record-minibuffer-relationships): Allow saving a
7688 minibufferless frame without its corresponding minibuffer frame.
7689 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7690 frame, if the frame id matches.
7691 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7692 frames before orphaned ones.
7693 (frameset-restore): Warn about orphaned windows, instead of error out.
7695 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7697 * window.el (window-make-atom): Don't overwrite parameter
7699 (display-buffer-in-atom-window): Handle special case where we
7700 split an already atomic window.
7701 (window--major-non-side-window, display-buffer-in-side-window)
7702 (window--side-check): Ignore minibuffer window when walking
7704 (window-deletable-p): Return 'frame only if no other frame uses
7705 our minibuffer window.
7706 (record-window-buffer): Run buffer-list-update-hook.
7707 (split-window): Make sure window--check-frame won't destroy an
7708 existing atomic window in case the new window gets nested
7710 (display-buffer-at-bottom): Ignore minibuffer window when
7711 walking window tree. Don't split a side window.
7712 (pop-to-buffer): Don't set-buffer here, the select-window call
7714 (mouse-autoselect-window-select): Autoselect only if we are in the
7715 text portion of the window.
7717 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7719 * net/shr.el (shr-parse-image-data): New function to grab both the
7720 data itself and the Content-Type.
7721 (shr-put-image): Use it.
7723 * net/eww.el (eww-display-image): Ditto.
7725 * image.el (image-content-type-suffixes): New variable.
7727 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7729 * progmodes/python.el (python-imenu--build-tree)
7730 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7732 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7734 * simple.el (backward-word): Mention the optional argument.
7736 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * frameset.el (frameset--make): Rename constructor from make-frameset.
7739 (frameset-p, frameset-valid-p): Don't autoload.
7740 (frameset-valid-p): Use normal accessors.
7742 2013-08-13 Glenn Morris <rgm@gnu.org>
7744 * progmodes/compile.el (compile-command): Tweak example in doc.
7745 * obsolete/scribe.el (scribe-mode):
7746 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7748 * mail/feedmail.el (feedmail-confirm-outgoing)
7749 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7751 * cus-start.el (truncate-partial-width-windows): Fix type.
7753 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7755 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7757 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7759 * emacs-lisp/timer.el (timer--time-setter): New function.
7760 (timer--time): Use it as gv-setter.
7762 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7763 setter is not a symbol.
7765 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7767 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7768 if sending fails. This makes debugging easier.
7770 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7772 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7773 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7774 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7776 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7778 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7780 2013-08-12 Glenn Morris <rgm@gnu.org>
7782 * format.el (format-annotate-function):
7783 Handle read-only text properties in the source. (Bug#14887)
7785 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7787 * net/eww.el (eww-display-html): Ignore coding system errors.
7788 One web site uses "utf-8lias" as the coding system.
7790 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7792 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7794 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7796 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7797 (tutorial--detailed-help): Remove unused local variables.
7798 (tutorial--save-tutorial-to): Use ignore-errors.
7799 (help-with-tutorial): Use looking-at-p.
7801 * view.el (view-buffer-other-window, view-buffer-other-frame):
7802 Mark unused arguments.
7804 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7805 (woman-select-symbol-fonts, woman, woman-find-file)
7806 (woman-insert-file-contents, woman-non-underline-faces):
7808 (woman1-unquote): Move declaration.
7810 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7811 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7812 argument. Remove unused local variable.
7813 (xml-parse-elem-type): Use string-match-p.
7814 (xml-substitute-numeric-entities): Use ignore-errors.
7816 * calculator.el (calculator): Mark unused argument.
7817 (calculator-paste, calculator-quit, calculator-integer-p):
7819 (calculator-string-to-number, calculator-decimal, calculator-exp)
7820 (calculator-op-or-exp): Use string-match-p.
7822 * dired.el (dired-buffer-more-recently-used-p): Declare.
7823 (dired-insert-set-properties, dired-insert-old-subdirs):
7826 * dired-aux.el (dired-compress): Use ignore-errors.
7827 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7828 (dired-do-async-shell-command, dired-do-shell-command)
7829 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7830 (dired-insert-subdir-validate): Use string-match-p.
7831 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7832 (dired-add-entry): Use string-match-p, looking-at-p.
7833 (dired-insert-subdir-newpos): Remove unused local variable.
7835 * filenotify.el (file-notify-callback): Remove unused local variable.
7837 * filesets.el (filesets-error): Mark unused argument.
7838 (filesets-which-command-p, filesets-filter-dir-names)
7839 (filesets-directory-files, filesets-get-external-viewer)
7840 (filesets-ingroup-get-data): Use string-match-p.
7842 * find-file.el (ff-other-file-name, ff-other-file-name)
7843 (ff-find-the-other-file, ff-cc-hh-converter):
7844 Remove unused local variables.
7845 (ff-get-file-name): Use string-match-p.
7846 (ff-all-dirs-under): Use ignore-errors.
7848 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7849 (follow-select-if-visible): Remove unused local variable.
7851 * forms.el (read-file-filter): Move declaration.
7852 (forms--make-format, forms--make-parser, forms-insert-record):
7853 Quote function with #'.
7854 (forms--update): Use string-match-p. Quote function with #'.
7856 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7857 (help-make-xrefs): Use looking-at-p.
7858 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7860 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7861 (ibuffer-confirm-operation-on): Use string-match-p.
7863 * msb.el (msb-item-handler, msb-dired-item-handler):
7864 Mark unused arguments.
7866 * ses.el (ses-decode-cell-symbol)
7867 (ses-kill-override): Remove unused local variable.
7868 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7869 (ses-load): Use ignore-errors, looking-at-p.
7870 (ses-jump-safe): Use ignore-errors.
7871 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7873 * tabify.el (untabify, tabify): Mark unused arguments.
7875 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7876 Mark unused argument.
7877 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7878 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7880 * emacs-lisp/timer.el (timer--time): Define setter with
7881 gv-define-setter to avoid deprecation warning.
7883 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7884 (*record-cmpl-statistics-p*): Remove (was commented out).
7885 (cmpl-statistics-block): Remove (body was commented out).
7886 All callers changed.
7887 (add-completions-from-buffer, load-completions-from-file):
7888 Remove unused variables.
7890 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7892 * filecache.el (file-cache-delete-file-list):
7893 Print message only when told so.
7894 (file-cache-files-matching): Use #' in mapconcat argument.
7896 * ffap.el (ffap-url-at-point): Fix reference to variable
7897 thing-at-point-default-mail-uri-scheme.
7899 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * subr.el (define-error): New function.
7902 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7903 error-file-not-found and define with define-error.
7904 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7905 and define with define-error.
7906 * userlock.el (file-locked, file-supersession):
7907 * simple.el (mark-inactive):
7908 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7909 * progmodes/ada-mode.el (ada-mode-errors):
7910 * play/life.el (life-extinct):
7911 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7912 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7913 * nxml/rng-util.el (rng-error):
7914 * nxml/rng-uri.el (rng-uri-error):
7915 * nxml/rng-match.el (rng-compile-error):
7916 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7917 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7918 * nxml/nxml-rap.el (nxml-scan-error):
7919 * nxml/nxml-outln.el (nxml-outline-error):
7920 * net/soap-client.el (soap-error):
7921 * net/gnutls.el (gnutls-error):
7922 * net/ange-ftp.el (ftp-error):
7923 * mpc.el (mpc-proc-error):
7924 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7925 (json-number-format, json-string-escape, json-string-format)
7926 (json-key-format, json-object-format):
7927 * jka-compr.el (compression-error):
7928 * international/quail.el (quail-error):
7929 * international/kkc.el (kkc-error):
7930 * emacs-lisp/ert.el (ert-test-failed):
7931 * calc/calc.el (calc-error, inexact-result, math-overflow)
7933 * bookmark.el (bookmark-error-no-filename):
7934 * epg.el (epg-error): Define with define-error.
7936 * time.el (display-time-event-handler)
7937 (display-time-next-load-average): Don't call sit-for since it seems
7938 unnecessary (bug#15045).
7940 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7941 Use #' instead of ' to quote functions.
7942 (checkdoc-output-mode): Use setq-local.
7943 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7944 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7945 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7946 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7947 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7948 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7949 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7950 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7952 * ido.el (ido-completion-help): Fix up compiler warning.
7954 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7956 * frameset.el (frameset-p): Add autoload cookie.
7957 (frameset--jump-to-register): New function, based on code moved from
7959 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7961 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7962 (frameset-restore, frameset-save, frameset-session-filter-alist):
7963 Remove declarations.
7964 (register-alist): Doc fix.
7965 (frameset-to-register): Move to frameset.el.
7966 (jump-to-register, describe-register-1): Remove frameset-specific code.
7968 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7970 * allout-widgets.el (allout-widgets-pre-command-business)
7971 (allout-widgets-post-command-business)
7972 (allout-widgets-after-change-handler)
7973 (allout-decorate-item-and-context, allout-set-boundary-marker)
7974 (allout-body-modification-handler)
7975 (allout-graphics-modification-handler): Mark ignored arguments.
7976 (allout-widgets-post-command-business)
7977 (allout-widgets-exposure-change-processor)
7978 (allout-widgets-exposure-undo-processor)
7979 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7980 (allout-parse-item-at-point, allout-decorate-item-guides)
7981 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7982 * allout.el (epa-passphrase-callback-function): Declare.
7983 (allout-overlay-insert-in-front-handler)
7984 (allout-overlay-interior-modification-handler)
7985 (allout-isearch-end-handler, allout-chart-siblings)
7986 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7987 (allout-yank-processing, allout-process-exposed)
7988 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7989 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7990 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7991 (lisp-indent-defform): Mark ignored arguments.
7992 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7993 (calculate-lisp-indent): Remove unused variables.
7994 * international/characters.el (indian-2-column, arabic-2-column)
7995 (tibetan): Mark ignored arguments.
7996 (use-cjk-char-width-table): Mark ignored arguments.
7997 Remove unused variables.
7998 * international/fontset.el (build-default-fontset-data)
7999 (x-compose-font-name, create-fontset-from-fontset-spec):
8000 Mark ignored arguments.
8001 (fontset-plain-name): Remove unused variables.
8002 * international/mule.el (charset-id, charset-bytes, generic-char-p)
8003 (keyboard-coding-system): Mark ignored arguments.
8004 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
8005 * help.el (resize-temp-buffer-window):
8006 * window.el (display-buffer-in-major-side-window)
8007 (display-buffer-in-side-window, display-buffer-in-previous-window):
8008 Remove unused variables.
8009 * isearch.el (isearch-forward-symbol):
8010 * version.el (emacs-bzr-version-bzr):
8011 * international/mule-cmds.el (current-language-environment):
8012 * term/common-win.el (x-handle-iconic, x-handle-geometry)
8014 * term/pc-win.el (x-list-fonts, x-display-planes)
8015 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
8016 (x-server-version, x-display-screens, x-display-mm-height)
8017 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
8018 (x-selection-owner-p, x-own-selection-internal)
8019 (x-disown-selection-internal, x-get-selection-internal)
8020 (msdos-initialize-window-system):
8021 * term/tty-colors.el (tty-color-alist, tty-color-clear):
8022 * term/x-win.el (x-handle-no-bitmap-icon):
8023 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
8024 (vc-default-find-file-hook, vc-default-extra-menu):
8025 Mark ignored arguments.
8027 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
8030 break-condition in the context of the debugged code (bug#12685).
8032 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
8035 Do not use an overlay to highlight the last prompt. (Bug#14744)
8036 (comint-mode): Make comint-last-prompt buffer local.
8037 (comint-last-prompt): New variable.
8038 (comint-last-prompt-overlay): Remove. Superseded by
8040 (comint-snapshot-last-prompt, comint-output-filter):
8041 Use comint-last-prompt.
8043 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8045 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
8046 (frameset-save): Check validity of the resulting frameset.
8048 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
8050 * ido.el (ido-record-command): Add doc string.
8052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8054 * frameset.el (frameset): Do not disable creation of the default
8055 frameset-p predicate. Doc fix.
8056 (frameset-valid-p): New function, copied from the old predicate-p.
8057 Add additional checks.
8058 (frameset-restore): Check with frameset-valid-p.
8059 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
8060 (frameset-name, frameset-description, frameset-properties)
8061 (frameset-states): Add docstring.
8062 (frameset-session-filter-alist, frameset-persistent-filter-alist)
8063 (frameset-filter-alist): Doc fixes.
8065 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8067 * frameset.el (frameset-p, frameset-prop): Doc fixes.
8069 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8071 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
8072 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
8073 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
8074 (byte-compile-normal-call): Remove obsolescence check.
8076 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
8078 * frameset.el (frameset-restore): Doc fix.
8080 * register.el (frameset-frame-id, frameset-frame-with-id)
8081 (frameset-p, frameset-restore, frameset-save): Declare.
8082 (register-alist): Document framesets.
8083 (frameset-session-filter-alist): Declare.
8084 (frameset-to-register): New function.
8085 (jump-to-register): Implement jumping to framesets. Doc fix.
8086 (describe-register-1): Describe framesets.
8088 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
8090 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
8092 * desktop.el (desktop-save-frameset): Use new frameset-save args.
8093 Use lexical-binding.
8095 * frameset.el (frameset): Use type vector, not list (incompatible
8096 change). Do not declare a new constructor, use the default one.
8097 Upgrade suggested properties `app', `name' and `desc' to slots `app',
8098 `name' and `description', respectively, and add read-only slot
8099 `timestamp'. Doc fixes.
8100 (frameset-copy, frameset-persistent-filter-alist)
8101 (frameset-filter-alist, frameset-switch-to-gui-p)
8102 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
8103 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
8104 (frameset-filter-iconified, frameset-keep-original-display-p):
8106 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
8107 Rename from frameset-filter-(save|restore)-param. All callers changed.
8109 (frameset-p): Adapt to change to vector and be more thorough.
8110 Change arg name to OBJECT. Doc fix.
8111 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
8112 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
8113 All callers changed.
8114 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
8115 All callers changed.
8116 (frameset--record-minibuffer-relationships): Rename from
8117 frameset--process-minibuffer-frames. All callers changed.
8118 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
8119 Use new default constructor (again). Doc fix.
8120 (frameset--find-frame-if): Rename from `frameset--find-frame'.
8121 All callers changed.
8122 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
8123 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
8125 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
8126 PARAMETERS and WINDOW-STATE, respectively.
8127 (frameset-restore): Add new keyword argument PREDICATE.
8128 Reset frameset--target-display to nil. Doc fix.
8130 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
8134 (bat-mode-syntax-table): Mark \n as end-of-comment.
8135 (bat-font-lock-keywords): Remove comment rule.
8137 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
8138 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
8140 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
8141 (byte-compile-callargs-warn): Use `push'.
8142 (byte-compile-arglist-warn): Ignore higher-order "calls".
8143 (byte-compile-file-form-autoload): Use `pcase'.
8144 (byte-compile-function-form): If quoting a symbol, check that it exists.
8146 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8148 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8149 and add a few popular commands found in batch files.
8150 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8151 (dos-mode): Doc fixes.
8153 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8155 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8156 (dos-mode): Use setq-local. Add space after "rem".
8157 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8158 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8160 2013-08-07 Arni Magnusson <arnima@hafro.is>
8162 * progmodes/dos.el: New file.
8163 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8166 2013-08-06 Glenn Morris <rgm@gnu.org>
8168 * calendar/calendar.el: Add new faces, and day-header-array.
8169 (calendar-weekday-header, calendar-weekend-header)
8170 (calendar-month-header): New faces.
8171 (calendar-day-header-construct): New function.
8172 (calendar-day-header-width): Also :set calendar-day-header-array.
8173 (calendar-american-month-header, calendar-european-month-header)
8174 (calendar-iso-month-header): Use calendar- faces.
8175 (calendar-generate-month):
8176 Use calendar-day-header-array for day headers; apply faces to them.
8177 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8178 (calendar-abbrev-construct): Add optional maxlen argument.
8179 (calendar-day-name-array): Doc fix.
8180 (calendar-day-name-array, calendar-abbrev-length)
8181 (calendar-day-abbrev-array):
8182 Also :set calendar-day-header-array, and maybe redraw.
8183 (calendar-day-header-array): New option. (Bug#15007)
8184 (calendar-font-lock-keywords): Set to nil and make obsolete.
8185 (calendar-day-name): Add option to use header array.
8187 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8189 * net/shr.el (shr-render-td): Remove debugging.
8190 (shr-render-td): Make width computation consistent by defaulting
8191 all zero-width columns to 10 characters. This may not be optimal,
8192 but it's at least consistent.
8193 (shr-make-table-1): Redo last change to fix the real problem in
8196 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8198 * files.el (cache-long-line-scans):
8199 Make obsolete alias to `cache-long-scans'.
8201 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8203 * frameset.el (frameset, frameset-filter-alist)
8204 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8205 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8206 (frameset-compute-pos): Rename from frameset--compute-pos,
8208 (frameset-move-onscreen): Use frameset-compute-pos.
8209 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8211 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8212 Fix typos in docstrings.
8214 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8216 * frame.el (get-other-frame): Tiny cleanup.
8218 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8220 * vc/vc.el (vc-default-ignore-completion-table):
8221 Silence byte-compiler warning.
8223 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8224 slot, which can indeed be nil.
8225 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8226 Move entry for `left' from persistent to live filter alist.
8227 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8229 (frameset-filter-params): When restoring a frame, copy items added to
8230 `filtered', to avoid unwittingly modifying the original parameters.
8231 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8232 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8234 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8235 to use looking-at-p instead of looking-at. (Bug#15028)
8237 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8239 Revert introduction of isearch-filter-predicates (bug#14714).
8240 Rely on add-function instead.
8241 * isearch.el (isearch-filter-predicates): Rename it back to
8242 isearch-filter-predicate.
8243 (isearch-message-prefix): Use advice-function-mapc and advice
8244 properties to get the isearch-message-prefix.
8245 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8246 instead of run-hook-with-args-until-failure.
8247 (isearch-filter-visible): Not obsolete any more.
8248 * loadup.el: Preload nadvice.
8249 * replace.el (perform-replace): Revert to funcall
8250 instead of run-hook-with-args-until-failure.
8251 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8252 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8253 dired-isearch-filenames-toggle; make it into a proper minor mode.
8254 Use add/remove-function.
8255 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8256 Call the minor-mode rather than add/remove-hook.
8257 (dired-isearch-filter-filenames):
8258 Remove isearch-message-prefix property.
8259 * info.el (Info--search-loop): New function, extracted from Info-search.
8260 Funcall isearch-filter-predicate instead of
8261 run-hook-with-args-until-failure isearch-filter-predicates.
8262 (Info-search): Use it.
8263 (Info-mode): Use isearch-filter-predicate instead of
8264 isearch-filter-predicates.
8266 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8268 Do not call to `selected-window' where it is assumed by default.
8269 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8270 `window-hscroll', `window-width', `window-height', `window-buffer',
8271 `window-frame', `window-start', `window-point', `next-window'
8272 and `window-display-table'.
8273 * abbrev.el (abbrev--default-expand):
8274 * bs.el (bs--show-with-configuration):
8275 * buff-menu.el (Buffer-menu-mouse-select):
8276 * calc/calc.el (calc):
8277 * calendar/calendar.el (calendar-generate-window):
8278 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8280 * comint.el (send-invisible, comint-dynamic-complete-filename)
8281 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8282 * completion.el (complete):
8283 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8284 * disp-table.el (describe-current-display-table):
8285 * doc-view.el (doc-view-insert-image):
8286 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8287 * ehelp.el (with-electric-help):
8288 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8289 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8290 * emacs-lisp/helper.el (Helper-help-scroller):
8291 * emulation/cua-base.el (cua--post-command-handler-1):
8292 * eshell/esh-mode.el (eshell-output-filter):
8293 * ffap.el (ffap-gnus-wrapper):
8294 * help-macro.el (make-help-screen):
8295 * hilit-chg.el (highlight-compare-buffers):
8296 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8297 * hl-line.el (global-hl-line-highlight):
8298 * icomplete.el (icomplete-simple-completing-p):
8299 * isearch.el (isearch-done):
8300 * jit-lock.el (jit-lock-stealth-fontify):
8301 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8302 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8303 * mpc.el (mpc-tagbrowser, mpc):
8304 * net/rcirc.el (rcirc-any-buffer):
8305 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8306 * play/landmark.el (landmark-max-width, landmark-max-height):
8307 * play/zone.el (zone):
8308 * progmodes/compile.el (compilation-goto-locus):
8309 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8310 * progmodes/etags.el (find-tag-other-window):
8311 * progmodes/fortran.el (fortran-column-ruler):
8312 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8313 * progmodes/verilog-mode.el (verilog-point-text):
8314 * reposition.el (reposition-window):
8315 * rot13.el (toggle-rot13-mode):
8316 * server.el (server-switch-buffer):
8317 * shell.el (shell-dynamic-complete-command)
8318 (shell-dynamic-complete-environment-variable):
8319 * simple.el (insert-buffer, set-selective-display)
8320 (delete-completion-window):
8321 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8322 (speedbar-recenter):
8323 * startup.el (fancy-splash-head):
8324 * textmodes/ispell.el (ispell-command-loop):
8325 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8326 * tutorial.el (help-with-tutorial):
8327 * vc/add-log.el (add-change-log-entry):
8328 * vc/compare-w.el (compare-windows):
8329 * vc/ediff-help.el (ediff-indent-help-message):
8330 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8331 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8332 (ediff-setup-control-frame):
8333 * vc/emerge.el (emerge-position-region):
8334 * vc/pcvs-util.el (cvs-bury-buffer):
8335 * window.el (walk-windows, mouse-autoselect-window-select):
8336 * winner.el (winner-set-conf, winner-undo): Related users changed.
8338 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8340 * frameset.el (frameset--set-id): Doc fix.
8341 (frameset-frame-id, frameset-frame-id-equal-p)
8342 (frameset-locate-frame-id): New functions.
8343 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8344 (frameset-restore): Use them.
8346 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8348 Do not call to `selected-frame' where it is assumed by default.
8349 Affected functions are `raise-frame', `redraw-frame',
8350 `frame-first-window', `frame-terminal' and `delete-frame'.
8351 * calendar/appt.el (appt-disp-window):
8352 * epg.el (epg-wait-for-completion):
8353 * follow.el (follow-delete-other-windows-and-split)
8354 (follow-avoid-tail-recenter):
8355 * international/mule.el (set-terminal-coding-system):
8356 * mail/rmail.el (rmail-mail-return):
8357 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8358 * progmodes/f90.el (f90-add-imenu-menu):
8359 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8360 * server.el (server-switch-buffer):
8361 * simple.el (delete-completion-window):
8363 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8364 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8365 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8366 * vc/ediff.el (ediff-documentation): Related users changed.
8367 * frame.el (selected-terminal): Remove the leftover.
8369 2013-08-05 Glenn Morris <rgm@gnu.org>
8371 * calendar/calendar.el (calendar-generate-month):
8372 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8373 (calendar-generate-month, calendar-font-lock-keywords):
8374 Fix for calendar-day-header-width > length of any day name.
8376 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8378 * desktop.el (desktop-clear): Use new name of sort predicate.
8380 * frameset.el (frameset): Add docstring. Move :version property to its
8382 (frameset-copy): Rename from copy-frameset.
8383 (frameset-p): Check more thoroughly.
8384 (frameset-prop): Do not check for :version, which is no longer a prop.
8385 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8386 Use new :never value instead of t.
8387 (frameset-filter-alist): Expand and clarify docstring.
8388 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8389 (frameset-filter-minibuffer, frameset-filter-save-param)
8390 (frameset-filter-restore-param, frameset-filter-iconified):
8391 Add pointer to docstring of frameset-filter-alist.
8392 (frameset-filter-params): Rename filter values to be more meaningful:
8393 :never instead of t, and reverse the meanings of :save and :restore.
8394 (frameset--process-minibuffer-frames): Clarify error message.
8395 (frameset-save): Avoid unnecessary and confusing call to framep.
8396 Use new BOA constructor for framesets.
8397 (frameset--reuse-list): Doc fix.
8398 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8399 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8400 (frameset-minibufferless-first-p): Doc fix.
8401 Rename from frameset-sort-frames-for-deletion.
8402 (frameset-restore): Doc fixes. Use new function names.
8403 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8405 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8407 * desktop.el (desktop-restore-forces-onscreen)
8408 (desktop-restore-reuses-frames): Document :keyword constant values.
8409 (desktop-filter-parameters-alist): Remove, now identical to
8410 frameset-filter-alist.
8411 (desktop--filter-tty*): Remove, moved to frameset.el.
8412 (desktop-save-frameset, desktop-restore-frameset):
8413 Do not pass :filters argument.
8415 * frameset.el (frameset-live-filter-alist)
8416 (frameset-persistent-filter-alist): New variables.
8417 (frameset-filter-alist): Use them. Add autoload cookie.
8418 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8419 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8420 `frameset--id' (it's supposed to be internal to frameset.el).
8421 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8422 (frameset--initial-params): New function.
8423 (frameset--get-frame): Use it. Doc fix.
8424 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8425 Accept :all, not 'all.
8426 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8427 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8428 with fbound symbols. Fix frame id matching, and remove matching ids if
8429 the frame being restored is deleted. Obey :delete.
8431 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * subr.el (macrop): New function.
8434 (text-clone--maintaining): New var.
8435 (text-clone--maintain): Rename from text-clone-maintain. Use it
8436 instead of inhibit-modification-hooks.
8438 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8439 a proxy, so as handle autoloads and redefinitions of the target.
8440 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8442 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8443 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8444 (pcase--mutually-exclusive-p): New function.
8445 (pcase--split-consp): Use it.
8446 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8447 mutually exclusive with the current predicate.
8449 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8450 (edebug-macrop): Remove. Use `macrop' instead.
8451 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8453 * eshell/esh-cmd.el (eshell-macrop):
8454 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8456 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8458 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8459 (advice-mapc): New function, using it.
8460 (advice-function-member-p): New function.
8461 (advice--normalize): Store the cdr in advice--saved-rewrite since
8462 that's the part that will be changed.
8463 (advice--symbol-function): New function.
8464 (advice-remove): Handle removal before the function is defined.
8465 Adjust to new advice--saved-rewrite.
8466 (advice-member-p): Use advice-function-member-p and
8467 advice--symbol-function.
8469 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8471 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8472 (frameset-filter-minibuffer): Doc fix.
8473 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8474 (frameset--set-id, frameset--process-minibuffer-frames)
8475 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8476 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8478 * desktop.el (desktop-clear): Only delete frames when called
8479 interactively and desktop-restore-frames is non-nil. Doc fix.
8480 (desktop-read): Set desktop-saved-frameset to nil.
8482 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8484 * vc/vc.el (vc-ignore): Rewrite.
8485 (vc-default-ignore-completion-table, vc--read-lines)
8486 (vc--add-line, vc--remove-regexp): New functions.
8488 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8489 (vc-svn-ignore-completion-table): New function.
8491 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8492 (vc-hg-ignore-completion-table)
8493 (vc-hg-find-ignore-file): New functions.
8495 * vc/vc-git.el (vc-git-ignore): Rewrite.
8496 (vc-git-ignore-completion-table)
8497 (vc-git-find-ignore-file): New functions.
8499 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8501 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8502 (vc-bzr-ignore-completion-table)
8503 (vc-bzr-find-ignore-file): New functions.
8505 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8507 * frameset.el (frameset-prop): New function and setter.
8508 (frameset-save): Do not modify frame list passed by the caller.
8510 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8512 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8514 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8516 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8517 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8519 * custom.el (custom-initialize-default, custom-initialize-set)
8520 (custom-initialize-reset, custom-initialize-changed): Affect the
8521 toplevel-default-value (bug#6275, bug#14586).
8522 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8525 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8527 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8528 Add cl-def* expressions.
8530 * frameset.el (frameset-filter-params): Fix order of arguments.
8532 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8534 Move code related to saving frames to frameset.el.
8535 * desktop.el: Require frameset.
8536 (desktop-restore-frames): Doc fix.
8537 (desktop-restore-reuses-frames): Rename from
8538 desktop-restoring-reuses-frames.
8539 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8540 (desktop-clear): Clear frames too.
8541 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8542 (desktop--filter-tty*, desktop-save, desktop-read):
8543 Use frameset functions.
8544 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8545 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8546 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8547 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8548 (desktop--process-minibuffer-frames, desktop-save-frames)
8549 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8550 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8551 (desktop--sort-states, desktop-restoring-frames-p)
8552 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8553 (desktop-restoring-frameset-p, desktop-restore-frameset)
8554 (desktop--check-dont-save, desktop-save-frameset): New functions.
8555 (desktop--app-id): New constant.
8556 (desktop-first-buffer, desktop-buffer-ok-count)
8557 (desktop-buffer-fail-count): Move before first use.
8558 * frameset.el: New file.
8560 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8562 * files.el: Use lexical-binding.
8563 (dir-locals-read-from-file): Remove unused `err' variable.
8564 (hack-dir-local-variables--warned-coding): New var.
8565 (hack-dir-local-variables): Use it to avoid repeated warnings.
8566 (make-backup-file-name--default-function): New function.
8567 (make-backup-file-name-function): Use it as default.
8568 (buffer-stale--default-function): New function.
8569 (buffer-stale-function): Use it as default.
8570 (revert-buffer-insert-file-contents--default-function): New function.
8571 (revert-buffer-insert-file-contents-function): Use it as default.
8572 (insert-directory): Avoid add-to-list.
8574 * autorevert.el (auto-revert-handler): Simplify.
8575 Use buffer-stale--default-function.
8577 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8579 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8581 * whitespace.el (whitespace-ensure-local-variables): New function.
8582 (whitespace-cleanup-region): Call it.
8583 (whitespace-turn-on): Call it.
8585 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8587 Complete file name handlers.
8589 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8590 (tramp-handle-verify-visited-file-modtime)
8591 (tramp-handle-file-notify-rm-watch): New functions.
8592 (tramp-call-process): Do not bind `default-directory'.
8594 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8595 Order alphabetically.
8596 <access-file, add-name-to-file, dired-call-process>:
8597 <dired-compress-file, file-acl, file-notify-rm-watch>:
8598 <file-ownership-preserved-p, file-selinux-context>:
8599 <make-directory-internal, make-symbolic-link, set-file-acl>:
8600 <set-file-selinux-context, set-visited-file-modtime>:
8601 <verify-visited-file-modtime>: Add handler.
8602 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8604 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8605 <file-notify-add-watch, file-notify-rm-watch>:
8606 <set-file-times, set-visited-file-modtime>:
8607 <verify-visited-file-modtime>: Add handler.
8608 (with-tramp-gvfs-error-message)
8609 (tramp-gvfs-handle-set-visited-file-modtime)
8610 (tramp-gvfs-fuse-file-name): Remove.
8611 (tramp-gvfs-handle-file-notify-add-watch)
8612 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8613 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8615 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8616 Order alphabetically.
8617 <file-notify-rm-watch>: Use default Tramp handler.
8618 <executable-find>: Remove private handler.
8619 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8620 `default-directory'.
8621 (tramp-sh-handle-executable-find)
8622 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8623 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8624 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8625 Do not use `format' in `tramp-message'.
8627 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8628 <file-notify-rm-watch, set-visited-file-modtime>:
8629 <verify-visited-file-modtime>: Add handler.
8630 (tramp-smb-call-winexe): Do not bind `default-directory'.
8632 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8634 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8636 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8638 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8640 (log-view-diff-changeset): Same.
8641 (log-view-diff-common): Call backend command `previous-revision'
8642 to find out the previous revision, in both cases. Swap the
8643 variables `to' and `fr', so that `fr' usually refers to the
8644 earlier revision (Bug#14989).
8646 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8648 * ibuf-ext.el (ibuffer-filter-by-filename):
8649 Make it work with dired buffers too.
8651 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8653 * emacs-lisp/re-builder.el (reb-color-display-p):
8654 * files.el (save-buffers-kill-terminal):
8655 * net/browse-url.el (browse-url):
8656 * server.el (server-save-buffers-kill-terminal):
8657 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8658 Prefer nil to selected-frame for the first arg of frame-parameter.
8660 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8662 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8664 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8666 * minibuffer.el (completion--twq-all): Try and preserve each
8667 completion's case choice (bug#14907).
8669 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8671 * net/network-stream.el (open-network-stream): Mention the new
8672 :nogreeting parameter.
8673 (network-stream-open-starttls): Use the :nogreeting parameter
8676 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8678 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8679 more natural than popping.
8681 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8682 (shr-urlify): Highlight under mouse.
8684 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8686 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8688 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8690 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8693 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8694 point-min==1. Fix search string. Fix parentheses missing.
8696 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8697 assume point-min==1. Fix search string. Fix parentheses missing.
8699 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8701 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8704 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8706 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8707 initial frame is minibuffer-less. (Bug#14841)
8709 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8711 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8714 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8715 (tramp-maybe-open-connection): Use it.
8717 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8719 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8720 minimal set of parameters passed when creating a frame, because
8721 the minibuffer status of a frame cannot be changed later.
8723 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8725 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8726 replace-regexp-in-string and inadvertent omissions in previous change.
8727 (todo-filter-items): Ensure only file names are comma-separated in
8728 name of filtered items buffer.
8730 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8732 * desktop.el: Optionally force offscreen frames back onscreen.
8733 (desktop-restoring-reuses-frames): New option.
8734 (desktop--compute-pos, desktop--move-onscreen): New functions.
8735 (desktop--make-frame): Use desktop--move-onscreen.
8737 2013-07-27 Alan Mackenzie <acm@muc.de>
8739 Fontify a Java generic method as a function.
8740 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8743 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8745 * calendar/todo-mode.el: Add command to rename todo files.
8746 (todo-rename-file): New command.
8747 (todo-key-bindings-t): Add key binding for it. Change the
8748 bindings of todo-filter-regexp-items(-multifile) to use `x'
8749 instead of `r', since the latter is better suited to the new
8752 2013-07-27 Alan Mackenzie <acm@muc.de>
8754 Make Java try-with-resources statement parse properly.
8755 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8756 (c-block-stmt-1-2-key): New language constants/variables.
8757 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8758 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8759 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8760 with c-block-stmt-1-2-key.
8762 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8764 * desktop.el (desktop--make-frame): Apply most frame parameters after
8765 creating the frame to force (partially or totally) offscreen frames to
8766 be restored as such.
8768 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8770 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8773 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8775 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8776 `base' arg of backtrace-frame.
8778 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8780 * simple.el (list-processes): Doc fix.
8782 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8784 * desktop.el (desktop--select-frame):
8785 Try harder to reuse existing frames.
8787 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8790 (edebug-eval): Use backtrace-eval.
8791 (edebug--display, edebug--recursive-edit): Don't let-bind the
8792 edebug-outer-* vars that keep track of variables we locally let-bind.
8793 (edebug-outside-excursion): Don't restore outside values of locally
8795 (edebug--display): Use user-error.
8796 (cl-lexical-debug, cl-debug-env): Remove.
8798 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8800 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8801 are restored to be sure that they are visible before deleting any
8804 2013-07-26 Matthias Meulien <orontee@gmail.com>
8806 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8807 vc-print-root-log. (Bug#14948)
8809 2013-07-26 Richard Stallman <rms@gnu.org>
8811 Add aliases for encrypting mail.
8812 * epa.el (epa-mail-aliases): New option.
8813 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8814 Bind inhibit-read-only so read-only text doesn't ruin everything.
8815 (epa-mail-default-recipients): New subroutine broken out.
8816 Handle epa-mail-aliases.
8818 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8820 Add support for lexical variables to the debugger's `e' command.
8821 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8822 vars, except for debugger-outer-match-data.
8823 (debugger-frame-number): Move check for "on a function call" from
8824 callers into it. Add `skip-base' argument.
8825 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8826 (debugger-env-macro): Only reset the state stored in non-variables,
8827 i.e. current-buffer and match-data.
8828 (debugger-eval-expression): Rewrite using backtrace-eval.
8829 * subr.el (internal--called-interactively-p--get-frame): Remove.
8830 (called-interactively-p):
8831 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8832 `base' arg of backtrace-frame instead.
8834 2013-07-26 Glenn Morris <rgm@gnu.org>
8836 * align.el (align-regexp): Doc fix. (Bug#14857)
8837 (align-region): Explicit error if subexpression missing/does not match.
8839 * simple.el (global-visual-line-mode):
8840 Do not duplicate the mode lighter. (Bug#14858)
8842 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8844 * window.el (display-buffer): In display-buffer bind
8845 split-window-keep-point to t, bug#14829.
8847 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8849 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8850 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8851 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8852 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8854 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8855 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8857 2013-07-25 Glenn Morris <rgm@gnu.org>
8859 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8861 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8863 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8864 parameter to modify-frame-parameters if the value has not changed;
8865 this is a workaround for bug#14949.
8866 (desktop--make-frame): On cl-delete-if call, check parameter name,
8869 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8871 * vc/vc.el (vc-ignore): New function.
8873 * vc/vc-svn.el (vc-svn-ignore): New function.
8875 * vc/vc-hg.el (vc-hg-ignore): New function.
8877 * vc/vc-git.el (vc-git-ignore): New function.
8879 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8880 (vc-dir-ignore): New function.
8882 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8883 (cvs-append-to-ignore): Move here from pcvs.el.
8885 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8887 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8889 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8891 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8892 (desktop-restore-frames): Warn when deleting an existing frame failed.
8894 2013-07-24 Glenn Morris <rgm@gnu.org>
8896 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8898 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8900 * filenotify.el (file-notify-supported-p):
8901 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8904 * autorevert.el (auto-revert-use-notify)
8905 (auto-revert-notify-add-watch):
8906 * net/tramp.el (tramp-file-name-for-operation):
8907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8908 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8909 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8910 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8911 Remove `file-notify-supported-p' entry.
8913 2013-07-24 Glenn Morris <rgm@gnu.org>
8915 * printing.el: Replace all uses of deleted ps-windows-system,
8916 ps-lp-system, ps-flatten-list with lpr- versions.
8918 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8920 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8921 checked with memq (bug#14935).
8923 * files.el (revert-buffer-function): Use a non-nil default.
8924 (revert-buffer-preserve-modes): Declare var to
8925 provide access to the `preserve-modes' argument.
8926 (revert-buffer): Let-bind it.
8927 (revert-buffer--default): New function, extracted from revert-buffer.
8929 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8931 * lpr.el: Signal print errors more prominently.
8932 (print-region-function): Don't default to nil.
8933 (lpr-print-region): New function, extracted from print-region-1.
8934 Check lpr's return value and signal an error in case of problem.
8935 (print-region-1): Use it.
8936 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8938 (ps-printer-name): Default to nil.
8939 (ps-printer-name-option): Default to lpr-printer-switch.
8940 (ps-print-region-function): Don't default to nil.
8941 (ps-postscript-code-directory): Simplify default.
8942 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8943 (ps-string-list, ps-eval-switch, ps-flatten-list)
8944 (ps-flatten-list-1): Remove.
8945 (ps-multibyte-buffer): Avoid setq.
8946 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8947 (print-region-function, ps-print-region-function): Don't set them here.
8949 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8951 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8952 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8953 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8954 (ido-decorations): Doc fix.
8956 * ansi-color.el: Fix old URL.
8958 2013-07-23 Michael R. Mauger <michael@mauger.com>
8960 * progmodes/sql.el: Version 3.3
8961 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8962 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8963 (sql-interactive-remove-continuation-prompt): Rewrite, use
8964 functions above. Fix continuation prompt and complete output line
8966 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8967 redirected output buffer.
8968 (sql-mode): Restore deleted code (Bug#13591).
8970 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8972 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8974 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8976 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8978 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8980 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8982 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8984 * desktop.el (desktop-clear): Simplify; remove useless checks
8985 against invalid buffer names.
8986 (desktop-list*): Use cl-list*.
8987 (desktop-buffer-info, desktop-create-buffer): Simplify.
8989 2013-07-23 Leo Liu <sdl.web@gmail.com>
8991 * bookmark.el (bookmark-make-record): Restore NAME as a default
8994 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8997 extracted from autoload--insert-text.
8998 (autoload--insert-text): Remove.
8999 (autoload--print-cookie-text): New function, extracted from
9000 autoload--insert-cookie-text.
9001 (autoload--insert-cookie-text): Remove.
9002 (autoload-generate-file-autoloads): Adjust calls accordingly.
9004 * winner.el (winner-hook-installed-p): Remove.
9005 (winner-mode): Simplify accordingly.
9007 * subr.el (add-to-list): Fix compiler-macro when `append' is
9008 not constant. Don't use `cl-member' for the base case.
9010 * progmodes/subword.el: Fix boundary case (bug#13758).
9011 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
9013 (subword-backward-regexp): Make it a constant.
9014 (subword-forward-internal): Don't treat a trailing capital as the
9015 beginning of a word.
9017 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
9019 * emacs-lisp/package.el (package-menu-mode): Don't modify the
9020 global value of tabulated-list-revert-hook (bug#14930).
9022 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
9024 * desktop.el: Require 'cl-lib.
9025 (desktop-before-saving-frames-functions): New hook.
9026 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
9027 for frames being saved. Rename from desktop--save-minibuffer-frames.
9028 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
9029 Do not save frames with non-nil `desktop-dont-save' parameter.
9030 Filter out deleted frames.
9031 (desktop--find-frame): Use cl-find-if.
9032 (desktop--select-frame): Use cl-(first|second|third) to access values
9034 (desktop--make-frame): Use cl-delete-if.
9035 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
9036 (desktop-restore-frames): Use cl-(first|second|third) to access values
9037 of desktop-mini. Look for visible frame at the end, not while
9040 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
9041 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
9042 Use string-match-p, looking-at-p (bug#14927).
9044 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
9046 * desktop.el (desktop-saved-frame-states):
9047 Rename from desktop--saved-states; all users changed.
9048 (desktop-save-frames): Rename from desktop--save-frames.
9049 Do not save state to desktop file.
9050 (desktop-save): Save desktop-saved-frame-states to desktop file
9052 (desktop-restoring-frames-p): New function.
9053 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
9054 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
9055 buffer-lists when restoring frames. Suggested by Martin Rudalics.
9057 * desktop.el: Correctly restore iconified frames.
9058 (desktop--filter-iconified-position): New function.
9059 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
9061 2013-07-20 Glenn Morris <rgm@gnu.org>
9063 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
9064 Let `message' do the formatting.
9065 (def-gdb-preempt-display-buffer): Add explicit format.
9067 * image-dired.el (image-dired-track-original-file):
9068 Use with-current-buffer.
9069 (image-dired-track-thumbnail): Use with-current-buffer.
9070 Avoid changing point of wrong window.
9072 * image-dired.el (image-dired-track-original-file):
9073 Avoid changing point of wrong window. (Bug#14909)
9075 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
9077 * progmodes/gdb-mi.el (gdb-done-or-error):
9078 Guard against "%" in gdb output. (Bug#14127)
9080 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
9082 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
9085 * international/mule.el (coding-system-iso-2022-flags): Fix last
9088 2013-07-20 Kenichi Handa <handa@gnu.org>
9090 * international/mule.el (coding-system-iso-2022-flags):
9091 Add `8-bit-level-4'. (Bug#8522)
9093 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9095 * net/shr.el (shr-mouse-browse-url): New command and keystroke
9098 * net/eww.el (eww-process-text-input): Allow inputting when the
9099 point is at the start of the line, as the properties aren't
9102 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
9105 2013-07-19 Richard Stallman <rms@gnu.org>
9107 * epa.el (epa-popup-info-window): Doc fix.
9109 * subr.el (split-string): New arg TRIM.
9111 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
9113 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
9114 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
9116 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
9118 * filenotify.el (file-notify--library): Rename from
9119 `file-notify-support'. Do not autoload. Adapt all uses.
9120 (file-notify-supported-p): New defun.
9122 * autorevert.el (auto-revert-use-notify):
9123 Use `file-notify-supported-p' instead of `file-notify-support'.
9125 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
9127 * net/tramp.el (tramp-file-name-for-operation):
9128 Add `file-notify-supported-p'.
9130 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
9132 (tramp-sh-file-name-handler-alist): Add it as handler for
9133 `file-notify-supported-p '.
9135 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9136 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9137 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9138 Add `ignore' as handler for `file-notify-*' functions.
9140 2013-07-17 Eli Zaretskii <eliz@gnu.org>
9142 * simple.el (line-move-partial, line-move): Don't start vscroll or
9143 scroll-up if the current line is not taller than the window.
9146 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9148 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9149 highlight question marks in the method names as strings.
9150 (ruby-block-beg-keywords): Inline.
9151 (ruby-font-lock-keyword-beg-re): Extract from
9152 `ruby-font-lock-keywords'.
9154 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9156 * frame.el (blink-cursor-blinks): New defcustom.
9157 (blink-cursor-blinks-done): New defvar.
9158 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9159 (blink-cursor-timer-function): Check if number of blinks has been
9161 (blink-cursor-suspend, blink-cursor-check): New defuns.
9163 2013-07-15 Glenn Morris <rgm@gnu.org>
9165 * edmacro.el (edmacro-format-keys): Fix previous change.
9167 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9169 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9170 The hack didn't work outside English locales anyway.
9172 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9174 * simple.el (define-alternatives): Rename from alternatives-define,
9175 per RMS' suggestion.
9177 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9179 * desktop.el (desktop-restore-frames): Change default to t.
9180 (desktop-restore-in-current-display): Now offer more options.
9181 (desktop-restoring-reuses-frames): New customization option.
9182 (desktop--saved-states): Doc fix.
9183 (desktop-filter-parameters-alist): New variable, renamed and expanded
9184 from desktop--excluded-frame-parameters.
9185 (desktop--target-display): New variable.
9186 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9187 (desktop--filter-tty*, desktop--filter-*-color)
9188 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9189 (desktop--filter-save-desktop-parm)
9190 (desktop-restore-in-original-display-p): New functions.
9191 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9192 (desktop--save-minibuffer-frames): New function, inspired by a similar
9193 function from Martin Rudalics.
9194 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9195 (desktop--restore-in-this-display-p): Remove.
9196 (desktop--find-frame): Rename from desktop--find-frame-in-display
9197 and add predicate argument.
9198 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9199 (desktop--reuse-list): New variable.
9200 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9202 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9204 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9206 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9208 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9210 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9211 Highlight conversion methods on Kernel.
9213 2013-07-13 Alan Mackenzie <acm@muc.de>
9215 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9216 and comment it out. This out-commenting enables certain C++
9217 declarations to be parsed correctly.
9219 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9221 * international/mule.el (define-coding-system): Doc fix.
9223 * simple.el (default-font-height): Don't call font-info if the
9224 frame's default font didn't change since the frame was created.
9227 2013-07-13 Leo Liu <sdl.web@gmail.com>
9229 * ido.el (ido-read-file-name): Guard against non-symbol value.
9231 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9233 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9236 2013-07-13 Leo Liu <sdl.web@gmail.com>
9238 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9239 ido-set-matches call. (Bug#6852)
9241 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9243 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9244 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9246 (ruby-font-lock-keywords): Distinguish calls to functions with
9247 module-like names from module references. Highlight character
9250 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9252 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9253 (gdb-send): Handle continued commands. (Bug#14847)
9255 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9257 * desktop.el (desktop--v2s): Remove unused local variable.
9258 (desktop-save-buffer): Make defvar-local; adjust docstring.
9259 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9260 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9262 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9264 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9266 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9268 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9271 2013-07-12 Glenn Morris <rgm@gnu.org>
9273 * doc-view.el: Require cl-lib at runtime too.
9274 (doc-view-remove-if): Remove.
9275 (doc-view-search-next-match, doc-view-search-previous-match):
9278 * edmacro.el: Require cl-lib at runtime too.
9279 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9280 (edmacro-mismatch, edmacro-subseq): Remove.
9282 * shadowfile.el: Require cl-lib.
9283 (shadow-remove-if): Remove.
9284 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9287 * wid-edit.el: Require cl-lib.
9288 (widget-choose): Use cl-remove-if.
9289 (widget-remove-if): Remove.
9291 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9292 (ebrowse-delete-if-not): Remove.
9293 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9294 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9295 Use cl-delete-if-not.
9297 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9299 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9300 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9302 2013-07-12 Leo Liu <sdl.web@gmail.com>
9304 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9306 2013-07-11 Glenn Morris <rgm@gnu.org>
9308 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9309 (edebug-gensym-index, edebug-gensym):
9310 Remove reimplementation of cl-gensym.
9311 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9313 * thumbs.el: Require cl-lib at run-time too.
9314 (thumbs-gensym-counter, thumbs-gensym):
9315 Remove reimplementation of cl-gensym.
9316 (thumbs-temp-file): Use cl-gensym.
9318 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9319 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9320 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9321 (ert--union, ert--gensym-counter, ert--gensym-counter)
9322 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9323 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9324 (ert-make-test-unbound, ert--expand-should-1)
9325 (ert--expand-should, ert--should-error-handle-error)
9326 (should-error, ert--explain-equal-rec)
9327 (ert--plist-difference-explanation, ert-select-tests)
9328 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9329 Use cl-lib functions rather than reimplementations.
9331 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9333 * net/tramp.el (tramp-methods): Extend docstring.
9334 (tramp-connection-timeout): New defcustom.
9335 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9336 (with-tramp-progress-reporter): Simplify.
9337 (tramp-process-actions): Improve messages.
9339 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9340 * net/tramp-sh.el (tramp-maybe-open-connection):
9341 Use `tramp-connection-timeout'.
9342 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9345 2013-07-11 Leo Liu <sdl.web@gmail.com>
9347 * ido.el (ido-read-file-name): Conform to the requirements of
9348 read-file-name. (Bug#11861)
9349 (ido-read-directory-name): Conform to the requirements of
9350 read-directory-name.
9352 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9354 * subr.el (delay-warning): New function.
9356 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9358 * simple.el (default-line-height): New function.
9359 (line-move-partial, line-move): Use it instead of computing the
9361 (line-move-partial): Always compute ROWH. If the last line is
9362 partially-visible, but its text is completely visible, allow
9363 cursor to enter such a partially-visible line.
9365 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9367 Improve error messages. (Bug#14808)
9369 * net/tramp.el (tramp-current-connection): New defvar, moved from
9371 (tramp-message-show-progress-reporter-message): Remove, not
9373 (tramp-error-with-buffer): Show message in minibuffer.
9374 Discard input before waiting. Reset connection timestamp.
9375 (with-tramp-progress-reporter): Improve messages.
9376 (tramp-process-actions): Use progress reporter. Delete process in
9377 case of error. Improve messages.
9379 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9380 Call `tramp-error-with-buffer' with vector and buffer.
9381 (tramp-current-connection): Remove.
9382 (tramp-maybe-open-connection): The car of
9383 `tramp-current-connection' are the first 3 slots of the vector.
9385 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9387 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9388 inside continued strings.
9390 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9392 Timestamp fixes for undo (Bug#14824).
9393 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9395 2013-07-10 Leo Liu <sdl.web@gmail.com>
9397 * files.el (require-final-newline): Allow safe local value.
9400 2013-07-09 Leo Liu <sdl.web@gmail.com>
9402 * ido.el (ido-read-directory-name): Handle fallback.
9403 (ido-read-file-name): Update DIR to ido-current-directory.
9405 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9407 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9409 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9410 "autoload". Remove "warn lower camel case" section, previously
9411 commented out. Highlight negation char. Do not highlight the
9412 target in singleton method definitions.
9414 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * faces.el (tty-setup-hook): Declare the hook.
9418 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9419 and detect when a guard/pred depends on local vars (bug#14773).
9420 (pcase--u1): Adjust caller.
9422 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9424 * simple.el (line-move-partial, line-move): Account for
9426 (line-move-partial): Avoid setting vscroll when the last
9427 partially-visible line in window is of default height.
9429 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9431 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9434 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9436 * subr.el (read-quoted-char): Remove unused local variable `char'.
9438 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9440 * ediff.el (ediff-version): Version update.
9441 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9442 (ediff-merge-with-ancestor-command, ediff-directories-command)
9443 (ediff-directories3-command, ediff-merge-directories-command)
9444 (ediff-merge-directories-with-ancestor-command): New functions.
9445 All are command-line interfaces to ediff: to facilitate calling
9446 Emacs with the appropriate ediff functions invoked.
9448 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9449 (viper-save-kill-buffer): Check if buffer is modified.
9451 * viper.el (viper-version): Version update.
9452 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9454 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9456 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9457 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9458 (viper-intercept-ESC-key): Simplify.
9459 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9460 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9461 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9462 (viper-setup-ESC-to-escape): New functions.
9463 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9464 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9466 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9468 * simple.el (default-font-height, window-screen-lines):
9470 (line-move, line-move-partial): Use them instead of
9471 frame-char-height and window-text-height. This makes scrolling
9472 text smoother when the buffer's default face uses a font that is
9473 different from the frame's default font.
9475 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9477 * files.el (write-file): Do not display confirm dialog for NS,
9478 it does its own dialog, which can't be canceled (Bug#14578).
9480 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9482 * simple.el (line-move-partial): Adjust the row returned by
9483 posn-at-point for the current window-vscroll. (Bug#14567)
9485 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9487 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9488 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9491 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9493 * window.el (window-state-put-stale-windows): New variable.
9494 (window--state-put-2): Save list of windows without matching buffer.
9495 (window-state-put): Remove "bufferless" windows if possible.
9497 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9499 * simple.el (alternatives-define): Remove leftover :group keyword.
9502 2013-07-06 Leo Liu <sdl.web@gmail.com>
9504 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9505 (ido-enable-virtual-buffers): New variable.
9506 (ido-buffer-internal, ido-toggle-virtual-buffers)
9507 (ido-make-buffer-list): Use it.
9508 (ido-exhibit): Support turning on and off virtual buffers
9511 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9513 * simple.el (alternatives-define): New macro.
9515 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9517 * subr.el (read-quoted-char): Use read-key.
9518 (sit-for): Let read-event decode tty input (bug#14782).
9520 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9522 * calendar/todo-mode.el: Add handling of file deletion, both by
9523 mode command and externally. Fix various related bugs.
9524 Clarify Commentary and improve some documentation strings and code.
9525 (todo-delete-file): New command.
9526 (todo-check-file): New function.
9527 (todo-show): Handle external deletion of the file we're trying to
9528 show (bug#14688). Replace called-interactively-p by an optional
9529 prefix argument to avoid problematic interaction with catch form
9530 when byte compiled (bug#14702).
9531 (todo-quit): Handle external deletion of the archive's todo file.
9532 Make sure the buffer that was visiting the archive file is still
9533 live before trying to bury it.
9534 (todo-category-completions): Handle external deletion of any
9535 category completion files.
9536 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9537 of todo files, in case of external deletion.
9538 (todo-add-file): Replace unnecessary setq by let-binding.
9539 (todo-find-archive): Check whether there are any archives.
9540 Replace unnecessary setq by let-binding.
9541 (todo-archive-done-item): Use find-file-noselect to get the
9542 archive buffer whether or not the archive already exists.
9543 Remove superfluous code. Use file size instead of buffer-file-name to
9544 check if the archive is new; if it is, update list of archives.
9545 (todo-default-todo-file): Allow nil to be a valid value for when
9546 there are no todo files.
9547 (todo-reevaluate-default-file-defcustom): Use corrected definition
9548 of todo-default-todo-file.
9549 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9550 (todo-delete-category, todo-show-categories-table)
9551 (todo-category-number): Clarify comment.
9552 (todo-filter-items): Clarify documentation string.
9553 (todo-show-current-file, todo-display-as-todo-file)
9554 (todo-reset-and-enable-done-separator): Tweak documentation string.
9555 (todo-done-separator): Make separator length window-width, since
9556 bug#2749 is now fixed.
9558 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9560 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9561 Support both "gvfs-monitor-dir" and "inotifywait".
9562 (tramp-sh-file-inotifywait-process-filter): Rename from
9563 `tramp-sh-file-notify-process-filter'.
9564 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9565 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9567 2013-07-05 Leo Liu <sdl.web@gmail.com>
9569 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9571 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9573 * frame.el (display-pixel-height, display-pixel-width)
9574 (display-mm-height, display-mm-width): Mention behavior on
9575 multi-monitor setups in docstrings.
9576 (w32-display-monitor-attributes-list): Declare function.
9577 (display-monitor-attributes-list): Use it.
9579 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9581 * filenotify.el: New package.
9583 * autorevert.el (top): Require filenotify.el.
9584 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9586 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9587 (auto-revert-notify-handler): Use `file-notify-*' functions.
9589 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9591 * net/tramp.el (tramp-file-name-for-operation):
9592 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9594 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9595 for `file-notify-add-watch' and `file-notify-rm-watch'.
9596 (tramp-process-sentinel): Improve trace.
9597 (tramp-sh-handle-file-notify-add-watch)
9598 (tramp-sh-file-notify-process-filter)
9599 (tramp-sh-handle-file-notify-rm-watch)
9600 (tramp-get-remote-inotifywait): New defuns.
9602 2013-07-03 Juri Linkov <juri@jurta.org>
9604 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9605 call of `occur-read-primary-args' to interactive spec.
9607 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9608 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9610 2013-07-03 Matthias Meulien <orontee@gmail.com>
9612 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9613 `Buffer-menu-multi-occur'. Add it to the menu.
9614 (Buffer-menu-mode): Document it in docstring.
9615 (Buffer-menu-multi-occur): New command. (Bug#14673)
9617 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9619 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9620 keywords and built-ins.
9622 2013-07-03 Glenn Morris <rgm@gnu.org>
9624 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9626 Make info-xref checks case-sensitive by default
9627 * info.el (Info-find-node, Info-find-in-tag-table)
9628 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9629 Add option for exact case matching of nodes.
9630 * info-xref.el (info-xref): New custom group.
9631 (info-xref-case-fold): New option.
9632 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9634 2013-07-03 Leo Liu <sdl.web@gmail.com>
9636 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9638 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9640 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9641 middle of block statement initially, lower the depth. Remove
9642 FIXME comment, not longer valid. Remove middle of block statement
9643 detection, no need to do that anymore since we've been using
9644 `ruby-parse-region' here.
9646 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9648 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9650 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9652 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9654 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9656 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9657 (desktop-restore-in-current-display): New customization option.
9658 (desktop--excluded-frame-parameters): Add `font'.
9659 (desktop--save-frames): Rename from desktop--save-windows.
9660 (desktop--restore-in-this-display-p): New function.
9661 (desktop--make-full-frame): Remove unwanted width/height from
9662 full(width|height) frames.
9663 (desktop--restore-frames): Rename from desktop--restore-windows.
9664 Obey desktop-restore-current-display. Do not delete old frames or
9665 select a new frame unless we were able to restore at least one frame.
9667 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9669 * files.el (find-file-noselect): Simplify conditional expression.
9671 * textmodes/remember.el (remember-append-to-file):
9672 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9674 Add `remember-notes' function to store random notes across Emacs
9676 * textmodes/remember.el (remember-data-file): Add :set callback to
9677 affect notes buffer (if any).
9678 (remember-notes): New command.
9679 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9680 New defcustoms for the `remember-notes' function.
9681 (remember-notes-save-and-bury-buffer): New command.
9682 (remember-notes-mode-map): New variable.
9683 (remember-mode): New minor mode.
9684 (remember-notes--kill-buffer-query): New function.
9685 * startup.el (initial-buffer-choice): Add notes to custom type.
9687 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9689 * bindings.el (right-char, left-char): Don't call sit-for, this is
9690 no longer needed. Use arithmetic comparison only for numerical
9693 * international/mule-cmds.el (select-safe-coding-system):
9694 Handle the case of FROM being a string correctly. (Bug#14755)
9696 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9698 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9699 progression on degenerate tables.
9700 (shr-rescale-image): ImageMagick animated images currently don't work.
9702 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9704 Some fixes and improvements for desktop frame restoration.
9705 It is still experimental and disabled by default.
9706 * desktop.el (desktop--save-windows): Put the selected frame at
9707 the head of the list.
9708 (desktop--make-full-frame): New function.
9709 (desktop--restore-windows): Try to re-select the frame that was
9710 selected upon saving. Do not abort if some frames fail to restore,
9711 just show an error message and continue. Set up maximized frames
9712 so they have default non-maximized dimensions.
9714 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9716 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9717 Don't start heredoc inside a string or comment.
9719 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9721 * bindings.el (visual-order-cursor-movement): New defcustom.
9722 (right-char, left-char): Provide visual-order cursor motion by
9723 calling move-point-visually. Update the doc strings.
9725 2013-06-28 Kenichi Handa <handa@gnu.org>
9727 * international/mule.el (define-coding-system): New coding system
9728 properties :inhibit-null-byte-detection,
9729 :inhibit-iso-escape-detection, and :prefer-utf-8.
9730 (set-buffer-file-coding-system): If :charset-list property of
9731 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9732 appropriate for setting.
9734 * international/mule-cmds.el (select-safe-coding-system):
9735 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9736 multibyte characters, return utf-8 (or one of its siblings).
9738 * international/mule-conf.el (prefer-utf-8): New coding system.
9739 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9742 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9744 * net/shr.el (shr-render-region): New function.
9746 * net/eww.el: Autoload `eww-browse-url'.
9748 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9750 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9751 Adapt to `package-desc-version' being a list.
9752 Use `package--ac-desc-version' to retrieve version from a package
9755 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9757 New experimental feature to save&restore window and frame setup.
9758 * desktop.el (desktop-save-windows): New defcustom.
9759 (desktop--saved-states): New var.
9760 (desktop--excluded-frame-parameters): New defconst.
9761 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9762 (desktop--restore-windows, desktop--save-windows): New functions.
9763 (desktop-save): Call `desktop--save-windows'.
9764 (desktop-read): Call `desktop--restore-windows'.
9766 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9768 * net/shr.el (add-face-text-property): Remove compat definition.
9770 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9772 * info.el (Info-try-follow-nearest-node): Move search for footnote
9773 above search for node name to prevent missing a footnote (bug#14717).
9775 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9777 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9779 2013-06-27 Leo Liu <sdl.web@gmail.com>
9781 * net/eww.el (eww-read-bookmarks): Check file size.
9783 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9785 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9786 advice--pending if newdef is nil or an autoload (bug#13820).
9787 (advice-mapc): New function.
9789 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9791 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9793 (eww-mode-map): Add a menu bar.
9794 (eww-add-bookmark): New command.
9795 (eww-bookmark-mode): New mode and commands.
9796 (eww-add-bookmark): Remove newlines from the title.
9797 (eww-bookmark-browse): Don't bug out if it's the only window.
9799 2013-06-26 Glenn Morris <rgm@gnu.org>
9801 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9802 (hfy-size): Handle ttys. (Bug#14668)
9804 * info-xref.el: Update for Texinfo 5 change in *note format.
9805 (info-xref-node-re, info-xref-note-re): New constants.
9806 (info-xref-check-buffer): Use info-xref-note-re.
9808 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9810 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9812 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9813 nil terminate the loop (bug#14718).
9815 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9817 * net/eww.el: Rework history traversal. When going forward/back,
9818 put these actions into the history, too, so that they can be
9820 (eww-render): Move the history reset to the correct buffer.
9822 2013-06-25 Juri Linkov <juri@jurta.org>
9824 * files-x.el (modify-dir-local-variable): Change the header comment
9825 in the file with directory local variables. (Bug#14692)
9827 * files-x.el (read-file-local-variable-value): Add `default'.
9830 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9832 * net/eww.el (eww-make-unique-file-name): Create a unique file
9833 name before saving to entering `y' accidentally asynchronously.
9835 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9837 * net/eww.el (eww-download): New command and keystroke.
9839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9841 * net/eww.el (eww-copy-page-url): Change name of command.
9843 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9844 be more consistent with Info and dired.
9846 * net/eww.el (eww-mode-map): Ditto.
9848 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9851 packages from archives.
9852 (package-archive-contents): Change format; include obsolete packages.
9853 (package-desc): Use `dir' to mark builtin packages.
9854 (package--from-builtin): Set the `dir' field to `builtin'.
9855 (generated-autoload-file, version-control): Declare.
9856 (package-compute-transaction): Change first arg and return value to be
9857 lists of package-descs. Adjust to new package-archive-contents format.
9858 (package--add-to-archive-contents): Adjust to new
9859 package-archive-contents format.
9860 (package-download-transaction): Arg is now a list of package-descs.
9861 (package-install): If `pkg' is a package name, pass it as
9862 a requirement, so it is subject to the usual (e.g. disabled) checks.
9863 (describe-package): Accept package-desc as well.
9864 (describe-package-1): Describe a specific package-desc. Add links to
9865 other package-descs for the same package name.
9866 (package-menu-describe-package): Pass the actual package-desc.
9867 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9869 (package-desc-status): New function.
9870 (package-menu--refresh): New function, extracted
9871 from package-menu--generate.
9872 (package-menu--generate): Use it.
9873 (package-delete): Update package-alist.
9874 (package-menu-execute): Don't call package-initialize.
9876 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9877 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9878 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9879 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9880 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9881 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9883 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9885 * window.el (window--state-get-1): Workaround for bug#14527.
9886 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9888 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9890 * net/eww.el (eww-back-url): Implement the history by stashing all
9891 the data into a list.
9892 (eww-forward-url): Allow going forward in the history, too.
9894 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9896 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9897 for values and use read--expression for expressions (bug#14710).
9898 (read-file-local-variable): Avoid setq.
9899 (read-file-local-variable-mode): Use minor-mode-list.
9901 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9903 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9906 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9908 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9909 Update imenu-support when dialect changes.
9911 2013-06-25 Leo Liu <sdl.web@gmail.com>
9913 * ido.el (ido-read-internal): Allow forward slash on windows.
9915 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9917 * net/eww.el (eww): Start of strings is \\`, not ^.
9919 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9921 * net/shr.el (shr-browse-url): Fix interactive spec.
9923 * net/eww.el (eww): Add a trailing slash to domain names.
9925 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9927 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9929 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9931 * net/shr.el (shr-browse-url): Use an external browser if given a
9934 * net/eww.el (eww-external-browser): Move to shr.
9936 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9938 * net/eww.el (eww): Work more correctly for file: URLs.
9939 (eww-detect-charset): Allow quoted charsets.
9940 (eww-yank-page-url): New command and keystroke.
9942 2013-06-24 Daiki Ueno <ueno@gnu.org>
9944 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9945 file name of gpg executable.
9946 (epg-context-program): New function.
9947 (epg-context-home-directory): New function.
9948 (epg-context-set-program): New function.
9949 (epg-context-set-home-directory): New function.
9950 (epg--start): Use `epg-context-program' instead of
9952 (epg--list-keys-1): Likewise.
9954 2013-06-24 Leo Liu <sdl.web@gmail.com>
9956 * ido.el (ido-read-internal): Fix bug#14620.
9958 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9960 * faces.el (face-documentation): Simplify.
9961 (read-face-attribute, tty-find-type, x-resolve-font-name):
9962 Use `string-match-p'.
9963 (list-faces-display): Use `string-match-p'. Simplify.
9964 (face-spec-recalc): Check face to avoid face alias loops.
9965 (read-color): Use `string-match-p' and non-capturing parenthesis.
9967 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9969 * net/shr.el (shr-rescale-image): Use the new
9970 :max-width/:max-height functionality.
9972 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9974 * net/eww.el (eww-search-prefix): New variable.
9976 (eww-external-browser): New variable.
9977 (eww-mode-map): New keystroke.
9978 (eww-browse-with-external-browser): New command.
9980 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9982 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9984 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9985 Don't skip aligning the next header field when padding is 0;
9986 otherwise, field width is not respected unless the title is as
9989 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9991 * emacs-lisp/package.el (package-el-version): Remove.
9992 (package-process-define-package): Fix inf-loop.
9993 (package-install): Allow symbols as arguments again.
9995 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9997 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9998 add some more keyword-like methods.
9999 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
10001 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
10003 * bs.el (bs-buffer-show-mark): Make defvar-local.
10004 (bs-mode): Use setq-local.
10006 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
10007 (emacs-lock--try-unlocking): Make defvar-local.
10009 2013-06-22 Glenn Morris <rgm@gnu.org>
10011 * play/cookie1.el (cookie-apropos): Minor simplification.
10013 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
10015 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
10017 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
10018 `regexp-opt', it breaks the build during dumping.
10020 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
10022 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10023 Highlight keyword-like methods on Kernel and Module with
10024 font-lock-builtin-face.
10025 (auto-mode-alist): Consolidate different entries into one regexp
10026 and add more *file-s.
10028 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
10030 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
10032 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
10033 (diary-entry): Use it in the action of this button type instead of
10036 * calendar/todo-mode.el: New version.
10037 (todo-add-category): Append new category to end of file and give
10038 it the highest number, instead of putting it at the beginning and
10039 giving it 0. Incorporate noninteractive functionality.
10040 (todo-forward-category): Adapt to 1-based category numbering.
10041 Allow skipping over archived categories.
10042 (todo-backward-category): Derive from todo-forward-category.
10043 (todo-backward-item, todo-forward-item): Make noninteractive and
10044 delegate interactive part to new commands. Make sensitive to done items.
10045 (todo-categories): Make value an alist of category names and
10046 vectors of item counts.
10047 (todo-category-beg): Make a defconst.
10048 (todo-category-number): Use 1 instead of 0 as initial value.
10049 (todo-category-select): Make sensitive to overlays, optional item
10050 highlighting and done items.
10051 (todo-delete-item): Make sensitive to overlays and marked and done items.
10052 (todo-edit-item): Make sensitive to overlays and editing of
10053 date/time header optional. Add format checks.
10054 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
10055 no-op if point is not on an item. Advertise using todo-edit-quit.
10056 (todo-edit-mode): Make sensitive to new format, font-locking, and
10057 multiple todo files.
10058 (todo-insert-item, todo-insert-item-here): Derive from
10059 todo-basic-insert-item and extend functionality.
10060 (todo-item-end, todo-item-start): Make sensitive to done items.
10061 (todo-item-string): Don't return text properties. Restore point.
10062 (todo-jump-to-category): Make sensitive to multiple todo files and
10063 todo archives. Use extended category completion.
10064 (todo-lower-item, todo-raise-item): Rename to *-priority and
10065 derive from todo-set-item-priority.
10066 (todo-mode): Derive from special-mode. Make sensitive to new
10067 format, font-locking and multiple todo files. Make read-only.
10068 (todo-mode-map): Don't suppress digit keys, so they can supply
10069 prefix arguments. Add many new key bindings.
10070 (todo-prefix): Insert as an overlay instead of file text.
10071 Change semantics from diary date expression to purely visual mark.
10072 (todo-print): Rename to todo-print-buffer. Make buffer display
10073 features printable. Remove option to restrict number of items
10074 printed. Add option to print to file.
10075 (todo-print-function): Rename to todo-print-buffer-function.
10076 (todo-quit): Extend to handle exiting new todo modes.
10077 (todo-remove-item): Make sensitive to overlays.
10078 (todo-save): Extend to buffers of filtered items.
10079 (todo-show): Make sensitive to done items, multiple todo files and
10080 new todo modes. Offer to convert legacy todo file before creating
10081 first new todo file.
10082 (todo-show-priorities): Rename to todo-top-priorities.
10083 Change semantics of value 0.
10084 (todo-top-priorities): Rename to todo-filter-top-priorities,
10085 derive from todo-filter-items and extend functionality.
10086 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
10087 and extend functionality to other types of filtered items.
10088 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
10089 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
10090 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
10091 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
10092 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
10093 (todo-edit-mode-hook, todo-entry-prefix-function)
10094 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
10095 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
10096 (todo-initials, todo-insert-threshold, todo-item-string-start)
10097 (todo-line-string, todo-menu, todo-mode-hook)
10098 (todo-more-important-p, todo-previous-answer, todo-previous-line)
10099 (todo-print-priorities, todo-remove-separator)
10100 (todo-save-top-priorities-too, todo-string-count-lines)
10101 (todo-string-multiline-p, todo-time-string-format)
10102 (todo-tmp-buffer-name): Remove.
10103 (todo-add-file, todo-archive-done-item, todo-choose-archive)
10104 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
10105 (todo-edit-category-diary-inclusion)
10106 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
10107 (todo-edit-file, todo-edit-item-date-day)
10108 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
10109 (todo-edit-item-date-month, todo-edit-item-date-to-today)
10110 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
10111 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
10112 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
10113 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
10114 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
10115 (todo-filter-top-priorities-multifile, todo-find-archive)
10116 (todo-find-filtered-items-file, todo-go-to-source-item)
10117 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
10118 (todo-jump-to-archive-category, todo-lower-category)
10119 (todo-mark-category, todo-marked-item-p, todo-merge-category)
10120 (todo-move-category, todo-move-item, todo-next-button)
10121 (todo-next-item, todo-padded-string, todo-powerset)
10122 (todo-previous-button, todo-previous-item)
10123 (todo-print-buffer-to-file, todo-raise-category)
10124 (todo-rename-category, todo-repair-categories-sexp, todo-search)
10125 (todo-set-category-number, todo-set-item-priority)
10126 (todo-set-top-priorities-in-category)
10127 (todo-set-top-priorities-in-file, todo-show-categories-table)
10128 (todo-sort-categories-alphabetically-or-numerically)
10129 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
10130 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
10131 (todo-toggle-item-header, todo-toggle-item-highlighting)
10132 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
10133 (todo-toggle-view-done-items, todo-toggle-view-done-only)
10134 (todo-unarchive-items, todo-unmark-category): New commands.
10135 (todo-absolute-file-name, todo-add-to-buffer-list)
10136 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
10137 (todo-basic-insert-item, todo-category-completions)
10138 (todo-category-number, todo-category-string-matcher-1)
10139 (todo-category-string-matcher-2, todo-check-filtered-items-file)
10140 (todo-check-format, todo-clear-matches)
10141 (todo-comment-string-matcher, todo-convert-legacy-date-time)
10142 (todo-current-category, todo-date-string-matcher)
10143 (todo-define-insertion-command, todo-diary-expired-matcher)
10144 (todo-diary-goto-entry, todo-diary-item-p)
10145 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
10146 (todo-display-categories, todo-display-sorted, todo-done-item-p)
10147 (todo-done-item-section-p, todo-done-separator)
10148 (todo-done-string-matcher, todo-files, todo-filter-items)
10149 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10150 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10151 (todo-insert-category-line, todo-insert-item-from-calendar)
10152 (todo-insert-sort-button, todo-insert-with-overlays)
10153 (todo-insertion-command-name, todo-insertion-key-bindings)
10154 (todo-label-to-key, todo-longest-category-name-length)
10155 (todo-make-categories-list, todo-mode-external-set)
10156 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10157 (todo-modes-set-3, todo-multiple-filter-files)
10158 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10159 (todo-read-category, todo-read-date, todo-read-dayname)
10160 (todo-read-file-name, todo-read-time)
10161 (todo-reevaluate-category-completions-files-defcustom)
10162 (todo-reevaluate-default-file-defcustom)
10163 (todo-reevaluate-filelist-defcustoms)
10164 (todo-reevaluate-filter-files-defcustom)
10165 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10166 (todo-reset-done-separator, todo-reset-done-separator-string)
10167 (todo-reset-done-string, todo-reset-global-current-todo-file)
10168 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10169 (todo-reset-prefix, todo-set-categories)
10170 (todo-set-date-from-calendar, todo-set-show-current-file)
10171 (todo-set-top-priorities, todo-short-file-name)
10172 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10173 (todo-total-item-counts, todo-update-buffer-list)
10174 (todo-update-categories-display, todo-update-categories-sexp)
10175 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10177 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10179 (todo-categories, todo-display, todo-edit, todo-faces)
10180 (todo-filtered): New defgroups.
10181 (todo-archived-only, todo-button, todo-category-string, todo-date)
10182 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10183 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10184 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10185 (todo-add-item-if-new-category, todo-always-add-time-string)
10186 (todo-categories-align, todo-categories-archived-label)
10187 (todo-categories-category-label, todo-categories-diary-label)
10188 (todo-categories-done-label, todo-categories-number-separator)
10189 (todo-categories-todo-label, todo-categories-totals-label)
10190 (todo-category-completions-files, todo-completion-ignore-case)
10191 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10192 (todo-done-separator-string, todo-done-string)
10193 (todo-files-function, todo-filter-done-items, todo-filter-files)
10194 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10195 (todo-initial-category, todo-initial-file, todo-item-mark)
10196 (todo-legacy-date-time-regexp, todo-mode-line-function)
10197 (todo-nondiary-marker, todo-number-prefix)
10198 (todo-print-buffer-function, todo-show-current-file)
10199 (todo-show-done-only, todo-show-first, todo-show-with-done)
10200 (todo-skip-archived-categories, todo-top-priorities-overrides)
10201 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10202 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10204 (todo-category-done, todo-date-pattern, todo-date-string-start)
10205 (todo-diary-items-buffer, todo-done-string-start)
10206 (todo-filtered-items-buffer, todo-item-start)
10207 (todo-month-abbrev-array, todo-month-name-array)
10208 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10209 (todo-top-priorities-buffer): New defconsts.
10210 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10211 (todo-categories-with-marks, todo-category-string-face)
10212 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10213 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10214 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10215 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10216 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10217 (todo-font-lock-keywords, todo-global-current-todo-file)
10218 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10219 (todo-insertion-commands-args)
10220 (todo-insertion-commands-args-genlist)
10221 (todo-insertion-commands-names, todo-insertion-map)
10222 (todo-key-bindings-t, todo-key-bindings-t+a)
10223 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10224 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10225 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10226 (todo-visited): New variables.
10228 2013-06-21 Glenn Morris <rgm@gnu.org>
10230 * play/cookie1.el (cookie-apropos): Add optional display argument.
10231 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10232 (psychoanalyze-pinhead): Use cookie-doctor.
10234 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10236 * emacs-lisp/package.el (tar-get-file-descriptor)
10237 (tar--extract): Declare.
10239 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10241 Extend flymake's warning predicate to be a function (bug#14217).
10242 * progmodes/flymake.el (flymake-warning-predicate): New.
10243 (flymake-parse-line): Use it.
10244 (flymake-warning-re): Make obsolete alias to
10245 `flymake-warning-predicate'.
10247 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10250 (package-obsolete-list): Remove.
10251 (package-activate): Remove min-version argument. Add `force' argument.
10252 Adjust to new package-alist format.
10253 (package-mark-obsolete): Remove.
10254 (package-unpack): Force reload of the package's autoloads.
10255 (package-installed-p): Check builtins if the installed package is not
10257 (package-initialize): Don't reset package-obsolete-list.
10258 Don't specify which package version to activate.
10259 (package-process-define-package, describe-package-1)
10260 (package-menu--generate): Adjust to new package-alist format.
10262 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10264 * allout-widgets.el (allout-widgets-mode-off)
10265 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10266 (allout-widgets-post-command-business)
10267 (allout-widgets-after-copy-or-kill-function)
10268 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10269 (allout-decorate-item-and-context)
10270 (allout-graphics-modification-handler): Fix typos in docstrings.
10271 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10273 * cmuscheme.el (scheme-start-file): Doc fix.
10274 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10275 (scheme-input-filter): Use `string-match-p'.
10277 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10279 * dired-x.el: Use Dired consistently in docstrings.
10281 * dired.el: Use Dired consistently in docstrings.
10282 (dired-readin, dired-mode): Use `setq-local'.
10283 (dired-switches-alist): Make defvar-local.
10284 (dired-buffers-for-dir): Use `zerop'.
10285 (dired-safe-switches-p, dired-switches-escape-p)
10286 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10287 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10288 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10289 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10290 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10291 (dired-toggle-marks, dired-mark-files-containing-regexp)
10292 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10293 (dired-flag-auto-save-files, dired-flag-backup-files):
10294 Use `looking-at-p'.
10295 (dired-mark-files-regexp, dired-build-subdir-alist):
10296 Use `string-match-p', `looking-at-p'.
10298 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10299 (direct-print-region-helper): Use `string-match-p'.
10301 2013-06-21 Leo Liu <sdl.web@gmail.com>
10303 * comint.el (comint-redirect-results-list-from-process):
10306 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10308 * net/eww.el (eww-update-header-line-format): Quote % characters.
10310 2013-06-21 Glenn Morris <rgm@gnu.org>
10312 * play/cookie1.el (cookie): New custom group.
10313 (cookie-file): New option.
10314 (cookie-check-file): New function.
10315 (cookie): Make it interactive. Make start and end messages optional.
10316 Interactively, display the result. Default to cookie-file.
10317 (cookie-insert): Default to cookie-file.
10318 (cookie-snarf): Make start and end messages optional.
10319 Default to cookie-file. Use with-temp-buffer.
10320 (cookie-read): Rename from read-cookie.
10321 Make start and end messages optional. Default to cookie-file.
10322 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10323 Do not autoload it.
10324 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10325 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10327 2013-06-21 Leo Liu <sdl.web@gmail.com>
10329 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10331 2013-06-21 Glenn Morris <rgm@gnu.org>
10333 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10335 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10336 Daniel Hackney <dan@haxney.org>
10338 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10339 Consolidate the single-file vs tarball code.
10340 (package-desc-suffix): New function.
10341 (package-desc-full-name): Don't bother inlining it.
10342 (package-load-descriptor): Return the new package-desc.
10343 (package-mark-obsolete): Remove unused arg `package'.
10344 (package-unpack): Make it work for single files as well.
10345 Make it update package-alist.
10346 (package--make-autoloads-and-stuff): Rename from
10347 package--make-autoloads-and-compile. Don't compile any more.
10348 (package--compile): New function.
10349 (package-generate-description-file): New function, extracted from
10350 package-unpack-single.
10351 (package-unpack-single): Remove.
10352 (package--with-work-buffer): Add indentation and debugging info.
10353 (package-download-single): Remove.
10354 (package-install-from-archive): Rename from package-download-tar, make
10355 it take a pkg-desc, and make it work for single files as well.
10356 (package-download-transaction): Simplify.
10357 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10358 external tar program.
10359 (package-install-from-buffer): Remove `pkg-desc' argument.
10360 Use package-tar-file-info for tar-mode buffers.
10361 (package-install-file): Simplify accordingly.
10362 (package-archive-base): Change to take a pkg-desc.
10363 * tar-mode.el (tar--check-descriptor): New function, extracted from
10364 tar-get-descriptor.
10365 (tar-get-descriptor): Use it.
10366 (tar-get-file-descriptor): New function.
10367 (tar--extract): New function, extracted from tar-extract.
10368 (tar--extract): Use it.
10369 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10370 case the summary uses non-ascii. Adjust to new calling convention of
10371 package-tar-file-info.
10373 2013-06-21 Leo Liu <sdl.web@gmail.com>
10375 * comint.el (comint-redirect-results-list-from-process):
10376 Fix random delay. (Bug#14681)
10378 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10380 * profiler.el (profiler-format-number): Use log, not log10.
10382 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10384 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10386 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10388 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10389 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10391 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10392 (AUTOGENEL): ... here.
10393 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10394 (cl--defsubst-expand): Use it.
10396 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10398 * subr.el (log10): Move here from C code, and declare as obsolete.
10399 All uses of (log10 X) replaced with (log X 10).
10401 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10403 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10404 Declare with `defvar-local'.
10405 (tabulated-list-use-header-line, tabulated-list-entries)
10406 (tabulated-list-padding, tabulated-list-printer)
10407 (tabulated-list-sort-key): Declare with `defvar-local'.
10408 (tabulated-list-init-header, tabulated-list-print-fake-header):
10411 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10413 * arc-mode.el (archive-mode): Add `archive-write-file' to
10414 `write-contents-functions' also for remote files. (Bug#14652)
10416 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10418 * cus-edit.el (custom-commands): Fix typos.
10419 (custom-display): Fix tooltip text.
10420 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10421 Fix typos in docstrings.
10422 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10423 (custom-unlispify-menu-entry, custom-magic-value-create)
10424 (custom-add-see-also, custom-group-value-create): Use ?\s.
10425 (custom-guess-type, customize-apropos, editable-field)
10426 (custom-face-value-create): Use `string-match-p'.
10427 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10429 * custom.el (custom-load-symbol): Use `string-match-p'.
10431 * ansi-color.el: Convert to lexical binding.
10432 (ansi-colors): Fix URL.
10433 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10434 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10435 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10437 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10439 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10441 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10443 2013-06-19 Tom Tromey <tromey@redhat.com>
10445 * net/eww.el (eww-top-url): Remove.
10446 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10447 (eww-render): Set new variables. Don't set eww-top-url.
10448 (eww-handle-link): Handle "prev", "home", and "contents".
10449 Downcase the rel text.
10450 (eww-top-url): Choose best top URL.
10452 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10454 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10455 relying in widget.el. Using widget.el leads to too many
10456 user interface inconsistencies.
10457 (eww-self-insert): Implement entering commands in text fields.
10458 (eww-process-text-input): New function to make text input field editing
10460 (eww-submit): Rewrite to use the new-style form methods.
10461 (eww-select-display): Display the correct selected item.
10462 (eww-change-select): Implement changing the select value.
10463 (eww-toggle-checkbox): Implement radio/checkboxes.
10464 (eww-update-field): Fix compilation error.
10465 (eww-tag-textarea): Implement <textarea>.
10467 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10468 we don't shadow mode-specific bindings.
10470 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10473 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10475 2013-06-19 Glenn Morris <rgm@gnu.org>
10477 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10479 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10481 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10484 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10486 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488 * net/browse-url.el (browse-url-browser-function):
10489 `eww-browse-url' has the right calling signature, `eww' does not.
10491 2013-06-19 Glenn Morris <rgm@gnu.org>
10493 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10494 Only eval autoloaded macros.
10495 (byte-compile-autoload): Only give the macro warning for macros.
10497 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10498 (ps-underlined-faces): Declare.
10500 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10501 (speedbar-add-supported-extension): Declare.
10503 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10504 Don't include a date stamp in the header of the generated file;
10505 it leads to needless differences between output files.
10507 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10509 * net/secrets.el (secrets-struct-secret-content-type):
10510 Replace check of introspection data by a test call of "CreateItem".
10511 Some servers do not offer introspection.
10513 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10515 * electric.el (electric-pair-mode): Improve interaction with
10516 electric-layout-mode.
10517 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10518 (electric-pair-syntax): Use text-mode-syntax-table in comments
10520 (electric-pair--insert): New function.
10521 (electric-pair-post-self-insert-function): Use it and
10522 electric--after-char-pos.
10524 2013-06-19 Leo Liu <sdl.web@gmail.com>
10526 * progmodes/octave.el (octave-help): Fix regexp.
10528 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10531 (shr-table-horizontal-line): Allow nil as a value, and change the
10533 (shr-insert-table-ruler): Respect the nil value.
10535 2013-06-18 Tom Tromey <tromey@barimba>
10537 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10539 (eww-open-file): New defun.
10540 (eww-render): Initialize new variables.
10541 (eww-display-html): Handle "link" and "a".
10542 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10543 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10544 (eww-back-url): Rename from eww-previous-url.
10545 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10548 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10550 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10551 Distinguish ternary operator tokens from slash symbol and slash
10554 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10556 Convert symbol prettification into minor mode and global minor mode.
10558 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10559 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10560 (prettify-symbols--keywords): Rename from
10561 `prog-prettify-symbols-alist' and make a local defvar.
10562 (prettify-symbols--compose-symbol): Rename from
10563 `prog--prettify-font-lock-compose-symbol'.
10564 (prettify-symbols--make-keywords): Rename from
10565 `prog-prettify-font-lock-symbols-keywords' and simplify.
10566 (prog-prettify-install): Remove.
10567 (prettify-symbols-mode): New minor mode, based on
10568 `prog-prettify-install'.
10569 (turn-on-prettify-symbols-mode): New function.
10570 (global-prettify-symbols-mode): New globalized minor mode.
10572 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10573 * progmodes/cfengine.el (cfengine3-mode):
10574 * progmodes/perl-mode.el (perl-mode): Don't call
10575 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10577 2013-06-18 Juri Linkov <juri@jurta.org>
10579 * files-x.el (modify-file-local-variable-message): New function.
10580 (modify-file-local-variable)
10581 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10582 and call `modify-file-local-variable-message' when it's non-nil.
10583 (add-file-local-variable, delete-file-local-variable)
10584 (add-file-local-variable-prop-line)
10585 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10586 and use it. (Bug#9820)
10588 2013-06-18 Juri Linkov <juri@jurta.org>
10590 * emulation/vi.el (vi-shell-op):
10591 * emulation/vip.el (vip-execute-com, ex-command):
10592 * emulation/viper-cmd.el (viper-exec-bang):
10593 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10594 the call of `shell-command-on-region'. (Bug#14637)
10596 * simple.el (shell-command-on-region): Doc fix.
10598 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10600 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10603 2013-06-18 Glenn Morris <rgm@gnu.org>
10605 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10607 * newcomment.el (comment-search-forward, comment-search-backward):
10608 Doc fix. (Bug#14376)
10610 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10612 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10613 (buffer-face-mode-invoke): Doc fix.
10615 2013-06-18 Matthias Meulien <orontee@gmail.com>
10617 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10618 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10620 2013-06-18 Glenn Morris <rgm@gnu.org>
10622 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10623 Replace obsolete function generic-make-keywords with its expansion.
10625 * progmodes/python.el (ffap-alist): Declare.
10627 * textmodes/reftex.el (bibtex-mode-map): Declare.
10629 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10631 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10632 (package-unpack, package-unpack-single): Return the pkg-dir.
10633 (package-download-transaction): Use it to update package-alist.
10635 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10637 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10640 2013-06-17 Juri Linkov <juri@jurta.org>
10642 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10644 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10646 * emacs-lisp/package.el (package-load-descriptor):
10647 Remove `with-syntax-table' call, `read' doesn't need it.
10648 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10650 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10652 * startup.el (command-line): Expand package name returned by
10653 `package--description-file' (bug#14639).
10655 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10657 * emacs-lisp/package.el (package-load-descriptor): Do not call
10658 `emacs-lisp-mode', just use its syntax table.
10660 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10662 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10663 `font-lock-extra-managed-props' if any prettifying keyword is added.
10664 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10665 (prog-mode): Use `setq-local'.
10667 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10669 * international/characters.el (standard-case-table): Set syntax of ?»
10670 and ?« to punctuation.
10672 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10674 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10675 Save relevant match data before calling `syntax-ppss' (bug#14595).
10677 2013-06-15 Juri Linkov <juri@jurta.org>
10679 * files-x.el (modify-file-local-variable-prop-line): Add local
10680 variables to the end of the existing comment on the first line.
10681 Use `file-auto-mode-skip' to skip interpreter magic line,
10682 and also skip XML declaration.
10684 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10686 * startup.el (package--builtin-versions): New var.
10687 (package-subdirectory-regexp): Remove.
10688 (package--description-file): Hard code its value instead.
10690 * emacs-lisp/package.el: Don't activate packages older than builtin.
10691 (package-obsolete-list): Rename from package-obsolete-alist, and make
10692 it into a simple list of package-desc.
10693 (package-strip-version): Remove.
10694 (package-built-in-p): Use package--builtin-versions.
10695 (package-mark-obsolete): Simplify.
10696 (package-process-define-package): Mark it obsolete if older than the
10698 (package-handle-response): Use line-end-position.
10699 (package-read-archive-contents, package--download-one-archive):
10701 (package--add-to-archive-contents): Skip if older than the builtin or
10703 (package-menu-describe-package): Fix last change.
10704 (package-list-unversioned): New var.
10705 (package-menu--generate): Use it.
10707 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10708 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10709 (autoload-builtin-package-versions): New variable.
10710 (autoload-generate-file-autoloads): Use them.
10711 Remove the list of autoloaded functions/macros from the
10712 (autoload...) comments.
10714 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10716 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10718 * simple.el (line-move-partial): Don't jump to the next screen
10719 line as soon as it becomes visible. Instead, continue enlarging
10720 the vscroll until the portion of a tall screen line that's left on
10721 display is about the height of the frame's default font.
10724 2013-06-15 Glenn Morris <rgm@gnu.org>
10726 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10727 compilation-error-regexp-alist void, or local while let-bound.
10729 * progmodes/make-mode.el (makefile-mode-syntax-table):
10730 Treat "=" as punctuation. (Bug#14614)
10732 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10734 * help-fns.el (describe-variable):
10735 Add extra line for permanent-local variables.
10737 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10739 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10740 Add export, import, library. (Bug#9164)
10741 (library): Set indent function.
10743 2013-06-14 Glenn Morris <rgm@gnu.org>
10745 * term/xterm.el (xterm--query):
10746 Stop after first matching handler. (Bug#14615)
10748 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10750 Add support for dired in saveplace.
10751 * dired.el (dired-initial-position-hook): New variable.
10752 (dired-initial-position): Call hook to place cursor position.
10753 * saveplace.el (save-place-to-alist): Add dired position.
10754 (save-place-dired-hook): New function.
10756 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10759 through a symbol rather than letrec.
10761 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10762 (package-desc): Add `dir' field.
10763 (package-desc-full-name): New function.
10764 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10765 (package-maybe-load-descriptor): Remove.
10766 (package-load-all-descriptors): Just call package-load-descriptor.
10767 (package--disabled-p): New function.
10768 (package-desc-vers, package-desc-doc): Remove aliases.
10769 (package--dir): Remove function.
10770 (package-activate): Check if a package is disabled.
10771 (package-process-define-package): New function, extracted from
10773 (define-package): Turn into a place holder.
10774 (package-unpack-single, package-tar-file-info):
10775 Use package--description-file.
10776 (package-compute-transaction): Use package--disabled-p.
10777 (package-download-transaction): Don't call
10778 package-maybe-load-descriptor since they're all loaded anyway.
10779 (package-install): Change argument to be a pkg-desc.
10780 (package-delete): Use a single pkg-desc argument.
10781 (describe-package-1): Use package-desc-dir instead of package--dir.
10782 Use package-desc property instead of package-symbol.
10783 (package-install-button-action): Adjust accordingly.
10784 (package--push): Rewrite.
10785 (package-menu--print-info): Adjust accordingly. Change the ID format
10787 (package-menu-describe-package, package-menu-get-status)
10788 (package-menu--find-upgrades, package-menu-mark-upgrades)
10789 (package-menu-execute, package-menu--name-predicate):
10790 Adjust accordingly.
10791 * startup.el (package--description-file): New function.
10792 (command-line): Use it.
10793 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10794 Use package-desc-version.
10796 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10797 (byte-compile-preprocess): Use it.
10798 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10799 can't quite recognize.
10800 (byte-compile-add-to-list): Remove.
10801 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10802 (cconv-closure-convert): Add assertion.
10804 * emacs-lisp/map-ynp.el: Use lexical-binding.
10805 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10806 Factor out some repeated code.
10808 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * subr.el (with-eval-after-load): New macro.
10811 (eval-after-load): Allow form to be a function.
10812 take advantage of lexical-binding.
10813 (do-after-load-evaluation): Use dolist and adjust to new format.
10814 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10816 2013-06-13 Juri Linkov <juri@jurta.org>
10818 * replace.el (perform-replace): Display "symbol " and other search
10819 modes from `isearch-message-prefix' in the *Help* buffer.
10821 * isearch.el (isearch-query-replace): Add " symbol" and other
10822 possible search modes from `isearch-message-prefix' to the prompt.
10823 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10824 when reading a regexp to collect.
10826 2013-06-13 Juri Linkov <juri@jurta.org>
10828 * isearch.el (word-search-regexp): Match whitespace if the search
10829 string begins or ends in whitespace. The LAX arg is applied to
10830 both ends of the search string. Use `regexp-quote' and explicit
10831 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10832 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10833 boundaries are replaced with symbol boundaries, and characters
10834 between symbols match non-word non-symbol syntax. (Bug#14602)
10836 2013-06-13 Juri Linkov <juri@jurta.org>
10838 * isearch.el (isearch-del-char): Don't exceed the length of
10839 `isearch-string' by the prefix arg. (Bug#14563)
10841 2013-06-13 Juri Linkov <juri@jurta.org>
10843 * isearch.el (isearch-yank-word, isearch-yank-line)
10844 (isearch-char-by-name, isearch-quote-char)
10845 (isearch-printing-char, isearch-process-search-char):
10846 Add optional count prefix arg. (Bug#14563)
10848 * international/isearch-x.el
10849 (isearch-process-search-multibyte-characters):
10850 Add optional count prefix arg.
10852 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10854 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10855 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10858 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10860 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10862 2013-06-13 Glenn Morris <rgm@gnu.org>
10864 * startup.el (tty-handle-args):
10865 Don't just discard "--" and anything after. (Bug#14608)
10867 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10869 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10871 Implement changes in Secret Service API. Make it backward compatible.
10872 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10873 (secrets-create-item): Use it. Prefix properties with interface.
10875 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10877 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10878 (term-emulate-terminal): Respect term-suppress-hard-newline.
10880 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10882 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10883 Only remove a `thumb-file' overlay. (Bug#14548)
10885 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10887 * mail/reporter.el (reporter-submit-bug-report):
10888 Handle missing package-name. (Bug#14600)
10890 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10892 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10893 (reftex-citation-prompt, reftex-default-bibliography)
10894 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10895 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10896 (reftex-bib-sort-author, reftex-bib-sort-year)
10897 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10898 (reftex-extract-bib-entries-from-thebibliography)
10899 (reftex-get-bibkey-default, reftex-get-bib-names)
10900 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10901 (reftex-format-bib-entry, reftex-parse-bibitem)
10902 (reftex-format-bibitem, reftex-do-citation)
10903 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10904 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10905 (reftex-insert-bib-matches, reftex-format-citation)
10906 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10907 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10908 existing comments into docstrings.
10910 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10912 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10914 2013-06-12 Andreas Schwab <schwab@suse.de>
10916 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10917 for auto-save files.
10919 2013-06-12 Glenn Morris <rgm@gnu.org>
10921 * ido.el (ido-delete-ignored-files): Remove.
10922 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10923 Go back to calling ido-ignore-item-p directly.
10925 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10927 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10929 * ido.el (ido-delete-ignored-files): New function,
10930 split from ido-make-file-list-1.
10931 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10932 (ido-make-file-list-1): Use ido-delete-ignored-files.
10934 2013-06-12 Leo Liu <sdl.web@gmail.com>
10936 * progmodes/octave.el (inferior-octave-startup)
10937 (inferior-octave-completion-table)
10938 (inferior-octave-track-window-width-change)
10939 (octave-eldoc-function-signatures, octave-help)
10940 (octave-find-definition): Use single quoted strings.
10941 (inferior-octave-startup-args): Change default value.
10942 (inferior-octave-startup): Do not hard code "-i" and
10943 "--no-line-editing".
10944 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10945 (inferior-octave-directory-tracker): Use it.
10946 (octave-goto-function-definition): Robustify.
10947 (octave-help): Support highlighting operators in 'See also'.
10948 (octave-find-definition): Find subfunctions only in Octave mode.
10950 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10952 * help-fns.el (help-fns--compiler-macro): If the handler function is
10953 named, then put a link to it.
10954 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10955 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10956 (cl-typep): Use it.
10957 (cl-eval-when): Simplify debug spec.
10958 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10959 compiler-macro function instead of setting `compiler-macro-file'.
10961 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10963 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10964 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10966 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10967 Daniel Hackney <dan@haxney.org>
10969 First part of Daniel Hackney's patch to package.el.
10970 * emacs-lisp/package.el: Use defstruct.
10971 (package-desc): New, main struct.
10972 (package--bi-desc, package--ac-desc): New structs, used to describe the
10973 format in external files.
10974 (package-desc-vers): Replace with package-desc-version accessor.
10975 (package-desc-doc): Replace with package-desc-summary accessor.
10976 (package-activate-1): Remove `package' arg since the pkg-vec now
10978 (define-package): Use package-desc-from-define.
10979 (package-unpack-single): Change file-name arg to be a symbol.
10980 (package--add-to-archive-contents): Use package-desc-create and new
10981 accessor functions to package--ac-desc.
10982 (package-buffer-info, package-tar-file-info): Return a package-desc.
10983 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10984 arg to be a package-desc.
10985 (package-install-file): Adjust accordingly. Use \' to match EOS.
10986 (package--from-builtin): New function.
10987 (describe-package-1, package-menu--generate): Use it.
10988 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10989 (package-generate-autoloads): Idem and return the name of the file.
10990 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10991 Change pkg-info arg to be a package-desc.
10992 Use package-make-ac-desc.
10993 (package-upload-file): Use \' to match EOS.
10994 * finder.el (finder-compile-keywords): Use package-make-builtin.
10996 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10998 * vc/vc.el (vc-deduce-fileset): Change error message.
10999 (vc-read-backend): New function.
11000 (vc-next-action): Use it.
11002 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
11004 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
11005 (prolog-font-lock-keywords): Use regexp-opt instead.
11006 Don't manually highlight strings.
11007 (prolog-mode-variables): Simplify comment-start-skip.
11008 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
11010 * emacs-lisp/generic.el (generic--normalise-comments)
11011 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
11012 (generic-mode-set-comments): Use them.
11013 (generic-bracket-support): Use setq-local.
11014 (generic-make-keywords-list): Declare obsolete.
11016 2013-06-11 Glenn Morris <rgm@gnu.org>
11018 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11019 Prettify after setting font-lock-defaults. (Bug#14574)
11021 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
11023 * replace.el (query-replace, occur-read-regexp-defaults-function)
11025 * subr.el (declare-function, number-sequence, local-set-key)
11026 (substitute-key-definition, locate-user-emacs-file)
11027 (with-silent-modifications, split-string, eval-after-load):
11028 Fix typos, remove unneeded backslashes and reflow some docstrings.
11030 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
11033 default for Elisp files.
11035 2013-06-11 Glenn Morris <rgm@gnu.org>
11037 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
11038 although define-derived-mode was doing this anyway. (Bug#14583)
11040 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
11042 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11043 Fix make-variable-buffer-local call to refer to the correct variable.
11045 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
11047 * eshell/em-term.el (eshell-visual-commands)
11048 (eshell-visual-subcommands, eshell-visual-options):
11049 Add summary line to docstrings. Add cross-references.
11051 2013-06-10 Glenn Morris <rgm@gnu.org>
11053 * epa.el (epa-read-file-name): New function. (Bug#14510)
11054 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
11056 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11058 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
11059 output redirection to be ignored with visual commands.
11061 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
11063 * eshell/em-term.el (eshell-visual-command-p): New function.
11064 (eshell-term-initialize): Move long lambda to separate function
11065 eshell-visual-command-p.
11066 * eshell/em-dirs.el (eshell-dirs-initialize):
11067 * eshell/em-script.el (eshell-script-initialize):
11068 Add missing #' to lambda.
11070 2013-06-08 Leo Liu <sdl.web@gmail.com>
11072 * progmodes/octave.el (octave-add-log-current-defun): New function.
11073 (octave-mode): Set add-log-current-defun-function.
11074 (octave-goto-function-definition): Do not move point if not found.
11075 (octave-find-definition): Enhance to try subfunctions first.
11077 2013-06-08 Glenn Morris <rgm@gnu.org>
11079 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11080 (byte-compile-backward-char, byte-compile-backward-word):
11081 Improve previous change, to handle non-explicit nil.
11083 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11085 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
11086 (smie--opener/closer-at-point): New function.
11087 (smie--matching-block-data): Use it. Don't match from right after an
11088 opener or right before a closer. Obey smie-blink-matching-inners.
11089 Don't signal a mismatch for repeated inners like "switch..case..case".
11091 2013-06-07 Leo Liu <sdl.web@gmail.com>
11093 * progmodes/octave.el (octave-mode): Set comment-use-global-state
11095 (octave-function-header-regexp): Fix. (Bug#14570)
11096 (octave-help-mode-finish-hook, octave-help-mode-finish):
11097 Remove. Just use temp-buffer-show-hook.
11099 * newcomment.el (comment-search-backward): Revert last change.
11102 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
11104 2013-06-07 Eli Zaretskii <eliz@gnu.org>
11106 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
11107 through xargs, to avoid failure due to MS-Windows limitations on
11108 command-line length.
11110 2013-06-06 Glenn Morris <rgm@gnu.org>
11112 * font-lock.el (lisp-font-lock-keywords-2):
11113 Treat user-error like error.
11115 * emacs-lisp/bytecomp.el (byte-compile-char-before)
11116 (byte-compile-backward-char, byte-compile-backward-word):
11117 Handle explicit nil arguments. (Bug#14565)
11119 2013-06-05 Alan Mackenzie <acm@muc.de>
11121 * isearch.el (isearch-allow-prefix): New user option.
11122 (isearch-other-meta-char): Don't exit isearch when a prefix
11123 argument is typed whilst `isearch-allow-prefix' is non-nil.
11126 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11128 * autorevert.el (auto-revert-notify-handler): Use memq.
11129 Hide assertion failure.
11131 * skeleton.el: Use cl-lib.
11132 (skeleton-further-elements): Use defvar-local.
11133 (skeleton-insert): Use cl-progv.
11135 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11137 * progmodes/prog-mode.el (prog-prettify-symbols)
11138 (prog-prettify-install): Update docstrings.
11140 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * simple.el: Move all the prog-mode code to prog-mode.el.
11143 * progmodes/prog-mode.el: New file.
11144 * loadup.el: Add prog-mode.el.
11146 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11148 * simple.el (prog-prettify-symbols): Add version.
11149 (prog-prettify-install): Add convenience function to prettify symbols.
11151 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11152 (perl--augmented-font-lock-keywords-1)
11153 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11154 variables and use it.
11156 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11157 (cfengine3-mode): Remove unneeded variable and use it.
11159 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11160 (lisp--augmented-font-lock-keywords-1)
11161 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11162 Remove unneeded variables and use it.
11164 2013-06-05 João Távora <joaotavora@gmail.com>
11166 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11167 to point when opening the connection. (Bug#14380)
11169 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11171 * subr.el (load-history-regexp, load-history-filename-element)
11172 (eval-after-load, after-load-functions, do-after-load-evaluation)
11173 (eval-next-after-load, display-delayed-warnings)
11174 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11175 definition of save-match-data.
11176 (overriding-local-map): Remove accidental obsolescence declaration.
11178 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11180 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11182 Generalize symbol prettify support to prog-mode and implement it
11183 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11184 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11185 (prog--prettify-font-lock-compose-symbol)
11186 (prog-prettify-font-lock-symbols-keywords): New variables and
11187 functions to support symbol prettification.
11188 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11189 (lisp--augmented-font-lock-keywords-1)
11190 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11191 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11192 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11193 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11194 Implement prettify of -> => :: strings.
11195 * progmodes/perl-mode.el (perl-prettify-symbols)
11196 (perl--font-lock-compose-symbol)
11197 (perl--font-lock-symbols-keywords): Move to prog-mode.
11198 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11199 (perl-font-lock-keywords-1)
11200 (perl-font-lock-keywords-2): Remove explicit prettify support.
11201 (perl--augmented-font-lock-keywords)
11202 (perl--augmented-font-lock-keywords-1)
11203 (perl--augmented-font-lock-keywords-2, perl-mode):
11204 Implement prettify support.
11206 2013-06-05 Leo Liu <sdl.web@gmail.com>
11208 Re-implement SMIE matching block highlight using
11209 show-paren-data-function. (Bug#14395)
11210 * emacs-lisp/smie.el (smie-matching-block-highlight)
11211 (smie--highlight-matching-block-overlay)
11212 (smie--highlight-matching-block-lastpos)
11213 (smie-highlight-matching-block)
11214 (smie-highlight-matching-block-mode): Remove.
11215 (smie--matching-block-data-cache): New variable.
11216 (smie--matching-block-data): New function.
11217 (smie-setup): Use smie--matching-block-data for
11218 show-paren-data-function.
11220 * progmodes/octave.el (octave-mode-menu): Fix.
11221 (octave-find-definition): Skip garbage lines.
11223 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11225 Fix compilation error with simultaneous dynamic+lexical scoping.
11226 Add warning when a defvar appears after the first let-binding.
11227 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11228 (byte-compile-close-variables): Initialize it.
11229 (byte-compile--declare-var): New function.
11230 (byte-compile-file-form-defvar)
11231 (byte-compile-file-form-define-abbrev-table)
11232 (byte-compile-file-form-custom-declare-variable): Use it.
11233 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11234 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11235 (byte-compile-bind): Handle dynamic bindings that shadow
11237 (byte-compile-unbind): Make arg non-optional.
11238 (byte-compile-let): Simplify.
11239 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11240 (cconv--analyse-function, cconv-analyse-form): Populate it.
11241 Protect byte-compile-bound-variables to limit the scope of defvars.
11242 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11243 Remove unneeded rule for `declare'.
11245 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11246 so as to avoid depending on cl-adjoin at run-time.
11247 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11249 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11250 (macroexp--warn-and-return): Use it.
11252 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * subr.el: Convert to lexical binding.
11255 (overriding-local-map): Make obsolete.
11256 (add-to-list): Doc fix. Add compiler macro.
11257 (read-key): Swap values of local maps.
11259 2013-06-05 Leo Liu <sdl.web@gmail.com>
11261 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11263 2013-06-04 Leo Liu <sdl.web@gmail.com>
11265 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11266 (compilation-auto-jump): Suppress the "Mark set" message to give
11267 way to exit message.
11269 2013-06-04 Alan Mackenzie <acm@muc.de>
11271 Remove faulty optimisation from indentation calculation.
11272 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11273 search limit based on 2000 characters back from indent-point.
11275 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11277 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11279 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * emacs-lisp/lisp.el: Use lexical-binding.
11282 (lisp--local-variables-1, lisp--local-variables): New functions.
11283 (lisp--local-variables-completion-table): New var.
11284 (lisp-completion-at-point): Use it complete let-bound vars.
11286 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11287 eagerly (bug#14422).
11289 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11291 * autorevert.el (auto-revert-notify-enabled)
11292 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11293 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11294 (auto-revert-notify-handler): Handle also gfilenotify.
11296 * subr.el (file-notify-handle-event): New defun. Replacing ...
11297 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11300 2013-06-03 Juri Linkov <juri@jurta.org>
11302 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11303 `M-s h .'. (Bug#14427)
11305 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11306 command `hi-lock-face-symbol-at-point'.
11307 (hi-lock-face-symbol-at-point): New command.
11308 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11309 (hi-lock-menu): Add `highlight-symbol-at-point'.
11310 (hi-lock-mode): Doc fix.
11312 * isearch.el (isearch-forward-symbol-at-point): New command.
11313 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11314 (isearch-highlight-regexp): Add a regexp which matches
11315 words/symbols for word/symbol mode.
11317 * subr.el (find-tag-default-bounds): New function with the body
11318 mostly moved from `find-tag-default'.
11319 (find-tag-default): Move most code to `find-tag-default-bounds',
11320 call it and apply `buffer-substring-no-properties' afterwards.
11322 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11324 * eshell/em-term.el (eshell-term-initialize):
11325 Use `cl-intersection' rather than `intersection'.
11327 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11329 * vc/log-view.el: Doc fix.
11330 (log-view-mode-map): Copy keymap from `special-mode-map'.
11332 2013-06-02 Eric Ludlam <zappo@gnu.org>
11334 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11335 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11336 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11337 (eieio-unbound, eieio-default-superclass)
11338 (eieio--define-field-accessors, method-static, method-before)
11339 (method-primary, method-after, method-num-lists)
11340 (method-generic-before, method-generic-primary)
11341 (method-generic-after, method-num-slots)
11342 (eieio-specialized-key-to-generic-key)
11343 (eieio--check-type, class-v, class-p)
11344 (eieio-class-name, define-obsolete-function-alias)
11345 (eieio-class-parents-fast, eieio-class-children-fast)
11346 (same-class-fast-p, class-constructor, generic-p)
11347 (generic-primary-only-p, generic-primary-only-one-p)
11348 (class-option-assoc, class-option, eieio-object-p)
11349 (class-abstract-p, class-method-invocation-order)
11350 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11351 (eieio-class-un-autoload, eieio-defclass)
11352 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11353 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11354 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11355 (eieio-defgeneric-reset-generic-form)
11356 (eieio-defgeneric-form-primary-only)
11357 (eieio-defgeneric-reset-generic-form-primary-only)
11358 (eieio-defgeneric-form-primary-only-one)
11359 (eieio-defgeneric-reset-generic-form-primary-only-one)
11360 (eieio-unbind-method-implementations)
11361 (eieio--defmethod, eieio--typep)
11362 (eieio-perform-slot-validation, eieio-validate-slot-value)
11363 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11364 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11365 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11366 (eieio-slot-name-index, eieio-class-slot-name-index)
11367 (eieio-set-defaults, eieio-initarg-to-attribute)
11368 (eieio-attribute-to-initarg, eieio-c3-candidate)
11369 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11370 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11371 (eieio-class-precedence-list, eieio-generic-call-methodname)
11372 (eieio-generic-call-arglst, eieio-generic-call-key)
11373 (eieio-generic-call-next-method-list)
11374 (eieio-pre-method-execution-functions, eieio-generic-call)
11375 (eieio-generic-call-primary-only, eieiomt-method-list)
11376 (eieiomt-optimizing-obarray, eieiomt-install)
11377 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11378 (eieio-generic-form, eieio-defmethod, make-obsolete)
11379 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11380 (defclass): Remove `eval-and-compile' from macro.
11381 (call-next-method, shared-initialize): Instead of using
11382 `scoped-class' variable, use new eieio--scoped-class, and
11383 eieio--with-scoped-class.
11384 (initialize-instance): Rename local variable 'scoped-class' to
11385 'this-class' to remove ambiguitity from old global.
11387 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11389 (eieio--scoped-class-stack): New variable.
11390 (eieio--scoped-class): New fcn.
11391 (eieio--with-scoped-class): New scoping macro.
11392 (eieio-defclass): Use pushnew instead of add-to-list.
11393 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11394 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11395 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11396 `scoped-class' variable, use new eieio--scoped-class, and
11397 eieio--with-scoped-class.
11399 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11401 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11403 * eshell/esh-ext.el (eshell-external-command): Pass args to
11404 `eshell-find-interpreter'.
11405 (eshell-find-interpreter): Add new second parameter ARGS.
11407 * eshell/em-script.el (eshell-script-initialize): Add second arg
11408 to the function added as MATCH to `eshell-interpreter-alist'.
11410 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11411 the function added as MATCH to `eshell-interpreter-alist'.
11413 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11414 (eshell-visual-options): New defcustom.
11415 (eshell-escape-control-x): Adapt docstring.
11416 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11417 `eshell-visual-options' in addition to `eshell-visual-commands'.
11418 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11420 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11422 * progmodes/python.el (python-indent-block-enders): Add break,
11423 continue and raise keywords.
11425 2013-06-01 Glenn Morris <rgm@gnu.org>
11427 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11429 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11430 * progmodes/cc-cmds.el (delete-forward-p):
11431 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11432 * progmodes/cc-engine.el (buffer-syntactic-context):
11433 * progmodes/cc-fonts.el (face-property-instance):
11434 * progmodes/cc-mode.el (set-keymap-parents):
11435 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11436 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11437 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11438 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11439 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11441 * progmodes/cc-vars.el (other): Emacs has this widget since
11442 at least 21.1, so don't (re)define it.
11444 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11445 Replace the obsolete alias pcomplete-arg-quote-list.
11447 2013-06-01 Leo Liu <sdl.web@gmail.com>
11449 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11450 punctuation syntax.
11451 (inferior-octave-minimal-columns)
11452 (inferior-octave-last-column-width): New variables.
11453 (inferior-octave-track-window-width-change): New function.
11454 (inferior-octave-mode): Adjust column width so that Octave output,
11455 for example from 'ls', can fit into the window nicely.
11457 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11459 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11460 Highlight expansions inside regexp literals.
11462 2013-05-31 Glenn Morris <rgm@gnu.org>
11464 * obsolete/sym-comp.el (symbol-complete):
11465 Replace obsolete completion-annotate-function.
11467 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11469 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11471 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11472 New function, checks if point is inside a literal that allows
11473 expression expansion.
11474 (ruby-syntax-propertize-expansion): Use it.
11475 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11478 2013-05-30 Juri Linkov <juri@jurta.org>
11480 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11482 (isearch-invisible): New variable.
11483 (isearch-forward): Doc fix.
11484 (isearch-mode): Set `isearch-invisible'
11485 to the value of `search-invisible'.
11486 (isearch-toggle-case-fold): Doc fix.
11487 (isearch-toggle-invisible): New command.
11488 (isearch-query-replace): Let-bind `search-invisible'
11489 to the value of `isearch-invisible'.
11490 (isearch-search): Use `isearch-invisible' instead of
11491 `search-invisible'. Let-bind `search-invisible'
11492 to the value of `isearch-invisible'. (Bug#11378)
11494 2013-05-30 Juri Linkov <juri@jurta.org>
11496 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11497 call when `query-flag' is nil and `search-invisible' is non-nil.
11500 2013-05-30 Glenn Morris <rgm@gnu.org>
11502 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11504 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11505 (cc-require): Suppress spurious "noruntime" warnings.
11506 (cc-require-when-compile): Use fboundp, for sake of compiler.
11508 * progmodes/cc-mode.el: Move load of cc-vars before that of
11509 cc-langs (which in turn loads cc-vars), to quieten compiler.
11511 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11513 * paren.el: Simplify the code.
11514 (show-paren-mode): Always start the timer.
11515 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11516 (show-paren--overlay, show-paren--overlay-1): Rename from
11517 show-paren-overlay and show-paren-overlay-1, and initialize to an
11518 overlay rather than to nil.
11519 (show-paren-function): Misc cleanup and simplifications.
11521 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11523 * paren.el (show-paren-data-function): New hook.
11524 (show-paren--default): New function, extracted from show-paren-function.
11525 (show-paren-function): Use show-paren-data-function.
11527 2013-05-30 Glenn Morris <rgm@gnu.org>
11529 * ielm.el (ielm-map, ielm-complete-symbol):
11530 Use completion-at-point rather than obsolete functions.
11531 (inferior-emacs-lisp-mode): Doc fix.
11532 Set completion-at-point-functions, rather than
11533 comint-dynamic-complete-functions.
11535 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11536 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11537 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11539 * image.el (image-animated-p): Tweak definition.
11541 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11542 (rlogin-process-connection-type): Tweak default. Add set-after.
11543 (rlogin-host): Doc fix.
11544 (rlogin): Tweak prompt.
11545 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11547 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11548 * progmodes/tcl.el (inferior-tcl-mode-map):
11549 Use completion-at-point rather than obsolete alias.
11551 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11553 * minibuffer.el (read-file-name-completion-ignore-case):
11554 Move before completion--in-region, for eager macro expansion.
11556 2013-05-29 Juri Linkov <juri@jurta.org>
11558 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11559 for total count of matching lines. Add `global-matches' for total
11560 count of matches. Rename `matches' to `lines' for count of
11561 matching lines. Add `matches' for count of matches.
11562 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11563 to `prev-line' for line number of prev match endpt.
11564 Increment `matches' for every match. Print the number of
11565 matching lines in the header.
11566 (occur-context-lines): Rename `lines' to `curr-line'.
11567 Rename `prev-lines' to `prev-line'. (Bug#14017)
11569 2013-05-29 Juri Linkov <juri@jurta.org>
11571 * replace.el (perform-replace): Add `skip-read-only-count',
11572 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11573 Increment them for corresponding conditions and report the number
11574 of skipped occurrences in the final message. (Bug#11746)
11575 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11576 (replace-string, replace-regexp): Doc fix.
11578 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11580 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11582 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11583 prog-mode-map (bug#14504).
11585 2013-05-29 Leo Liu <sdl.web@gmail.com>
11587 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11588 (octave-help): Small simplification.
11590 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11591 off the highlight first.
11593 2013-05-29 Glenn Morris <rgm@gnu.org>
11595 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11596 Handle idlwave-last-system-routine-info-cons-cell being nil.
11598 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11599 (idlwave-write-paths): Simplify via with-temp-buffer.
11601 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11602 * emulation/cua-rect.el: Also load cua-base at run time.
11604 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11605 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11606 (cperl-imenu-on-info): Require imenu.
11608 2013-05-28 Alan Mackenzie <acm@muc.de>
11610 Handle "capitalised keywords" correctly.
11611 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11613 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11615 * eshell/em-unix.el: Add -r option to cp.
11617 2013-05-28 Glenn Morris <rgm@gnu.org>
11619 * vc/vc-arch.el (vc-exec-after): Declare.
11620 (vc-switches): Autoload.
11621 * vc/vc-bzr.el: No need to require vc when compiling.
11622 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11623 (vc-resynch-buffer, vc-dir-refresh): Declare.
11624 (vc-setup-buffer, vc-switches): Autoload.
11625 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11626 (vc-resynch-buffer): Declare.
11627 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11628 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11629 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11630 (grep-read-regexp, grep-read-files, grep-expand-template)
11631 (vc-dir-refresh): Declare.
11632 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11633 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11634 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11635 * vc/vc-mtn.el (vc-exec-after): Declare.
11636 (vc-switches): Autoload.
11637 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11638 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11639 (vc-file-tree-walk): Declare.
11640 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11641 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11642 (vc-tag-precondition, vc-rename-master): Autoload.
11643 * vc/vc-svn.el (vc-exec-after): Declare.
11644 (vc-switches, vc-setup-buffer): Autoload.
11645 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11647 (vc-resynch-buffer): Declare.
11649 * obsolete/fast-lock.el (byte-compile-warnings):
11650 Don't warn about obsolete features in this obsolete file.
11652 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11653 Move definition before use.
11655 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11656 (dun-unix-verbs): Remove dun-zippy.
11657 (dun-zippy): Remove function.
11659 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11661 2013-05-27 Juri Linkov <juri@jurta.org>
11663 * replace.el (replace-search): New function with code moved out
11664 from `perform-replace'.
11665 (replace-highlight, replace-dehighlight): Move function definitions
11666 up closer to `replace-search'. (Bug#11746)
11668 2013-05-27 Juri Linkov <juri@jurta.org>
11670 * replace.el (perform-replace): Ignore invisible matches.
11671 In addition to checking `query-replace-skip-read-only', also
11672 filter out matches by calling `run-hook-with-args-until-failure'
11673 on `isearch-filter-predicates', and also check `search-invisible'
11674 for t or call `isearch-range-invisible'.
11675 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11677 2013-05-27 Juri Linkov <juri@jurta.org>
11679 * isearch.el (isearch-filter-predicates): Rename from
11680 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11681 (isearch-message-prefix): Display text from the property
11682 `isearch-message-prefix' of the currently active filters.
11683 (isearch-search): Don't compare `isearch-filter-predicate' with
11684 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11685 on `isearch-filter-predicates'. Also check `search-invisible' for t
11686 or call `isearch-range-invisible'.
11687 (isearch-filter-visible): Make obsolete.
11688 (isearch-lazy-highlight-search):
11689 Call `run-hook-with-args-until-failure' on
11690 `isearch-filter-predicates' and use `isearch-range-invisible'.
11692 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11693 `isearch-filter-predicates' instead of `funcall'ing
11694 `isearch-filter-predicate'.
11695 (Info-mode): Set `Info-isearch-filter' to
11696 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11698 * dired-aux.el (dired-isearch-filter-predicate-orig):
11700 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11701 (dired-isearch-filenames-end): Add and remove
11702 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11703 instead of changing the value of `isearch-filter-predicate'.
11704 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11705 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11706 Put property `isearch-message-prefix' to "filename " on
11707 `dired-isearch-filter-filenames'.
11709 * wdired.el (wdired-change-to-wdired-mode):
11710 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11711 locally instead of changing `isearch-filter-predicate'.
11712 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11714 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11716 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11717 return the commit hash (Bug#14459). Also set the
11718 `vc-git-detached' property.
11719 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11720 (vc-git-mode-line-string): Use the same help-echo format whether
11721 in detached mode or not, because we know the actual revision now.
11722 When in detached mode, shorten the revision to 7 chars.
11724 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * emacs-lisp/easy-mmode.el (define-minor-mode):
11727 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11728 mode hook and provide a docstring.
11730 2013-05-27 Alan Mackenzie <acm@muc.de>
11732 Remove spurious syntax-table text properties inserted by C-y.
11733 * progmodes/cc-mode.el (c-after-change): Also clear hard
11734 syntax-table property with value nil.
11736 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11738 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11739 when reading the events; the buffer layout shall not be changed.
11741 2013-05-27 Leo Liu <sdl.web@gmail.com>
11743 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11745 (inferior-octave-directory-tracker): Automatically re-sync
11747 (octave-help): Improve handling of 'See also'.
11749 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * doc-view.el: Minor naming convention tweaks.
11752 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11754 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11755 even if there's no `display' property yet (bug#14435).
11757 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11759 * subr.el (unmsys--file-name): Rename from reveal-filename.
11761 * Makefile.in (custom-deps, finder-data, autoloads)
11762 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11763 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11764 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11766 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11768 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11769 error-completion on the first 2 args of condition-case (bug#14446).
11772 2013-05-25 Leo Liu <sdl.web@gmail.com>
11774 * comint.el (comint-previous-matching-input): Do not flood the
11775 *Messages* buffer with trivial messages.
11777 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * progmodes/flymake.el (flymake-nop): Don't return a string.
11780 (flymake-set-at): Fix typo.
11782 * simple.el (read--expression): New function, extracted from
11783 eval-expression. Set completion-at-point-functions (bug#14465).
11784 (eval-expression, eval-minibuffer): Use it.
11786 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11788 * progmodes/flymake.el (flymake-save-buffer-in-file)
11789 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11790 (flymake-selected-frame, flymake-log, flymake-ins-after)
11791 (flymake-set-at, flymake-get-buildfile-from-cache)
11792 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11793 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11794 Refine the doc string.
11795 (flymake-get-file-name-mode-and-masks): Reformat.
11796 (flymake-get-real-file-name-function): Fix a minor bug.
11798 2013-05-24 Juri Linkov <juri@jurta.org>
11800 * progmodes/grep.el (grep-mode-font-lock-keywords):
11801 Support =linenumber= format used by git-grep for lines with
11802 function names. (Bug#13549)
11804 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11806 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11807 0 after a semi-colon; it works better for smie-auto-fill.
11808 (octave--indent-new-comment-line): New function.
11809 (octave-indent-new-comment-line): Use it (indirectly).
11810 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11811 modify comment-line-break-function.
11813 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11814 (smie-setup): Use add-function to set it.
11816 2013-05-24 Sam Steingold <sds@gnu.org>
11818 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11819 argument (before the `interactive' argument).
11821 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11823 * image-mode.el (image-mode-winprops): Add winprops to
11824 image-mode-winprops-alist before running
11825 image-mode-new-window-functions.
11826 * doc-view.el (doc-view-new-window-function): Don't delay
11827 doc-view-goto-page via timers (bug#14435).
11829 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11831 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11832 (doc-view-desktop-save-buffer): New function.
11833 (doc-view-restore-desktop-buffer): New function.
11834 (desktop-buffer-mode-handlers):
11835 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11837 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11838 `desktop-save-buffer' function.
11840 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11842 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11843 (tramp-gvfs-file-name-handler): Raise a user error when
11844 `tramp-gvfs-enabled' is nil.
11845 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11846 Do not raise a user error when loading package. (Bug#14447)
11848 * net/xesam.el: Move to obsolete/.
11850 2013-05-24 Glenn Morris <rgm@gnu.org>
11852 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11854 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11856 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11857 (Info-find-node, Man-getpage-in-background): Declare.
11859 * mail/unrmail.el (unrmail):
11860 Replace obsolete detect-coding-with-priority.
11862 * net/socks.el (socks-split-string): Use this rather than split-string.
11863 (socks-nslookup-host): Update for above change.
11864 (dynamic-choice, s5-dynamic-choice-match)
11865 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11866 Comment out unused code.
11868 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11869 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11870 (gud-tooltip-echo-area): Make obsolete.
11871 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11873 * progmodes/js.el (js--optimize-arglist): Declare.
11875 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11877 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11878 (ediff-window-C): Declare.
11880 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11881 Tweak requires to silence compiler.
11883 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11884 (he-search-string, he-tried-table, he-expand-list)
11885 (he-init-string, he-string-member, he-substitute-string)
11886 (he-reset-string): Declare.
11888 * obsolete/options.el (list-options): Use custom-variable-p,
11889 rather than obsolete alias.
11891 2013-05-23 Sam Steingold <sds@gnu.org>
11893 * simple.el (shell-command-on-region): Pass the `replace' argument
11894 down to `call-process-region' to comply with the doc as reported on
11895 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11897 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11899 * emacs-lisp/smie.el (smie-indent-forward-token)
11900 (smie-indent-backward-token): Handle string tokens (bug#14381).
11902 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11904 * ielm.el (ielm-menu): New menu.
11905 (inferior-emacs-lisp-mode): Set comment-start.
11907 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11909 * textmodes/reftex.el (reftex-ref-style-toggle):
11910 Fix deactivate action.
11912 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11913 Add cleveref macros.
11915 * textmodes/reftex-parse.el
11916 (reftex-locate-bibliography-files): Accept options for
11917 bibliography commands.
11918 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11919 Add addbibresource. Basic Biblatex support.
11921 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11923 * net/tramp-gvfs.el (top):
11924 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11925 when loading package. (Bug#14447)
11927 2013-05-23 Glenn Morris <rgm@gnu.org>
11929 * progmodes/js.el: No need to load comint when compiling.
11930 (ring-insert, comint-send-string, comint-send-input)
11931 (comint-last-input-end, ido-chop): Declare.
11933 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11934 * vc/ediff-mult.el: Adjust requires.
11935 (ediff-directories-internal, ediff-directory-revisions-internal)
11936 (ediff-patch-file-internal): Declare.
11937 * vc/ediff-ptch.el: Adjust requires.
11938 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11939 (ediff-find-file): Autoload.
11940 * vc/ediff-util.el: No need to load ediff when compiling.
11941 (ediff-regions-internal): Declare.
11942 * vc/ediff-wind.el: Adjust requires.
11943 (ediff-compute-toolbar-width): Define when compiling.
11944 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11945 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11946 (dired-get-filename, dired-get-marked-files)
11947 (ediff-last-dir-patch, ediff-patch-default-directory)
11948 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11949 (ediff-patch-buffer-internal): Declare.
11951 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11952 (ispell-process, ispell-buffer-local-words, lm-summary)
11953 (lm-section-start, lm-section-end): Declare.
11954 (checkdoc-ispell-init): Simplify.
11956 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11957 (he-string-member, he-reset-string, he-substitute-string): Declare.
11959 * eshell/em-ls.el: Adjust requires.
11960 (eshell-glob-regexp): Declare.
11961 * eshell/em-tramp.el: Adjust requires.
11962 (eshell-parse-command): Autoload.
11963 * eshell/em-xtra.el: Adjust requires.
11964 (eshell-parse-command): Autoload.
11965 * eshell/esh-ext.el: Adjust requires.
11966 (eshell-parse-command, eshell-close-handles): Autoload.
11967 * eshell/esh-io.el: Adjust requires.
11968 (eshell-output-filter): Autoload.
11969 * eshell/esh-util.el: No need to load tramp when compiling.
11970 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11972 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11973 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11974 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11975 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11976 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11977 * eshell/esh-opt.el, eshell/esh-proc.el:
11978 * eshell/esh-var.el: Adjust requires.
11979 * eshell/eshell.el: Do not require esh-util twice.
11980 (eshell-add-input-to-history): Declare.
11981 (eshell-command): Check history module is active before using it.
11983 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11985 2013-05-22 Leo Liu <sdl.web@gmail.com>
11987 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11989 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11991 * autorevert.el (auto-revert-notify-add-watch)
11992 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11993 it indicates changes in file modification time.
11995 2013-05-22 Glenn Morris <rgm@gnu.org>
11997 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11998 Always delete the autoloaded function from the noruntime and
11999 unresolved functions lists.
12001 * allout.el: No need to load epa, epg, overlay when compiling.
12002 (epg-context-set-passphrase-callback, epg-list-keys)
12003 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
12004 (epg-key-user-id-list): Declare.
12006 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12007 (viper-set-parsing-style-toggling-macro)
12008 (viper-set-emacs-state-searchstyle-macros):
12009 Use called-interactively-p on Emacs.
12010 (viper-looking-back): Make it an obsolete alias. Update callers.
12011 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
12012 Use looking-back rather than viper-looking-back.
12013 (viper-tmp-insert-at-eob, viper-enlarge-region)
12014 (viper-read-string-with-history, viper-register-to-point)
12015 (viper-append-to-register, viper-change-state-to-vi)
12016 (viper-backward-char-carefully, viper-forward-char-carefully)
12017 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
12018 (viper-change-state-to-emacs): Declare.
12019 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
12020 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
12021 * emulation/viper-mous.el: Do not load viper-cmd.
12022 (viper-backward-char-carefully, viper-forward-char-carefully)
12023 (viper-forward-word, viper-adjust-window): Declare.
12025 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
12027 * progmodes/idlw-help.el (idlwave-help-fontify):
12028 Use called-interactively-p.
12030 * term/w32console.el (w32-get-console-codepage)
12031 (w32-get-console-output-codepage): Declare.
12033 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
12034 Remove unnecessary declarations.
12035 (dframe-message): Doc fix.
12037 * info.el (dframe-select-attached-frame, dframe-current-frame):
12040 * speedbar.el (speedbar-message): Make it an obsolete alias.
12041 Update all callers.
12042 (speedbar-with-attached-buffer)
12043 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
12044 (speedbar-with-writable): Use backquote.
12045 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
12046 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
12047 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
12048 rather than speedbar- aliases.
12049 * mail/rmail.el: Load dframe rather than speedbar when compiling.
12050 (speedbar-make-specialized-keymap, speedbar-insert-button)
12051 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
12052 (speedbar-do-function-pointer): Declare.
12053 (rmail-speedbar-button, rmail-speedbar-find-file)
12054 (rmail-speedbar-move-message):
12055 Use dframe-with-attached-buffer rather than speedbar- alias.
12056 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
12057 (dframe-message, speedbar-make-specialized-keymap)
12058 (speedbar-add-expansion-list, speedbar-mode-functions-list)
12059 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
12060 (speedbar-insert-button, dframe-select-attached-frame)
12061 (dframe-maybee-jump-to-attached-frame)
12062 (speedbar-change-initial-expansion-list)
12063 (speedbar-previously-used-expansion-list-name): Declare.
12064 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
12065 Use dframe-message, dframe-with-attached-buffer rather than
12067 (gud-sentinel): Silence compiler.
12068 * progmodes/vhdl-mode.el (speedbar-refresh)
12069 (speedbar-do-function-pointer, speedbar-add-supported-extension)
12070 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
12071 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
12072 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
12073 (speedbar-file-lists, speedbar-make-tag-line)
12074 (speedbar-line-directory, speedbar-goto-this-file)
12075 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
12076 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
12077 (speedbar-make-button, speedbar-reset-scanners)
12078 (speedbar-files-item-info, speedbar-line-text)
12079 (speedbar-find-file-in-frame, speedbar-set-timer)
12080 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
12081 (speedbar-with-writable): Do not (re)define it.
12082 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
12083 rather than speedbar- alias.
12085 2013-05-21 Leo Liu <sdl.web@gmail.com>
12087 * progmodes/octave.el (octave-mode-menu): Update and re-organize
12089 (octave-mode): Tweak fill-nobreak-predicate.
12090 (inferior-octave-startup): Check process to avoid infinite loop.
12091 (inferior-octave): Pop to buffer first to show abornmal process
12094 2013-05-21 Glenn Morris <rgm@gnu.org>
12096 * printing.el (pr-menu-bar): Define when compiling.
12098 2013-05-21 Leo Liu <sdl.web@gmail.com>
12100 * progmodes/octave.el (octave-auto-fill): Remove.
12101 (octave-indent-new-comment-line): Improve.
12102 (octave-mode): Use auto fill mode through
12103 comment-line-break-function and fill-nobreak-predicate.
12104 (octave-goto-function-definition): Support DEFUN_DLD.
12105 (octave-beginning-of-defun): Small tweak.
12106 (octave-help): Show parent directory.
12108 2013-05-21 Glenn Morris <rgm@gnu.org>
12110 * files.el (dired-unmark):
12111 * progmodes/gud.el (gdb-input): Update declarations.
12113 * calculator.el (electric, ehelp): No need to load when compiling.
12114 (Electric-command-loop, electric-describe-mode): Declare.
12116 * doc-view.el (doc-view-current-converter-processes): Move before use.
12118 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12119 Move MODE-set-explicitly definition before use.
12121 * international/mule-diag.el (mule-diag):
12122 Don't use obsolete window-system-version.
12124 * mail/feedmail.el (smtpmail): No need to load when compiling.
12125 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
12127 * mail/mail-utils.el (rfc822): No need to load when compiling.
12128 (rfc822-addresses): Autoload it.
12129 (mail-strip-quoted-names): Trivial simplification.
12131 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
12132 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
12134 * net/snmp-mode.el (tempo): Don't duplicate requires.
12136 * progmodes/prolog.el (info): No need to load when compiling.
12137 (comint): Require before shell requires it.
12138 (Info-goto-node): Autoload it.
12139 (Info-follow-nearest-node): Declare.
12140 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
12142 * textmodes/artist.el (picture-mode-exit): Declare.
12144 * textmodes/reftex-parse.el (reftex-parse-from-file):
12145 Trivial rewrite so the compiler can parse it better.
12147 2013-05-20 Leo Liu <sdl.web@gmail.com>
12149 * progmodes/octave.el (octave-help-mode-map)
12150 (octave-help-mode-finish-hook): New variables.
12151 (octave-help-mode, octave-help-mode-finish): New functions.
12152 (octave-help): Use octave-help-mode.
12154 2013-05-20 Glenn Morris <rgm@gnu.org>
12156 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12158 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12160 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12161 start at point, so that expansion starting right after opening
12162 slash in a regexp is recognized.
12163 (ruby-syntax-before-regexp-re): New defvar, extracted from
12164 ruby-syntax-propertize-function. Since the value of this regexp
12165 is looked up at runtime now, we should be able to turn
12166 `ruby-syntax-methods-before-regexp' into a defcustom later.
12167 (ruby-syntax-propertize-function): Split regexp matching into two
12168 parts, for opening and closing slashes. That allows us to skip
12169 over string interpolations and support multiline regexps.
12170 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12171 for them, which calls `ruby-syntax-propertize-expansion'.
12172 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12173 call to `ruby-syntax-propertize-function'.
12174 (ruby-syntax-propertize-expansion): Extracted from
12175 `ruby-syntax-propertize-expansions'. Handles one expansion.
12176 (ruby-syntax-propertize-percent-literal): Leave point right after
12177 the percent symbol, so that the expression expansion rule can
12178 propertize the contents.
12179 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12181 (ruby-syntax-propertize-expansions): Remove.
12183 2013-05-18 Juri Linkov <juri@jurta.org>
12185 * man.el (Man-default-man-entry): Remove `-' from the end
12186 of the default value. (Bug#14400)
12188 2013-05-18 Glenn Morris <rgm@gnu.org>
12190 * comint.el (comint-password-prompt-regexp):
12191 Allow "password for XXX" where XXX contains colons (eg https://...).
12193 2013-05-18 Leo Liu <sdl.web@gmail.com>
12195 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12196 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12197 (octave-source-directories): Don't check process.
12198 (octave-source-directories, octave-find-definition): Doc fix.
12200 2013-05-18 Glenn Morris <rgm@gnu.org>
12202 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12203 Remove backspace/delete bindings. (Bug#14392)
12205 * cus-dep.el (custom-make-dependencies): Sort the output.
12206 (custom-versions-load-alist): Convert comment to doc.
12208 2013-05-17 Leo Liu <sdl.web@gmail.com>
12210 * newcomment.el (comment-search-backward): Stricter in finding
12211 comment start. (Bug#14303)
12213 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12214 (octave-comment-start-skip): Properly anchored.
12216 2013-05-17 Leo Liu <sdl.web@gmail.com>
12218 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12219 Clean up when turned off. (Bug#14395)
12220 (smie--highlight-matching-block-overlay): No longer buffer-local.
12221 (smie-highlight-matching-block): Adjust.
12223 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12225 Doc string fix for "nanoseconds" (Bug#14406).
12226 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12227 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12229 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12231 * calc/calc-units.el (math-extract-units): Preserve powers
12234 2013-05-17 Leo Liu <sdl.web@gmail.com>
12236 * subr.el (delete-consecutive-dups): New function.
12237 * ido.el (ido-set-matches-1): Use it.
12238 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12239 * ido.el (ido-remove-consecutive-dups): Remove.
12241 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12243 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12244 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12245 regexp-opt's `words'.
12247 2013-05-16 Leo Liu <sdl.web@gmail.com>
12249 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12250 (smie--highlight-matching-block-overlay)
12251 (smie--highlight-matching-block-lastpos)
12252 (smie--highlight-matching-block-timer): New variables.
12253 (smie-highlight-matching-block): New function.
12254 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12255 (smie-setup): Conditionally enable smie-blink-matching-open.
12257 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12259 Sync with upstream verilog-mode r840.
12260 * progmodes/verilog-mode.el (verilog-mode-version)
12261 (verilog-mode-release-date): Update.
12262 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12263 (verilog-sig-tieoff): Fix string error on
12264 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12265 (verilog-read-decls): Fix parameters confusing
12266 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12268 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12270 * subr.el (reveal-filename): New function.
12272 * loadup.el: Compute Emacs executable versions on MS-Windows,
12273 where executables have the .exe extension. Add a hard link
12274 emacs-XX.YY.ZZ.exe on MS-Windows.
12276 * Makefile.in (XARGS_LIMIT): New variable.
12277 (custom-deps, finder-data, autoloads)
12278 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12279 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12280 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12281 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12283 2013-05-16 Leo Liu <sdl.web@gmail.com>
12285 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12286 (octave-mode-menu, octave-mode-map): Remove its uses.
12288 2013-05-16 Reto Zimmermann <reto@gnu.org>
12290 Sync with upstream vhdl mode v3.34.2.
12291 * progmodes/vhdl-mode.el: Use `push' throughout.
12292 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12293 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12294 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12295 (vhdl-actual-generic-name): New option to derive actual generic name.
12296 (vhdl-port-paste-signals): Replace formal by actual generics.
12297 (vhdl-beautify): New name for old group vhdl-align. Update users.
12298 (vhdl-beautify-options): New option.
12299 (vhdl-last-input-event): New compat alias. Use throughout.
12300 (vhdl-goto-line): Replace user level function `goto-line'.
12301 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12302 vhdl-fix-statement-buffer.
12303 (vhdl-create-mode-menu): Add some entries.
12304 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12305 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12306 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12307 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12308 to force statements on one line.
12309 (vhdl-remove-trailing-spaces-region):
12310 New, split from vhdl-remove-trailing-spaces.
12311 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12312 Respect vhdl-beautify-options.
12313 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12314 (vhdl-update-sensitivity-list): Not add with index if exists without.
12315 Not include array index with signal. Ignore keywords in comments.
12316 (vhdl-get-visible-signals): Regexp tweaks.
12317 (vhdl-template-component-inst): Handle empty library.
12318 (vhdl-template-type): Add template for 'enum' type.
12319 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12320 Use vhdl-replace-string.
12321 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12322 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12323 (vhdl-speedbar-initialize): Update for above name change.
12324 (vhdl-compose-wire-components): Fix in handling of constants.
12325 (vhdl-error-regexp-emacs-alist): New variable.
12326 (vhdl-error-regexp-add-emacs): New function;
12327 adds support for new compile.el (Emacs 22+)
12328 (vhdl-generate-makefile-1): Change target order for single lib. units.
12329 Allow use of absolute file names.
12331 2013-05-16 Leo Liu <sdl.web@gmail.com>
12333 * simple.el (prog-indent-sexp): Indent enclosing defun.
12335 2013-05-15 Glenn Morris <rgm@gnu.org>
12337 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12338 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12339 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12340 (whitespace-highlight): Move to whitespace group.
12342 * comint.el (comint-source):
12343 * pcmpl-linux.el (pcmpl-linux):
12344 * shell.el (shell-faces):
12345 * eshell/esh-opt.el (eshell-opt):
12346 * international/ccl.el (ccl): Remove empty custom groups.
12348 * completion.el (dynamic-completion-mode):
12349 * jit-lock.el (jit-lock-debug-mode):
12350 * minibuffer.el (completion-in-region-mode):
12351 * type-break.el (type-break-mode-line-message-mode)
12352 (type-break-query-mode):
12353 * emulation/tpu-edt.el (tpu-edt-mode):
12354 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12355 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12356 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12358 * term/xterm.el (xterm): Change parent group to terminals.
12360 * master.el (master): Remove empty custom group.
12361 (master-mode): Remove unused :group argument.
12362 * textmodes/refill.el (refill): Remove empty custom group.
12363 (refill-mode): Remove unused :group argument.
12365 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12367 * cus-dep.el: Provide a feature.
12368 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12369 Don't mistakenly ignore files whose basenames match a basename
12370 from preloaded-file-list (eg cedet/ede/simple.el).
12371 Add a fallback method for getting :group.
12373 2013-05-15 Juri Linkov <juri@jurta.org>
12375 * isearch.el (isearch-char-by-name): Rename from
12376 `isearch-insert-char-by-name'. Doc fix.
12377 (isearch-forward): Mention `isearch-char-by-name' in
12378 the docstring. (Bug#13348)
12380 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12381 `exit-minibuffer' instead of
12382 `isearch-nonincremental-exit-minibuffer'.
12383 (isearch-edit-string): Remove mention of
12384 `isearch-nonincremental-exit-minibuffer' from docstring.
12385 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12386 (isearch-forward-exit-minibuffer)
12387 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12389 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12391 * loadup.el: Just use unversioned DOC.
12393 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12394 literals as extending to EOB.
12395 (nxml-last-fontify-end): Remove unused variable.
12396 (nxml-after-change1): Use with-silent-modifications.
12397 (nxml-extend-after-change-region): Simplify.
12398 (nxml-extend-after-change-region1): Remove function.
12399 (nxml-after-change1): Don't adjust for dependent regions.
12400 (nxml-fontify-matcher): Simplify.
12401 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12402 (xmltok-add-dependent): Remove function.
12403 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12404 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12405 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12406 unclosed <[[, <?, comment, and other literals as extending to EOB.
12407 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12408 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12410 (rng-do-some-validation-1): Don't mark dependent regions.
12411 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12412 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12413 (nxml-clear-dependent-regions): Remove functions.
12414 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12415 (nxml-ensure-scan-up-to-date):
12416 Don't clear&mark dependent regions.
12418 2013-05-15 Leo Liu <sdl.web@gmail.com>
12420 * progmodes/octave.el (octave-goto-function-definition):
12421 Improve and fix callers.
12423 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12425 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12426 the setter (bug#14387).
12428 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12429 surrounding group (bug#14402).
12431 2013-05-14 Juri Linkov <juri@jurta.org>
12433 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12436 2013-05-14 Glenn Morris <rgm@gnu.org>
12438 * progmodes/f90.el (f90-imenu-generic-expression):
12439 Fix typo in 2013-05-08 change. (Bug#14402)
12441 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12443 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12444 Remove signals for which replies are never received.
12446 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12448 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12449 (gdb-handler-alist, gdb-handler-number): Remove variables.
12450 (gdb-handler-list): New variable.
12451 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12452 (gdb-pending-handler-p, gdb-handle-reply)
12453 (gdb-remove-all-pending-triggers): New functions.
12454 (gdb-discard-unordered-replies): New defcustom.
12455 (gdb-handler): New defstruct.
12456 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12457 instead of gdb-pending-triggers. Update docstring.
12458 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12459 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12460 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12461 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12462 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12463 (gdb-frame-handler): Pending triggers are now automatically managed.
12464 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12466 (gdb-input): Automatically handles pending triggers. Update docstring.
12467 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12468 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12470 (gdb-done-or-error): Now use gdb-handle-reply.
12472 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12474 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12477 2013-05-14 Glenn Morris <rgm@gnu.org>
12479 * subr.el (user-emacs-directory-warning): New option.
12480 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12482 2013-05-14 Leo Liu <sdl.web@gmail.com>
12484 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12486 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12487 (octave-font-lock-texinfo-comment): Fix invalid search bound
12488 error: wrong side of point.
12490 2013-05-14 Glenn Morris <rgm@gnu.org>
12492 * progmodes/flymake.el (flymake-xml-program): New option.
12493 (flymake-xml-init): Use it.
12495 * term/xterm.el: Provide a feature.
12497 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12499 2013-05-13 Glenn Morris <rgm@gnu.org>
12501 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12502 Add compat aliases as a hack workaround. (Bug#14384)
12504 2013-05-13 Leo Liu <sdl.web@gmail.com>
12506 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12508 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12510 (octave-comment-start-skip): Include %!.
12511 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12513 2013-05-12 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (inferior-octave-startup): Store the value
12516 of __octave_srcdir__ for octave-source-directories.
12517 (inferior-octave-check-process): New function refactored out of
12518 inferior-octave-send-list-and-digest.
12519 (octave-source-directories)
12520 (octave-find-definition-filename-function): New variables.
12521 (octave-source-directories)
12522 (octave-find-definition-default-filename): New functions.
12523 (octave-find-definition): Improve to find functions implemented in C++.
12525 2013-05-12 Glenn Morris <rgm@gnu.org>
12527 * calendar/diary-lib.el (diary-outlook-format-1):
12528 Don't include dayname in the output. (Bug#14349)
12530 2013-05-11 Glenn Morris <rgm@gnu.org>
12532 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12534 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12535 Treat cc-provide like provide.
12537 2013-05-11 Kevin Ryde <user42@zip.com.au>
12539 * cus-dep.el (custom-make-dependencies):
12540 Use generated-autoload-load-name for the sake of files such
12541 such cedet/semantic/bovine/c.el, where the base file name
12542 is not in load-path. (Bug#5277)
12544 2013-05-11 Glenn Morris <rgm@gnu.org>
12546 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12549 2013-05-11 Leo Liu <sdl.web@gmail.com>
12551 * progmodes/octave.el (octave-indent-comment): Improve.
12552 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12553 (octave-eldoc-function-signatures, octave-eldoc-function):
12555 (octave-mode, inferior-octave-mode): Add eldoc support.
12557 2013-05-11 Richard Stallman <rms@gnu.org>
12559 * epa.el (epa-decrypt-file): Take output file name as argument
12560 and read it using `interactive'.
12562 2013-05-11 Leo Liu <sdl.web@gmail.com>
12564 * progmodes/octave.el (octave-beginning-of-line)
12565 (octave-end-of-line): Check before using up-list because it jumps
12566 out of more syntactic contructs since moving to smie.
12567 (octave-indent-comment): New function.
12568 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12569 (octave-begin-keywords, octave-end-keywords)
12570 (octave-reserved-words, octave-smie-bnf-table)
12571 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12573 2013-05-11 Glenn Morris <rgm@gnu.org>
12575 * faces.el (internal-face-x-get-resource):
12576 * frame.el (ns-display-monitor-attributes-list):
12577 * calc/calc-aent.el (math-to-radians-2):
12578 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12581 * calc/calc-menu.el: Make it loadable in isolation.
12583 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12584 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12585 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12586 (eudc-bbdb-query-internal): Require 'bbdb.
12588 * lpr.el (lpr-headers-switches):
12589 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12591 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12593 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12595 * term.el (term-set-escape-char): Make it idempotent.
12597 2013-05-10 Leo Liu <sdl.web@gmail.com>
12599 * progmodes/octave.el (inferior-octave-completion-table):
12600 No longer a function and all uses changed. Use cache to speed up
12601 completion due to bug#11906.
12602 (octave-beginning-of-defun): Re-write to be more general.
12604 2013-05-10 Glenn Morris <rgm@gnu.org>
12606 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12608 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12610 * comint.el (comint-redirect-send-command-to-process): Use :around
12611 rather than :override for comint-redirect-filter.
12612 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12613 Call it instead of comint-redirect-original-filter-function (which
12614 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12616 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12618 * frame.el (display-monitor-attributes-list): Add NS case.
12619 (ns-display-monitor-attributes-list): Declare.
12621 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12623 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12625 2013-05-09 Glenn Morris <rgm@gnu.org>
12627 * international/fontset.el (vertical-centering-font-regexp):
12628 Set standard-value.
12630 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12632 * bookmark.el (bookmark-search-delay):
12633 * cus-start.el (vertical-centering-font-regexp):
12634 * ps-mule.el (ps-mule-font-info-database-default):
12635 * ps-print.el (ps-default-fg, ps-default-bg):
12636 * type-break.el (type-break-good-break-interval):
12637 * whitespace.el (whitespace-indentation-regexp)
12638 (whitespace-space-after-tab-regexp):
12639 * emacs-lisp/testcover.el (testcover-1value-functions)
12640 (testcover-noreturn-functions, testcover-progn-functions)
12641 (testcover-prog1-functions):
12642 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12643 * eshell/em-glob.el (eshell-glob-translate-alist):
12644 * play/tetris.el (tetris-tty-colors):
12645 * progmodes/cpp.el (cpp-face-default-list):
12646 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12647 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12648 (idlwave-help-browser-generic-args):
12649 * progmodes/make-mode.el (makefile-special-targets-list):
12650 * progmodes/python.el (python-shell-virtualenv-path):
12651 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12652 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12653 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12654 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12655 * textmodes/reftex-vars.el (reftex-format-label-function):
12656 * textmodes/remember.el (remember-diary-file): Fix custom types.
12658 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12661 2013-05-09 Leo Liu <sdl.web@gmail.com>
12663 * progmodes/octave.el (inferior-octave-completion-at-point):
12664 Restore file completion. (Bug#14300)
12665 (inferior-octave-startup): Fix incorrect highlighting for the
12668 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12670 * progmodes/ruby-mode.el: First cut at SMIE support.
12671 (ruby-use-smie): New var.
12672 (ruby-smie-grammar): New constant.
12673 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12674 (ruby-smie--forward-token, ruby-smie--backward-token)
12675 (ruby-smie-rules): New functions.
12676 (ruby-mode-variables): Setup SMIE if applicable.
12678 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12680 * simple.el (line-move-visual): Signal beginning/end of buffer
12681 only if vertical-motion moved less than it was requested. Avoids
12682 silly incorrect error messages when there are display strings with
12683 multiple newlines at EOL.
12685 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12688 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12689 (prolog-char-quote-workaround):
12690 * progmodes/cperl-mode.el (cperl-under-as-char):
12691 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12693 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12695 (vhdl-mode-syntax-table-init): Remove.
12697 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12700 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12702 (ld-script-font-lock-keywords):
12703 Change regexps to use things like \_< and \_>.
12705 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12706 Change all regexps to use things like \_< and \_>.
12708 * progmodes/autoconf.el (autoconf-definition-regexp)
12709 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12710 Handle a _ with symbol syntax.
12711 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12713 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12714 Consolidate declaration.
12715 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12717 (ada-create-syntax-table): Remove.
12718 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12719 already has the right syntax nowadays.
12720 (ada-goto-next-word): Don't change the syntax of "_".
12722 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12725 2013-05-08 Sam Steingold <sds@gnu.org>
12727 * thingatpt.el (thing-at-point): Accept optional second argument
12728 NO-PROPERTIES to strip the text properties from the return value.
12729 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12730 to `thing-at-point' instead of stripping the properties ourselves.
12731 Also, when `thing-at-point' fails to find a url, prepend "http://"
12732 to the filename at point on the assumption that the user is
12733 pointing at something like gnu.org/gnu.
12735 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12737 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12738 * faces.el (crm-separator):
12739 Silence byte-compiler.
12741 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12742 (tool-bar-map): Remove unneeded defvars.
12744 2013-05-08 Leo Liu <sdl.web@gmail.com>
12746 Re-work a fix for bug#10994 based on Le Wang's patch.
12747 * ido.el (ido-remove-consecutive-dups): New helper.
12748 (ido-completing-read): Use it.
12749 (ido-chop): Revert fix for bug#10994.
12751 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12753 * cus-edit.el (custom-save-variables):
12754 Pretty-print long values. (Bug#14187)
12756 2013-05-08 Glenn Morris <rgm@gnu.org>
12758 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12759 (m4-mode-syntax-table): Init in the defvar.
12760 (m4-mode-abbrev-table): Let define-derived-mode define it.
12762 2013-05-08 Tom Tromey <tromey@redhat.com>
12764 * progmodes/m4-mode.el (m4-mode-syntax-table):
12765 Do not treat "_" as word constituent. (Bug#14167)
12767 2013-05-07 Glenn Morris <rgm@gnu.org>
12769 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12770 Remove explicit eshell-isearch-cancel-map.
12772 * progmodes/f90.el (f90-smart-end-names): New option.
12773 (f90-smart-end): Doc fix.
12774 (f90-end-block-optional-name): New constant.
12775 (f90-block-match): Respect f90-smart-end-names.
12777 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12779 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12780 about implicit semi-colons (bug#14218).
12782 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12784 * frame.el (display-monitor-attributes-list)
12785 (frame-monitor-attributes): New functions.
12787 2013-05-06 Leo Liu <sdl.web@gmail.com>
12789 * progmodes/octave.el (octave-syntax-propertize-function): Change
12790 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12791 (octave-font-lock-keywords): Use octave-operator-regexp.
12792 (octave-completion-at-point): Rename from
12793 octave-completion-at-point-function.
12794 (inferior-octave-directory-tracker): Robustify.
12795 (octave-text-functions): Remove and fix its uses. No such things
12798 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * emacs-lisp/trace.el (trace--display-buffer): New function.
12801 (trace-make-advice): Use it.
12803 2013-05-06 Juri Linkov <juri@jurta.org>
12805 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12806 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12808 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12809 in the help string. (Bug#12985)
12811 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12813 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12815 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12817 * progmodes/perl-mode.el: Add support for here documents.
12818 (perl-syntax-propertize-function): Match here-doc markers.
12819 (perl-syntax-propertize-special-constructs): Find their end.
12820 (perl-imenu-generic-expression): Use [:alnum:].
12822 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12823 (advice--add-function): Refresh the advice if already present
12826 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12828 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12830 2013-05-06 Glenn Morris <rgm@gnu.org>
12832 * w32-fns.el (w32-charset-info-alist): Declare.
12834 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12835 of its defcustom properties.
12836 (eshell-cmpl-initialize): No need to load pcomplete.
12838 * generic-x.el: No need to require comint when compiling.
12840 * net/eudc-export.el: Make it loadable without bbdb.
12841 (top-level): Use require rather than load-library.
12842 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12843 (eudc-batch-export-records-to-bbdb)
12844 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12847 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12849 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12850 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12851 some tweaks, instead.
12853 2013-05-05 Leo Liu <sdl.web@gmail.com>
12855 * progmodes/octave.el (octave-font-lock-keywords)
12856 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12857 (inferior-octave-send-list-and-digest): Improve error message.
12858 (octave-mode, inferior-octave-mode): Use setq-local.
12859 (octave-help): Set info-lookup-mode.
12861 2013-05-05 Richard Stallman <rms@gnu.org>
12863 * vc/compare-w.el (compare-windows-whitespace):
12864 Treat no-break space as whitespace.
12866 * mail/rmailsum.el (rmail-summary-rmail-update):
12867 Detect empty summary and don't change selected message.
12868 (rmail-summary-goto-msg): Likewise.
12870 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12871 Doc fixes, rename args.
12873 2013-05-05 Alan Mackenzie <acm@muc.de>
12875 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12877 2013-05-05 Juri Linkov <juri@jurta.org>
12879 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12880 to not add the length of the summary segment to the return value.
12883 2013-05-05 Leo Liu <sdl.web@gmail.com>
12885 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12886 (inferior-octave-output-filter): Remove.
12887 (octave-send-region, inferior-octave-startup): Fix callers.
12888 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12889 (octave-binary-file-extensions): New user variable.
12890 (octave-find-definition): Confirm if opening binary files.
12891 (octave-help-file): Use octave-find-definition to get the binary
12893 (octave-help): Adjust for octave-help-file change.
12895 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12897 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12898 Merge the two entries that handle function definitions.
12899 (pascal--syntax-propertize): New const.
12900 (pascal-mode): Use it. Use setq-local.
12902 2013-05-04 Glenn Morris <rgm@gnu.org>
12904 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12905 (diary-from-outlook): Respect diary-from-outlook-function.
12907 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12909 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12910 Move the declaration from C.
12911 (read-minibuffer, eval-minibuffer): Move from C.
12912 (completion-setup-function): Avoid minibuffer-completion-contents.
12914 2013-05-03 Leo Liu <sdl.web@gmail.com>
12916 * progmodes/octave.el (octave-font-lock-keywords): Do not
12917 dehighlight 'end' in comments or strings.
12918 (octave-completing-read, octave-goto-function-definition):
12920 (octave-help-buffer): New user variable.
12921 (octave-help-file, octave-help-function): New button types.
12922 (octave-help): New command and bind it to C-h ;.
12923 (octave-find-definition): New command and bind it to M-.
12924 (user-error): Alias to error if not defined.
12926 2013-05-02 Leo Liu <sdl.web@gmail.com>
12928 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12930 (octave-font-lock-keywords): Include [ and {.
12932 2013-05-02 Leo Liu <sdl.web@gmail.com>
12934 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12935 (inferior-octave): Remove calling comint-mode and return the buffer.
12936 (inferior-octave-startup): Cosmetic changes.
12938 2013-05-02 Leo Liu <sdl.web@gmail.com>
12940 * progmodes/octave.el (octave-syntax-propertize-function):
12941 Include the case when ' is at line beginning. (Bug#14336)
12943 2013-05-02 Glenn Morris <rgm@gnu.org>
12945 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12946 * desktop.el (vc-dir-mode): Just autoload it here.
12948 2013-05-02 Alan Mackenzie <acm@muc.de>
12950 Eliminate variable c-standard-font-lock-fontify-region-function.
12951 * progmodes/cc-mode.el
12952 (c-standard-font-lock-fontify-region-function): Remove.
12953 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12955 2013-05-01 Leo Liu <sdl.web@gmail.com>
12957 * progmodes/octave.el: Compatible with older emacs-24 releases.
12958 (inferior-octave-has-built-in-variables): Remove. Built-in
12959 variables were removed from Octave in 2007.
12960 (inferior-octave-startup): Fix uses.
12961 (comint-line-beginning-position): Remove compatibility code for
12964 2013-05-01 Juri Linkov <juri@jurta.org>
12966 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12968 2013-05-01 Juri Linkov <juri@jurta.org>
12970 * comint.el (comint-previous-matching-input): Don't print message
12971 "History item: %d" when `isearch-mode' is active.
12972 (comint-history-isearch-message): Print message "History item: %d"
12973 when `comint-input-ring-index' is not empty and this function is
12974 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12976 2013-05-01 Leo Liu <sdl.web@gmail.com>
12978 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12979 definitions. Use completion-at-point to insert keywords.
12980 (octave-abbrev-start): Remove.
12981 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12983 2013-04-30 Leo Liu <sdl.web@gmail.com>
12985 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12988 2013-04-30 Alan Mackenzie <acm@muc.de>
12990 Handle arbitrarily long C++ member initialisation lists.
12991 * progmodes/cc-engine.el (c-back-over-member-initializers):
12993 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12994 (most) member init lists.
12996 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12998 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
13001 2013-04-30 Leo Liu <sdl.web@gmail.com>
13003 * progmodes/octave.el (octave-variables): Remove. No builtin
13004 variables any more. All converted to functions.
13005 (octave-font-lock-keywords, octave-completion-at-point-function):
13007 (octave-font-lock-texinfo-comment): New user variable.
13008 (octave-texinfo-font-lock-keywords): New variable for texinfo
13010 (octave-function-comment-block): New face.
13011 (octave-font-lock-texinfo-comment): New function.
13012 (octave-mode): Font lock texinfo comment block.
13014 2013-04-29 Leo Liu <sdl.web@gmail.com>
13016 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
13017 indexing expression.
13018 (octave-continuation-string): Do not use \.
13019 (inferior-octave-complete-impossible): Remove.
13020 (inferior-octave-completion-table)
13021 (inferior-octave-completion-at-point): Remove its uses.
13022 (inferior-octave-startup): completion_matches was introduced to
13023 Octave in 1996 so safe to assume it.
13024 (octave-function-file-comment): Improve to follow how Octave does it.
13025 (octave-update-function-file-comment): Tweak.
13027 2013-04-29 Leo Liu <sdl.web@gmail.com>
13029 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
13030 (inferior-octave-startup): Remove inferior-octave-startup-hook.
13031 (octave-function-file-comment): Fix typo.
13032 (octave-sync-function-file-names): Use read-char-choice.
13034 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
13036 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
13037 to t for the less important warnings.
13039 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
13041 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
13043 2013-04-27 Glenn Morris <rgm@gnu.org>
13045 * vc/log-view.el (log-view-current-entry):
13046 Treat "---" separator lines as part of the following rev. (Bug#14169)
13048 2013-04-27 Juri Linkov <juri@jurta.org>
13050 * subr.el (read-number): Doc fix about using it by interactive
13051 code letter `n'. (Bug#14254)
13053 2013-04-27 Juri Linkov <juri@jurta.org>
13055 * desktop.el (desktop-auto-save-timeout): New option.
13056 (desktop-file-checksum): New variable.
13057 (desktop-save): Add optional arg `auto-save' and don't auto-save
13058 if nothing changed.
13059 (desktop-auto-save-timer): New variable.
13060 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
13061 (after-init-hook): Call `desktop-auto-save-set-timer'.
13062 Suggested by Reuben Thomas <rrt@sc3d.org> in
13063 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
13065 2013-04-27 Leo Liu <sdl.web@gmail.com>
13067 * progmodes/octave.el (octave-function-file-p)
13068 (octave-skip-comment-forward, octave-function-file-comment)
13069 (octave-update-function-file-comment): New functions.
13070 (octave-mode-map): Bind C-c ; to
13071 octave-update-function-file-comment.
13072 (octave-mode-menu): Add octave-update-function-file-comment.
13073 (octave-mode, inferior-octave-mode): Fix doc-string.
13074 (octave-insert-defun): Conform to Octave's coding convention.
13077 * files.el (basic-save-buffer): Don't let errors in
13078 before-save-hook prevent saving buffer.
13080 2013-04-20 Roland Winkler <winkler@gnu.org>
13082 * faces.el (read-face-name): Use completing-read if arg multiple
13085 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
13087 * ls-lisp.el (ls-lisp-insert-directory): If no files are
13088 displayed, move point to after the totals line.
13089 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
13092 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13094 * emacs-lisp/package.el (package-autoload-ensure-default-file):
13095 Add current dir to the load-path.
13096 (package-generate-autoloads): Don't rely on
13097 autoload-ensure-default-file.
13099 2013-04-26 Reuben Thomas <rrt@sc3d.org>
13101 * textmodes/remember.el (remember-store-in-files): Document that
13102 the file name format is passed to `format-time-string'.
13104 2013-04-26 Leo Liu <sdl.web@gmail.com>
13106 * progmodes/octave.el (octave-sync-function-file-names): New function.
13107 (octave-mode): Use it in before-save-hook.
13109 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13111 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
13114 * progmodes/octave.el (octave-smie-forward-token): Properly skip
13115 \n and comment, even if it's not an implicit ; (bug#14218).
13117 2013-04-26 Glenn Morris <rgm@gnu.org>
13119 * subr.el (read-number): Once more use `read' rather than
13120 `string-to-number', to trap non-numeric input. (Bug#14254)
13122 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
13124 * emacs-lisp/syntax.el (syntax-propertize-multiline):
13125 Use `syntax-multiline' text property consistently instead of
13126 `font-lock-multiline'. (Bug#14237)
13128 2013-04-26 Glenn Morris <rgm@gnu.org>
13130 * emacs-lisp/shadow.el (list-load-path-shadows):
13131 No longer necessary to check for duplicate simple.el, since
13132 2012-07-07 change to init_lread to not include installation lisp
13133 directories in load-path when running uninstalled. (Bug#14270)
13135 2013-04-26 Leo Liu <sdl.web@gmail.com>
13137 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
13138 (octave-mode, inferior-octave-mode): Use setq-local.
13139 (octave-not-in-string-or-comment-p): Rename to
13140 octave-in-string-or-comment-p.
13141 (octave-in-comment-p, octave-in-string-p)
13142 (octave-in-string-or-comment-p): Replace defsubst with defun.
13144 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
13146 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13148 2013-04-25 Bastien Guerry <bzg@gnu.org>
13150 * textmodes/remember.el (remember-data-directory)
13151 (remember-directory-file-name-format): Fix custom types.
13153 2013-04-25 Leo Liu <sdl.web@gmail.com>
13155 * progmodes/octave.el (octave-completion-at-point-function):
13156 Make use of inferior octave process.
13157 (octave-initialize-completions): Remove.
13158 (inferior-octave-completion-table): New function.
13159 (inferior-octave-completion-at-point): Use it.
13160 (octave-completion-alist): Remove.
13162 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13164 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13165 (opascal-mode-syntax-table): New var.
13166 (opascal-literal-kind, opascal-is-literal-end)
13167 (opascal-literal-token-at): Rewrite.
13168 (opascal--literal-start-re, opascal-font-lock-keywords)
13169 (opascal--syntax-propertize): New constants.
13170 (opascal-font-lock-defaults): Adjust.
13171 (opascal-mode): Use them. Set comment-<foo> variables as well.
13172 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13173 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13174 (delphi-other-face, opascal-other-face): Remove face variables.
13175 (opascal-save-state): Remove macro.
13176 (opascal-fontifying-progress-step): Remove constant.
13177 (opascal--ignore-changes): Remove var.
13178 (opascal-set-token-property, opascal-parse-next-literal)
13179 (opascal-is-stable-literal, opascal-complete-literal)
13180 (opascal-is-literal-start, opascal-face-of)
13181 (opascal-parse-region, opascal-parse-region-until-stable)
13182 (opascal-fontify-region, opascal-after-change)
13183 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13184 (opascal-debug-parse-region, opascal-debug-parse-window)
13185 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13186 (opascal-debug-fontify-buffer): Remove.
13187 (opascal-debug-mode-map): Adjust accordingly.
13189 2013-04-25 Leo Liu <sdl.web@gmail.com>
13191 Merge octave-mod.el and octave-inf.el into octave.el with some
13193 * progmodes/octave.el: New file renamed from octave-mod.el.
13194 * progmodes/octave-inf.el: Merged into octave.el.
13195 * progmodes/octave-mod.el: Renamed to octave.el.
13197 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13199 * textmodes/reftex-vars.el
13200 (reftex-label-ignored-macros-and-environments): New defcustom.
13202 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13204 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13206 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13207 (smie-indent-keyword): Improve the check to ensure that the next
13208 comment is really on the same line.
13209 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13211 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13212 semi-colons if the line is not otherwise empty (bug#14218).
13214 2013-04-25 Glenn Morris <rgm@gnu.org>
13216 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13218 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13220 * progmodes/opascal.el (opascal-set-token-property): Rename from
13221 opascal-set-text-properties and only set `token' (bug#14134).
13222 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13223 (opascal-literal-text-properties): Remove.
13224 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13227 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13229 * textmodes/remember.el (remember-handler-functions): Add an
13230 option for a new handler `remember-store-in-files'.
13231 (remember-data-directory, remember-directory-file-name-format):
13233 (remember-store-in-files): New function to store remember notes
13234 as separate files within a directory.
13236 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13238 * progmodes/compile.el (compilation-next-error-function):
13239 Pass "formats" to compilation-find-file (bug#11777).
13241 2013-04-24 Glenn Morris <rgm@gnu.org>
13243 * vc/vc-bzr.el (vc-bzr-print-log):
13244 * vc/vc-hg.el (vc-hg-print-log):
13245 * vc/vc-svn.el (vc-svn-print-log):
13246 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13248 * vc/vc-bzr.el (vc-bzr-print-log):
13249 * vc/vc-cvs.el (vc-cvs-print-log):
13250 * vc/vc-git.el (vc-git-print-log):
13251 * vc/vc-hg.el (vc-hg-print-log):
13252 * vc/vc-mtn.el (vc-mtn-print-log):
13253 * vc/vc-rcs.el (vc-rcs-print-log):
13254 * vc/vc-sccs.el (vc-sccs-print-log):
13255 * vc/vc-svn.el (vc-svn-print-log):
13256 * vc/vc.el (vc-print-log-internal): Doc fixes.
13258 2013-04-23 Glenn Morris <rgm@gnu.org>
13260 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13261 Remove venerable code attempting to avoid substitute-command-keys.
13263 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13265 * textmodes/reftex-vars.el (reftex-label-regexps):
13266 Call `reftex-compile-variables' after changes to this variable.
13268 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13271 Use lexical-binding.
13272 (jit-lock-force-redisplay): Use markers, check buffer's continued
13273 existence and beware narrowed buffers.
13274 (jit-lock-fontify-now): Adjust call accordingly.
13276 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13279 to avoid misleading the user.
13281 2013-04-22 Leo Liu <sdl.web@gmail.com>
13283 * info-look.el: Prefer latex2e.info. (Bug#14240)
13285 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13287 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13289 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13290 * net/tramp.el (tramp-call-process): ... here.
13291 (tramp-set-completion-function, tramp-parse-putty):
13292 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13293 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13294 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13295 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13296 (tramp-call-local-coding-command): Use `tramp-call-process'
13297 instead of `tramp-compat-call-process'.
13299 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13300 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13301 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13302 (tramp-find-inline-compress): Improve traces.
13303 (tramp-maybe-send-script): Check for Perl binary.
13304 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13306 2013-04-22 Daiki Ueno <ueno@gnu.org>
13308 * epg.el (epg-context-pinentry-mode): New function.
13309 (epg-context-set-pinentry-mode): New function.
13310 (epg--start): Pass --pinentry-mode option to gpg command.
13312 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13314 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13315 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13316 `completion-at-point'. (Bug#13774)
13318 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13319 default key binding for `describe-distribution' has been moved to
13320 `C-h C-o'. (Bug#13970)
13322 2013-04-21 Glenn Morris <rgm@gnu.org>
13324 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13326 (vc-print-log): Clarify interactive prompt.
13328 2013-04-20 Glenn Morris <rgm@gnu.org>
13330 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13331 No longer include timestamp etc information.
13333 2013-04-20 Roland Winkler <winkler@gnu.org>
13335 * faces.el (read-face-name): Bug fix, return just one face if arg
13336 multiple is nil. (Bug#14209)
13338 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13340 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13341 (remove-function): Autoload.
13343 * comint.el (comint-redirect-original-filter-function): Remove.
13344 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13345 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13346 (vc-cvs-annotate-command):
13347 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13348 * progmodes/prolog.el (prolog-consult-compile):
13349 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13350 Use add/remove-function instead.
13351 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13352 (gud-tooltip-process-output, gud-tooltip-tips):
13353 Use add/remove-function instead.
13354 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13355 (scheme-interaction-mode, exit-scheme-interaction-mode):
13356 Use add/remove-function instead.
13358 * vc/vc-dispatcher.el: Use lexical-binding.
13359 (vc--process-sentinel): Rename from vc-process-sentinel.
13360 Change last arg to be the code to run. Don't use vc-previous-sentinel
13361 and vc-sentinel-commands any more.
13362 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13363 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13365 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13367 * progmodes/sh-script.el (sh-imenu-generic-expression):
13368 Handle function names with a single character. (Bug#14111)
13370 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13372 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13373 for subroutines defined in an eval (bug#14182).
13375 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13377 * bookmark.el (bookmark-completing-read): Improve handling of empty
13378 string (bug#14176).
13380 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13382 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13384 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13386 New faster Imenu implementation (bug#14058).
13387 * progmodes/python.el:
13388 (python-imenu-prev-index-position):
13389 (python-imenu-format-item-label-function)
13390 (python-imenu-format-parent-item-label-function)
13391 (python-imenu-format-parent-item-jump-label-function):
13393 (python-imenu-format-item-label)
13394 (python-imenu-format-parent-item-label)
13395 (python-imenu-format-parent-item-jump-label)
13396 (python-imenu--put-parent, python-imenu--build-tree)
13397 (python-imenu-create-index, python-imenu-create-flat-index)
13398 (python-util-popn): New functions.
13399 (python-mode): Set imenu-create-index-function to
13400 python-imenu-create-index.
13402 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13404 * winner.el (winner-active-region): Use region-active-p, activate-mark
13405 and deactivate-mark (bug#14225).
13407 * simple.el (deactivate-mark): Don't inline it.
13409 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13411 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13413 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13415 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13416 file extensions from the archive-mode entry in order to prefer
13417 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13419 2013-04-18 Leo Liu <sdl.web@gmail.com>
13421 * bindings.el (help-event-list): Add ?\?.
13423 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * subr.el (with-wrapper-hook): Declare obsolete.
13426 * simple.el (filter-buffer-substring-function): New hook.
13427 (filter-buffer-substring): Use it.
13428 (filter-buffer-substring-functions): Mark obsolete.
13429 * minibuffer.el (completion-in-region-function): New hook.
13430 (completion-in-region): Use it.
13431 (completion-in-region-functions): Mark obsolete.
13432 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13433 * abbrev.el (abbrev-expand-function): New hook.
13434 (expand-abbrev): Use it.
13435 (abbrev-expand-functions): Mark obsolete.
13436 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13437 and :filter-return.
13439 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13441 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13442 and do not care about match data.
13444 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13447 completion tables when completing error conditions and
13448 `declare' arguments.
13449 (lisp-complete-symbol, field-complete): Mark as obsolete.
13450 (check-parens): Unmatched parens are user errors.
13451 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13453 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13455 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13456 command changed buffer (ie. `flyspell-pre-buffer' is not current
13457 buffer), which prevents making decisions based on invalid value of
13458 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13459 cause an error when `flyspell-pre-point' was nil after switching
13461 (flyspell-post-command-hook): No longer needs to change buffers when
13462 checking pre-word. While at it remove unnecessary progn.
13464 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13466 * textmodes/ispell.el (ispell-add-per-file-word-list):
13467 Fix `flyspell-correct-word-before-point' error when accepting
13468 words and `coment-padding' is an integer by using
13469 `comment-normalize-vars' (Bug #14214).
13471 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13473 New defun movement commands.
13474 * progmodes/python.el (python-nav--syntactically)
13475 (python-nav--forward-defun, python-nav-backward-defun)
13476 (python-nav-forward-defun): New functions.
13478 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13480 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13481 (python-syntax-context): Use named compiler-macro for backwards
13482 compatibility with Emacs 24.x.
13484 2013-04-17 Leo Liu <sdl.web@gmail.com>
13486 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13487 octave-hide-process-buffer.
13489 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13491 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13494 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13496 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13497 Fix adjustment of offset when receiving incomplete responses from GDB
13500 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13502 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13503 python-mode-abbrev-table.
13504 (python-skeleton-define): Adjust accordingly.
13505 (python-mode-abbrev-table): New table that inherits from it so that
13506 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13508 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13509 (abbrev-symbol): Use it.
13510 (abbrev--before-point): Use it since we already handle inheritance.
13512 2013-04-16 Leo Liu <sdl.web@gmail.com>
13514 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13515 binding to info-lookup-symbol.
13517 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13519 * minibuffer.el (completion--twq-all):
13520 * term/ns-win.el (ns-initialize-window-system):
13521 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13523 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13525 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13528 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13530 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13532 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13533 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13535 (ruby-end-of-defun): Remove the unused arg, change the docstring
13536 to reflect that this function is only used as the value of
13537 `end-of-defun-function'.
13538 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13539 to reflect an earlier change that beginning/end-of-defun functions
13540 jump between methods in a class definition, as well as top-level
13543 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13545 * minibuffer.el (minibuffer-complete): Don't just scroll
13546 a *Completions* that's been iconified.
13547 (minibuffer-force-complete): Make sure repetitions do cycle when going
13548 through completion-in-region -> minibuffer-complete.
13550 2013-04-15 Alan Mackenzie <acm@muc.de>
13552 Correct the placement of c-cpp-delimiters when there're #s not at
13555 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13556 place a submatch around the #.
13557 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13558 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13561 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13563 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13564 (advice--member-p): New arg `name'.
13565 (advice--add-function, advice-member-p): Use it (bug#14202).
13567 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13569 Reformulate java imenu-generic-expression.
13570 The old expression contained ill formed regexps.
13572 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13573 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13574 (cc-imenu-java-method-arg-regexp): New defconsts.
13575 (cc-imenu-java-build-type-args-regex): New defun.
13576 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13577 handling of spaces in the regexp.
13579 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13581 * textmodes/ispell.el (ispell-command-loop): Remove
13582 flyspell highlight of a word when ispell accepts it (bug #14178).
13584 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13586 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13587 uses code from the previous `ange-ftp-run-real-handler'.
13588 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13589 only in case that function exist. This is needed for proper
13590 unloading of Tramp.
13592 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13594 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13596 * textmodes/reftex.el (reftex-compile-variables): Use it.
13598 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13600 * files.el (normal-mode): Only use default major-mode if no other mode
13603 * emacs-lisp/trace.el (trace-values): New function.
13605 * files.el: Allow : in local variables (bug#14089).
13606 (hack-local-variable-regexp): New var.
13607 (hack-local-variables-prop-line, hack-local-variables): Use it.
13609 2013-04-13 Roland Winkler <winkler@gnu.org>
13611 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13612 data before it gets modified by bibtex-beginning-of-entry.
13614 2013-04-13 Roland Winkler <winkler@gnu.org>
13616 * textmodes/bibtex.el (bibtex-url): Doc fix.
13618 2013-04-13 Roland Winkler <winkler@gnu.org>
13620 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13621 does not visit a BibTeX file, exclude it from the list of buffers
13622 returned by bibtex-initialize.
13624 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13626 * window.el (split-window): Remove interactive form, since as a
13627 command this function is a special case of split-window-below.
13628 Correct doc string.
13630 2013-04-12 Roland Winkler <winkler@gnu.org>
13632 * faces.el (read-face-name): Do not override value of arg default.
13633 Allow single faces and strings as default values. Remove those
13634 elements from return value that are not faces.
13635 (describe-face): Simplify.
13636 (face-at-point): New optional args thing and multiple so that this
13637 function can provide the same functionality previously provided by
13639 (make-face-bold, make-face-unbold, make-face-italic)
13640 (make-face-unitalic, make-face-bold-italic, invert-face)
13641 (modify-face, read-face-and-attribute): Use face-at-point.
13643 * cus-edit.el (customize-face, customize-face-other-window)
13644 * cus-theme.el (custom-theme-add-face)
13645 * face-remap.el (buffer-face-set)
13646 * facemenu.el (facemenu-set-face): Use face-at-point.
13648 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13650 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13652 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13654 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13655 off leading { and trailing } from field values.
13657 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13659 * emacs-lisp/timer.el (timer--check): New function.
13660 (timer--time, timer-set-function, timer-event-handler): Use it.
13661 (timer-set-idle-time): Simplify.
13662 (timer--activate): CSE.
13663 (timer-event-handler): Give more info in error message.
13664 (internal-timer-start-idle): New function, moved from C.
13666 * mpc.el (mpc-proc): Add `restart' argument.
13667 (mpc-proc-cmd): Use it.
13668 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13669 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13672 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13674 * progmodes/sh-script.el: Implement `sh-mode' own
13675 `add-log-current-defun-function' (bug#14112).
13676 (sh-current-defun-name): New function.
13677 (sh-mode): Use the function.
13679 2013-04-09 Bastien Guerry <bzg@gnu.org>
13681 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13683 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13685 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13687 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13690 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13692 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13695 2013-04-07 Leo Liu <sdl.web@gmail.com>
13697 * pcmpl-x.el: New file.
13699 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13701 Do not set x-display-name until X connection is established.
13702 This is needed to prevent from weird situation described at
13703 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13704 * frame.el (make-frame): Set x-display-name after call to
13705 window system initialization function, not before.
13706 * term/x-win.el (x-initialize-window-system): Add optional
13707 display argument and use it.
13708 * term/w32-win.el (w32-initialize-window-system):
13709 * term/ns-win.el (ns-initialize-window-system):
13710 * term/pc-win.el (msdos-initialize-window-system):
13711 Add compatible optional display argument.
13713 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13715 * files.el (normal-backup-enable-predicate): On MS-Windows and
13716 MS-DOS compare truenames of temporary-file-directory and of the
13717 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13718 don't fail comparison by compare-strings. Also, compare file
13719 names case-insensitively on MS-Windows and MS-DOS.
13721 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13723 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13724 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13726 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13728 * whitespace.el (whitespace-color-on, whitespace-color-off):
13729 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13731 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13733 * ispell.el (ispell-set-spellchecker-params):
13734 Really set `ispell-args' for all equivs.
13736 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * ido.el (ido-completions): Use extra elements of ido-decorations
13740 (ido-decorations): Update docstring.
13742 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13744 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13745 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13746 nil during initialization, in order not to miss changes since the
13747 file was opened. (Bug#14140)
13749 2013-04-05 Leo Liu <sdl.web@gmail.com>
13751 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13753 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13755 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13757 2013-04-04 Glenn Morris <rgm@gnu.org>
13759 * electric.el (electric-pair-inhibit-predicate): Add :version.
13761 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13764 when a package is required several times (bug#14082).
13766 2013-04-04 Roland Winkler <winkler@gnu.org>
13768 * faces.el (read-face-name): Behave as promised by the docstring.
13769 Assume that arg default is a list of faces.
13770 (describe-face): Call read-face-name with list of default faces.
13772 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13774 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13775 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13776 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13778 (bookmark-exit-hook-internal): Save even if list is empty.
13780 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13782 * emacs-lisp/package.el (package-pinned-packages): New var.
13783 (package--add-to-archive-contents): Obey it (bug#14118).
13785 2013-04-03 Alan Mackenzie <acm@muc.de>
13787 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13788 Also adapt to the new values of element 7 of a parse state.
13790 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13791 parameter `not-in-delimiter'. Handle being inside comment opener.
13792 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13793 character in case we're typing a '*' after a '/'.
13794 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13795 instead by passing the parameter to c-state-pp-to-literal.
13797 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13798 for elt. 7 of a parse state.
13800 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13802 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13803 * international/latin1-disp.el, international/mule-util.el:
13804 * language/cyril-util.el, language/european.el, language/ind-util.el:
13805 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13806 * language/tibetan.el, language/viet-util.el:
13807 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13809 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13811 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13812 (electric-pair-post-self-insert-function): Use it.
13813 (electric-pair-default-inhibit): New function, extracted from
13814 electric-pair-post-self-insert-function.
13816 2013-03-31 Roland Winkler <winkler@gnu.org>
13818 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13820 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13822 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13824 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13826 Un-indent after "pass" and "return" statements (Bug#13888)
13827 * progmodes/python.el (python-indent-block-enders): New var.
13828 (python-indent-calculate-indentation): Use it.
13830 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13832 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13833 defun. Defining it as defalias could introduce too eager
13834 byte-compiler optimization. (Bug#14030)
13836 2013-03-30 Chong Yidong <cyd@gnu.org>
13838 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13840 2013-03-30 Leo Liu <sdl.web@gmail.com>
13842 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13843 (kmacro-execute-from-register): Pass the keyboard macro to
13844 kmacro-call-macro or repeating won't work correctly.
13846 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13848 * progmodes/subword.el: Back to using `forward-symbol'.
13850 * subr.el (forward-whitespace, forward-symbol)
13851 (forward-same-syntax): Move from thingatpt.el.
13853 2013-03-29 Leo Liu <sdl.web@gmail.com>
13855 * kmacro.el (kmacro-to-register): New command.
13856 (kmacro-execute-from-register): New function.
13857 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13859 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13861 * mpc.el: Use defvar-local and setq-local.
13862 (mpc--proc-connect): Connection failures are not bugs.
13863 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13864 (mpc-volume-map): Bind to the up-events.
13866 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13868 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13869 instead of `forward-symbol'.
13871 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13873 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13874 (edebug--recursive-edit): Use it.
13875 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13876 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13878 2013-03-28 Leo Liu <sdl.web@gmail.com>
13880 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13882 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13884 * facemenu.el (list-colors-callback): New defvar.
13885 (list-colors-redisplay): New function.
13886 (list-colors-display): Install list-colors-redisplay as the
13887 revert-buffer-function. (Bug#14063)
13889 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13891 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13892 and suffixes don't overlap (bug#14061).
13894 * case-table.el: Use lexical-binding.
13895 (case-table-get-table): New function.
13896 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13898 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13900 * progmodes/subword.el: Add `superword-mode' to do word motion
13901 over symbol_words (parallels and leverages `subword-mode' which
13902 does word motion inside MixedCaseWords).
13904 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13906 * eshell/em-unix.el: Move su and sudo to...
13907 * eshell/em-tramp.el: ...Eshell tramp module.
13909 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13911 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13912 Change return value to be a sexp. Delay `get-buffer' to after
13913 restoring the desktop (bug#13951).
13915 2013-03-26 Leo Liu <sdl.web@gmail.com>
13917 * register.el: Move semantic tag handling back to
13918 cedet/semantic/senator.el. (Bug#14052)
13920 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13922 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13923 into the prompt either (bug#13963).
13925 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13927 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13928 part of "(error-foo)".
13930 2013-03-24 Juri Linkov <juri@jurta.org>
13932 * replace.el (list-matching-lines-prefix-face): New defcustom.
13933 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13934 `occur-engine' if `face-differs-from-default-p' returns t.
13935 (occur-engine): Add `,' inside backquote construct to evaluate
13936 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13937 Pass `prefix-face' to the functions `occur-context-lines' and
13938 `occur-engine-add-prefix'.
13939 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13940 `prefix-face' and propertize the prefix with `prefix-face'.
13943 2013-03-24 Leo Liu <sdl.web@gmail.com>
13945 * nxml/rng-valid.el (rng-validate-while-idle)
13946 (rng-validate-quick-while-idle): Guard against deleted buffer.
13949 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13950 is the last entry in kill-buffer-hook.
13952 * files.el (kill-buffer-hook): Doc fix.
13954 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13956 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13957 Make it safe-local.
13959 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13961 2013-03-23 Leo Liu <sdl.web@gmail.com>
13963 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13966 * nxml/rng-valid.el (rng-validate-mode)
13967 (rng-after-change-function, rng-do-some-validation):
13968 * nxml/rng-maint.el (rng-validate-buffer):
13969 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13970 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13971 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13972 (nxml-extend-after-change-region): Use with-silent-modifications.
13974 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13977 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13978 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13979 timer-idle-list. (Bug#13999)
13981 2013-03-23 Juri Linkov <juri@jurta.org>
13983 * info.el (info-index-match): New face.
13984 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13985 main pattern and add text properties with the new face to matches
13986 in index entries relative to the beginning of the index entry.
13989 2013-03-21 Eric Ludlam <zappo@gnu.org>
13991 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13992 Inhibit read only while inserting objects.
13994 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13996 * progmodes/cfengine.el: Update docs to mention
13997 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13998 symbol motion. Remove "_" from the word syntax.
14000 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
14002 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
14003 syntax for both `cfengine2-mode' and `cfengine3-mode'.
14005 2013-03-20 Juri Linkov <juri@jurta.org>
14007 * info.el (Info-next-reference-or-link)
14008 (Info-prev-reference-or-link): New functions.
14009 (Info-next-reference, Info-prev-reference): Use them.
14010 (Info-try-follow-nearest-node): Handle footnote navigation.
14011 (Info-fontify-node): Fontify footnotes. (Bug#13989)
14013 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
14015 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
14016 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
14018 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
14020 Suppress unnecessary non-ASCII chatter during build process.
14021 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
14022 (batch-skkdic-convert): Suppress most of the chatter.
14023 It's not needed so much now that machines are faster,
14024 and its non-ASCII component was confusing; see Dmitry Gutov in
14025 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
14027 2013-03-20 Leo Liu <sdl.web@gmail.com>
14029 * ido.el (ido-chop): Fix bug#10994.
14031 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14033 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
14035 (whitespace-color-on, whitespace-color-off):
14036 Use `font-lock-fontify-buffer' (Bug#13817).
14038 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
14040 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
14041 remapping in mode-line.
14042 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
14044 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
14046 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
14047 value for `whitespace-line' face (Bug#13875).
14048 (whitespace-font-lock-keywords): Change description.
14049 (whitespace-color-on): Don't save `font-lock-keywords' value, save
14050 the constructed keywords instead.
14051 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
14053 2013-03-19 Leo Liu <sdl.web@gmail.com>
14055 * progmodes/compile.el (compilation-display-error): New command.
14056 (compilation-mode-map, compilation-minor-mode-map): Bind it to
14059 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14061 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
14063 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
14065 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
14067 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
14069 * net/tramp-compat.el (tramp-compat-user-error): New defun.
14071 * net/tramp-adb.el (tramp-adb-handle-shell-command):
14072 * net/tramp-gvfs.el (top):
14073 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
14074 (tramp-handle-shell-command): Use it.
14075 (tramp-dissect-file-name): Raise an error when hostname is a
14076 method name, and neither method nor user is specified.
14078 * net/trampver.el: Update release number.
14080 2013-03-18 Leo Liu <sdl.web@gmail.com>
14082 Make sure eldoc can be turned off properly.
14083 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
14085 (eldoc-display-message-p): Revert last change.
14086 (eldoc-display-message-no-interference-p)
14087 (eldoc-print-current-symbol-info): Tweak.
14089 2013-03-18 Tassilo Horn <tsdh@gnu.org>
14091 * doc-view.el (doc-view-new-window-function): Check the new window
14092 overlay's display property instead the char property of the
14093 buffer's first char. Use `with-selected-window' instead of
14094 `save-window-excursion' with `select-window'.
14095 (doc-view-document->bitmap): Check the current doc-view overlay's
14096 display property instead the char property of the buffer's first char.
14098 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
14100 Automate the build of ja-dic.el (Bug#13984).
14101 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
14102 from the input, rather than assume that it's been done for us by the
14103 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
14104 the current date into a ja-dic.el comment, as that complicates
14105 regression testing.
14107 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
14109 * whitespace.el: Fix double evaluation.
14110 (whitespace-space, whitespace-hspace, whitespace-tab)
14111 (whitespace-newline, whitespace-trailing, whitespace-line)
14112 (whitespace-space-before-tab, whitespace-indentation)
14113 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
14115 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
14116 (whitespace-color-on): Use a single font-lock-add-keywords call.
14117 Fix double-evaluation of face variables.
14119 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
14121 * net/tramp-adb.el (tramp-adb-parse-device-names):
14122 Use `start-process' instead of `call-process'. Otherwise, the
14123 function might be blocked under MS Windows. (Bug#13299)
14125 2013-03-17 Leo Liu <sdl.web@gmail.com>
14127 Extend eldoc to display info in the mode-line. (Bug#13978)
14128 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
14129 (eldoc-mode-line-string): New variable.
14130 (eldoc-minibuffer-message): New function.
14131 (eldoc-message-function): New variable.
14132 (eldoc-message): Use it.
14133 (eldoc-display-message-p)
14134 (eldoc-display-message-no-interference-p):
14135 Support eldoc-post-insert-mode.
14137 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
14138 (eval-expression): Run it.
14140 2013-03-17 Roland Winkler <winkler@gnu.org>
14142 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
14143 strings in the list of return values.
14145 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14147 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14148 radix before checking for HMS forms.
14150 2013-03-16 Leo Liu <sdl.web@gmail.com>
14152 * progmodes/scheme.el: Add indentation and font-locking for λ.
14155 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14158 token before point (bug#13942).
14160 2013-03-16 Leo Liu <sdl.web@gmail.com>
14162 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14164 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14166 * startup.el (command-line-normalize-file-name): Fix handling of
14167 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14168 <xfq.free@gmail.com> in
14169 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14171 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14173 Sync with Tramp 2.2.7.
14175 * net/trampver.el: Update release number.
14177 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14179 * doc-view.el: Fix bug#13887.
14180 (doc-view-insert-image): Don't modify overlay associated to
14181 non-live windows, and implement horizontal centering of image in
14182 case it's smaller than the window.
14183 (doc-view-new-window-function): Force redisplay of new windows on
14186 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14188 * saveplace.el (save-place-alist-to-file): Don't sort
14189 `save-place-alist', just pretty-print it (bug#13882).
14191 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14193 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14194 Check whether `default-file-name-coding-system' is bound.
14195 It isn't in XEmacs.
14197 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14199 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14200 backquotes for `obsolete' (bug#13929).
14202 * international/mule.el (find-auto-coding): Include file name in
14203 obsolescence warning (bug#13922).
14205 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14207 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14208 for CFEngine 3-specific indentation.
14209 (cfengine3-indent-line): Use it. Fix up category regex.
14210 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14212 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14214 * type-break.el (type-break-file-name):
14215 * textmodes/remember.el (remember-data-file):
14216 * strokes.el (strokes-file):
14217 * shadowfile.el (shadow-initialize):
14218 * saveplace.el (save-place-file):
14219 * ps-bdf.el (bdf-cache-file):
14220 * progmodes/idlwave.el (idlwave-config-directory):
14221 * net/quickurl.el (quickurl-url-file):
14222 * international/kkc.el (kkc-init-file-name):
14223 * ido.el (ido-save-directory-list-file):
14224 * emulation/viper.el (viper-custom-file-name):
14225 * emulation/vip.el (vip-startup-file):
14226 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14227 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14229 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14231 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14232 * language/thai-word.el: Switch to UTF-8.
14234 See ChangeLog.16 for earlier changes.
14236 ;; Local Variables:
14240 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14242 This file is part of GNU Emacs.
14244 GNU Emacs is free software: you can redistribute it and/or modify
14245 it under the terms of the GNU General Public License as published by
14246 the Free Software Foundation, either version 3 of the License, or
14247 (at your option) any later version.
14249 GNU Emacs is distributed in the hope that it will be useful,
14250 but WITHOUT ANY WARRANTY; without even the implied warranty of
14251 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14252 GNU General Public License for more details.
14254 You should have received a copy of the GNU General Public License
14255 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.