1 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set
4 `comment-use-syntax' to t to avoid the unnecessary runtime check.
5 Set `comment-start-skip' to a simpler value that doesn't try to
6 check if the semicolon is escaped (this is handled by
7 `syntax-ppss' now). (Bug#16971)
9 * progmodes/scheme.el (scheme-mode-variables): Same.
11 2014-03-16 Martin Rudalics <rudalics@gmx.at>
13 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
14 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
15 current (Bug#16816, Bug#17007).
16 (with-current-buffer-window): New macro doing the same as
17 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
18 * help.el (help-print-return-message): Warn in doc-string to not
19 use this in `with-help-window'.
20 (describe-bindings-internal): Call `describe-buffer-bindings'
21 from within help buffer. See Juanma's scenario in (Bug#16816).
22 (with-help-window): Update doc-string.
23 * dired.el (dired-mark-pop-up):
24 * files.el (save-buffers-kill-emacs):
25 * register.el (register-preview): Use `with-current-buffer-window'
26 instead of `with-temp-buffer-window'.
28 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
30 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
31 Implement inserting into current buffer, documented in their docstrings.
32 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
33 (rst-section-tree-point, rst-forward-section, rst-indent)
34 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
35 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
36 (rst-font-lock-handle-adornment-pre-match-form)
37 (rst-repeat-last-character): Reflow docstrings.
38 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
39 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
40 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
41 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
43 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
44 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
45 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
47 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
49 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
50 for compatibility with other ports.
51 (ns-initialize-window-system): Use it. It is set in term/common-win.el
52 from the -xrm command line argument, but in the Nextstep port its value
53 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
55 * progmodes/python.el (defconst, python-syntax-count-quotes)
56 (python-indent-region, python-indent-shift-right)
57 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
58 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
59 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
60 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
61 (inferior-python-mode, python-shell-make-comint, run-python-internal)
62 (python-shell-buffer-substring, python-shell-send-buffer)
63 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
64 (python-completion-complete-at-point, python-fill-docstring-style)
65 (python-eldoc-function, python-imenu-format-item-label)
66 (python-imenu-format-parent-item-label)
67 (python-imenu-format-parent-item-jump-label)
68 (python-imenu--build-tree, python-imenu-create-index)
69 (python-imenu-create-flat-index): Fix docstring typos.
70 (python-indent-context, python-shell-prompt-regexp, run-python):
71 Remove superfluous backslashes.
72 (python-indent-line, python-nav-beginning-of-defun)
73 (python-shell-get-buffer, python-shell-get-process)
74 (python-info-current-defun, python-info-current-line-comment-p)
75 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
76 (python-indent-post-self-insert-function, python-shell-send-file)
77 (python-shell-completion-get-completions)
78 (python-shell-completion-complete-or-indent)
79 (python-eldoc--get-doc-at-point): Reflow docstrings.
81 2014-03-14 Glenn Morris <rgm@gnu.org>
83 * emacs-lisp/package.el (package-menu-mode-map):
84 Replace use of obsolete function alias. Tweak menu item text.
86 * info.el (Info-finder-find-node):
87 Ignore the `emacs' metapackage. (Bug#10813)
89 * finder.el (finder-list-matches): Include unversioned packages
90 in the result of a keyword search.
92 * finder.el (finder--builtins-descriptions): New constant.
93 (finder-compile-keywords): Use finder--builtins-descriptions.
95 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
97 * simple.el (blink-matching-paren): Describe the new value,
98 `jump', enabling the old behavior.
99 (blink-matching-open): Use that value. (Bug#17008)
101 2014-03-14 Glenn Morris <rgm@gnu.org>
103 * finder.el (finder-no-scan-regexp): Add leim-list.
104 (finder-compile-keywords):
105 Don't skip files with same basename. (Bug#14010)
106 * Makefile.in (setwins_finder): New, excluding leim.
107 (finder-data): Use setwins_finder.
109 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
110 (help-function-arglist, help-make-usage): Move from here...
111 * help.el (help-split-fundoc, help-add-fundoc-usage)
112 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
113 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
115 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
117 * net/socks.el (socks, socks-override-functions)
118 (socks-find-services-entry):
119 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
120 (hif-find-ifdef-block):
121 * progmodes/modula2.el (m2-indent): Fix docstring typos.
123 * net/tls.el (tls-program): Reflow docstring.
125 * progmodes/pascal.el (pascal-mode-abbrev-table)
126 (pascal-imenu-generic-expression, pascal-auto-endcomments)
127 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
128 (pascal-outline-mode): Fix docstring typos.
129 (pascal-mode): Let define-derived-mode document mode hook.
130 (pascal-uncomment-area): Reflow.
131 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
133 * progmodes/opascal.el (opascal-compound-block-indent)
134 (opascal-case-label-indent): Fix docstring typos.
135 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
137 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
139 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
140 multiple adjacent negation chars. (Bug#17004)
142 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
144 * emacs-lisp/package.el (package--prepare-dependencies):
145 Accept requirements without explicit version (bug#14941).
147 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
149 * register.el (register-separator, copy-to-register): Doc fixes.
150 (register-preview-default): Remove unnecessary call to concat.
152 * frameset.el (frameset-restore): When checking for a visible frame,
153 use the action map instead of calling visible-frame-list.
155 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
157 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
159 2014-03-12 Martin Rudalics <rudalics@gmx.at>
161 * window.el (fit-frame-to-buffer): Get maximum width from
162 display's width instead of height.
164 2014-03-12 Glenn Morris <rgm@gnu.org>
166 * desktop.el (desktop-restore-frames)
167 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
168 (desktop-restore-reuses-frames): Doc tweaks.
170 * electric.el (electric-indent-mode): Doc fix.
172 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
174 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
175 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
176 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
177 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
178 (cvs-dired-use-hook): Fix docstring typos.
179 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
182 * vc/pcvs-defs.el (cvs-auto-remove-handled)
183 (cvs-auto-remove-directories, cvs-default-ignore-marks)
184 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
185 (cvs-execute-single-dir): Fix docstring typos.
187 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
188 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
190 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
192 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
195 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
197 * frameset.el (frameset--jump-to-register): Add autoload; it could be
198 called from jump-to-register after unloading the frameset package.
200 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
202 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
203 (bug#16975). Deactivate the mark before setting it to nil.
204 (activate-mark): Do nothing if region is already active.
206 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
208 * frameset.el (frameset--target-display): Remove definition; declare.
209 (frameset-save, frameset-restore): Let-bind frameset--target-display.
211 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
214 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
215 when the advice is pending.
216 (advice-remove): Remove this marker when not needed any more.
218 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
220 * frameset.el: Separate options for reusing frames and cleaning up.
221 (frameset--reuse-list): Remove definition; declare.
222 (frameset--action-map): Declare.
223 (frameset--find-frame-if): Doc fix.
224 (frameset--restore-frame): Cache frame action.
225 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
226 how to clean up the frame list after restoring. Remove cleaning
227 options from REUSE-FRAMES. Change all keyword values to symbols.
228 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
230 * desktop.el (desktop-restore-forces-onscreen)
231 (desktop-restore-reuses-frames): Use non-keyword values.
232 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
234 2014-03-10 Glenn Morris <rgm@gnu.org>
236 * files.el (find-file): Doc fix: update info node name.
238 * emacs-lisp/advice.el (ad-add-advice, defadvice):
239 Doc fix: remove references to deleted info nodes.
241 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
243 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
244 Do not add `nil' to the environment, when there's no remote `locale'.
245 (tramp-find-inline-encoding): Check, that the remote host has
246 installed perl, before sending scripts.
248 2014-03-10 Leo Liu <sdl.web@gmail.com>
250 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
251 Clear eldoc-last-message. (Bug#16920)
253 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
255 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
258 2014-03-09 Juri Linkov <juri@jurta.org>
260 * ansi-color.el (ansi-color-names-vector): Copy default colors
261 from `xterm-standard-colors' that look well on the default white
262 background (and also on the black background) to avoid illegible
263 color combinations like yellow-on-white and white-on-white.
264 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
266 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
268 * frameset.el (frameset-restore): When no frame is visible, do not
269 generate a list of frames, just make visible the selected one.
271 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
273 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
274 it only contains the repository root. (Bug#16897)
276 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
278 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
279 only when `remote-file-name-inhibit-cache' is nil.
280 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
282 2014-03-06 Martin Rudalics <rudalics@gmx.at>
284 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
286 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
287 fit-frame-to-buffer variable. Fix doc-string.
288 (fit-window-to-buffer): Set ONLY argument in call of
289 fit-frame-to-buffer. Fix doc-string.
291 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
293 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
294 (tramp-action-password): Clear password cache if needed.
295 (tramp-read-passwd): Do not clear password cache.
297 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
298 cache unless it is the first password request.
300 2014-03-06 Glenn Morris <rgm@gnu.org>
302 * simple.el (newline): Doc tweak.
304 * emacs-lisp/shadow.el (load-path-shadows-find):
305 Ignore dir-locals. (Bug#12357)
307 2014-03-05 Glenn Morris <rgm@gnu.org>
309 * files.el (interpreter-mode-alist):
310 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
312 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
314 * frameset.el (frameset--initial-params): Filter out null entries.
316 2014-03-05 Martin Rudalics <rudalics@gmx.at>
318 * window.el (window-min-height, window-min-width):
320 (window-body-size): Add PIXELWISE argument to make it consistent
323 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
325 * finder.el (finder-mode-map, finder-mode-syntax-table):
326 Revert part of 2014-02-28 change.
328 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
330 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
331 (eww-setup-buffer): Clear next/prev/etc more reliably.
332 (eww-textarea-map): [tab] doesn't work on tty.
333 Reported by Mario Lang.
335 * net/shr.el (shr-map): Ditto.
337 2014-03-04 Glenn Morris <rgm@gnu.org>
339 * minibuffer.el (completion-hilit-commonality):
340 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
342 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
344 * hilit-chg.el (hilit-chg-unload-function): New function.
345 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
346 (hilit-chg-map-changes): Prefer cardinal number to digit.
347 (hilit-chg-display-changes): Reflow docstring.
348 (highlight-changes-rotate-faces): Remove superfluous backslash.
350 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
352 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
353 `tramp-send-command-and-check'.
355 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
357 * hexl.el (hexl-address-region, hexl-ascii-region)
358 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
359 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
360 (hexl-forward-word, hexl-previous-line, hexl-next-line):
361 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
362 (hexl-mode): Doc fix.
363 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
364 (hexl-mode-ruler): Fix typos in docstrings.
366 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
367 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
368 Remove superfluous backslashes.
369 (strokes-last-stroke, strokes-global-map, strokes-mode):
371 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
372 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
373 (strokes-distance-squared, strokes-global-set-stroke)
374 (strokes-global-set-stroke-string): Doc fixes.
375 (strokes-help): Fix typos; reflow docstring.
377 2014-03-04 Martin Rudalics <rudalics@gmx.at>
379 * window.el (window-in-direction): Fix doc-string.
381 2014-03-04 Glenn Morris <rgm@gnu.org>
383 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
384 Explicit error if no grammar.
385 (smie-config-save): Doc fix. Fix quote typo.
387 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
389 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
390 electric-indent-mode-hook if we obey electric-indent-mode.
391 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
392 decide whether we obey electric-indent-mode.
393 (c-change-set-fl-decl-start, c-extend-after-change-region):
395 (c-electric-indent-mode-hook): Assume we do want to obey
396 electric-indent-mode.
398 * electric.el (electric-indent-mode-has-been-called): Remove.
399 (electric-indent-mode): Fix accordingly.
401 * files.el (hack-local-variables): Mention file name in warning.
403 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
405 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
407 * binding.el: Add comment describing why C-d binds to `delete-char'.
408 * simple.el (delete-forward-char): Mark as interactive-only.
410 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
412 * icomplete.el (icomplete-completions):
413 Follow-up to 2014-03-01 change.
415 * icomplete.el: Miscellaneous doc fixes.
416 Use Icomplete everywhere instead of icomplete for consistency.
417 (icomplete-max-delay-chars): Fix typo.
418 (icomplete-mode): Use \[].
419 (icomplete-tidy, icomplete-exhibit): Reflow.
420 (icomplete-minibuffer-setup-hook, icomplete-completions):
421 Remove superfluous backlashes.
423 * ido.el: Miscellaneous doc fixes.
424 Use Ido everywhere instead of ido or `ido' for consistency.
425 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
426 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
427 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
428 (ido-separator): Extract obsolescence info from docstring and declare
429 with make-obsolete-variable.
430 (ido-minibuffer-setup-hook): Simplify example.
431 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
432 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
433 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
434 (ido-everywhere): Reflow docstring.
435 (ido-toggle-vc): Doc fix.
436 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
437 of long list of keybindings.
439 2014-03-03 Glenn Morris <rgm@gnu.org>
441 * frame.el (display-pixel-height, display-pixel-width)
442 (display-mm-dimensions-alist, display-mm-height)
443 (display-mm-width): Doc tweaks.
445 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
447 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
448 case of undo in region.
450 2014-03-02 Martin Rudalics <rudalics@gmx.at>
452 * window.el (fit-window-to-buffer): Fix argument in window-size
453 call when window is horizontally combined.
455 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
457 * icomplete.el (icomplete-completions): Use string-width.
458 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
460 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
462 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
463 Highlight regexp options. (Bug#16914)
465 2014-03-01 Martin Rudalics <rudalics@gmx.at>
467 * window.el (window--max-delta-1): Round down when calculating
468 how many lines/columns we can get from a window.
470 2014-03-01 Glenn Morris <rgm@gnu.org>
472 * isearch.el (search-invisible): Doc fix.
474 * minibuffer.el (completion-hilit-commonality):
475 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
476 * comint.el (comint-dynamic-list-completions): Doc fix.
477 * comint.el (comint-dynamic-list-completions):
478 * filecache.el (file-cache-minibuffer-complete):
479 * tempo.el (tempo-display-completions):
480 * eshell/em-hist.el (eshell-list-history):
481 Replace use of obsolete argument of display-completion-list.
483 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
485 * icomplete.el (icomplete-completions):
486 Revert back to using "..." when ?… cannot be displayed.
488 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
490 * finder.el (finder-unload-function): New function.
492 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
494 * dframe.el (dframe-detach):
495 * find-dired.el (find-dired, find-name-dired):
496 * finder.el (finder-mode-map, finder-mode-syntax-table)
497 (finder-headmark, finder-select, finder-mouse-select):
500 2014-02-28 Martin Rudalics <rudalics@gmx.at>
502 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
503 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
504 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
505 Fix doc-string based on a suggestion by Nicolas Richard
506 <theonewiththeevillook@yahoo.fr>.
507 * help.el (with-help-window): Fix doc-string.
509 2014-02-28 Ivan Kanis <ivan@kanis.fr>
511 * net/shr.el (shr-image-animate): New option.
512 (shr-put-image): Respect shr-image-animate.
514 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
516 * net/tramp-adb.el (tramp-adb-parse-device-names):
517 Use `accept-process-output'.
518 (tramp-adb-handle-file-truename): Cache the localname only.
519 (tramp-adb-handle-make-directory)
520 (tramp-adb-handle-delete-directory): Flush file properties correctly.
521 (tramp-adb-handle-set-file-modes): Do not raise an error when file
522 modes cannot be changed.
524 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
525 file properties of symlinks.
527 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
529 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
530 required/optional fields to match development biblatex. (Bug#16781)
532 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
534 * saveplace.el (toggle-save-place):
535 Fix argument handling. (Bug#16673)
537 2014-02-28 Glenn Morris <rgm@gnu.org>
539 * minibuffer.el (completions-first-difference)
540 (completions-common-part, completion-hilit-commonality): Doc fixes.
542 2014-02-28 Karl Berry <karl@gnu.org>
544 * info.el (Info-mode-map): Add H for describe-mode,
545 to synchronize with standalone Info.
547 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
549 * progmodes/sql.el (sql-interactive-mode):
550 Avoid setting global comint-input-ring-separator. (Bug#16814)
552 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
554 * net/dbus.el (dbus--init-bus): Declare function.
555 (dbus-path-local, dbus-interface-local): New defconst.
556 (dbus-init-bus): Use them.
557 (dbus-return-values-table): Extend doc.
558 (dbus-handle-bus-disconnect): Extend error message.
560 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
562 * subr.el (y-or-n-p): Fix double space issue in message.
564 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
566 * net/tramp.el (tramp-call-process): Improve trace message.
567 (tramp-handle-insert-file-contents): Trace error case.
569 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
570 <insert-directory>: Use `tramp-handle-insert-directory'.
571 (tramp-adb-handle-insert-directory): Remove function.
572 (tramp-adb-send-command-and-check): New defun, replacing
573 `tramp-adb-command-exit-status'. Change all callees.
574 (tramp-adb-handle-file-attributes)
575 (tramp-adb-handle-directory-files-and-attributes): Use it.
576 (tramp-adb-ls-output-name-less-p):
577 Use `directory-listing-before-filename-regexp'.
578 (tramp-adb-handle-delete-directory): Flush also file properties of
579 the truename of directory.
580 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
581 (tramp-adb-handle-file-local-copy): Make the local copy readable.
582 (tramp-adb-handle-write-region): Implement APPEND.
583 (tramp-adb-handle-rename-file): Make it more robust. Flush file
584 properties correctly.
585 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
586 variables. Check for connected devices only when needed.
588 2014-02-27 Glenn Morris <rgm@gnu.org>
590 * minibuffer.el (completion-table-dynamic)
591 (completion-table-with-cache): Doc fixes.
593 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
594 (completing-read-multiple): Doc fixes.
596 2014-02-27 Daniel Colascione <dancol@dancol.org>
598 * minibuffer.el (completion--nth-completion): Fix indentation.
600 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
601 explicit tramp path is empty.
603 2014-02-27 Glenn Morris <rgm@gnu.org>
605 * emacs-lisp/crm.el (completing-read-multiple):
606 Empower help-enable-auto-load.
608 2014-02-26 Glenn Morris <rgm@gnu.org>
610 * startup.el (command-line): Don't init the tty in daemon mode.
612 Avoid calling tty-setup-hook twice, eg if a term file
613 explicitly calls tty-run-terminal-initialization. (Bug#16859)
614 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
615 (tty-create-frame-with-faces): Use it.
616 * startup.el (command-line): Pass run-hook argument
617 to tty-run-terminal-initialization.
619 * dired.el (dired-restore-desktop-buffer): Demote errors;
620 eg in case a glob match fails. (Bug#16884)
622 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
624 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
625 error from `read-from-string'. (Bug#16850)
627 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
628 result of `completing-read' in the interactive form. (Bug#16854)
630 2014-02-25 Glenn Morris <rgm@gnu.org>
632 * image.el (image-animate, image-animate-timeout):
633 Stop animating images in dead buffers. (Bug#16878)
635 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
637 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
639 * startup.el (term-setup-hook): Doc fix. Make obsolete.
640 * term/sun.el (sun-raw-prefix-hooks):
641 Use tty-setup-hook instead of term-setup-hook.
642 (terminal-init-sun): Construct message from bytecomp plist.
643 * term/wyse50.el (enable-arrow-keys): Doc fix.
645 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
647 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
650 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
652 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
654 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
656 * minibuffer.el (completion--try-word-completion):
657 Fix error when completing M-x commands (bug#16808).
659 2014-02-24 Leo Liu <sdl.web@gmail.com>
661 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
663 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
665 * apropos.el (apropos-print): Avoid formatting error when
666 apropos-do-all and apropos-compact-layout are both t.
668 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
670 * apropos.el (apropos-property, apropos-all-words-regexp)
671 (apropos-true-hit, apropos-variable, apropos-print):
672 Fix docstring typos, and remove obsolete comment.
674 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
676 * net/tramp-sh.el (tramp-sh-handle-file-truename):
677 Preserve trailing "/". (Bug#16851)
679 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
681 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
682 after `=>' (bug#16811).
683 (ruby-smie-rules): Handle the inconsistent second element of the
684 list returned by `smie-indent--parent'.
685 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
688 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
690 * elec-pair.el (electric-pair-text-syntax-table)
691 (electric-pair-syntax-info, electric-pair--syntax-ppss)
692 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
693 (electric-pair--looking-at-unterminated-string-p): Doc fix.
694 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
696 2014-02-22 Glenn Morris <rgm@gnu.org>
698 * imenu.el (imenu--generic-function): Doc fix.
700 * register.el (frame-configuration-to-register): Make obsolete.
702 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
704 * desktop.el (desktop-save-buffer-p): Do not fail when
705 desktop-files-not-to-save is nil. Return t for true result
708 2014-02-22 Daniel Colascione <dancol@dancol.org>
710 * net/secrets.el (secrets-create-item, secrets-search-items):
711 Check that attribute values are strings, avoiding the construction
712 of invalid dbus messages.
714 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
716 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
717 defun-declarations-alist.
719 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
721 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
724 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
726 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
727 (whitespace-newline, whitespace-trailing, whitespace-line)
728 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
729 (whitespace-space-after-tab): Fix typo in docstrings.
731 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
733 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
735 * electric.el (electric-indent-functions-without-reindent):
736 Add `yaml-indent-line'.
738 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
740 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
741 It has done nothing for years; should be removed after the release.
743 * simple.el (choose-completion): Fix docstring typo.
744 (read-quoted-char-radix): Remove unneeded * in docstring.
745 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
746 Don't escape parentheses unnecessarily in docstrings.
748 2014-02-21 Martin Rudalics <rudalics@gmx.at>
750 Fix handling of window-min-height/-width (Bug#16738).
751 * window.el (window--dump-window, window--dump-frame):
753 (window--min-size-1): Account for window dividers.
754 When window-resize-pixelwise is nil, delay rounding till after the
755 sum of the window components has been calculated.
756 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
757 nil make sure at least one text line and two text columns remain
759 (window-resize): Signal an error when window-resize-apply fails.
760 (window--resize-child-windows): Fix calculation of by how many
761 pixels a window can still be shrunk via window-new-normal.
762 (adjust-window-trailing-edge): Call window--resizable with
763 correct TRAIL argument.
765 (with-temp-buffer-window): Don't evaluate BODY within
766 with-current-buffer (Bug#16816).
768 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp.el (tramp-check-cached-permissions):
771 Call `file-attributes' with `suffix' being a symbol but a string.
773 2014-02-21 Daniel Colascione <dancol@dancol.org>
775 * net/dbus.el (dbus-init-bus-1): Declare new subr.
776 (dbus-init-bus): New function: call into dbus-init-bus-1
777 and installs a handler for the disconnect signal.
778 (dbus-call-method): Rewrite to look for result in cons.
779 (dbus-call-method-handler): Store result in cons.
780 (dbus-check-event): Recognize events with nil sender as valid.
781 (dbus-handle-bus-disconnect): New function. React to bus
782 disconnection signal by synthesizing dbus error for each
783 pending synchronous or asynchronous call.
784 (dbus-notice-synchronous-call-errors): New function.
785 (dbus-handle-event): Raise errors directly only when `dbus-debug'
786 is true, not all the time.
788 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
790 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
791 Remove obsolescence declarations, these variables do not exist anymore.
793 * savehist.el (savehist-save-minibuffer-history)
794 (savehist-additional-variables, savehist-file, savehist-mode-hook)
795 (savehist-save-hook, savehist-coding-system, savehist-loaded)
796 (savehist-load, savehist-install, savehist-autosave): Fix typos;
797 mostly, refer to "Savehist mode" when talking about the mode,
798 and not the function.
800 * saveplace.el (save-place): Remove redundant info in docstring.
801 (save-place-forget-unreadable-files, toggle-save-place)
802 (save-place-forget-unreadable-files, save-place-dired-hook):
803 Fix typos and remove unneeded backslashes.
805 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
807 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
808 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
810 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
811 <insert-directory>: Use `tramp-handle-insert-directory'.
812 (tramp-gvfs-handle-insert-directory): Remove function.
814 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
815 Call `tramp-handle-insert-directory'.
817 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
819 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
820 before the start of buffer/region (bug#16799).
822 2014-02-20 Glenn Morris <rgm@gnu.org>
824 * isearch.el (search-invisible): Doc fix.
826 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
828 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
831 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
833 * frameset.el (frameset-restore): Delay removing an old frame's
834 duplicate id until the new frame has been correctly created.
836 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
838 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
839 (tramp-check-cached-permissions): Call `file-attributes' if the
842 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
843 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
845 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
846 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
847 (tramp-gvfs-maybe-open-connection): Set always connection
848 properties, even if target is mounted already.
850 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
851 Set tramp-autoload cookie.
852 (tramp-get-remote-touch): New defun.
853 (tramp-sh-handle-set-file-times): Use it.
854 (tramp-sh-handle-directory-files-and-attributes):
855 Use `tramp-handle-directory-files-and-attributes' if neither stat
856 nor perl are available on the remote host.
858 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
859 "/". Write long listing only when "l" belongs to the switches.
861 * net/trampver.el: Update release number.
863 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
865 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
867 2014-02-19 Martin Rudalics <rudalics@gmx.at>
869 * window.el (window-state-put): Allow WINDOW to refer to an
870 internal window (Bug#16793).
872 2014-02-19 Glenn Morris <rgm@gnu.org>
874 * textmodes/remember.el: Move provide statement to end.
875 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
876 (remember-notes): Doc fixes.
878 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
880 * delsel.el (delete-char): Restore incorrectly erased property
883 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
885 * frameset.el (frameset--restore-frame): When a frame is being reused
886 and its root window is not alive, delete all the frame's windows before
887 restoring the window state. This works around the issue in bug#16793.
889 2014-02-18 Glenn Morris <rgm@gnu.org>
891 * textmodes/remember.el (remember-data-directory)
892 (remember-directory-file-name-format, remember-store-in-files)
893 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
894 (remember-notes-save-and-bury-buffer)
895 (remember-notes--kill-buffer-query): Doc fixes.
897 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
899 2014-02-17 Alan Mackenzie <acm@muc.de>
901 Connect electric-indent-mode up with CC Mode. Bug #15478.
902 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
903 to electric-indent-{,local-}-mode.
904 (c-basic-common-init): Set electric-indent-inhibit.
905 Initialise c-electric-flag from electric-indent-mode.
906 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
907 New hook functions which propagate electric-indent-mode to CC mode.
909 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
910 hit, toggle electric-indent-local-mode.
912 * electric.el (electric-indent-mode-has-been-called):
915 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
917 * frameset.el (frameset-cfg-id): New function.
918 (frameset--reuse-frame, frameset-restore): Use it.
919 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
921 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
923 * ido.el (ido-file-internal): Remove unused var `d'.
924 Use \` for to match BoS. Fit within 80n columns.
926 2014-02-17 Daniel Colascione <dancol@dancol.org>
928 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
929 dbus-call-method check for completion using a busy-wait loop with
932 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
934 Sync with Tramp 2.2.9.
936 * net/trampver.el: Update release number.
938 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
940 * ido.el (ido-file-internal): Don't add the name of an existing
941 directory twice. (Bug#16747)
943 2014-02-16 Glenn Morris <rgm@gnu.org>
945 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
946 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
948 2014-02-15 Michael R. Mauger <michael@mauger.com>
950 * progmodes/sql.el: Version 3.4
951 (sql-oracle-options): New default value ("-L").
952 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
953 (sql-placeholders-filter): Correct placeholder pattern.
954 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
955 (sql-login-delay): New variable.
956 (sql-product-interactive): Use it.
958 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
960 * frameset.el (frameset--jump-to-register): Check that buffer is live
963 2014-02-15 Glenn Morris <rgm@gnu.org>
965 * info.el (info-initialize): Revert 2014-01-10 change.
967 2014-02-14 Glenn Morris <rgm@gnu.org>
969 * replace.el (map-query-replace-regexp)
970 (read-regexp-defaults-function, read-regexp): Doc fixes.
972 * dired.el (dired-read-regexp):
973 * faces.el (list-faces-display):
974 * misearch.el (multi-isearch-read-matching-buffers)
975 (multi-isearch-read-matching-files):
976 * play/cookie1.el (cookie-apropos):
977 * progmodes/grep.el (grep-read-regexp): Doc fixes.
979 * textmodes/remember.el (remember): Use frameset-to-register
980 rather than frame-configuration-to-register.
982 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
984 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
985 incorrect keybinding.
987 2014-02-13 Daniel Colascione <dancol@dancol.org>
989 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
990 when adding overlays so that line numbers from compiler match line
993 2014-02-13 Glenn Morris <rgm@gnu.org>
995 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
997 * jit-lock.el (jit-lock-mode): Doc fix.
999 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
1001 * apropos.el (apropos-read-pattern): When the user passes an empty
1002 string, give a more helpful error message than "Wrong type
1003 argument: stringp, nil".
1005 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
1009 2014-02-13 Glenn Morris <rgm@gnu.org>
1011 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
1013 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
1016 shift-select commands.
1018 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
1020 * progmodes/js.el (js-indent-line): Don't widen.
1021 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
1023 2014-02-12 Glenn Morris <rgm@gnu.org>
1025 * icomplete.el (icomplete): Add info-link to defgroup.
1026 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
1027 (icomplete-minibuffer-map, icomplete-mode)
1028 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
1030 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
1031 (package-menu-filter): Rename from package-menu-filter-interactive.
1034 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
1036 * frameset.el (frameset--jump-to-register): Select the required
1037 window and buffer before restoring position (bug#16696).
1039 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1041 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
1043 2014-02-10 Glenn Morris <rgm@gnu.org>
1045 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
1047 2014-02-10 Eli Zaretskii <eliz@gnu.org>
1049 * w32-common-fns.el (x-get-selection): Doc fix.
1050 * select.el (x-get-selection): Doc fix. (Bug#15109)
1052 * face-remap.el (face-remap-add-relative)
1053 (face-remap-remove-relative, face-remap-reset-base)
1054 (face-remap-set-base): Call force-mode-line-update to redisplay
1055 the current buffer due to potential change in faces. (Bug#16709)
1057 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
1059 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
1060 script more robustly.
1062 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1064 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
1066 * simple.el (choose-completion): Doc fix (bug#14160).
1068 * subr.el (event-start): Say what a nil EVENT value means.
1070 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
1073 * progmodes/grep.el (find-program): Doc fix (bug#14289).
1075 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
1077 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
1079 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
1080 predicate function (bug#15455).
1082 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
1084 * ielm.el (inferior-emacs-lisp-mode): Instead of
1085 `comment-use-global-state', set `comment-use-syntax'.
1087 2014-02-10 Glenn Morris <rgm@gnu.org>
1089 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1091 2014-02-09 Alan Mackenzie <acm@muc.de>
1093 Fix c-invalidate-state-cache on narrowed buffers.
1094 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1095 Widen when setting and clearing the CPP delimiter properties.
1097 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1099 * help.el (describe-bindings): Doc fix (bug#9888).
1101 * files.el (save-buffer): Use ARG as the parameter name for
1102 consistency (bug#10346).
1103 (save-buffer): Clarify the 0 argument (bug#10346).
1105 * cus-edit.el (customize-apropos): Fix error string.
1106 (custom-buffer-create): Doc fix (bug#11122).
1107 (custom-sort-items): Doc fix (bug#11121).
1109 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1111 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1112 (icomplete-simple-completing-p): Mention the previous variable.
1114 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1115 meaning of the parameter (bug#12282).
1117 * files.el (find-file-noselect): Clarify prompt when changing
1118 readedness (bug#13261).
1119 (locate-file): Suffixes aren't returned, so don't say that they
1121 (backup-inhibited): Doc clarification (bug#12525).
1123 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1124 before we actually start to delete things (bug#16331).
1126 * subr.el (event-start): Doc fix (bug#14228).
1129 2014-02-09 Glenn Morris <rgm@gnu.org>
1131 * emacs-lisp/warnings.el (lwarn):
1132 Empower help-enable-auto-load. (Bug#15940)
1134 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1136 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1139 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1141 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1142 Insert output at end of buffer. (Bug#16120)
1144 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1146 * simple.el (choose-completion-string-functions): Document new
1147 calling convention (bug#14153).
1148 (execute-extended-command): Clarify doc string (bug#13373).
1150 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1152 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1153 (find-grep-dired): Doc fix (bug#14288).
1155 2014-02-08 Juri Linkov <juri@jurta.org>
1157 * isearch.el (isearch-quote-char): Check character validity
1158 like in `quoted-insert' (bug#16677).
1160 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1162 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1164 * isearch.el (isearch-hide-immediately): Doc clarification
1167 * simple.el (line-move): Document utility function used many
1168 places in the Emacs sources (bug#14843).
1170 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1171 (dired-prev-marked-file): Doc fix (bug#14855).
1172 (dired-up-directory): Doc fix (bug#14848).
1174 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1176 * files.el (file-relative-name): Doc fix (bug#15159).
1178 * fringe.el (fringe-styles): Doc fix (bug#15239).
1180 * isearch.el (isearch-filter-predicate): Documentation typo fix
1183 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1185 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1187 * replace.el (replace-match-maybe-edit): Doc clarification
1190 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1192 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1194 2014-02-08 Glenn Morris <rgm@gnu.org>
1196 * help-fns.el (describe-variable):
1197 Check {file,dir}-local-variables-alist, and buffer-file-name,
1198 in the correct buffer.
1200 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1202 * help-fns.el (describe-variable): Fix the case where
1203 a value is directory-local with no dir-locals file. (Bug#16635)
1205 2014-02-08 Glenn Morris <rgm@gnu.org>
1207 * abbrev.el (edit-abbrevs-mode):
1208 Derive from fundamental-mode. (Bug#16682)
1210 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1212 * simple.el (quoted-insert): Check character validity (bug#16677).
1214 2014-02-07 Juri Linkov <juri@jurta.org>
1216 * desktop.el (desktop-read): Claim the lock when the owner is not
1217 the current process. (Bug#16157)
1219 2014-02-07 Juri Linkov <juri@jurta.org>
1221 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1222 to "\\` ". (Bug#16651)
1224 2014-02-07 Juri Linkov <juri@jurta.org>
1226 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1227 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1228 (desktop-auto-save-cancel-timer): New function with some code from
1229 `desktop-auto-save-set-timer'.
1230 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1231 Instead of setting `desktop-save-mode' to nil, call
1232 `desktop-save-mode' with arg 0. (Bug#16630)
1234 2014-02-07 Glenn Morris <rgm@gnu.org>
1236 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1237 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1238 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1240 * obsolete/iswitchb.el: Move to obsolete/.
1241 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1242 since obsolete/ is not scanned for autoloads.
1243 * emacs-lisp/authors.el (authors-valid-file-names):
1246 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1247 Disable now non-functional find-file-hook.
1249 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1251 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1252 instead of ";" in order to avoid additional prompts. Let heredoc
1253 scripts read from tty. (Bug#16582)
1254 (tramp-send-command): No special handling of heredocs, it isn't
1257 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1260 with a space (bug#16664). Limit the symbols considered to the ones
1261 that are bound or fbound (bug#16646).
1263 2014-02-06 Glenn Morris <rgm@gnu.org>
1265 * epa.el (epa-mail-aliases): Doc fix.
1267 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1269 * emacs-lisp/lisp.el (lisp-completion-at-point):
1270 Use `completion-table-merge' instead of `completion-table-in-turn'
1273 * minibuffer.el (completion-table-merge): New function.
1275 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1277 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1278 (tramp-sh-handle-set-file-acl)
1279 (tramp-sh-handle-start-file-process)
1280 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1281 (tramp-find-executable, tramp-send-command): Use it.
1283 2014-02-05 Glenn Morris <rgm@gnu.org>
1285 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1287 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1289 * progmodes/python.el (python-shell-send-string)
1290 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1292 2014-02-04 Anders Lindgren <andlind@gmail.com>
1294 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1295 the names (bug#16620).
1297 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1299 * faces.el (window-divider): New default value. Rewrite doc-string.
1300 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1302 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1305 `protected' and `public' can also be called without arguments.
1307 2014-02-03 Glenn Morris <rgm@gnu.org>
1309 * register.el (window-configuration-to-register)
1310 (frame-configuration-to-register): Unadvertise unused argument.
1311 * frameset.el (frameset-to-register): Remove unused argument.
1313 * frameset.el (frameset-to-register):
1314 * kmacro.el (kmacro-to-register):
1315 * register.el (increment-register):
1316 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1317 (calc-append-to-register, calc-prepend-to-register):
1318 * play/gametree.el (gametree-layout-to-register)
1319 (gametree-apply-register-layout):
1320 * textmodes/picture.el (picture-clear-rectangle-to-register)
1321 (picture-yank-rectangle-from-register):
1322 * vc/emerge.el (emerge-combine-versions-register):
1323 Use register-read-with-preview to read registers.
1325 2014-02-03 João Távora <joaotavora@gmail.com>
1327 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1328 when at beginning of (possibly narrowed) buffer.
1330 2014-02-02 Daniel Colascione <dancol@dancol.org>
1332 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1333 Also try to display local help from just before point.
1335 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1337 c-parse-state. Don't "append-lower-brace-pair" in certain
1338 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1339 recognised as a comment.
1341 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1342 as well as normal comment starter.
1343 (c-parse-state-get-strategy): Extra return possibility
1345 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1346 return value list to indicate replacement of a brace-pair cons
1348 (c-parse-state-1): With 'back-and-forward, only call
1349 c-append-lower-brace-pair-to state-cache when cons-separated.
1351 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1353 * term/ns-win.el (ns-suspend-error): New function.
1354 (ns-initialize-window-system): Add ns-suspend-error to
1355 suspend-hook (Bug#16612).
1357 2014-02-02 Daniel Colascione <dancol@dancol.org>
1359 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1360 Make loading cc-mode silent.
1362 2014-02-02 Daniel Colascione <dancol@dancol.org>
1364 * comint.el (comint-prompt-read-only): Change doc to suggest
1367 2014-02-02 Glenn Morris <rgm@gnu.org>
1369 * register.el (register-read-with-preview, point-to-register)
1370 (window-configuration-to-register, frame-configuration-to-register)
1371 (jump-to-register, number-to-register, view-register, insert-register)
1372 (copy-to-register, append-to-register, prepend-to-register)
1373 (copy-rectangle-to-register): Doc fixes.
1375 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1377 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1378 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1379 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1380 * help-fns.el (describe-function-1): Use it.
1382 2014-02-02 Glenn Morris <rgm@gnu.org>
1384 * register.el (register-preview-default): New function,
1385 split from register-preview.
1386 (register-preview-function): Rename from register-preview-functions,
1388 (register-preview): Use register-preview-function.
1389 (register-read-with-preview): Error on non-character event. (Bug#16595)
1391 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1393 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1394 `:' before binary operators (bug#16609). Don't check for `:'
1395 before `[' and `(', or their syntax status. A percent literal
1396 can't end with either.
1397 (ruby-font-lock-keywords): For built-ins that require arguments,
1398 check that they're followed by something that looks like argument
1401 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1403 * subr.el (butlast): Document what an omitted N means (bug#13437).
1406 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1408 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1409 depth shallower (bug#16587).
1410 (shr-tag-svg): Respect `shr-inhibit-images'.
1411 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1413 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1415 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1416 (ruby-smie-grammar): Make "." right-associative. Make its priority
1417 lower than the ternary and all binary operators.
1418 (ruby-smie-rules): Indent "(" relative to the first non-"."
1419 parent, or the first "." parent at indentation.
1420 Use `ruby-align-chained-calls' for indentation of "." tokens.
1423 2014-01-31 Juri Linkov <juri@jurta.org>
1425 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1426 from `make-hash-table'.
1428 * textmodes/ispell.el (ispell-init-process): Change message format
1429 to be consistent with other messages.
1431 2014-01-31 Glenn Morris <rgm@gnu.org>
1433 * delsel.el (delete-selection-mode): Doc fix.
1435 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1436 (trace-function-background): Doc fixes.
1438 * ido.el (ido-use-virtual-buffers): Doc fix.
1439 Reset :version, since the default value has not changed.
1441 * register.el (register-preview-delay, register-read-with-preview):
1444 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1445 do not mess with mail-buffer position (fixes 2009-11-03 change).
1446 * progmodes/cc-mode.el (c-submit-bug-report):
1447 Check auto-fill-mode is bound. (Bug#16592)
1449 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1451 * startup.el (fancy-splash-image-file): New function,
1452 split from fancy-splash-head.
1453 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1454 so that we are both using the same image. (Bug#16574)
1456 2014-01-30 Glenn Morris <rgm@gnu.org>
1458 * simple.el (eval-expression): Doc fix.
1460 * hexl.el (hexl-mode-hook):
1461 * ielm.el (ielm-mode-hook):
1462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1463 (lisp-interaction-mode-hook):
1464 * progmodes/cfengine.e (cfengine3-documentation-function):
1465 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1467 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1470 is a symbol (bug#16584).
1472 2014-01-30 Glenn Morris <rgm@gnu.org>
1474 * help.el (help-for-help-internal): Add "P" to text.
1476 2014-01-29 Glenn Morris <rgm@gnu.org>
1478 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1480 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1482 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1485 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1487 * progmodes/hideif.el: Extend to full CPP expression syntax.
1488 (hif-token-alist): Add missing tokens.
1489 (hif-token-regexp): Add support for float/octal/hex immediates.
1490 (hif-string-literal-regexp): New const.
1491 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1492 (hif-exprlist): New function.
1493 (hif-parse-if-exp): Use it.
1494 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1495 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1496 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1497 (hif-logxor, hif-comma): New functions.
1499 2014-01-28 Glenn Morris <rgm@gnu.org>
1501 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1503 * indent.el (tab-stop-list): Doc fix. Add :version.
1505 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1506 (cvs-append-to-ignore): Add compatibility alias.
1508 2014-01-27 Glenn Morris <rgm@gnu.org>
1510 * dired.el (dired-hide-details-mode): Don't autoload it,
1511 since it cannot be used outside Dired buffers anyway.
1513 * emulation/cua-base.el (cua-mode): Doc fix.
1515 * dired.el (dired-hide-details-hide-symlink-targets)
1516 (dired-hide-details-hide-information-lines)
1517 (dired-hide-details-mode): Doc fixes.
1519 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1520 * strokes.el (strokes-file): Doc fix. Bump :version.
1521 (strokes-help): Doc fix.
1522 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1523 * emulation/viper.el (viper): Doc fix for custom group.
1524 (top-level): Remove oh-so-no-longer-relevant text about vip.
1525 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1527 * ido.el (ido-save-directory-list-file):
1528 * saveplace.el (save-place-file):
1529 * calendar/timeclock.el (timeclock-file):
1530 * net/quickurl.el (quickurl-url-file):
1531 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1532 * progmodes/idlwave.el (idlwave-config-directory):
1533 * textmodes/remember.el (remember-data-file):
1536 2014-01-26 Glenn Morris <rgm@gnu.org>
1538 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1539 Doc fix. Make obsolete.
1540 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1542 * sort.el (delete-duplicate-lines): Doc fix.
1544 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1546 * progmodes/ada-mode.el (ada):
1547 * woman.el (woman): Link to info manual and Commentary section.
1549 * progmodes/flymake.el (flymake):
1550 * nxml/nxml-mode.el (nxml):
1552 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1553 * htmlfontify.el (htmlfontify):
1556 * ido.el (ido): Link to info manual.
1558 2014-01-25 Leo Liu <sdl.web@gmail.com>
1560 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1562 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1564 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1567 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1569 * net/eww.el (eww-download-callback):
1570 Fix reference to eww-download-directory.
1572 * emacs-lisp/bytecomp.el (byte-compile-file):
1573 Remove unused local variable `file-name'.
1575 2014-01-24 Glenn Morris <rgm@gnu.org>
1577 * woman.el (woman-default-faces, woman-monochrome-faces):
1578 Fix obsolescence specification.
1580 * subr.el (with-demoted-errors): Doc fix.
1582 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1585 (cl--macroexp-fboundp): New function.
1586 (cl--make-type-test): Use it.
1588 2014-01-23 Glenn Morris <rgm@gnu.org>
1590 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1591 * simple.el (eval-expression): Doc fixes.
1593 2014-01-22 Glenn Morris <rgm@gnu.org>
1595 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1597 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * emacs-lisp/package.el: Write files silently.
1600 (package-autoload-ensure-default-file, package--write-file-no-coding)
1601 (package-generate-description-file, package--download-one-archive)
1602 (package-install-from-archive): Tell `write-region' to stay quiet.
1603 (package-menu-mode, package-menu--print-info): Omit the Archive column
1604 if there's only one archive.
1605 (package-all-keywords, package--has-keyword-p): Remove dead code.
1607 2014-01-22 Glenn Morris <rgm@gnu.org>
1609 * version.el (emacs-bzr-version-bzr): Fix typo.
1611 * version.el (emacs-repository-get-version):
1612 Check either .bzr or .git, but not both.
1613 Make the git case actually use the DIR argument, and return nil
1614 rather than the empty string.
1615 Avoid error if .git exists but the git executable is not found.
1617 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1619 Fixes in window size functions around Bug#16430 and Bug#16470.
1620 * window.el (window-total-size, window-size): New argument ROUND.
1621 (window--min-delta-1, window-min-delta, window--max-delta-1):
1622 Be more conservative when calculating the numbers of lines or
1623 columns a window can shrink (Bug#16430).
1624 (fit-window-to-buffer): Simplify code.
1625 * term.el (term-window-width): Call window-body-width again.
1627 2014-01-22 Glenn Morris <rgm@gnu.org>
1629 * image.el (image-format-suffixes): Doc fix.
1631 * international/quail.el (quail-define-package): Doc fix.
1633 * emacs-lisp/authors.el (authors-valid-file-names)
1634 (authors-renamed-files-alist): Additions.
1636 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1637 reverts 2014-01-09 change. (Bug#16422)
1639 * calc/calc-embed.el (thing-at-point-looking-at):
1640 * emacs-lisp/map-ynp.el (x-popup-dialog):
1641 * obsolete/lmenu.el (x-popup-dialog):
1642 * emacs-lisp/package.el (url-recreate-url):
1643 * mail/mailclient.el (clipboard-kill-ring-save):
1644 * subr.el (x-popup-dialog): Update declaration.
1645 * mail/rmail.el (rmail-mime-message-p):
1646 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1648 2014-01-21 Daniel Colascione <dancol@dancol.org>
1650 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1651 Correctly detect when we're inside an arithmetic expansion form
1652 containing nested parenthesis.
1653 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1654 to detect cases where we shouldn't expand "<<" to a heredoc
1657 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1660 (eldoc--message-command-p): New function.
1661 (eldoc-display-message-p): Use it.
1662 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1663 message is not automatically erased for us.
1664 (eldoc-print-current-symbol-info): Erase previous message, if any.
1666 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1668 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1669 specify it's an interactive function.
1671 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1672 Fix regex used for scanning for citation keys which failed for
1673 citations with optional arguments.
1675 2014-01-21 Leo Liu <sdl.web@gmail.com>
1677 * simple.el (read--expression): Don't enable eldoc-mode.
1679 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * simple.el (move-beginning-of-line): Make sure we don't move forward
1684 2014-01-20 Juri Linkov <juri@jurta.org>
1686 * saveplace.el (toggle-save-place, save-place-to-alist)
1687 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1688 'dired-mode) before checking for dired-directory. (Bug#16477)
1690 2014-01-20 Juri Linkov <juri@jurta.org>
1692 * indent.el (indent-line-to): Use backward-to-indentation
1693 instead of back-to-indentation. (Bug#16461)
1695 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1697 Revert some of the CANNOT_DUMP fix (Bug#16494).
1698 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1699 but fixing this can wait until after the next release.
1700 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1702 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1704 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1705 Use `password-word-equivalents'.
1706 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1707 to t. (Bug#5664, Bug#13124)
1709 2014-01-19 Alan Mackenzie <acm@muc.de>
1711 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1713 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1714 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1715 * progmodes/cc-mode.el (c-before-change, c-after-change)
1716 (c-font-lock-fontify-region): Bind it here.
1718 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1720 * term.el (term-window-width): Call window-text-width instead of
1721 window-width (Bug#16470).
1723 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1725 * simple.el (password-word-equivalents): Remove duplicates.
1726 Sort, to make this easier next time.
1727 Downcase. Omit ": " after "jelszó".
1729 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1731 * term/common-win.el (saved-region-selection): Defvar it.
1732 (x-select-text): Set saved-region-selection (Bug#16382).
1734 2014-01-18 Glenn Morris <rgm@gnu.org>
1736 * emacs-lisp/authors.el (authors-aliases)
1737 (authors-renamed-files-alist): Add some entries.
1739 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1741 * net/tramp.el (tramp-password-prompt-regexp):
1742 Use `password-word-equivalents' if available.
1743 (tramp-action-password, tramp-process-one-action)
1744 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1746 2014-01-17 Chong Yidong <cyd@gnu.org>
1748 * simple.el (password-word-equivalents): New defcustom.
1749 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1751 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1754 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1756 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1757 (ruby-align-to-stmt-keywords): Change the default value.
1758 Use `ruby-alignable-keywords' to generate the possible customization
1760 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1761 keywords, check against the value of `ruby-alignable-keywords'
1762 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1764 2014-01-17 Glenn Morris <rgm@gnu.org>
1766 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1768 Make M-x authors return zero *Authors Errors* from current logs.
1769 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1770 (authors-ignored-files): Add some entries, remove others.
1771 (authors-ambiguous-files, authors-valid-file-names):
1773 (authors-renamed-files-alist): Add, remove, and adjust entries.
1774 (authors-renamed-files-regexps): Add some entries.
1775 Remove some very broad ones. Make some entries `lax'.
1776 (authors-lax-changelogs): New constant.
1777 (authors-disambiguate-file-name): Treat top-level specially.
1778 (authors-lax-changelog-p): New function.
1779 (authors-canonical-file-name): Check file as written against
1780 authors-valid-file-names. Do not special-case etc/.
1781 Handle `lax' logs and authors-renamed-files-regexps elements.
1783 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1785 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1786 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1789 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1791 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1792 Assume we're already in the proper buffer.
1793 Inspired by Anders Lindgren <andlind@gmail.com>.
1794 (follow-post-command-hook): Call it from the right buffer.
1795 (follow-comint-scroll-to-bottom): Adjust call.
1796 (follow-all-followers): Use get-buffer-window-list.
1798 2014-01-15 Daniel Colascione <dancol@dancol.org>
1800 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1801 `buffer-file-name' in interactive-form so that we don't leave
1802 pathless file names in `file-name-history'.
1804 2014-01-15 Juri Linkov <juri@jurta.org>
1806 * indent.el (indent-rigidly): Set deactivate-mark to nil
1807 in transient indentation mode. (Bug#16438)
1809 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1811 * emacs-lisp/package.el (package-desc-keywords): New function
1813 (describe-package-1, package-all-keywords)
1814 (package--has-keyword-p): Use it.
1816 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1818 * simple.el (define-alternatives): When creating the
1819 COMMAND-alternatives variable, assign COMMAND as its definition
1820 name so that `describe-variable' can relocate it.
1822 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1824 * font-lock.el (font-lock-keywords): Fix typo in docstring
1827 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1829 * ispell.el (ispell-region): Reset `in-comment' for new line
1830 instead of wrongly reset `add-coment' (bug#13577).
1832 2014-01-14 Daiki Ueno <ueno@gnu.org>
1834 * epa-file.el (epa-file-write-region): Encode the region according
1835 to `buffer-file-format'. Problem reported at:
1836 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1838 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1840 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1841 so it applies in the right buffer (bug#16410).
1843 2014-01-13 Daniel Colascione <dancol@dancol.org>
1845 * textmodes/rst.el (rst-define-key): Provide deprecated
1846 keybindings through named functions instead of anonymous ones so
1847 that "??" doesn't appear in describe-mode output.
1849 2014-01-13 Bastien Guerry <bzg@gnu.org>
1851 * simple.el (define-alternatives): Call the selected command
1852 interactively. When setting `COMMAND--implementation' for the
1853 first time, tell the user how to chose another implementation.
1854 Enhance the docstring.
1856 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1858 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1859 (log-edit--match-first-line): New function.
1860 (log-edit-font-lock-keywords): Use it.
1861 (log-edit-mode): Make jit-lock-defer-multiline work.
1863 2014-01-13 Bastien Guerry <bzg@gnu.org>
1865 * rect.el (rectangle-mark-mode): When the region is not active,
1866 display a message saying that the mark as been set and that
1867 rectangle mode is in use.
1868 (rectangle--highlight-for-redisplay): Only put an overlay with a
1869 visible vertical bar when (display-graphic-p) is non-nil.
1870 This partially fixes Bug#16403.
1872 2014-01-13 Juri Linkov <juri@jurta.org>
1874 * info.el (Info-find-file): Go to DIR before displaying the error
1875 about a nonexistent file if no previous Info file is visited.
1876 Use `user-error' instead of `error' for "Info file %s does not exist".
1877 (Info-find-node-2): In case of a nonexistent node in unwind forms
1878 go to the Top node if there is no previous node to revert to.
1881 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1883 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1884 * window.el (fit-frame-to-buffer): Fix doc-string.
1885 Respect window-min-height/-width. Fit pixelwise when
1886 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1887 when avoiding that frame goes partially off-screen.
1888 (fit-window-to-buffer): Respect window-min-height/-width
1891 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1894 after an empty line.
1896 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1898 * net/shr.el (shr-render-region): Autoload.
1900 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1902 * net/eww.el (eww-download-directory): Rename from
1903 `eww-download-path' (Bug#16419).
1905 2014-01-12 Leo Liu <sdl.web@gmail.com>
1907 * dired-x.el (dired-mode-map): Fix last change.
1909 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1911 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1914 * emacs-lisp/generic.el (generic--normalize-comments):
1915 Rename from generic--normalise-comments. All uses changed.
1916 * play/bubbles.el (bubbles--neighborhood-score)
1917 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1918 (bubbles--neighborhood-available)
1919 (bubbles--update-neighborhood-score):
1920 Rename from names with 'neighbourhood'. All uses changed.
1922 2014-01-12 Leo Liu <sdl.web@gmail.com>
1924 Re-implement the feature of showing eldoc info after editing.
1925 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1926 (eldoc-edit-message-commands): New function.
1927 (eldoc-print-after-edit): New variable.
1928 (eldoc-pre-command-refresh-echo-area): Emit message only by
1929 eldoc-message-commands.
1930 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1931 if eldoc-print-after-edit is set. (Bug#16346)
1932 * simple.el (read--expression): Enable eldoc-mode.
1933 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1935 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1936 Eric S. Raymond <esr@thyrsus.com>
1938 * version.el (emacs-repository-get-version): Enhance so the
1939 function works correctly in either a Bazaar or Git repo.
1941 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1943 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1944 Goes with removal of the joke manpages from /etc.
1946 2014-01-10 Kenichi Handa <handa@gnu.org>
1948 * mail/rmail.el (rmail-get-coding-system):
1949 Check rmail-get-coding-function before "funcall"ing it.
1951 2014-01-10 Glenn Morris <rgm@gnu.org>
1953 * emacs-lisp/authors.el (authors-fixed-entries):
1954 Update for files that no longer exist.
1956 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1958 * version.el (emacs-bzr-get-version): Restore compatibilty with
1961 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1963 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1966 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1968 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1970 2014-01-10 Chong Yidong <cyd@gnu.org>
1972 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1974 2014-01-10 Anders Lindgren <andlind@gmail.com>
1976 * follow.el (follow-cache-command-list): Include right-char and
1979 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1982 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1983 * woman.el (woman-mark-horizontal-position):
1984 Rename from woman-mark-horizonal-position. Use changed.
1986 2014-01-10 Glenn Morris <rgm@gnu.org>
1988 * info.el (info-initialize): If running uninstalled, ensure our
1989 own info files are always found first, even if INFOPATH is set.
1991 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1993 2014-01-09 David Engster <deng@randomsample.de>
1995 * emacs-lisp/eieio-custom.el:
1996 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1997 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1998 * emacs-lisp/eieio.el: Regenerate autoloads.
2000 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
2002 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
2003 following renames. (Bug#8756)
2005 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2007 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
2009 (activate-mark): Add `no-tmm' argument.
2010 (set-mark, push-mark-command): Use it instead of running
2011 activate-mark-hook by hand.
2013 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
2015 In preparation for the move to git, sanitize out some
2016 Bazaar-specific names.
2018 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
2020 * version.el (emacs-bzr-version): Name changed to
2021 emacs-repository-version. Obsolete-variable alias made.
2022 * loadup.el: Follow through on this name change.
2023 * mail/emacsbug.el (report-emacs-bug): Factor out any
2024 assumption about the version control system in use.
2026 2014-01-08 David Engster <deng@randomsample.de>
2028 * help-fns.el (help-fns-describe-function-functions):
2029 New variable to call functions for augmenting help buffers.
2030 (describe-function-1): Remove explicit calls to
2031 `help-fns--compiler-macro', `help-fns--parent-mode' and
2032 `help-fns--obsolete'. Put them in above new variable instead, and
2033 call them through `run-hook-with-args'.
2034 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
2035 `eieio-describe-class'. Not meant for interactive use anymore,
2036 but to augment existing help buffers. Remove optional second
2037 argument. Create proper button for file location.
2038 Rewrite function to use `insert' instead of `princ' and `prin1' where
2040 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
2041 (eieio-method-def, eieio-class-def): Move further up.
2042 (describe-method, describe-generic, eieio-describe-method):
2044 (eieio-help-constructor, eieio-help-generic): Rename from
2045 `eieio-describe-constructor' and `eieio-describe-generic', resp.
2046 Rewrite to use `insert' in the current buffer and use proper help
2048 (eieio-help-find-method-definition)
2049 (eieio-help-find-class-definition): Also accept symbols as
2051 (eieio-help-mode-augmentation-maybee): Remove.
2052 (eieio-describe-class-sb): Use `describe-function'.
2053 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
2054 Add `eieio-help-generic' and `eieio-help-constructor'.
2056 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
2059 * language/china-util.el (hz-ascii-designation):
2060 Rename from hz-ascii-designnation.
2061 (hz-ascii-designation): Rename from hz-ascii-designnation.
2064 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2066 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
2069 2014-01-08 Bastien Guerry <bzg@gnu.org>
2071 * emacs-lisp/package.el (package-delete):
2072 Correctly delete the package from package-alist.
2074 2014-01-08 Daiki Ueno <ueno@gnu.org>
2076 * emacs-lisp/package.el (url-recreate-url): Declare.
2077 (url-http-target-url): Declare.
2078 (package-handle-response): Include requested URL in the error message.
2079 (package--check-signature): Don't re-signal errors from
2080 package--with-work-buffer. Suggested by Stefan Monnier.
2082 2014-01-07 Bastien Guerry <bzg@gnu.org>
2084 * minibuffer.el (completion--try-word-completion): When both a
2085 hyphen and a space are possible candidates for the character
2086 following a word, display both candidates. (Bug#15980)
2088 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2090 * window.el (balance-windows-2): While rounding don't give a
2091 window more than the remainder. Bug#16351, bug#16383.
2093 2014-01-07 Glenn Morris <rgm@gnu.org>
2095 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2096 (menu-bar-help-menu): Use view-external-packages instead.
2098 2014-01-07 Bastien Guerry <bzg@gnu.org>
2100 * emacs-lisp/package.el (package-delete): Also delete the package
2101 name from `package-alist', not its description only.
2103 2014-01-07 Glenn Morris <rgm@gnu.org>
2105 * help.el (view-external-packages):
2106 * menu-bar.el (menu-bar-help-extra-packages):
2107 Visit efaq.info rather than etc/MORE.STUFF.
2109 2014-01-07 Juri Linkov <juri@jurta.org>
2111 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2112 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2114 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2115 that shadows RET. (Bug#16342)
2117 2014-01-07 Chong Yidong <cyd@gnu.org>
2119 * isearch.el (isearch-yank-char, isearch-yank-word)
2120 (isearch-yank-line): Doc fix.
2122 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2125 * emacs-lisp/elint.el (elint-find-builtins):
2126 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2127 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2128 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2129 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2130 * apropos.el (apropos-safe-documentation):
2131 * subr.el (symbol-file): Remove redundant fboundp.
2132 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2134 2014-01-06 Bastien Guerry <bzg@gnu.org>
2136 * hl-line.el (global-hl-line-overlay): Make a local variable.
2137 (global-hl-line-overlays): New variable to store all overlays.
2138 (global-hl-line-mode): Don't delete overlays from the current
2139 buffer when `global-hl-line-sticky-flag' is non-nil.
2140 (global-hl-line-highlight): Add new overlays to
2141 `global-hl-line-overlays'.
2142 (global-hl-line-unhighlight-all): New function to delete all
2143 overlays when turning off `global-hl-line-mode'.
2144 This fixes Bug#16183.
2146 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * subr.el (set-transient-map): Fix nested case and docstring.
2150 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2152 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2155 2014-01-06 Daniel Colascione <dancol@dancol.org>
2157 Fix defun navigation in vc log view.
2159 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2160 like `beginning-of-defun'.
2161 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2162 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2163 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2164 (log-view-extract-comment): Call `log-view-current-entry' directly
2165 instead of relying on broken `log-view-beginning-of-defun' behavior.
2167 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2170 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2171 * emacs-lisp/debug.el (cancel-debug-on-entry):
2172 * epg.el (epg-error-to-string):
2173 * files.el (recover-file):
2174 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2175 * mail/emacsbug.el (report-emacs-bug-hook):
2176 * mail/sendmail.el (mail-recover):
2177 * ses.el (ses-yank-resize):
2178 * term/ns-win.el (ns-print-buffer):
2179 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2180 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2182 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2184 2014-01-06 Leo Liu <sdl.web@gmail.com>
2186 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2187 to avoid shadowing global key. (Bug#16354)
2189 2014-01-06 Daniel Colascione <dancol@dancol.org>
2191 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2194 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2196 * window.el (balance-windows): Add mising t to fix Bug#16351.
2198 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2200 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2202 (shr-insert): If we have a word that's longer than `shr-width',
2203 break after it anyway. Otherwise we'll do no breaking once we get
2206 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2208 * net/eww.el (eww): Support single/double quote for search.
2209 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2210 (eww-history-quit): Delete and use quit-window.
2211 (eww-history-kill): Delete, because it doesn't work well and
2213 (eww-history-mode-map): Delete some keys and add easy-menu.
2215 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2217 Fix misspelling of 'chinese' in rx (Bug#16237).
2218 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2221 Change subword regexps back to vars (Bug#16296).
2222 * progmodes/subword.el (subword-forward-regexp)
2223 (subword-backward-regexp): Change these back to variables.
2225 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2228 syntax-begin-function (bug#16247).
2230 2014-01-03 Chong Yidong <cyd@gnu.org>
2232 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2233 (advice--docstring): Delete variable.
2234 (advice--make-1): Leave the docstring empty.
2235 (advice-add): Use function-documentation for advised docstring.
2237 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2238 Ignore function-documentation property when getting documentation.
2239 (ad-activate-advised-definition): Use function-documentation
2240 generate the docstring.
2241 (ad-make-advised-definition): Don't call
2242 ad-make-advised-definition-docstring.
2243 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2246 * progmodes/sql.el (sql-help): Use function-documentation instead
2247 of dynamic-docstring-function property. No need to autoload now.
2248 (sql--help-docstring): New variable.
2249 (sql--make-help-docstring): Use it.
2251 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2253 * ielm.el (ielm-tab): Retarget.
2254 (ielm-map): Use ielm-tab for tab.
2255 (ielm-complete-filename): Use comint-filename-completion.
2256 (ielm-complete-symbol): Remove.
2257 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2258 remove ielm-tab from completion-at-point-functions (bug#16224).
2260 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2261 Beware signals raised by predicates (bug#16201).
2263 2014-01-02 Richard Stallman <rms@gnu.org>
2265 * dired-aux.el (dired-do-print): Handle printer-name.
2267 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2268 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2269 (rmail-epa-decrypt): Turn off mime processing.
2271 * mail/rmail.el (rmail-make-in-reply-to-field):
2272 Add parens in message-id.
2274 * mail/rmail.el (rmail-get-coding-function): Variable.
2275 (rmail-get-coding-system): Use it.
2277 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2279 * international/mule-conf.el: Unify the charset indian-is13194.
2280 (indian-is13194): Specify unify-map.
2282 2013-12-31 Leo Liu <sdl.web@gmail.com>
2284 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2286 2013-12-30 Daniel Colascione <dancol@dancol.org>
2288 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2289 of printing a useless when we resume from sleep.
2291 * progmodes/sh-script.el
2292 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2293 in indentation code. (Bug#16233)
2295 2013-12-28 João Távora <joaotavora@gmail.com>
2297 * elec-pair.el (electric-pair-post-self-insert-function):
2298 Don't open extra newlines at beginning of buffer. (Bug#16272)
2300 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2302 * frame.el (window-system-for-display): Don't allow to create a
2303 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2305 2013-12-28 Glenn Morris <rgm@gnu.org>
2307 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2310 * apropos.el (apropos-match-face):
2311 * calculator.el (calculator-displayer):
2312 * dabbrev.el (dabbrev-search-these-buffers-only):
2313 * face-remap.el (buffer-face-mode-face):
2314 * simple.el (yank-handled-properties):
2315 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2316 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2317 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2318 (hashcash-double-spend-database):
2319 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2320 (ruby-deep-indent-paren-style):
2321 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2322 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2323 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2324 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2325 Specify custom types.
2327 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2328 * bookmark.el (bookmark-bmenu-use-header-line):
2329 * doc-view.el (doc-view-scale-internally):
2330 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2331 * register.el (register-preview-delay):
2332 * net/shr.el (shr-bullet):
2333 * progmodes/cfengine.el (cfengine-cf-promises)
2334 (cfengine-parameters-indent):
2335 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2336 * textmodes/reftex-vars.el (reftex-label-regexps):
2337 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2339 * net/tls.el (tls-certtool-program): Fix default value.
2341 * desktop.el (desktop-restore-in-current-display):
2342 * newcomment.el (comment-empty-lines):
2343 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2344 (idlwave-pad-keyword):
2345 * progmodes/tcl.el (tcl-tab-always-indent):
2346 * textmodes/reftex-vars.el (reftex-index-default-tag):
2347 * elec-pair.el (electric-pair-skip-whitespace):
2348 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2350 * emacs-lisp/authors.el (authors-ignored-files)
2351 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2353 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2355 * shell.el (shell-dynamic-complete-command): Doc fix.
2356 (shell--command-completion-data): Shell completion now matches
2357 executable filenames from the current buffer's directory, on
2358 systems in which this behavior is the default (windows-nt, ms-dos).
2360 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2362 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2364 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2366 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2369 * electric.el: Move all electric-pair-* to elec-pair.el.
2370 * elec-pair.el: New file, split from electric.el.
2372 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2374 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2375 indentation level is larger than the width, because that will
2377 (shr-insert): Fill repeatedly long texts, so that Japanese is
2378 formatted correctly (bug#16263).
2379 (shr-find-fill-point): Off by one error in comparison with the
2382 2013-12-26 João Távora <joaotavora@gmail.com>
2384 * electric.el (electric-pair-mode): More flexible engine for skip-
2385 and inhibit predicates, new options for pairing-related functionality.
2386 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2387 if that keeps or improves their balance in buffers.
2388 (electric-pair-delete-adjacent-pairs): Delete the pair when
2389 backspacing over adjacent matched delimiters.
2390 (electric-pair-open-extra-newline): Open extra newline when
2391 inserting newlines between adjacent matched delimiters.
2392 (electric--sort-post-self-insertion-hook):
2393 Sort post-self-insert-hook according to priority values when
2394 minor-modes are activated.
2395 * simple.el (newline-and-indent): Call newline with interactive
2397 (blink-paren-post-self-insert-function): Set priority to 100.
2398 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2399 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2400 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2401 electric-pair-open-newline-between-pairs to nil.
2403 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2405 * progmodes/python.el: Use lexical-binding.
2406 (python-nav-beginning-of-defun): Stop searching ASAP.
2408 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2410 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2411 Fix interactive spec. Doc fix. (Bug#15754)
2413 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2415 * emacs-lisp/byte-run.el (eval-when-compile):
2416 * progmodes/cc-defs.el (cc-eval-when-compile):
2417 Fix edebug spec (bug#16184).
2419 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2421 * net/shr.el (shr-visit-file): Remove debugging function.
2422 (shr-insert): Don't infloop if we can't find a good place to break
2423 the line (bug#16256).
2425 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2427 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2428 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2429 python-nav-lisp-forward-sexp-safe.
2430 (python-nav--forward-sexp): New argument SAFE allows switching
2431 forward sexp movement behavior for parens.
2432 (python-nav-forward-sexp): Throw errors on unterminated parens
2434 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2435 (python-nav-backward-sexp-safe): New functions.
2436 (python-shell-buffer-substring):
2437 Use `python-nav-forward-sexp-safe'.
2439 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2441 * net/shr.el (shr-find-fill-point): Don't break lines before a
2443 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2444 (shr-find-fill-point): Remove the special checks for the quotation
2445 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2447 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2449 * net/eww.el (eww-form-textarea): Use a different face for
2450 textareas than text input since they have different keymaps
2453 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2455 * progmodes/python.el (python-nav-beginning-of-statement):
2456 Speed up (Bug#15295).
2458 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2460 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2461 the window configuration.
2463 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2465 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2466 we run on MS-Windows or MS-DOS.
2468 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2470 * window.el (balance-windows-area): Call window-size instead of
2471 window-height and window-width. Bug#16241.
2473 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2475 * net/eww.el (eww-bookmark-quit): Remove.
2476 (eww-bookmark-browse): Restore the window configuration when you
2477 choose a bookmark (bug#16144).
2479 2013-12-24 Daniel Colascione <dancol@dancol.org>
2481 * icomplete.el: Remove redundant :group arguments to `defcustom'
2483 (icomplete-show-matches-on-no-input): New customizable variable.
2484 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2485 we have something to show.
2486 (icomplete-exhibit): Compute completions even if we have no user input.
2488 2013-12-23 Daniel Colascione <dancol@dancol.org>
2490 * icomplete.el: Move `provide' to end of file.
2492 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2494 * net/gnutls.el (gnutls-verify-error): Add version tag.
2496 2013-12-23 Chong Yidong <cyd@gnu.org>
2498 * subr.el (set-transient-map): Rename from
2499 set-temporary-overlay-map. Doc fix.
2501 * face-remap.el (text-scale-adjust):
2502 * indent.el (indent-rigidly):
2503 * kmacro.el (kmacro-call-macro):
2504 * minibuffer.el (minibuffer-force-complete):
2505 * repeat.el (repeat):
2506 * simple.el (universal-argument--mode):
2507 * calendar/todo-mode.el (todo-insert-item--next-param):
2508 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2510 * indent.el (indent-rigidly): Use substitute-command-keys.
2512 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2514 * net/eww.el (eww-tag-select): Add text-property to jump to next
2516 (eww): Add non-supported ftp error.
2518 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2520 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2521 comments. Handle electric indent after typing `?' and `!'.
2523 2013-12-22 Chong Yidong <cyd@gnu.org>
2525 * faces.el (face-spec-recalc): If the theme specs are not
2526 applicable to a frame, fall back on the defface spec.
2527 This prevents themes from obliterating faces on low-color terminals.
2529 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2532 after `{'. We need it after block openers, and it doesn't seem
2533 to hurt after hash openers.
2535 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2537 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2538 extracted from `ruby-smie-rules'.
2539 (ruby--electric-indent-chars): New variable.
2540 (ruby--electric-indent-p): New function.
2541 (ruby-mode): Use `electric-indent-functions' instead of
2542 `electric-indent-chars'.
2544 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2546 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2548 (ruby-smie-rules): Indent plus one level after `=>'.
2550 2013-12-21 Richard Stallman <rms@gnu.org>
2552 * simple.el (newline): Doc fix.
2554 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2556 * net/eww.el (eww-list-histories, eww-list-histories)
2557 (eww-history-browse, eww-history-quit, eww-history-kill)
2558 (eww-history-mode-map, eww-history-mode): New command and
2559 functions to list browser histories.
2560 (eww-form-text): Support text form with disabled
2561 and readonly attributes.
2562 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2564 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2566 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2567 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2568 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2569 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2571 (eww-bookmark-mode-map): Add menu.
2572 (eww-render, eww-mode): Use `setq-local'.
2573 (eww-tool-bar-map): New variable.
2574 (eww-mode): Set `tool-bar-map'.
2575 (eww-view-source): Check for `html-mode' with `fboundp'.
2577 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2579 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2580 elements with text inside. Also remove debugging.
2582 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2584 * cus-start.el (all): Add ns-use-srgb-colorspace.
2586 2013-12-21 Chong Yidong <cyd@gnu.org>
2588 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2589 undefined. Thus, theme settings for undefined faces do not take
2590 effect until the faces are defined with defface, the same as with
2593 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2594 (face-spec-reset-face): Don't assign extra properties in temacs.
2595 (face-spec-recalc): Apply X resources too.
2597 2013-12-21 Chong Yidong <cyd@gnu.org>
2599 * faces.el (face-spec-set):
2600 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2601 * custom.el (defface): Doc fixes (Bug#16203).
2603 * indent.el (indent-rigidly-map): Add docstring, and move commands
2604 into named functions.
2605 (indent-rigidly-left, indent-rigidly-right)
2606 (indent-rigidly-left-to-tab-stop)
2607 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2608 indentation direction based on bidi direction, and accumulate
2609 sequential commands in a single undo boundary.
2610 (indent-rigidly--pop-undo): New utility function.
2612 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2614 * faces.el (read-face-name): Require crm.el when using crm-separator.
2616 2013-12-20 Daniel Colascione <dancol@dancol.org>
2618 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2619 so that we don't reflow comments into the shebang line.
2621 2013-12-20 Juri Linkov <juri@jurta.org>
2623 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2624 a position when `dired-directory' is non-nil. Check integer
2625 positions with `integerp'.
2626 (toggle-save-place, save-places-to-alist): Add check for
2628 (save-place-find-file-hook): Check integer positions with
2630 (save-place-dired-hook): Use `dired-goto-file' when
2631 `dired-filename' is found in the assoc list. Check integer
2632 positions with `integerp'.
2633 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2635 * dired.el (dired-initial-position-hook): Rename back from
2636 `dired-initial-point-hook'.
2637 (dired-initial-position): Rename `dired-initial-point-hook' to
2638 `dired-initial-position-hook'.
2639 (dired-file-name-at-point): Doc fix. (Bug#15329)
2641 2013-12-20 Juri Linkov <juri@jurta.org>
2643 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2644 (read-regexp-suggestions): New function.
2645 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2646 Use `read-regexp-suggestions'. Add non-empty default to history
2648 (occur-read-regexp-defaults-function): Remove function.
2649 (occur-read-primary-args): Use `regexp-history-last' instead of
2650 `occur-read-regexp-defaults-function'.
2652 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2653 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2654 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2655 `hi-lock-read-regexp-defaults-function'. Doc fix.
2656 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2657 with `find-tag-default-as-symbol-regexp'. Doc fix.
2658 (hi-lock-read-regexp-defaults): Remove function.
2659 (hi-lock-regexp-okay): Add check for null.
2661 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2662 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2664 * subr.el (find-tag-default-as-symbol-regexp): New function.
2665 (find-tag-default-as-regexp): Move symbol regexp formatting to
2666 `find-tag-default-as-symbol-regexp'.
2668 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2670 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2673 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2675 * calendar/todo-mode.el: New implementation of item insertion
2676 commands and key bindings.
2677 (todo-key-prompt): New face.
2678 (todo-insert-item): New command.
2679 (todo-insert-item--parameters): New defconst, replacing defvar
2680 todo-insertion-commands-args-genlist.
2681 (todo-insert-item--param-key-alist): New defconst, replacing
2682 defvar todo-insertion-commands-arg-key-list.
2683 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2684 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2685 (todo-insert-item--next-param): New functions.
2686 (todo-insert-item--args, todo-insert-item--argleft)
2687 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2689 (todo-key-bindings-t): Change binding of "i" from
2690 todo-insertion-map to todo-insert-item.
2691 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2692 (todo-insertion-command-name, todo-insertion-commands-names)
2693 (todo-define-insertion-command, todo-insertion-commands)
2694 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2696 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2698 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2699 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2701 (todo-move-category): Allow choosing a non-existing todo file to
2702 move the category to, and create that file.
2703 (todo-default-priority): New user option.
2704 (todo-set-item-priority): Use it.
2705 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2706 (desktop-restore-file-buffer): Declare.
2707 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2708 (todo-modes-set-2): Locally set desktop-save-buffer to
2709 todo-desktop-save-buffer.
2710 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2711 (auto-mode-alist): Add autoload cookie.
2713 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2715 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2716 helpers.el was a poor choice of name.
2717 (string-remove-prefix): New function.
2718 (string-remove-suffix): New function.
2720 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2722 Fix assignment for new window total sizes.
2723 * window.el (window--pixel-to-size): Remove function.
2724 (window--pixel-to-total-1, window--pixel-to-total):
2725 Fix calculation of new total sizes.
2727 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2729 * comint.el (comint-output-filter): Fix rear-nonsticky property
2730 placement (Bug#16010).
2732 2013-12-20 Chong Yidong <cyd@gnu.org>
2734 * faces.el (read-color): Minor fix for completion function.
2736 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2738 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2739 New option. (Bug#16182)
2740 (ruby-smie--indent-to-stmt-p): Use it.
2741 (ruby-smie-rules): Revert the logic in the handling of `when'.
2742 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2743 (ruby-deep-arglist, ruby-deep-indent-paren)
2744 (ruby-deep-indent-paren-style): Update docstrings to note that the
2745 vars don't have any effect with SMIE.
2747 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2749 * calc/calc.el (calc-enter, calc-pop): Use the variable
2750 `calc-context-sensitive-enter'.
2752 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2754 * net/shr.el (shr-insert): Protect against infloops in degenerate
2757 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2759 * progmodes/octave.el (octave): Add link to manual and octave
2761 (octave-mode-menu): Link to octave-mode manual.
2763 2013-12-20 Leo Liu <sdl.web@gmail.com>
2765 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2766 insertion using skeleton-end-newline. (Bug#16138)
2768 2013-12-20 Juri Linkov <juri@jurta.org>
2770 * replace.el (occur-engine): Use `add-face-text-property'
2771 to add the face property to matches and titles. (Bug#14645)
2773 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2774 the palette of other hi-lock colors.
2775 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2777 2013-12-19 Juri Linkov <juri@jurta.org>
2779 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2780 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2781 (minibuffer-history-symbol): Move variable declaration closer to
2784 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2787 2013-12-19 Juri Linkov <juri@jurta.org>
2789 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2791 (log-edit-hook): Add it to :options. (Bug#16170)
2793 2013-12-19 Juri Linkov <juri@jurta.org>
2795 * simple.el (eval-expression-print-format): Don't check for
2796 command names and the last command. Always display additional
2797 formats of the integer result in the echo area, and insert them
2798 to the current buffer only with a zero prefix arg.
2799 Display character when char-displayable-p is non-nil.
2800 (eval-expression): With a zero prefix arg, set `print-length' and
2801 `print-level' to nil, and insert the integer values from
2802 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2804 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2805 `eval-last-sexp-arg-internal'. Doc fix.
2806 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2807 `eval-last-sexp-print-value'. Doc fix.
2808 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2809 Set `print-length' and `print-level' to nil when arg is zero.
2810 (eval-last-sexp): Doc fix.
2811 (eval-defun-2): Print the integer values from
2812 `eval-expression-print-format' at the end.
2814 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2815 values from `eval-expression-print-format' at the end.
2817 * ielm.el (ielm-eval-input): Print the integer
2818 values from `eval-expression-print-format' at the end.
2820 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2822 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2823 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2825 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2828 (hl-line-highlight, global-hl-line-highlight): Use it.
2829 (hl-line-overlay): Use defvar-local.
2831 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2833 * term/ns-win.el: Require dnd.
2834 (global-map): Remove drag items.
2835 (ns-insert-text, ns-set-foreground-at-mouse)
2836 (ns-set-background-at-mouse):
2837 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2838 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2841 2013-12-19 Glenn Morris <rgm@gnu.org>
2843 * emacs-lisp/ert.el (ert-select-tests):
2844 Fix string/symbol mixup. (Bug#16121)
2846 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2848 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2849 keywords to their parent.
2851 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2853 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2854 first arg to be a string (fixed dead code), or an operator symbol.
2855 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2857 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2858 did nothing. Don't respond to `(:after ".")', it will be called
2859 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2860 change anything. Only return indentation for binary operators
2861 when they are hanging. De-dent opening paren when its parent is
2862 `.', otherwise it looks bad when the dot is not at bol or eol
2865 2013-12-19 Juri Linkov <juri@jurta.org>
2867 * replace.el (query-replace-read-args): Split a non-negative arg
2868 and a negative arg into separate elements.
2869 (query-replace, query-replace-regexp, replace-string)
2870 (replace-regexp): Add arg `backward'. Doc fix.
2871 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2872 move point to the beginning of the match.
2873 (replace-search, replace-highlight): Use new arg `backward'
2874 to set the value of `isearch-forward'.
2875 (perform-replace): Add arg `backward' and use it to perform
2876 replacement backward. (Bug#14979)
2878 * isearch.el (isearch-query-replace): Use a negative prefix arg
2879 to call `perform-replace' with a non-nil arg `backward'.
2881 2013-12-18 Juri Linkov <juri@jurta.org>
2883 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2884 to the default list. Move `log-edit-show-files' to the end.
2885 Add more available functions to options.
2886 (log-edit): Move default specific settings to
2887 `log-edit-insert-message-template'. Don't move point.
2888 (log-edit-insert-message-template): New function.
2889 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2892 2013-12-18 Juri Linkov <juri@jurta.org>
2894 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2895 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2897 2013-12-18 Leo Liu <sdl.web@gmail.com>
2899 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2902 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2904 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2905 formats for displaying file sizes when the -s switch is given.
2906 Instead, compute a separate format for displaying the size in
2907 blocks, which is displayed in addition to the "regular" size.
2908 When -h is given in addition to -s, produce size in blocks in
2909 human-readable form as well. (Bug#16179)
2911 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2913 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2914 Reference tables with ~\ref{...} instead of only \ref{...}.
2916 2013-12-18 Chong Yidong <cyd@gnu.org>
2918 * cus-edit.el (custom-magic-alist): Fix "themed" description
2921 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2922 is non-nil, do not create a new entry in the symbol's theme-value
2923 or theme-face property; update theme-settings only (Bug#14664).
2924 (custom-available-themes): Doc fix.
2926 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2929 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2931 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2933 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2936 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2938 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2940 2013-12-18 Glenn Morris <rgm@gnu.org>
2942 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2943 * cus-start.el (load-prefer-newer): New option.
2945 2013-12-18 Le Wang <l26wang@gmail.com>
2947 * comint.el (comint-previous-matching-input-from-input):
2948 Retain point (Bug#13404).
2950 2013-12-18 Chong Yidong <cyd@gnu.org>
2952 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2954 2013-12-18 Glenn Morris <rgm@gnu.org>
2956 * mail/emacsbug.el (report-emacs-bug):
2957 Only mention enable-multibyte-characters if non-standard.
2959 2013-12-17 Juri Linkov <juri@jurta.org>
2961 * arc-mode.el (archive-extract-by-file): Check if directory exists
2962 before deletion to not show irrelevant errors if it doesn't exist.
2964 2013-12-17 Juri Linkov <juri@jurta.org>
2966 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2969 * net/eww.el (browse-web): Add alias to `eww'.
2970 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2971 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2973 * net/browse-url.el (browse-url-browser-function): Move `eww'
2974 closer to similar functions.
2976 * startup.el (fancy-startup-screen, fancy-about-screen):
2977 Set browse-url-browser-function to eww-browse-url locally.
2980 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2982 * window.el (window--pixel-to-total): Remove unused `mini' var.
2983 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2984 (split-window): Remove unused `new' var.
2985 (window--display-buffer): Remove unused `frame' and `delta' vars.
2986 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2989 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2991 * dired.el (dired-mark-pop-up):
2992 * register.el (register-preview): Don't bind
2993 split-height-threshold here since it's now done in
2994 display-buffer-below-selected.
2996 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2998 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2999 xterm-rgb-convert-to-16bit.
3000 (rxvt-register-default-colors): Standardize with
3001 xterm-register-default-colors (Bug#14078).
3003 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
3005 * simple.el (kill-region): Pass mark first, then point, so that
3006 kill-append works right (Bug#12819).
3007 (copy-region-as-kill, kill-ring-save): Likewise.
3009 2013-12-17 Leo Liu <sdl.web@gmail.com>
3011 * net/rcirc.el (rcirc-add-face):
3012 * eshell/em-prompt.el (eshell-emit-prompt):
3013 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
3016 2013-12-17 Chong Yidong <cyd@gnu.org>
3018 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
3019 Suggested by Xue Fuqiao.
3021 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3023 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
3025 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * net/shr.el (shr-insert-document): Remove unused var
3028 `shr-preliminary-table-render'.
3029 (shr-rescale-image): Remove unused arg `force'.
3030 (shr-put-image): Update calls accordingly.
3031 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
3033 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
3035 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
3036 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
3037 :close-all, to see which indentation method to use (Bug#16116).
3038 (smie-rules-function): Document the method :close-all.
3040 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3042 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
3044 * net/eww.el (eww-display-html): If we can't find the anchor we're
3045 looking for, then go to point-min.
3047 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
3049 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
3050 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
3051 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
3052 Expand dir too, in case it's relative.
3054 2013-12-16 Juri Linkov <juri@jurta.org>
3056 * desktop.el (desktop-auto-save-timeout): Change default to
3057 `auto-save-timeout'. Doc fix.
3058 (desktop-save): Skip the timestamp in desktop-saved-frameset
3059 when checking for auto-save changes.
3060 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
3061 `desktop-auto-save' is called repeatedly by the idle timer.
3062 (desktop-auto-save-set-timer): Replace `run-with-timer' with
3063 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
3066 2013-12-16 Juri Linkov <juri@jurta.org>
3068 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
3070 (isearch-pre-command-hook): Check `this-command' for symbolp.
3072 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
3076 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
3078 * progmodes/cfengine.el (cfengine3--current-word): Remove.
3079 (cfengine3--current-function): Bring in the current-function
3080 functionality from `cfengine3--current-word'.
3081 (cfengine3-completion-function): Bring in the
3082 bounds-of-current-word functionality from
3083 `cfengine3--current-word'.
3085 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3087 * window.el (display-buffer-below-selected):
3088 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3090 2013-12-16 Leo Liu <sdl.web@gmail.com>
3092 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3093 Remove NOMSG arg and all uses changed.
3095 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3098 (cua--deactivate-rectangle): Don't deactivate the mark.
3099 (cua-set-rectangle-mark): Don't set mark-active since
3100 cua--activate-rectangle already does it for us.
3101 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3102 non-rectangular region.
3104 * emulation/cua-base.el (cua-repeat-replace-region):
3105 Use with-current-buffer.
3107 * net/gnutls.el: Use cl-lib.
3108 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3110 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3112 * emacs-lisp/package.el (package-built-in-p): Support both
3113 built-in and the package.el converted package descriptions.
3114 (package-show-package-list): Allow keywords.
3115 (package-keyword-button-action): Use it instead of
3116 `finder-list-matches'.
3117 (package-menu-filter-interactive): Interactive filtering (by
3119 (package-menu--generate): Support keywords and change keymappings
3120 and headers when they are given.
3121 (package--has-keyword-p): Helper function.
3122 (package-menu--refresh): Use it.
3123 (package--mapc): Helper function.
3124 (package-all-keywords): Use it.
3125 (package-menu-mode-map): Set up menu items and keybindings to
3126 provide a filtering UI.
3128 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3130 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3131 the behavior when a certificate fails validation. Defaults to
3132 old behavior: never abort, just warn.
3133 (gnutls-negotiate): Use it.
3135 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3137 * window.el (display-buffer-below-selected): Never split window
3138 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3140 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3142 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3143 (package-buffer-info): Use it (bug#15108).
3145 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3147 * icomplete.el (icomplete-completions): Make sure the prefix is already
3148 displayed elsewhere before hiding it (bug#16219).
3150 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3152 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3153 open-paren tokens when preceded by a open-paren, too.
3154 (ruby-smie-rules): Handle virtual indentation after open-paren
3155 tokens specially. If there is code between it and eol, return the
3156 column where is starts (Bug#16118).
3158 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3160 * progmodes/cfengine.el: Fix `add-hook' doc.
3161 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3162 (cfengine3--current-word): Fix parameters.
3163 (cfengine3-make-syntax-cache): Simplify further.
3164 (cfengine3-completion-function, cfengine3--current-function):
3165 Use `assq' for symbols.
3166 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3168 2013-12-13 Glenn Morris <rgm@gnu.org>
3170 * loadup.el (load-path): Warn if site-load or site-init changes it.
3171 No more need to reset it when bootstrapping.
3173 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3175 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3176 locations for cf-promises.
3177 (cfengine-mode-syntax-functions-regex): New caching variable.
3178 (cfengine3-fallback-syntax): Fallback syntax for cases where
3179 cf-promises doesn't run.
3180 (cfengine3--current-word): Reimplement using
3181 `cfengine-mode-syntax-functions-regex'.
3182 (cfengine3-completion-function, cfengine3--current-function):
3183 Use `cfengine3-make-syntax-cache' directly.
3184 (cfengine3-clear-syntax-cache): New function.
3185 (cfengine3-make-syntax-cache): Simplify and create
3186 `cfengine-mode-syntax-functions-regex' on demand.
3187 (cfengine3-format-function-docstring): Don't call
3188 `cfengine3-make-syntax-cache' explicitly.
3190 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3192 Fix windmove-find-other-window broken after pixelwise resizing
3194 * windmove.el (windmove-other-window-loc): Revert change from
3196 (windmove-find-other-window): Call window-in-direction.
3197 * window.el (window-in-direction): New arguments SIGN, WRAP and
3198 MINI to emulate original windmove-find-other-window behavior.
3200 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3202 * simple.el (blink-matching--overlay): New variable.
3203 (blink-matching-open): Instead of moving point, highlight the
3204 matching paren with an overlay
3205 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3207 * faces.el (paren-showing-faces, show-paren-match)
3208 (show-paren-mismatch): Move from paren.el.
3210 2013-12-13 Leo Liu <sdl.web@gmail.com>
3212 * indent.el (indent-region): Disable progress reporter in
3213 minibuffer. (Bug#16108)
3215 * bindings.el (visual-order-cursor-movement): Fix version.
3217 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3219 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3220 Also match after beginning of line.
3221 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3222 files. Thanks to Russell Sim. (Bug#15378)
3224 2013-12-13 Juri Linkov <juri@jurta.org>
3226 * simple.el <Keypad support>: Remove key bindings duplicated
3227 with bindings.el. (Bug#14397)
3229 2013-12-13 Juri Linkov <juri@jurta.org>
3231 * comint.el (comint-mode-map): Replace `delete-char' with
3232 `delete-forward-char'. (Bug#16109)
3234 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3236 * progmodes/python.el (python-indent-calculate-indentation):
3237 Fix de-denters cornercase. (Bug#15731)
3239 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3242 (advice--make): Pay attention to `depth'.
3243 (advice--make-1): Don't autoload commands eagerly.
3244 * emacs-lisp/elp.el (elp-instrument-function):
3245 * emacs-lisp/trace.el (trace-function-internal):
3246 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3248 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3250 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3252 * term/w32-win.el (w32-handle-dropped-file):
3253 * startup.el (normal-top-level):
3254 * net/browse-url.el (browse-url-file-url):
3255 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3256 decode file names using 'utf-8' rather than
3257 file-name-coding-system.
3259 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3261 * progmodes/python.el (python-indent-context)
3262 (python-indent-calculate-indentation): Fix auto-identation
3263 behavior for comment blocks. (Bug#15916)
3265 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3267 * progmodes/python.el (python-indent-calculate-indentation):
3268 When determining indentation, don't treat "return", "pass", etc., as
3269 operators when they are just string constituents. (Bug#15812)
3271 2013-12-12 Juri Linkov <juri@jurta.org>
3273 * uniquify.el (uniquify-buffer-name-style): Change default to
3274 `post-forward-angle-brackets'.
3276 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3277 `uniquify'. Change default to `post-forward-angle-brackets'.
3279 2013-12-11 Glenn Morris <rgm@gnu.org>
3281 * emacs-lisp/package.el (finder-list-matches):
3282 Autoload rather than falsely declaring.
3284 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3286 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3287 (eww-mode-map): Use them.
3289 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3291 * window.el (display-buffer-in-side-window): Fix doc-string
3294 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3296 * vc/vc-git.el: Silence byte-compiler warnings.
3297 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3298 (log-edit-set-header): Declare.
3300 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3302 * Makefile.in (custom-deps, finder-data): Run output file names
3303 through unmsys--file-name. (Bug#16099)
3305 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3307 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3308 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3310 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3311 instead of deleting the selection "by hand" (bug#16098).
3312 Rely on insert-for-yank to yank rectangles.
3313 (cua-highlight-region-shift-only): Mark obsolete.
3314 (cua-mode): Don't enable/disable transient-mark-mode,
3315 shift-select-mode (cua-mode works both with and without them), and
3316 pc-selection-mode (obsolete).
3317 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3318 (cua--deactivate-rectangle): Deactivate it.
3320 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3321 (delete-selection-helper): Make sure yank starts at the top of the
3323 (minibuffer-keyboard-quit): Use region-active-p.
3325 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3327 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3328 to `delete' (bug#16109).
3330 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3332 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3333 info manual and show keybindings and set `:group' keyword.
3335 2013-12-11 Juri Linkov <juri@jurta.org>
3337 * delsel.el (delete-active-region): Let-bind `this-command'
3338 to prevent `kill-region' from changing its original value.
3339 (delete-selection-helper): Handle `overwrite-mode' for the type
3340 `kill' exactly the same way as for the type `t'.
3341 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3342 Support more commands. (Bug#13312)
3344 2013-12-11 Juri Linkov <juri@jurta.org>
3346 * bindings.el: Map kp keys to non-kp keys systematically
3347 with basic modifiers control, meta and shift. (Bug#14397)
3349 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3351 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3352 "Close browser" menu items. Fix wrong function of "List
3355 2013-12-11 Juri Linkov <juri@jurta.org>
3357 * misearch.el (multi-isearch-buffers): Set the value of
3358 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3359 arg of isearch-forward to t.
3360 (multi-isearch-buffers-regexp): Set the value of
3361 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3362 arg of isearch-forward-regexp to t.
3363 (multi-isearch-files): Set the value of
3364 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3365 arg of isearch-forward to t.
3366 (multi-isearch-files-regexp): Set the value of
3367 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3368 arg of isearch-forward-regexp to t. (Bug#16035)
3370 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3371 arg of isearch-forward to t.
3372 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3373 arg of isearch-forward-regexp to t.
3374 (dired-isearch-filter-filenames): Remove unnecessary check for
3375 `dired-isearch-filenames'.
3377 * comint.el (comint-history-isearch-backward):
3378 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3379 (comint-history-isearch-backward-regexp):
3380 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3382 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3384 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3385 unmsys--file-name. (Bug#16099)
3387 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3389 * emacs-lisp/package.el (package-keyword-button-action):
3390 Remove finder.el require dependency.
3392 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3394 * emacs-lisp/package.el: Require finder.el.
3395 (describe-package-1): Add keyword buttons.
3396 (package-make-button): New convenience function.
3397 (package-keyword-button-action): Keyword button action using
3398 `finder-list-matches'.
3400 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3402 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3405 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3407 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3410 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3412 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3413 after the end of a percent literal.
3415 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3417 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3418 Handle caret-delimited strings (Bug#16079).
3420 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3422 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3423 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3424 `ruby-parse-partial' (Bug#16078).
3426 2013-12-09 Leo Liu <sdl.web@gmail.com>
3428 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3430 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3432 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3433 (js-switch-indent-offset): New option.
3434 (js--proper-indentation): Use it. And handle the case when
3435 "default" is actually a key in an object literal.
3436 (js--same-line): New function.
3437 (js--multi-line-declaration-indentation): Use it.
3438 (js--indent-in-array-comp, js--array-comp-indentation):
3440 (js--proper-indentation): Use them, to handle array comprehension
3443 2013-12-08 Leo Liu <sdl.web@gmail.com>
3445 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3446 (flymake-make-overlay): Remove arg MOUSE-FACE.
3447 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3449 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3451 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3453 (redisplay-highlight-region-function): Use it.
3455 * emulation/cua-base.el (cua--explicit-region-start)
3456 (cua--last-region-shifted): Remove.
3457 (cua--deactivate): Use deactivate-mark.
3458 (cua--pre-command-handler-1): Don't handle shift-selection.
3459 (cua--post-command-handler-1): Don't change transient-mark-mode.
3460 (cua--select-keymaps): Use region-active-p rather than
3461 cua--explicit-region-start or cua--last-region-shifted.
3462 (cua-mode): Enable shift-select-mode.
3464 2013-12-08 Leo Liu <sdl.web@gmail.com>
3466 * progmodes/flymake.el (flymake-popup-current-error-menu):
3467 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3468 (flymake-posn-at-point-as-event, flymake-popup-menu)
3469 (flymake-make-emacs-menu): Remove. (Bug#16077)
3471 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3473 * rect.el (rectangle-mark-mode): Activate mark even if
3474 transient-mark-mode is off (bug#16066).
3475 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3476 is > mark and at bolp.
3478 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3479 (region-extract-function): Use it.
3480 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3481 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3483 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3484 kill-ring-save, kill-region, delete-char, delete-forward-char.
3485 Ignore self-insert-iso.
3487 * emulation/cua-gmrk.el (cua--init-global-mark):
3488 Ignore `self-insert-iso'.
3490 * emulation/cua-base.el (cua--prefix-copy-handler)
3491 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3492 checking cua--rectangle.
3493 (cua-delete-region): Use region-extract-function.
3494 (cua-replace-region): Delete function.
3495 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3496 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3497 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3498 (cua--init-keymaps): Don't remap delete-selection commands.
3499 (cua-mode): Use delete-selection-mode instead of rolling our own
3502 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3503 Obey region-extract-function.
3505 Make registers and delete-selection-mode work on rectangles.
3506 * register.el (describe-register-1): Don't modify the register's value.
3507 (copy-to-register): Obey region-extract-function.
3508 * delsel.el (delete-active-region): Obey region-extract-function.
3510 2013-12-08 Leo Liu <sdl.web@gmail.com>
3512 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3513 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3514 (flymake-compilation-prevents-syntax-check)
3515 (flymake-start-syntax-check-on-newline)
3516 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3517 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3518 (flymake-xml-program, flymake-master-file-dirs)
3519 (flymake-master-file-count-limit)
3520 (flymake-allowed-file-name-masks): Relocate.
3521 (flymake-makehash, flymake-float-time)
3522 (flymake-replace-regexp-in-string, flymake-split-string)
3523 (flymake-get-temp-dir): Remove.
3524 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3525 (flymake-current-row, flymake-selected-frame)
3526 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3527 related functions. (Bug#16077)
3529 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3531 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3533 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3535 * help-fns.el (describe-function-1): Use new advice-* functions
3536 rather than old ad-* functions. Fix function type description and
3537 source links for advised functions and subrs.
3539 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3541 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3543 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3545 * progmodes/compile.el (compilation-start):
3546 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3548 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3549 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3551 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3553 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3554 Touch up the last change.
3556 2013-12-06 Leo Liu <sdl.web@gmail.com>
3558 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3559 (inferior-octave-startup): Always use "octave> " for prompt.
3560 (octave-goto-function-definition)
3561 (octave-sync-function-file-names)
3562 (octave-find-definition-default-filename): Remove redundant backquotes.
3564 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3566 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3568 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3569 where appropriate already.
3570 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3571 end of method names (Bug#15874).
3573 2013-12-06 Juri Linkov <juri@jurta.org>
3575 * isearch.el (isearch--saved-overriding-local-map):
3576 New internal variable.
3577 (isearch-mode): Set it to the initial value of
3578 `overriding-terminal-local-map'.
3579 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3580 with `isearch--saved-overriding-local-map'. (Bug#16035)
3582 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3584 * progmodes/octave.el (inferior-octave-completion-table):
3585 Turn back into function, use `completion-table-with-cache'
3586 (Bug#11906). Update all references.
3588 * minibuffer.el (completion-table-with-cache): New function.
3590 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3592 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3594 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3596 * net/eww.el (eww-current-source): New variable to store page
3598 (eww-display-html, eww-mode, eww-save-history)
3599 (eww-restore-history): Use it.
3600 (eww-view-source): New command to view page source.
3601 Opportunistically uses `html-mode' to highlight the buffer.
3602 (eww-mode-map): Install it.
3604 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3606 * net/dbus.el (dbus-unregister-service)
3607 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3609 (dbus-unregister-service): Skip :serial entries in
3610 `dbus-registered-objects-table'.
3611 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3613 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3615 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3616 around keywords with extra `split-string' argument.
3618 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3620 * windmove.el (windmove-other-window-loc): Handle navigation
3621 between windows (excluding the minibuffer window - Bug#16017).
3623 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3625 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3626 in D-Bus type syntax.
3627 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3628 preserve unibyte strings. (Bug#16048)
3630 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3632 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3633 Call force-mode-line-update is the proper buffer (bug#16042).
3635 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3637 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3638 `log-edit-remember-comment', make argument optional. Adjust all
3640 (log-edit-mode): Add `log-edit-remember-comment' to
3641 `kill-buffer-hook' locally.
3642 (log-edit-kill-buffer): Don't remember comment explicitly since
3643 the buffer is killed anyway.
3645 2013-12-04 Juri Linkov <juri@jurta.org>
3647 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3648 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3650 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3652 * notifications.el (notifications-close-notification): Call the
3653 D-Bus method with ID being a `:uint32'. (Bug#16030)
3655 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3657 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3659 2013-12-03 Juri Linkov <juri@jurta.org>
3661 * progmodes/compile.el (compilation-start): Rename window alist
3662 entry `no-display-ok' to `allow-no-window'.
3664 * simple.el (shell-command): Add window alist entry
3665 `allow-no-window' to `display-buffer'.
3666 (async-shell-command): Doc fix.
3668 * window.el (display-buffer-no-window): New action function.
3669 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3671 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3673 * vc/log-edit.el (log-edit-set-header): Extract from
3674 `log-edit-toggle-header'.
3675 (log-edit-extract-headers): Separate the summary, when extracted
3676 from header, from the rest of the message with an empty line.
3678 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3679 line, if present, to the Summary header.
3681 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3683 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3684 in current-buffer (bug#16029).
3686 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3688 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3689 (debugger-mode-map): Bind it.
3690 (debugger--backtrace-base): New function.
3691 (debugger-eval-expression): Use it.
3692 (debugger-frame-number): Skip local vars when present.
3693 (debugger--locals-visible-p, debugger--insert-locals)
3694 (debugger--show-locals, debugger--hide-locals): New functions.
3696 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3698 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3700 (tramp-get-remote-locale): New defun.
3701 (tramp-open-connection-setup-interactive-shell): Use it.
3703 2013-12-02 Leo Liu <sdl.web@gmail.com>
3705 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3707 * progmodes/sh-script.el (sh-shell-process):
3708 * progmodes/octave.el (inferior-octave-process-live-p):
3709 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3710 (gdb-inferior-io-sentinel):
3711 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3713 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3715 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3716 `save-selected-window' to `log-edit-hide-buf'. This makes
3717 `log-edit-show-files' idempotent.
3718 (log-edit-show-files): Mark the new window as dedicated.
3720 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3722 * vc/log-edit.el (log-edit-mode-map): Add binding for
3723 `log-edit-kill-biffer'.
3724 (log-edit-hide-buf): Add a FIXME comment.
3725 (log-edit-add-new-comment): New function, extracted from
3727 (log-edit-done, log-edit-add-to-changelog): Use it.
3728 (log-edit-kill-buffer): New command.
3730 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3732 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3733 instead of killing the buffer.
3735 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3739 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3741 * net/eww.el (eww-form-checkbox-selected-symbol)
3742 (eww-form-checkbox-symbol): New customizable variable.
3743 (eww-form-checkbox, eww-toggle-checkbox):
3744 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3746 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3747 (shr--get-media-pref, shr--extract-best-source): New function.
3748 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3749 no :src tag was specified.
3751 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3752 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3753 Use \\` to match beginning of string instead of ^.
3754 (eww-browse-with-external-browser): Provide optional URL parameter.
3755 (eww-render): Set `eww-current-title' back to "".
3757 * net/shr.el (shr-tag-video): Display content for video if no
3758 poster is available.
3759 (shr-tag-audio): Add support for <audio> tag.
3761 * net/eww.el (eww-text-input-types): New const.
3762 (eww-process-text-input): Treat input types in
3763 `eww-text-input-types' as text.
3765 * net/shr.el (shr-tag-table): Fix comment typo.
3767 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3769 * net/eww.el (eww-follow-link): New command to avoid reloading
3770 pages when we follow #target links (bug#15243).
3771 (eww-quit): Special mode buffers shouldn't query before exiting.
3773 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3775 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3778 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3780 * net/eww.el (eww-restore-history): Update the window title after
3781 moving in the history.
3782 (eww-current-dom): New variable used to save the current DOM.
3784 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3786 * vc/log-edit.el (log-edit-mode-map): Add binding for
3787 `log-edit-beginning-of-line'.
3788 (log-edit-setup-add-author): New user option.
3789 (log-edit-beginning-of-line): New command.
3790 (log-edit): Move major mode call above the contents setup so that
3791 the local variable values are already applied.
3792 (log-edit): Only insert "Author: " when
3793 `log-edit-setup-add-author' is non-nil.
3794 (log-edit): When SETUP is non-nil, position point after ": "
3795 instead of point-min.
3797 2013-12-01 Glenn Morris <rgm@gnu.org>
3799 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3801 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3803 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3804 redisplay to make sure the initial frame gets a chance to become
3805 visible. (Bug#16014)
3807 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3809 Support resizing frames and windows pixelwise.
3810 * cus-start.el (frame-resize-pixelwise)
3811 (window-resize-pixelwise): New entries.
3812 * emacs-lisp/debug.el (debug): Use window-total-height instead
3813 of window-total-size.
3814 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3815 * help.el (describe-bindings-internal): Use help-buffer as
3816 argument for with-help-window.
3817 (temp-buffer-max-width): New option.
3818 (resize-temp-buffer-window, help-window-setup)
3819 (with-help-window): Rewrite.
3820 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3822 * window.el (frame-char-size, window-min-pixel-height)
3823 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3824 (window-min-pixel-width, window-safe-min-pixel-size)
3825 (window-combination-p, window-safe-min-size)
3826 (window-resizable-p, window--size-to-pixel)
3827 (window--pixel-to-size, window--resize-apply-p): New functions.
3828 (window-safe-min-height): Fix doc-string.
3829 (window-size, window-min-size, window--min-size-1)
3830 (window-sizable, window-sizable-p, window--min-delta-1)
3831 (window-min-delta, window--max-delta-1, window-max-delta)
3832 (window--resizable, window--resizable-p, window-resizable)
3833 (window-full-height-p, window-full-width-p, window-at-side-p)
3834 (window--in-direction-2, window-in-direction)
3835 (window--resize-reset-1, window--resize-mini-window)
3836 (window-resize, window-resize-no-error)
3837 (window--resize-child-windows-normal)
3838 (window--resize-child-windows, window--resize-siblings)
3839 (window--resize-this-window, window--resize-root-window)
3840 (window--resize-root-window-vertically)
3841 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3842 (maximize-window, minimize-window, delete-window)
3843 (quit-restore-window, window-split-min-size, split-window)
3844 (balance-windows-2, balance-windows)
3845 (balance-windows-area-adjust, balance-windows-area)
3846 (window--state-get-1, window-state-get, window--state-put-1)
3847 (window--state-put-2, window-state-put)
3848 (display-buffer-record-window, window--display-buffer):
3849 Make functions handle pixelwise sizing of windows.
3850 (display-buffer--action-function-custom-type)
3851 (display-buffer-fallback-action):
3852 Add display-buffer-in-previous-window.
3853 (display-buffer-use-some-window): Resize window to height it had
3855 (fit-window-to-buffer-horizontally): New option.
3856 (fit-frame-to-buffer): Describe new values.
3857 (fit-frame-to-buffer-bottom-margin): Replace with
3858 fit-frame-to-buffer-margins.
3859 (window--sanitize-margin): New function.
3860 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3861 using window-text-pixel-size.
3863 2013-11-30 Glenn Morris <rgm@gnu.org>
3865 * emacs-lisp/bytecomp.el (byte-compile-form):
3866 Make the `interactive-only' warning like the `obsolete' one.
3867 * comint.el (comint-run):
3868 * files.el (insert-file-literally, insert-file):
3869 * replace.el (replace-string, replace-regexp):
3870 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3871 (goto-line, insert-buffer, next-line, previous-line):
3872 Tweak `interactive-only' spec.
3874 Stop keeping (most) generated cedet grammar files in the repository.
3875 * Makefile.in (semantic): New.
3876 (compile-main): Depend on semantic.
3878 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3881 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3883 * uniquify.el (uniquify-buffer-name-style): Change default.
3885 * loadup.el: Preload "uniquify".
3887 * time.el (display-time-update): Update all mode lines (bug#15999).
3889 * electric.el (electric-indent-mode): Enable by default.
3890 * loadup.el: Preload "electric".
3892 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3894 * emacs-lisp/helpers.el (string-empty-p): New function.
3895 (string-blank-p): New function.
3897 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3899 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3902 2013-11-29 Andreas Politz <politza@fh-trier.de>
3903 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3904 allow non-lambda lists as functions.
3905 (imenu--in-alist): Don't recurse into non-subalists.
3906 (imenu): Don't pass function itself as an argument (Bug#14029).
3908 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * progmodes/python.el (python-mode-map): Remove binding for ":".
3911 (python-indent-electric-colon): Remove command.
3912 (python-indent-post-self-insert-function): Integrate the previous code
3913 of python-indent-electric-colon. Make it conditional on
3914 electric-indent-mode.
3915 (python-mode): Add ?: to electric-indent-chars.
3916 Move python-indent-post-self-insert-function to the end of
3917 post-self-insert-hook.
3919 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * doc-view.el (doc-view-goto-page): Update mode-line.
3923 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3925 2013-11-27 Glenn Morris <rgm@gnu.org>
3927 * international/charprop.el, international/uni-bidi.el:
3928 * international/uni-category.el, international/uni-combining.el:
3929 * international/uni-comment.el, international/uni-decimal.el:
3930 * international/uni-decomposition.el, international/uni-digit.el:
3931 * international/uni-lowercase.el, international/uni-mirrored.el:
3932 * international/uni-name.el, international/uni-numeric.el:
3933 * international/uni-old-name.el, international/uni-titlecase.el:
3934 * international/uni-uppercase.el:
3935 Remove generated files from VCS repository.
3937 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3939 * filenotify.el (file-notify-add-watch): Don't special-case
3940 w32notify when computing the directory to watch.
3942 2013-11-27 Glenn Morris <rgm@gnu.org>
3944 Make bootstrap without generated uni-*.el files possible again.
3945 * loadup.el: Update command-line-args checking for unidata-gen.
3946 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3947 * composite.el, international/characters.el:
3948 Handle unicode tables being undefined.
3950 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3951 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3952 (compile-main): Depend on leim rule.
3954 * loadup.el: Move leim-list.el to leim/ subdirectory.
3955 * startup.el (normal-top-level): No more leim directory.
3956 * international/ja-dic-cnv.el (skkdic-convert):
3957 Disable version-control and autoloads in output files.
3958 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3959 Disable version-control and autoloads in output files.
3960 * leim/quail: Move here from ../leim.
3961 * leim/quail/hangul.el (hangul-input-method-activate):
3962 Add autoload cookie.
3963 (generated-autoload-load-name): Set file-local value.
3964 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3965 (generated-autoload-load-name): Set file-local value.
3967 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3969 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3970 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3971 (eww-quit): Ask confirmation before quitting eww.
3973 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3975 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3976 reading output from Diff on MS-Windows and MS-DOS.
3978 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3980 * emacs-lisp/helpers.el (string-reverse): New function.
3982 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3984 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3985 names on MS Windows, like "/[::1]:".
3987 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3990 2013-11-26 Glenn Morris <rgm@gnu.org>
3992 * progmodes/python.el (python-indent-guess-indent-offset):
3993 Avoid corner-case error. (Bug#15975)
3995 Preload leim-list.el. (Bug#4789)
3996 * loadup.el: Load leim-list.el when found.
3997 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3999 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
4001 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
4003 * emacs-lisp/helpers.el (string-join): New function.
4005 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
4007 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4008 Mark as obsolete and replace it with a symbol property.
4009 (byte-compile-form): Use new 'interactive-only property.
4010 * comint.el, files.el, replace.el, simple.el:
4011 Apply new 'interactive-only properly.
4013 2013-11-25 Martin Rudalics <rudalics@gmx.at>
4015 * window.el (display-buffer-at-bottom): Make sure that
4016 split-window-sensibly creates the new window on bottom
4019 2013-11-23 David Kastrup <dak@gnu.org>
4021 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
4022 on the conflict markers when available.
4023 (smerge--get-marker): New function.
4024 (smerge-end-re, smerge-base-re): Add subgroup.
4026 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * frame.el (handle-focus-in, handle-focus-out): Add missing
4031 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
4033 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4034 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
4036 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4038 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4039 (gomoku--last-pos): New var.
4040 (gomoku--intangible-chars): New const.
4041 (gomoku--intangible): New function.
4042 (gomoku-mode): Use it. Derive from special-mode.
4043 (gomoku-move-up): Adjust line count.
4044 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
4045 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
4046 Simplify accordingly.
4048 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
4049 Remove blink-cursor code.
4050 (blink-cursor-timer-function, blink-cursor-suspend):
4051 Don't special-case GUIs.
4052 (blink-cursor-mode): Use focus-in/out-hook.
4054 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
4056 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
4057 work when annotation is invisible (Bug#13886).
4059 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
4061 * json.el (json-alist-p): Only return non-nil if the alist has
4062 simple keys (Bug#13518).
4064 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
4066 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
4067 when control-statement is the first statement in a buffer (Bug#15956).
4069 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
4071 * imenu.el (imenu-generic-skip-comments-and-strings):
4072 New option (Bug#15560).
4073 (imenu--generic-function): Use it.
4075 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
4077 * minibuffer.el (completion--in-region-1): Scroll the correct window.
4080 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
4082 * emacs-lisp/helpers.el: Add some string helpers.
4083 (string-trim-left): Removes leading whitespace.
4084 (string-trim-right): Removes trailing whitespace.
4085 (string-trim): Removes leading and trailing whitespace.
4087 * subr.el (string-suffix-p): New function.
4089 2013-11-23 Glenn Morris <rgm@gnu.org>
4091 * progmodes/python.el (python-shell-send-file):
4092 Add option to delete file when done. (Bug#15647)
4093 (python-shell-send-string, python-shell-send-region): Use it.
4095 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4097 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4098 to set buffer-read-only to t, never to nil. (Bug#15938)
4100 * textmodes/tex-mode.el (latex-noindent-environments):
4101 Add safe-local-variable property. (Bug#15936)
4103 2013-11-23 Glenn Morris <rgm@gnu.org>
4105 * textmodes/enriched.el (enriched-mode): Doc fix.
4106 * emacs-lisp/authors.el (authors-renamed-files-alist):
4107 Add enriched.doc -> enriched.txt.
4109 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4111 2013-11-22 Leo Liu <sdl.web@gmail.com>
4113 * progmodes/octave.el (inferior-octave-startup): Spit out error
4116 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4118 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4121 (ruby-encoding-magic-comment-style): Add :version.
4123 2013-11-22 Leo Liu <sdl.web@gmail.com>
4125 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4127 (octave-help-mode): Adapt to change to help-mode-finish to use
4128 derived-mode-p on 2013-09-17.
4129 (inferior-octave-prompt): Also match octave-gui.
4130 (octave-kill-process): Don't ask twice. (Bug#10564)
4132 2013-11-22 Leo Liu <sdl.web@gmail.com>
4134 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4135 (inferior-octave-startup, inferior-octave-check-process)
4136 (inferior-octave-track-window-width-change)
4137 (octave-completion-at-point, octave-eldoc-function): Use it.
4138 (octave-kill-process): Provide confirmation. (Bug#10564)
4140 2013-11-21 Leo Liu <sdl.web@gmail.com>
4142 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4143 Fix obsolete variable comment-use-global-state.
4145 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4147 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4148 Add `octave-source-file'.
4149 (octave-source-file): New function. (Bug#15935)
4151 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4153 * net/eww.el (eww-local-regex): New variable.
4154 (eww): Use it to detect localhost and similar.
4156 2013-11-21 Leo Liu <sdl.web@gmail.com>
4158 Add completion for command `ag'.
4159 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4160 (pcomplete/ag): New function.
4161 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4163 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4167 (make-obsolete): Remove interactive spec.
4169 2013-11-21 Glenn Morris <rgm@gnu.org>
4171 * startup.el (command-line-1): Use path-separator with -L.
4173 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4175 * emacs-lisp/package.el (describe-package-1): Add package archive
4178 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4180 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4181 Change default to "# encoding: %s" to differentiate it from the
4182 default Ruby encoding comment template.
4184 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4186 * ses.el (ses-mode): Doc fix. (Bug#14748)
4188 2013-11-20 Leo Liu <sdl.web@gmail.com>
4190 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4192 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4194 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4195 when rebase or bisect are in progress.
4197 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4199 * filenotify.el (file-notify-add-watch): Doc fix.
4201 2013-11-19 Leo Liu <sdl.web@gmail.com>
4203 * obsolete/rcompile.el: Mark obsolete.
4205 * progmodes/compile.el (compilation-start)
4206 (compilation-goto-locus, compilation-find-file):
4207 Pass no-display-ok and handle nil value from display-buffer.
4210 * window.el (display-buffer-alist, display-buffer): Document the
4211 new parameter no-display-ok. Return either a window or nil
4212 but never a non-window value.
4214 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4216 * electric.el (electric-indent-mode-map): Remove.
4217 (electric-indent-mode): Change the global-map instead (bug#15915).
4219 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4222 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4224 * emacs-lisp/nadvice.el (remove-function): Align with
4225 add-function's behavior.
4227 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4228 (gdb--string-regexp): New constant.
4229 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4230 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4231 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4233 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4234 Adjust use accordingly.
4235 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4237 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4239 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4240 interpolation curlies (Bug#15914).
4242 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4244 * calc/calc.el (calc-context-sensitive-enter): New variable.
4245 (calc-enter): Use `calc-context-sensitive-enter'.
4247 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4249 * progmodes/cfengine.el: Version bump.
4250 (cfengine-cf-promises): New defcustom to locate cf-promises.
4251 (cfengine3-vartypes): Add new "data" type.
4252 (cfengine3--current-word): New function to get current name-like
4254 (cfengine3--current-function): New function to look up a CFEngine
4255 function's definition.
4256 (cfengine3-format-function-docstring): New function.
4257 (cfengine3-make-syntax-cache): New function.
4258 (cfengine3-documentation-function): New function: ElDoc glue.
4259 (cfengine3-completion-function): New function: completion glue.
4260 (cfengine3-mode): Set `compile-command',
4261 `eldoc-documentation-function', and add to
4262 `completion-at-point-functions'.
4264 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4266 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4267 `tramp-current-connection'.
4269 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4271 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4272 nil/self/true/false with "end of symbol".
4274 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4276 * subr.el (version-regexp-alist): Fix a typo.
4278 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4280 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4281 "en_US.utf8" and "LC_CTYPE" to "".
4282 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4283 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4285 2013-11-15 Leo Liu <sdl.web@gmail.com>
4287 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4289 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * progmodes/gud.el (ctl-x-map):
4292 Remove C-x SPC binding. (Bug#12342)
4293 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4295 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4297 * subr.el (version-regexp-alist):
4298 Recognize hg, svn and darcs versions as snapshot versions.
4300 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4301 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4302 (ruby--encoding-comment-required-p): Extract from
4303 `ruby-mode-set-encoding'.
4304 (ruby-mode-set-encoding): Add the ability to always insert an
4305 utf-8 encoding comment. Fix and simplify coding comment update
4308 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4310 * net/tramp-gvfs.el (top): Run init code only when
4311 `tramp-gvfs-enabled' is not nil.
4312 (tramp-gvfs-enabled): Check also :system bus.
4314 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4316 Sync with upstream verilog-mode revision 78e66ba.
4317 * progmodes/verilog-mode.el (verilog-end-of-defun)
4318 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4319 (verilog-get-end-of-defun): Remove unused argument.
4320 (verilog-comment-depth): Remove unused local `e'.
4321 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4322 Don't pass arg to verilog-get-end-of-defun.
4324 2013-11-14 Glenn Morris <rgm@gnu.org>
4326 * obsolete/assoc.el (aget): Prefix dynamic variable.
4328 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4330 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4332 * widget.el, hfy-cmap.el: Remove bogus package version number.
4334 2013-11-13 Glenn Morris <rgm@gnu.org>
4336 * replace.el (replace-eval-replacement):
4337 Try to give more helpful error message. (Bug#15836)
4339 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4340 (archive-7z-update): Avoid custom type mismatches.
4342 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4344 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4346 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4347 address can be empty.
4349 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4350 Accept nil SWITCHES.
4351 (tramp-gvfs-handle-write-region): Implement APPEND.
4353 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4355 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4356 binary "|" operator and closing block args delimiter.
4357 Remove FIXME comment referring to Ruby 1.8-only syntax.
4358 (ruby-smie--implicit-semi-p): Not after "|" operator.
4359 (ruby-smie--closing-pipe-p): New function.
4360 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4361 (ruby-smie-rules): Indent after "|".
4363 2013-11-12 Glenn Morris <rgm@gnu.org>
4365 * ps-print.el (ps-face-attribute-list):
4366 Handle anonymous faces. (Bug#15827)
4368 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4370 * window.el (display-buffer-other-frame): Fix doc-string.
4373 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4375 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4377 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4380 (tramp-sh-handle-file-local-copy): Don't write a message when
4381 saving temporary files.
4383 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4384 both directories are remote.
4385 (tramp-smb-handle-directory-files): Do not return double entries.
4386 Do not expand full file names.
4387 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4388 (tramp-smb-handle-write-region): Implement APPEND.
4389 (tramp-smb-get-stat-capability): Fix a stupid bug.
4391 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4393 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4395 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4397 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4398 throwing error over malformed let/let* (bug#15814).
4400 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * iswitchb.el (iswitchb-mode): Mark obsolete.
4404 2013-11-11 Glenn Morris <rgm@gnu.org>
4406 * international/uni-bidi.el, international/uni-category.el:
4407 * international/uni-name.el, international/uni-numeric.el:
4408 Regenerate for Unicode 6.3.0.
4410 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4412 * net/tramp.el (tramp-methods):
4413 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4414 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4416 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4418 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4419 Force highlighting text after Summary keyword in doc face for rpm.
4421 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4423 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4424 available and the word has no wildcards, append one to the grep pattern.
4425 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4426 (ispell-complete-word): Call `ispell-lookup-words' with the value
4427 independent of `ispell-look-p'.
4429 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4433 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4436 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4439 (ruby-font-lock-keywords): Use backquote.
4441 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4443 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4444 (ruby-smie--backward-token): Only consider full-string matches.
4446 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4448 * faces.el (describe-face): Add distant-foreground.
4450 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4452 * progmodes/ruby-mode.el: Improve encoding comment handling.
4453 (ruby-encoding-magic-comment-style): New option.
4454 (ruby-custom-encoding-magic-comment-template): New option.
4455 (ruby--insert-coding-comment, ruby--detect-encoding):
4456 New functions extracted from `ruby-mode-set-encoding'.
4457 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4458 to control the style of the auto-inserted encoding comment.
4460 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4462 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4463 Use `smie-backward-sexp' with token argument.
4465 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4467 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4468 Remove instrumentation code.
4470 2013-11-08 Glenn Morris <rgm@gnu.org>
4472 * progmodes/autoconf.el (autoconf-mode):
4473 Tweak comment-start-skip. (Bug#15822)
4475 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4477 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4478 at bobp (bug#15826).
4479 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4481 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4483 * man.el (Man-start-calling): New macro, extracted from
4484 Man-getpage-in-background.
4485 (Man-getpage-in-background): Use it.
4486 (Man-update-manpage): New command.
4487 (Man-mode-map): Bind it.
4489 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4491 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4492 of "and", "or", "&&" and "||".
4493 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4494 argument. Prohibit opening curly brace because it could only be a
4495 block opener in that position.
4496 (ruby-smie--forward-token, ruby-smie--backward-token):
4497 Separate "|" from "&" or "*" going after it. That can happen in block
4499 (ruby-smie--indent-to-stmt): New function, seeks the end of
4500 previous statement or beginning of buffer.
4501 (ruby-smie-rules): Use it.
4502 (ruby-smie-rules): Check if there's a ":" before a curly block
4503 opener candidate; if there is, it's a hash.
4505 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4507 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4508 (cl--block-wrapper): Fix last accidental change.
4510 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4512 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4513 Instrument, in order to hunt failure on hydra.
4515 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4517 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4518 malformed bindings form (bug#15814).
4520 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4522 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4523 "." compared to " @ ". This incidentally fixes some indentation
4525 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4526 (ruby-smie-grammar): New tokens: "and" and "or".
4527 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4528 Exclude "and" and "or". Remove "do" in order to work around token
4530 (ruby-smie-rules): Add all infix tokens. Handle the case of
4531 beginning-of-buffer.
4533 2013-11-06 Glenn Morris <rgm@gnu.org>
4535 * Makefile.in (setwins_almost, setwins_for_subdirs):
4536 Avoid accidental matches.
4538 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * menu-bar.el (popup-menu): Use key-binding.
4542 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4544 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4545 menus, support also the menus produced by minor modes.
4548 2013-11-06 Leo Liu <sdl.web@gmail.com>
4550 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4551 DISTANCE to bound the search. All uses changed. (Bug#15808)
4553 2013-11-06 Glenn Morris <rgm@gnu.org>
4555 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4556 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4557 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4559 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4561 * electric.el (electric-indent-just-newline): New command.
4562 (electric-indent-mode-map): New keymap.
4563 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4564 Re-add :group which weren't redundant.
4566 * electric.el (electric-indent-local-mode): New minor mode.
4567 (electric-indent-functions-without-reindent): New var.
4568 (electric-indent-post-self-insert-function): Use it.
4569 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4571 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4573 * international/quail.el (quail-help): Be more explicit about the
4574 meaning of the labels shown on the keys. (Bug#15800)
4576 * startup.el (normal-top-level): Load the subdirs.el files before
4577 setting the locale environment. (Bug#15805)
4579 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4582 via arguments so as to get the right ones (bug#15418).
4584 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4586 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4588 Fix problems found while writing a test suite.
4590 * net/tramp-compat.el (tramp-compat-load): New defun.
4591 * net/tramp.el (tramp-handle-load): Use it.
4593 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4594 "(numberp ok-if-already-exists)" correctly.
4596 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4598 * international/characters.el (glyphless-char-display-control):
4601 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4603 * progmodes/python.el (python-mode):
4604 * progmodes/scheme.el (scheme-mode):
4605 * progmodes/prolog.el (prolog-mode):
4606 * progmodes/ruby-mode.el (ruby-mode):
4607 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4608 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4610 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * rect.el (rectangle--highlight-for-redisplay):
4613 * emacs-lisp/smie.el (smie--next-indent-change):
4614 Use buffer-chars-modified-tick.
4616 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4618 * electric.el (electric-indent-post-self-insert-function):
4619 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4621 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4623 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4625 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4627 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4630 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4632 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4634 * progmodes/python.el: Fix up last change.
4635 (python-shell--save-temp-file): New function.
4636 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4637 `string' comes from the current buffer.
4638 (python-shell-send-string-no-output): Remove `msg' arg.
4639 (python--use-fake-loc): New var.
4640 (python-shell-buffer-substring): Obey it. Try to compensate for the
4641 extra coding line added by python-shell--save-temp-file.
4642 (python-shell-send-region): Use python-shell--save-temp-file and
4643 python-shell-send-file directly. Add `nomain' argument.
4644 (python-shell-send-buffer): Use python-shell-send-region.
4645 (python-electric-pair-string-delimiter): New function.
4646 (python-mode): Use it.
4648 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4650 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4651 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4652 environment and decoding all of the default-directory's to here
4654 (command-line): Decode also argv[0].
4656 * loadup.el: Error out if default-directory is a multibyte string
4657 when we are dumping.
4659 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4661 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4663 * emacs-lisp/package.el (package-menu-mode)
4664 (package-menu--print-info, package-menu--archive-predicate):
4665 Add Archive column to package list.
4667 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4669 Fix problems found while writing a test suite.
4671 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4672 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4673 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4674 to nil when running original file name handler. Otherwise,
4675 there are problems with constructs like "$$FOO".
4677 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4680 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4682 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4684 * subr.el (version<, version<=, version=):
4685 Update docstrings with information for snapshot versions.
4687 * helpers.el: New library for misc helper functions.
4688 (hash-table-keys): New function returning a list of hash keys.
4689 (hash-table-values): New function returning a list of hash values.
4691 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4693 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4694 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4696 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4698 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4699 checking whether point is after a 1-letter word.
4701 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4703 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4704 Don't infloop when expanding region over `multiline' syntax-type that
4705 begins a line (bug#15778).
4707 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4709 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4710 Make it into a proper minor mode.
4711 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4712 (rectangle-mark-mode-map): New keymap.
4713 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4715 2013-11-04 Glenn Morris <rgm@gnu.org>
4717 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4719 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4721 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4722 (ruby-smie-rules): Use smie-rule-parent instead.
4724 * emacs-lisp/smie.el (smie-rule-parent): Always call
4725 smie-indent-virtual rather than only for hanging tokens.
4726 (smie--next-indent-change): New helper command.
4728 2013-11-03 Glenn Morris <rgm@gnu.org>
4730 * Makefile.in (abs_srcdir): Remove.
4731 (emacs): Unset EMACSLOADPATH.
4733 2013-11-02 Glenn Morris <rgm@gnu.org>
4735 * Makefile.in (EMACS): Use a relative filename.
4736 (abs_top_builddir): Remove.
4737 (custom-deps, finder-data, autoloads): Use --chdir.
4739 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4741 Use relative filenames in TAGS files.
4742 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4743 (lisptagsfiles4, TAGS): Use relative file names.
4744 (TAGS-LISP): Remove.
4745 (maintainer-clean): No more TAGS-LISP file.
4747 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4748 (lisptagsfiles4): Use absolute filenames again.
4749 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4750 Remove all *loaddefs files, not just the first. Remove esh-groups.
4751 (maintainer-clean): Delete TAGS, TAGS-LISP.
4753 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4755 * emacs-lisp/package.el (package-version-join):
4756 Recognize snapshot versions.
4758 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4760 * subr.el (version-regexp-alist): Add support for snapshot versions.
4762 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4764 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4765 New function, replacement for `smie-rule-parent' for when we want to
4766 skip over our direct parent if it's an assignment token..
4767 (ruby-smie-rules): Use it.
4769 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4771 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4772 unconditionally. Remove now unnecessary forward declarations.
4773 Remove XEmacs-specific setup.
4774 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4775 (ruby-font-lock-syntactic-keywords)
4776 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4777 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4778 (ruby-here-doc-end-syntax): Remove.
4779 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4780 defined as function.
4782 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4784 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4786 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4788 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4789 table and abbrev table, `define-derived-mode' does that for us
4792 2013-11-01 Glenn Morris <rgm@gnu.org>
4794 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4795 files is atomic for some time, so no parallel compilation issues).
4797 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4799 * faces.el (face-x-resources): Add :distant-foreground.
4800 (region): Use :distant-foreground for gtk and ns.
4802 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4804 Allow multiple bibliographies when BibLaTeX is used rather than
4806 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4807 (reftex-locate-bibliography-files): Us it.
4809 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4811 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4812 allow comments in pbm files.
4814 * term/w32-win.el (dynamic-library-alist): Support newer versions
4815 of libjpeg starting with v7: look only for the DLL from the
4816 version against which Emacs was built.
4817 Support versions of libpng beyond 1.4.x.
4818 Support libtiff v4.x.
4820 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4822 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4823 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4825 (ruby-deep-arglist): Add property :type.
4827 2013-10-31 Glenn Morris <rgm@gnu.org>
4829 * Makefile.in (custom-deps, finder-data): No need to setq the target
4830 variables, we are in the right directory and the defaults work fine.
4832 2013-10-30 Glenn Morris <rgm@gnu.org>
4834 * Makefile.in (autoloads): Do not use abs_lisp.
4836 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4837 `newline' does not respect `standard-output', so use `princ'.
4839 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4841 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4842 * buff-menu.el (Buffer-menu--unmark): New function.
4843 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4845 2013-10-30 Glenn Morris <rgm@gnu.org>
4847 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4849 * emacs-lisp/package.el (lm-homepage): Declare.
4851 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4854 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4856 * Makefile.in (finder-data, autoloads, update-subdirs)
4857 (compile-main, compile-clean, compile-always, bootstrap-clean):
4858 Check return value of cd.
4859 (compile-calc): Remove.
4861 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4863 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4865 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4866 (byte-compile-and-folded): New function.
4867 (=, <, >, <=, >=): Use it.
4869 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4870 (path-separator, null-device, buffer-file-coding-system)
4871 (lpr-headers-switches): Check system-type before modifying them.
4872 (find-buffer-file-type-coding-system): Mark obsolete.
4873 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4874 find-file-not-found-set-buffer-file-coding-system.
4875 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4876 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4877 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4878 (w32-direct-print-region-helper, w32-direct-print-region-function)
4879 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4880 * startup.el (normal-top-level-add-subdirs-to-load-path):
4881 * ps-print.el (ps-print-region-function):
4882 * lpr.el (print-region-function): Use new name.
4884 * subr.el (custom-declare-variable-early): Remove function.
4885 (custom-declare-variable-list): Remove var.
4886 (error, user-error): Remove `while' loop.
4887 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4888 (user-emacs-directory-warning, locate-user-emacs-file):
4890 * simple.el (read-quoted-char-radix, read-quoted-char):
4891 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4893 * custom.el (custom-declare-variable-list): Don't process
4894 custom-declare-variable-list.
4896 * progmodes/python.el (python-shell-get-buffer): New function.
4897 (python-shell-get-process): Use it.
4898 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4899 Python which encoding was used. Don't split-string since we only care
4900 about the first line. Return the temp-file, if applicable.
4901 (python-shell-send-region): Tell compile.el how to turn locations in
4902 the temp-file into locations in the source buffer.
4904 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4906 * subr.el (undefined): Add missing behavior from the C code for
4909 * rect.el: Use lexical-binding. Add new rectangular region support.
4910 (rectangle-mark): New command.
4911 (rectangle--region): New var.
4912 (deactivate-mark-hook): Reset rectangle--region.
4913 (rectangle--extract-region, rectangle--insert-for-yank)
4914 (rectangle--highlight-for-redisplay)
4915 (rectangle--unhighlight-for-redisplay): New functions.
4916 (region-extract-function, redisplay-unhighlight-region-function)
4917 (redisplay-highlight-region-function): Use them to handle
4919 * simple.el (region-extract-function): New var.
4920 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4921 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4922 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4923 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4924 (redisplay-unhighlight-region-function)
4925 (redisplay-highlight-region-function): New vars.
4926 (redisplay--update-region-highlight): New function.
4927 (pre-redisplay-function): Use it.
4928 (exchange-point-and-mark): Don't deactivate the mark before
4929 reactivate-it anyway.
4930 * comint.el (comint-kill-region): Remove yank-handler argument.
4931 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4932 (delete-char): Remove property, since it's now part of their
4934 (self-insert-iso): Remove property since this command doesn't exist.
4936 * emacs-lisp/package.el (package--download-one-archive)
4937 (describe-package-1): Don't query the user about final newline.
4939 2013-10-29 Daniel Colascione <dancol@dancol.org>
4941 * net/tramp.el (tramp-methods): Document new functionality.
4942 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4943 tramp-hostname-checker if method provides one instead of scanning
4944 argument list for "%h" to decide hostname acceptability.
4946 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4948 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4949 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4950 Handle COPY-CONTENTS. (Bug#15737)
4952 2013-10-28 Daiki Ueno <ueno@gnu.org>
4955 (epa-file-cache-passphrase-for-symmetric-encryption):
4956 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4958 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4960 * image.el (defimage, image-load-path): Doc fixes.
4962 2013-10-27 Alan Mackenzie <acm@muc.de>
4964 Indent statements in macros following "##" correctly.
4965 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4966 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4968 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4970 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4972 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4974 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4975 after `=' is probably a new expression.
4977 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4979 * man.el (man-imenu-title): New option.
4980 (Man-mode-map): Add menu. (Bug#15722)
4981 (Man-mode): Add imenu to menu.
4983 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4985 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4986 specific in what the first arg can be: a non-keyword word,
4987 string/regexp/percent literal opener, opening paren, or unary
4988 operator followed directly by word.
4990 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4992 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4993 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4994 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4995 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4996 Remove vars, they do not apply any more.
4997 (prolog-mode-abbrev-table): Remove redundant declaration.
4998 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4999 (prolog-use-smie): Remove.
5000 (prolog-smie-rules): Add indentation rule for the if-then-else layout
5001 supported by prolog-electric-if-then-else-flag.
5002 (prolog-mode-variables, prolog-menu): Use setq-local.
5003 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
5004 Remove binding to `Backspace' since this key doesn't exist anyway.
5005 Remove bindings for electric self-inserting keys.
5006 (prog-mode): Assume it's defined.
5007 (prolog-post-self-insert): New function.
5008 (prolog-mode): Use it.
5009 (prolog-indent-line, prolog-indent-level)
5010 (prolog-find-indent-of-matching-paren)
5011 (prolog-indentation-level-of-line, prolog-goto-comment-column)
5012 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
5013 (prolog-goto-next-paren, prolog-in-string-or-comment)
5014 (prolog-tokenize, prolog-inside-mline-comment)
5015 (prolog-find-start-of-mline-comment): Remove functions.
5016 (prolog-find-unmatched-paren, prolog-clause-end)
5017 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
5018 (prolog-electric--if-then-else): Rename from
5019 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
5020 (prolog-tokenize-searchkey): Remove const.
5021 (prolog-clause-info): Use forward-sexp.
5022 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
5023 (prolog-electric-if-then-else): Remove commands.
5024 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
5025 for use in post-self-insert-hook.
5026 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
5027 for use in post-self-insert-hook.
5028 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
5029 for use in post-self-insert-hook.
5030 (prolog-electric--underscore): Rename from prolog-electric--underscore;
5031 adapt it for use in post-self-insert-hook.
5033 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
5035 * emacs-lisp/ert.el (ert-run-tests-interactively):
5036 Use `completing-read'. (Bug#9756)
5038 2013-10-25 Eli Zaretskii <eliz@gnu.org>
5040 * simple.el (line-move): Call line-move-1 instead of
5041 line-move-visual when the current window hscroll is zero, but
5042 temporary-goal-column indicates we will need to hscroll as result
5043 of the movement. (Bug#15712)
5045 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
5047 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
5048 capitalization. Use :visible instead of :active.
5049 Fix `ruby-indent-exp' reference. Add menu items for the generic
5050 commands that are used with SMIE.
5051 (ruby-do-end-to-brace): Insert space after `{'.
5053 2013-10-25 John Anthony <john@jo.hnanthony.com>
5055 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
5057 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
5059 2013-10-25 Glenn Morris <rgm@gnu.org>
5061 * vc/vc.el (vc-print-log): Don't use a working revision unless
5062 one was explicitly specified. (Bug#15322)
5064 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * subr.el (add-to-list): Preserve return value in compiler-macro
5069 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5071 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
5072 result. Ask user to retry using '-all' flag. (Bug#15701)
5074 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * emacs-lisp/smie.el: New smie-config system.
5077 (smie-config): New defcustom.
5078 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
5079 (smie-config-guess, smie-config-save): New commands.
5080 (smie-config--mode-local, smie-config--buffer-local)
5081 (smie-config--trace, smie-config--modefuns): New vars.
5082 (smie-config--advice, smie-config--mode-hook)
5083 (smie-config--setter, smie-config-local, smie-config--get-trace)
5084 (smie-config--guess-value, smie-config--guess): New functions.
5085 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5086 text properties. Treat "string fence" syntax like string syntax.
5088 * progmodes/sh-script.el (sh-use-smie): Change default.
5089 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5090 (sh-var-value): Simplify by CSE.
5091 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5092 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5094 (sh-guess-basic-offset): Use cl-incf.
5095 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5097 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5099 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5102 2013-10-24 Glenn Morris <rgm@gnu.org>
5104 * Makefile.in (abs_top_srcdir): Remove.
5105 (update-subdirs): Use relative path to update-subdirs.
5107 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5109 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5110 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5111 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5112 Call unmsys--file-name before expand-file-name, not after it.
5114 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5116 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5117 (ert-test-skipped): New error.
5118 (ert-skip, ert-stats-skipped): New defuns.
5119 (ert--skip-unless): New macro.
5120 (ert-test-skipped): New struct.
5121 (ert--run-test-debugger, ert-test-result-type-p)
5122 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5123 (ert--stats-set-test-and-result, ert-char-for-test-result)
5124 (ert-string-for-test-result, ert-run-tests-batch)
5125 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5126 Handle skipped tests. (Bug#9803)
5128 2013-10-24 Glenn Morris <rgm@gnu.org>
5130 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5132 * Makefile.in (abs_top_srcdir): New, set by configure.
5133 (update-subdirs): Correct build-aux location.
5135 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5137 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5138 value, whether we could auto-deduce `backend', or not.
5140 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5141 with parameters" example. Simplify the "is it block or is it
5142 hash" check, but also make it more thorough.
5144 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5146 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5148 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5150 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5153 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5156 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5158 * progmodes/compile.el (compilation-directory-matcher)
5159 (compilation-page-delimiter):
5160 Support GNU Make-4.0 directory quoting. (Bug#15678)
5162 2013-10-23 Leo Liu <sdl.web@gmail.com>
5164 * ido.el (ido-tidy): Handle read-only text.
5166 2013-10-23 Glenn Morris <rgm@gnu.org>
5168 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5169 (emacs, compile, compile-always):
5170 Quote entities that might contain whitespace.
5171 (custom-deps, finder-data, autoloads): Use abs_lisp.
5172 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5173 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5174 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5176 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5178 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5179 Use `following-char'.
5181 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5183 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5184 * progmodes/ruby-mode.el (ruby-smie-rules):
5185 Remove corresponding workaround. Fix indentation rule of ";" so it
5186 also applies when ";" is the parent.
5188 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5190 * frame.el (display-screens, display-pixel-height)
5191 (display-pixel-width, display-mm-width, display-backing-store)
5192 (display-save-under, display-planes, display-color-cells)
5193 (display-visual-class, display-monitor-attributes-list):
5194 Mention the optional ‘display’ argument in doc strings.
5196 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5198 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5199 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5201 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5203 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5204 TODO. Add "." after " @ ".
5205 (ruby-smie--at-dot-call): New function. Checks if point at method
5206 call with explicit target.
5207 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5208 to the method name tokens when it precedes them.
5209 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5210 (ruby-smie-rules): Add rule for indentation before and after "."
5213 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * textmodes/remember.el (remember-diary-extract-entries):
5218 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5221 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5223 * progmodes/ruby-mode.el (ruby-smie-grammar):
5224 Add (almost) all infix operators.
5225 (ruby-smie--implicit-semi-p): Add new operator chars.
5227 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5229 (ruby-smie--args-separator-p): Check that there's no newline
5230 between method call and its arguments.
5232 2013-10-20 Alan Mackenzie <acm@muc.de>
5234 Allow comma separated lists after Java "implements".
5236 * progmodes/cc-engine.el (c-backward-over-enum-header):
5238 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5239 from a "disallowed" list in enum fontification.
5241 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5243 * startup.el (default-frame-background-mode): Remove unused defvar.
5245 * progmodes/verilog-mode.el (verilog-mode): Don't set
5246 comment-indent-function globally.
5248 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5250 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5251 Move Info menu item creation to ns-win.el.
5253 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5256 * menu-bar.el: Move GNUstep specific menus...
5258 * term/ns-win.el (ns-initialize-window-system): ... to here.
5260 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * simple.el (newline): Only run post-self-insert-hook when
5263 called interactively.
5265 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5267 * icomplete.el (icomplete-with-completion-tables): Add :version.
5269 2013-10-19 Alan Mackenzie <acm@muc.de>
5271 Fix fontification bugs with constructors and const.
5273 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5274 CASE 2) Remove the check for the absence of a suffix construct
5275 after a function declaration with only types (no identifiers) in
5276 the parentheses. Also, accept a function declaration with just a
5277 type inside the parentheses, if this type can be positively
5278 recognised as such, or if a prefix keyword like "explicit" nails
5279 down the construct as a declaration.
5281 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5283 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5284 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5285 the problem whereby selecting a menu item that leads to a
5286 minibuffer prompt moves the cursor out of the minibuffer window,
5287 making it hard to type at the prompt. Suggested by Stefan Monnier
5288 <monnier@iro.umontreal.ca>.
5290 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5292 * menu-bar.el: Don't make Services menu.
5294 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5296 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5297 (ffap-alist): Use ffap-c++-mode for c++-mode.
5298 (ffap-c++-path): New variable.
5299 (ffap-c++-mode): New function.
5301 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5303 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5305 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5307 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5308 introduced on 2013-09-08, which results in an infinite loop
5309 requesting a password.
5311 2013-10-18 Glenn Morris <rgm@gnu.org>
5313 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5315 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5317 Sync with upstream verilog-mode revision 1a6ecec7.
5318 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5319 (verilog-mode-release-date): Remove.
5320 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5321 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5322 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5323 (verilog-auto-tieoff-ignore-regexp)
5324 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5325 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5326 (verilog-signals-with, verilog-dir-cache-preserving)
5327 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5329 (verilog-case-fold): New option, to control case folding in
5330 regexp searches, bug597.
5331 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5332 (verilog-string-match-fold, verilog-in-paren-count)
5333 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5334 (verilog-at-close-struct-p): New functions.
5335 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5336 (verilog-forward-sexp, verilog-set-auto-endcomments)
5337 (verilog-leap-to-case-head): Handle "unique0" case.
5338 (verilog-in-constraint-re): New constant.
5339 (verilog-keywords, verilog-type-font-keywords):
5340 Add some SystemVerilog 1800-2012 keywords.
5341 (verilog-label-be): Remove unimplemented argument, bug669.
5342 (verilog-batch-execute-func): When batch expanding clear
5343 create-lockfiles to prevent spurious user locks when a file ends
5345 (verilog-calculate-indent, verilog-calc-1)
5346 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5347 (verilog-do-indent): Fix indentation of nested constraints
5349 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5350 (verilog-auto-inst-param): Use verilog-string-match-fold.
5351 (verilog-read-inst-module-matcher):
5352 Fix AUTOINST on gate primitives with #1.
5353 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5354 Reads all user-defined typed variables.
5355 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5356 (verilog-signals-matching-regexp)
5357 (verilog-signals-not-matching-regexp, verilog-auto):
5358 Respect verilog-case-fold.
5359 (verilog-diff-report): Fix line count.
5360 (verilog-auto-assign-modport): Remove unused local `modi'.
5361 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5362 better handle multidimensional arrays.
5363 Fix packed array ports misadding bit index in AUTOINST, bug637.
5364 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5365 to not double-declare existing outputs and inputs, respectively.
5366 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5367 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5368 (verilog-sk-uvm-component): New skeleton.
5369 (verilog-submit-bug-report): Add verilog-case-fold,
5370 remove verilog-mode-release-date.
5372 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5374 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5377 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5379 * textmodes/remember.el (remember): Set buffer-offer-save in
5380 remember buffers (bug#13566).
5382 2013-10-18 Daniel Colascione <dancol@dancol.org>
5384 When evaluating forms in ielm, direct standard output to ielm
5385 buffer. Add new ielm-return-for-effect command. Remove trailing
5386 whitespace throughout.
5388 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5389 (ielm-return-for-effect): New command.
5390 (ielm-send-input): Accept optional `for-effect' parameter.
5391 (ielm-eval-input): Accept optional `for-effect' parameter.
5392 Bind `standard-output' to stream we create using
5393 `ielm-standard-output-impl'. Suppress printing result when
5395 (ielm-standard-output-impl): New function.
5396 (inferior-emacs-lisp-mode): Explain new features in documentation.
5398 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5402 * net/tramp.el (tramp-debug-message): Do not check for connection
5404 (tramp-message): Use "vector" connection property.
5406 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5407 (tramp-equal-remote, tramp-eshell-directory-change)
5408 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5409 (tramp-adb-handle-rename-file)
5410 * net/tramp-cmds.el (tramp-list-remote-buffers)
5411 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5412 * net/tramp-compat.el (tramp-compat-process-running-p)
5413 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5414 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5415 (tramp-gvfs-handle-rename-file)
5416 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5417 (tramp-set-file-uid-gid)
5418 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5419 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5422 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5423 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5424 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5425 (tramp-gw-open-network-stream): Suppress unrelated traces.
5427 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5428 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5429 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5430 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5431 connection property.
5433 * net/tramp-cache.el (top): Suppress traces when reading
5436 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5437 Refactor common code. Improve debug message.
5438 (tramp-maybe-open-connection)
5439 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5440 connection buffer too early.
5442 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5443 from `tramp-smb-actions-with-acl'.
5444 (tramp-smb-actions-set-acl): New defconst.
5445 (tramp-smb-handle-copy-directory)
5446 (tramp-smb-action-get-acl): New defun, renamed from
5447 `tramp-smb-action-with-acl'.
5448 (tramp-smb-action-set-acl): New defun.
5449 (tramp-smb-handle-set-file-acl): Rewrite.
5451 2013-10-17 Glenn Morris <rgm@gnu.org>
5453 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5455 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5457 * skeleton.el (skeleton-newline): Remove.
5458 (skeleton-internal-1): Use (insert "\n") instead.
5460 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5463 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5464 forward-sexp-function while we redo its job (bug#15613).
5466 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5468 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5469 represented by lists.
5471 2013-10-16 Glenn Morris <rgm@gnu.org>
5473 * tmm.el (tmm--history): New dynamic variable.
5474 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5476 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5478 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5479 (tramp-smb-errors): Add error messages.
5480 (tramp-smb-actions-with-acl): New defconst.
5481 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5482 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5483 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5484 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5485 (tramp-smb-get-stat-capability): Fix tests.
5487 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5489 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5492 2013-10-16 Glenn Morris <rgm@gnu.org>
5494 * ansi-color.el (ansi-color-drop-regexp):
5495 Add 1J, 1K, 2K. (Bug#15617)
5497 * files.el (hack-local-variables--warned-lexical): New.
5498 (hack-local-variables):
5499 Warn about misplaced lexical-binding. (Bug#15616)
5501 * net/eww.el (eww-render): Always set eww-current-url,
5502 and update header line. (Bug#15622)
5503 (eww-display-html): ... Rather than just doing it here.
5505 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5507 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5508 menu navigations commands.
5510 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5512 * progmodes/subword.el (subword-capitalize): Be careful when
5513 the search for [[:alpha:]] fails (bug#15580).
5515 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5517 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5518 to commands that scroll the menu.
5520 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5522 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5523 Handle methods ending with `?' and `!'.
5525 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5527 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5528 `japanese-cp932' to `cp932' to fix the problem where saving a
5529 source file written in Shift_JIS twice would end up having
5530 `coding: japanese-cp932' which Ruby could not recognize.
5531 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5532 in `ruby-encoding-map'.
5533 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5534 doesn't need to be explicitly declared in magic comment.
5535 (ruby-encoding-map): Add type declaration for better customize UI.
5537 2013-10-13 Glenn Morris <rgm@gnu.org>
5539 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5540 Occur buffers are read-only. http://bugs.debian.org/720775
5542 * emacs-lisp/authors.el (authors-fixed-entries):
5543 Comment out old alpha stuff.
5545 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5547 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5548 to `after-save-hook' instead of `before-save-hook'.
5549 (ruby-mode-set-encoding): Use the value of coding system used to
5550 write the file. Call `basic-save-buffer-1' after modifying the
5553 2013-10-13 Alan Mackenzie <acm@muc.de>
5555 Fix indentation/fontification of Java enum with
5556 "implements"/generic.
5558 * progmodes/cc-engine.el (c-backward-over-enum-header):
5559 Extracted from the three other places and enhanced to handle generics.
5560 (c-inside-bracelist-p): Uses new function above.
5561 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5563 (c-font-lock-enum-tail): Uses new function above.
5565 2013-10-13 Kenichi Handa <handa@gnu.org>
5567 * international/mule-cmds.el (select-safe-coding-system): Remove a
5568 superfluous condition in chekcing whether a coding system is safe
5571 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5573 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5575 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5577 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5579 2013-10-13 Glenn Morris <rgm@gnu.org>
5581 * menu-bar.el (menu-bar-update-buffers):
5582 Unify Buffers menu prompt string. (Bug#15576)
5584 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5586 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5588 (authors-fixed-entries): Use accented form of name.
5590 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5592 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5593 method calls (bug#15594).
5594 (ruby-smie--args-separator-p): New function.
5595 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5596 recognize paren-free method calls.
5598 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5599 internals of universal-argument.
5601 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5603 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5604 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5605 dropped menu on second mouse click on the menu bar.
5607 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5609 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5610 (explicit-shell-file-name): Declare.
5611 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5612 (sh-completion-at-point-function): New function.
5614 (sh-smie--keyword-p): Remove unused argument.
5615 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5617 (sh-set-shell): Always setup SMIE, even if we use the
5618 old indentation code.
5620 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5622 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5624 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5625 predicate would return nil are almost non-existent.
5626 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5628 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5629 cache also after commands that modify the buffer but don't move
5632 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5634 * env.el (substitute-env-in-file-name): New function.
5635 (substitute-env-vars): Extend the meaning of the optional arg.
5637 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5639 * term/w32-win.el (dynamic-library-alist): Define separate lists
5640 of GIF DLLs for versions before and after 5.0.0 of giflib.
5643 2013-10-10 João Távora <joaotavora@gmail.com>
5645 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5646 not locked, use last revision and current source as
5647 defaults. (Bug#15569)
5649 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5651 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5654 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5656 * window.el (pop-to-buffer-same-window): Fix doc-string.
5659 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5663 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5665 * calendar/icalendar.el (icalendar-import-file):
5666 Fix interactive spec. (Bug#15482)
5668 2013-10-10 Glenn Morris <rgm@gnu.org>
5670 * desktop.el (desktop-save): Default to saving in .emacs.d,
5671 since PWD is no longer in desktop-path by default. (Bug#15319)
5673 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5674 now that text mode has a menu with the same entry.
5675 (menu-bar-text-mode-auto-fill): Remove now unused func.
5676 * textmodes/text-mode.el (text-mode-map):
5677 Use auto-fill help text from menu-bar.el.
5679 2013-10-10 John Anthony <john@jo.hnanthony.com>
5681 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5683 2013-10-09 Juri Linkov <juri@jurta.org>
5685 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5686 instead of this-command-keys. Add universal-argument-more and
5687 universal-argument-minus to the list of prefix commands. (Bug#15568)
5689 2013-10-09 Glenn Morris <rgm@gnu.org>
5691 * vc/vc-svn.el (vc-svn-create-repo):
5692 Expand paths in file://... url. (Bug#15446)
5694 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5696 (authors): Remove unused local variables.
5698 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * profiler.el: Create a more coherent calltree from partial backtraces.
5701 (profiler-format): Hide the tail with `invisible' so that C-s can still
5702 find the hidden elements.
5703 (profiler-calltree-depth): Don't recurse so enthusiastically.
5704 (profiler-function-equal): New hash-table-test.
5705 (profiler-calltree-build-unified): New function.
5706 (profiler-calltree-build): Use it.
5707 (profiler-report-make-name-part): Indent the calltree less.
5708 (profiler-report-mode): Add visibility specs for profiler-format.
5709 (profiler-report-expand-entry, profiler-report-toggle-entry):
5710 Expand the whole subtree when provided with a prefix arg.
5712 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5714 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5716 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5717 hanging iuwu-mod token.
5718 (ruby-smie--forward-token): Do not include a dot after a token in
5720 (ruby-smie--backward-token): Likewise.
5722 2013-10-08 Juri Linkov <juri@jurta.org>
5724 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5725 to isearch-other-control-char.
5726 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5727 and isearch-post-command-hook to post-command-hook.
5728 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5729 and isearch-post-command-hook from post-command-hook.
5730 (isearch-unread-key-sequence)
5731 (isearch-reread-key-sequence-naturally)
5732 (isearch-lookup-scroll-key, isearch-other-control-char)
5733 (isearch-other-meta-char): Remove functions.
5734 (isearch-pre-command-hook, isearch-post-command-hook):
5735 New functions based on isearch-other-meta-char rewritten
5736 relying on the new behavior of overriding-terminal-local-map
5737 that does not replace the local keymaps any more. (Bug#15200)
5739 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5741 Support menus on text-mode terminals.
5742 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5745 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5747 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5748 Move here from mouse.el.
5749 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5751 (tty-menu-navigation-map): New map for TTY menu navigation.
5753 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5755 * frame.el (display-mouse-p): Report text-mode mouse as available
5757 (display-popup-menus-p): Report availability if mouse is
5758 available; don't condition on window-system.
5760 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5761 (tty-menu-selected-face): New faces.
5763 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5765 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5766 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5767 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5768 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5770 (lisp-mode-variables): New `elisp' argument.
5771 (emacs-lisp-mode): Use it.
5772 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5773 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5775 * indent.el: Use lexical-binding.
5776 (indent-region): Add progress reporter.
5777 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5779 (indent--next-tab-stop): New function to implement this behavior.
5780 (tab-to-tab-stop, move-to-tab-stop): Use it.
5782 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5784 * indent.el (indent-rigidly--current-indentation): New function.
5785 (indent-rigidly-map): New var.
5786 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5788 2013-10-08 Bastien Guerry <bzg@gnu.org>
5790 * register.el (insert-register): Fix 2013-10-07 change.
5792 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5794 * progmodes/perl-mode.el: Use lexical-binding.
5795 Remove redundant :group args.
5796 (perl-nochange): Change default to be closer to other major modes's
5798 (perl-indent-line): Don't consider text on current line as a
5799 valid beginning of function from which to indent.
5801 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5802 with more than one argument (bug#15538).
5804 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5806 * vc/pcvs.el: Use lexical-binding.
5807 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5808 environment of `eval'.
5809 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5810 than a list of expressions. Adjust callers.
5811 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5813 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5815 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5816 case of the dot in a chained method call being on the following line.
5818 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5820 * electric.el (electric-indent-inhibit): New var.
5821 (electric-indent-post-self-insert-function): Use it.
5822 * progmodes/python.el (python-mode): Set it.
5824 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5827 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5829 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5830 (css-mode): Use electric-indent-chars.
5832 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5833 (font-lock-beg, font-lock-end): Move before first use.
5834 (nxml-mode): Use syntax-propertize-function.
5835 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5836 (nxml-extend-after-change-region): Remove.
5837 * nxml/xmltok.el: Use lexical-binding.
5838 (xmltok-save): Use `declare'.
5839 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5840 * nxml/nxml-util.el: Use lexical-binding.
5841 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5843 * nxml/nxml-ns.el: Use lexical-binding.
5844 (nxml-ns-save): Use `declare'.
5845 (nxml-ns-prefixes-for): Avoid add-to-list.
5846 * nxml/rng-match.el: Use lexical-binding.
5847 (rng--ipattern): Use cl-defstruct.
5848 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5849 (rng-cons-group-after, rng-subst-group-after)
5850 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5851 Use closures instead of `(lambda...).
5853 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5855 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5858 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5859 Use `tramp-handle-insert-file-contents'.
5860 (tramp-gvfs-handle-insert-file-contents): Remove function.
5862 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5863 Use `save-restriction' in order to keep markers.
5865 * net/trampver.el: Update release number.
5867 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * progmodes/compile.el (compilation-parse-errors):
5870 Use compilation--put-prop.
5871 (compilation--ensure-parse): Check compilation-multiline.
5873 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5875 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5878 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5880 * progmodes/ruby-mode.el: Fix recently added tests.
5881 (ruby-smie-grammar): Add - and +.
5882 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5883 (ruby-smie--backward-id): New functions.
5884 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5885 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5888 2013-10-07 Leo Liu <sdl.web@gmail.com>
5890 * register.el (register-preview-delay)
5891 (register-preview-functions): New variables.
5892 (register-read-with-preview, register-preview)
5893 (register-describe-oneline): New functions.
5894 (point-to-register, window-configuration-to-register)
5895 (frame-configuration-to-register, jump-to-register)
5896 (number-to-register, view-register, insert-register)
5897 (copy-to-register, append-to-register, prepend-to-register)
5898 (copy-rectangle-to-register): Use register-read-with-preview to
5899 read register. (Bug#15525)
5901 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5903 * net/network-stream.el (network-stream-open-starttls): Don't add
5904 --insecure if it's already present, because that gnutls-cli
5905 rejects getting that parameter twice.
5907 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5909 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5912 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5914 * newcomment.el (comment-use-global-state): Change default value
5915 to t, mark obsolete (Bug#15251).
5916 (comment-beginning): In addition to `comment-to-syntax', check the
5917 value of `comment-use-global-state'.
5919 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5922 (ruby-comment-column): Follow the global default, by default.
5923 (ruby-smie-grammar): Add assignment syntax.
5924 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5925 open-paren, a comma, or a \.
5926 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5927 and line continuations.
5928 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5929 followed by implicit semi-colons. Add rule for string concatenation
5930 and for indentation at BOB.
5931 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5933 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5934 calling next-sexp, since next-token may have skipped chars which
5935 next-sexp doesn't know should be skipped!
5937 2013-10-05 Leo Liu <sdl.web@gmail.com>
5939 * progmodes/octave.el (octave-send-region):
5940 Call compilation-forget-errors.
5942 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5944 * vc/vc-svn.el (vc-svn-find-admin-dir):
5945 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5946 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5947 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5948 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5950 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5954 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5956 * subr.el (read-passwd): Hide chars even when called within a context
5957 where after-change-functions is disabled (bug#15501).
5958 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5959 until we removed ourself from overriding-terminal-local-map.
5961 2013-10-04 Leo Liu <sdl.web@gmail.com>
5963 * progmodes/octave.el (inferior-octave-mode):
5964 Call compilation-forget-errors.
5966 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5968 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5970 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5972 * net/secrets.el (secrets-create-collection): Add optional
5973 argument ALIAS. Use proper Label keyword. Append ALIAS as
5974 dbus-call-method argument. (Bug#15516)
5976 2013-10-04 Leo Liu <sdl.web@gmail.com>
5978 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5979 (inferior-octave-compilation-font-lock-keywords): New variables.
5980 (compilation-error-regexp-alist)
5981 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5982 (inferior-octave-mode): Use compilation-shell-minor-mode.
5984 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5986 * minibuffer.el (completion--replace): Be careful that `end' might be
5989 2013-10-03 Daiki Ueno <ueno@gnu.org>
5991 Add support for package signature checking.
5992 * emacs-lisp/package.el (url-http-file-exists-p)
5993 (epg-make-context, epg-context-set-home-directory)
5994 (epg-verify-string, epg-context-result-for)
5995 (epg-signature-status, epg-signature-to-string)
5996 (epg-check-configuration, epg-configuration)
5997 (epg-import-keys-from-file): Declare.
5998 (package-check-signature): New user option.
5999 (package-unsigned-archives): New user option.
6000 (package-desc): Add `signed' field.
6001 (package-load-descriptor): Set `signed' field if .signed file exists.
6002 (package--archive-file-exists-p): New function.
6003 (package--check-signature): New function.
6004 (package-install-from-archive): Check package signature.
6005 (package--download-one-archive): Check archive signature.
6006 (package-delete): Remove .signed file.
6007 (package-import-keyring): New command.
6008 (package-refresh-contents): Import default keyring.
6009 (package-desc-status): Add "unsigned" status.
6010 (describe-package-1, package-menu--print-info)
6011 (package-menu-mark-delete, package-menu--find-upgrades)
6012 (package-menu--status-predicate): Support "unsigned" status.
6014 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6016 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
6017 the new compilation scheme using the new byte-codes.
6019 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
6020 (byte-pophandler): New byte codes.
6021 (byte-goto-ops): Adjust accordingly.
6022 (byte-compile--use-old-handlers): New var.
6023 (byte-compile-catch): Use new byte codes depending on
6024 byte-compile--use-old-handlers.
6025 (byte-compile-condition-case--old): Rename from
6026 byte-compile-condition-case.
6027 (byte-compile-condition-case--new): New function.
6028 (byte-compile-condition-case): New function that dispatches depending
6029 on byte-compile--use-old-handlers.
6030 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
6033 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6034 Optimize under `condition-case' and `catch' if
6035 byte-compile--use-old-handlers is nil.
6036 (disassemble-offset): Handle new bytecodes.
6038 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * subr.el (error): Use `declare'.
6041 (decode-char, encode-char): Use advertised-calling-convention instead
6042 of the docstring to discourage use of the `restriction' arg.
6044 2013-10-03 Daiki Ueno <ueno@gnu.org>
6046 * epg.el (epg-verify-file): Add a comment saying that it does not
6047 notify verification error as a return value nor a signal.
6048 (epg-verify-string): Ditto.
6050 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6052 * progmodes/compile.el (compilation-start): Try globbing the arg to
6055 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
6057 Sync with Tramp 2.2.8.
6059 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
6060 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
6061 * net/trampver.el: Update release number.
6063 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
6065 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6066 and default-process-coding-system for darwin only.
6068 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6070 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
6072 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
6074 * vc/vc-git.el (vc-git-grep): Disable pager.
6076 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
6078 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
6079 Use :url instead of :homepage, as per
6080 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
6082 * newcomment.el (comment-beginning): When `comment-use-syntax' is
6083 non-nil, use `syntax-ppss' (Bug#15251).
6085 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6087 * progmodes/octave.el (inferior-octave-startup-file):
6088 Prefer ~/.emacs.d/init_octave.m.
6090 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6092 * emacs-lisp/package.el (package-desc-from-define):
6093 Accept additional arguments as plist, convert them to an alist and store
6094 them in the `extras' slot.
6095 (package-generate-description-file): Convert extras alist back to
6096 plist and append to the `define-package' form arguments.
6097 (package--alist-to-plist): New function.
6098 (package--ac-desc): Add `extras' slot.
6099 (package--add-to-archive-contents): Check if the archive-contents
6100 vector is long enough, and if it is, pass its `extras' slot value
6101 to `package-desc-create'.
6102 (package-buffer-info): Call `lm-homepage', pass the returned value
6103 to `package-desc-from-define'.
6104 (describe-package-1): Render the homepage button (Bug#13291).
6106 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6107 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6109 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6111 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6112 and default-process-coding-system to utf-8-unix (Bug#15402).
6114 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6116 * subr.el (looking-back): Do not recommend using looking-back.
6118 2013-09-28 Alan Mackenzie <acm@muc.de>
6120 Fix indentation/fontification of Java enum with "implements".
6122 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6123 regexp which matches "implements", etc., in Java.
6124 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6125 specifier clauses coming after "enum".
6126 * progmodes/cc-fonts.el (c-font-lock-declarations)
6127 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6130 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6132 * faces.el (region): Change ns_selection_color to
6133 ns_selection_fg_color, add ns_selection_bg_color.
6135 2013-09-28 Leo Liu <sdl.web@gmail.com>
6137 * progmodes/octave.el (inferior-octave-completion-table)
6138 (inferior-octave-completion-at-point): Minor tweaks.
6140 * textmodes/ispell.el (ispell-lookup-words): Rename from
6141 lookup-words. (Bug#15460)
6142 (lookup-words): Obsolete.
6143 (ispell-complete-word, ispell-command-loop): All uses changed.
6145 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6147 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6148 (octave-mode-menu): Add octave-send-buffer.
6149 (octave-send-buffer): New function.
6151 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6153 * progmodes/octave.el (octave-mode-map): Add key binding for
6155 (octave-mode-menu): Add octave-lookfor.
6156 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6158 (octave-lookfor): New function.
6160 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6162 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6163 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6165 (cl--loop-set-iterator-function): New function.
6166 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6167 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6168 Bind `it' with `let' instead of substituting it with `cl-subst'.
6169 (cl--unused-var-p): New function.
6170 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6171 Eliminate some unused variable warnings (bug#15326).
6173 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6175 * doc-view.el (doc-view-scale-reset): Rename from
6176 `doc-view-reset-zoom-level'.
6177 (doc-view-scale-adjust): New command.
6178 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6179 `doc-view-scale-adjust'.
6181 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6183 * doc-view.el (doc-view-reset-zoom-level): New command.
6184 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6185 zoom commands (bug#15466).
6187 2013-09-26 Kenichi Handa <handa@gnu.org>
6189 * international/quail.el (quail-help): Make it not a command.
6191 2013-09-26 Leo Liu <sdl.web@gmail.com>
6193 * minibuffer.el (completion-all-sorted-completions): Make args
6194 optional as they are.
6196 2013-09-25 Daniel Colascione <dancol@dancol.org>
6198 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6199 specs are and that they're not evaluated.
6201 2013-09-24 Sam Steingold <sds@gnu.org>
6203 * midnight.el (clean-buffer-list-kill-regexps)
6204 (clean-buffer-list-kill-buffer-names): Update for the new Man
6205 buffer naming which includes the object name.
6207 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6210 (eshell-parse-command, eshell-parse-pipeline): Use it since
6211 eshell-separate-commands requires a dynamic scoped var.
6212 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6214 2013-09-23 Leo Liu <sdl.web@gmail.com>
6216 * autoinsert.el (auto-insert-alist): Make the value of
6217 lexical-binding match its file setting.
6219 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6221 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6223 * autoarg.el (autoarg-kp-digit-argument):
6224 * electric.el (Electric-command-loop):
6225 * kmacro.el (kmacro-step-edit-insert):
6226 Do not set universal-argument-num-events.
6228 2013-09-22 Leo Liu <sdl.web@gmail.com>
6230 * files.el (interpreter-mode-alist): Add octave.
6232 2013-09-21 Alan Mackenzie <acm@muc.de>
6234 C++: fontify identifier in declaration following "public:" correctly.
6235 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6236 to match "public", etc.
6237 (c-decl-prefix-re): Add ":" into the C++ value.
6238 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6239 bit. Add a check for a ":" preceded by "public", etc.
6241 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6243 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6244 recognized by GDB 7.5 and later.
6246 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6248 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6250 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * subr.el (internal--call-interactively): New const.
6253 (called-interactively-p): Use it (bug#3984).
6255 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6257 * vc/pcvs.el (cvs-mode-ignore):
6258 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6259 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6261 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6264 (eshell-ls-orig-insert-directory): Remove.
6265 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6266 (eshell-ls-use-in-dired): Use advice-add/remove.
6267 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6268 Add `orig-fun' arg for use in :around advice.
6269 Make it check (redundantly) eshell-ls-use-in-dired.
6271 2013-09-19 Glenn Morris <rgm@gnu.org>
6273 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6275 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6277 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6279 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6281 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6282 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6283 (tramp-get-remote-python): New defuns.
6284 (tramp-get-remote-uid-with-perl)
6285 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6286 contributed by yary <not.com@gmail.com> (tiny change).
6287 (tramp-get-remote-uid-with-python)
6288 (tramp-get-remote-gid-with-python): New defuns. Python code
6289 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6290 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6292 2013-09-19 Glenn Morris <rgm@gnu.org>
6294 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6296 * eshell/em-unix.el (eshell-remove-entries):
6297 Rename argument to avoid name-clash with global `top-level'.
6299 * eshell/esh-proc.el (eshell-kill-process-function):
6300 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6301 (eshell-reset-after-proc): Remove unused arg `proc'.
6303 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6304 (directory-files-and-attributes): Mark unused arg.
6306 * eshell/em-unix.el (eshell-remove-entries):
6307 Remove unused arg `path'. Update callers.
6309 * eshell/em-hist.el (eshell-hist-parse-arguments):
6310 Remove unused arg `silent'. Update callers.
6312 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6313 Fix (f)boundp mix-up.
6315 * eshell/em-smart.el (eshell-smart-scroll-window)
6316 (eshell-disable-after-change):
6317 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6319 2013-09-18 Alan Mackenzie <acm@muc.de>
6321 Fix fontification of type when followed by "const".
6322 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6323 "known" types from fontification.
6325 2013-09-18 Glenn Morris <rgm@gnu.org>
6327 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6328 (chart-face-list): Drop Emacsen without display-color-p.
6330 * net/eww.el (libxml-parse-html-region): Declare.
6331 (eww-display-html): Explicit error if no libxml2 support.
6333 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6335 * image.el (image-type-from-buffer, image-multi-frame-p):
6336 Remove --without-x warning/error.
6338 * mouse.el (mouse-yank-primary):
6339 * term.el (term-mouse-paste):
6340 Reorder to silence --without-x compilation.
6342 * mpc.el (doc-view-mode): Silence --without-x compilation.
6344 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6345 Silence --without-x compilation.
6347 * progmodes/gud.el (gud-find-file, gud-mode):
6348 Silence --without-x compilation.
6349 (tooltip-mode): Declare.
6351 * wdired.el (dired-backup-overwrite): Remove declaration.
6352 (wdired-mode-map): Add doc string.
6354 * custom.el (x-get-resource): Declare.
6356 * eshell/em-glob.el (ange-cache):
6357 * eshell/em-unix.el (ange-cache): Declare.
6359 * faces.el (x-display-list, x-open-connection, x-get-resource):
6362 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6363 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6366 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6368 * net/gnutls.el (gnutls-log-level): Declare.
6370 * net/shr.el (image-size, image-animate): Declare.
6372 * simple.el (font-info): Declare.
6374 * subr.el (x-popup-dialog): Declare.
6376 * term/common-win.el (x-select-enable-primary)
6377 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6380 * term/ns-win.el (x-handle-args): Declare.
6382 * term/x-win.el (x-select-enable-clipboard): Declare.
6384 * term/w32-win.el (create-default-fontset): Declare.
6386 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6389 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6390 (fit-frame-to-buffer): Explicit error if --without-x.
6391 (mouse-autoselect-window-select): Silence compiler.
6393 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6395 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6396 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6397 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6398 * eshell/esh-util.el (eshell-sublist):
6399 Remove unused local variables.
6401 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6403 * textmodes/two-column.el: Make 2C-split work for --without-x.
6404 (scroll-bar-columns): Autoload.
6405 (top-level): Require fringe when compiling.
6407 2013-09-18 Leo Liu <sdl.web@gmail.com>
6409 * subr.el (add-hook): Robustify to handle closure as well.
6411 2013-09-17 Glenn Morris <rgm@gnu.org>
6413 * simple.el (messages-buffer-mode-map): Unbind "g".
6415 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * help-mode.el (help-mode-finish): Use derived-mode-p.
6418 Remove obsolete highlighting.
6420 * play/life.el (life-mode): Use define-derived-mode. Derive from
6422 (life): Let-bind inhibit-read-only.
6423 (life-setup): Avoid `setq'. Use `life-mode'.
6425 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6426 which should not be needed any more.
6427 (package-menu-refresh, package-menu-describe-package): Use user-error.
6429 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6430 (eshell-post-rewrite-command-hook): Make obsolete.
6431 (eshell-parse-command): Simplify.
6432 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6433 (eshell--cmd): Declare.
6434 (eshell-parse-pipeline): Remove unused var `final-p'.
6435 Pass a dynvar to eshell-post-rewrite-command-hook.
6436 Implement the new eshell-post-rewrite-command-function.
6437 (eshell-invoke-directly): Remove unused arg `input'.
6438 * eshell/esh-io.el (eshell-io-initialize):
6439 Use eshell-post-rewrite-command-function (bug#15399).
6440 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6441 adjust to new calling convention.
6442 (eshell-create-handles): Rename args to avoid clashing with dynvar
6445 2013-09-17 Glenn Morris <rgm@gnu.org>
6447 * simple.el (messages-buffer-mode): New major mode.
6448 (messages-buffer): New function.
6449 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6450 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6451 (ert-run-test): Use `messages-buffer' function.
6452 (ert--force-message-log-buffer-truncation): Ignore read-only.
6453 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6454 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6456 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6460 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6462 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6464 * icomplete.el (icomplete-in-buffer): New var.
6465 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6466 vars and replace them with functions.
6467 (icomplete-minibuffer-setup): Adjust accordingly.
6468 (icomplete--completion-table, icomplete--completion-predicate)
6469 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6471 (icomplete-forward-completions, icomplete-backward-completions)
6472 (icomplete-simple-completing-p, icomplete-exhibit)
6473 (icomplete-completions): Use them.
6474 (icomplete--in-region-buffer): New var.
6475 (icomplete--in-region-setup): New function.
6476 (icomplete-mode): Use it.
6478 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6480 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6481 return args and options.
6482 (eshell-eval-using-options): Use the new return value of
6483 eshell--do-opts to set the options's vars in their scope.
6484 (eshell--set-option): Rename from eshell-set-option.
6486 (eshell--process-option): Rename from eshell-process-option.
6488 (eshell--process-args): Use an `opt-vals' alist to store the options's
6489 values during their processing and return them additionally to the
6492 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6494 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6495 continuation character an operator, as far as indentation is
6496 concerned (Bug#15369).
6498 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6500 * window.el (window--state-put-2): Don't process buffer state
6501 when buffer doesn't exist any more (Bug#15382).
6503 2013-09-15 Glenn Morris <rgm@gnu.org>
6505 * eshell/em-unix.el (eshell/rm):
6506 Make -f ignore missing files. (Bug#15373)
6508 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6509 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6510 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6512 2013-09-14 Glenn Morris <rgm@gnu.org>
6514 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6516 2013-09-13 Glenn Morris <rgm@gnu.org>
6518 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6519 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6521 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6523 * frame.el (x-focus-frame): Mark as declared in frame.c.
6525 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * ls-lisp.el: Use advice-add.
6528 (original-insert-directory): Remove.
6529 (ls-lisp--insert-directory): Rename from insert-directory; add
6530 `orig-fun' argument.
6531 (insert-directory): Advise.
6533 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6535 * term.el (term-emulate-terminal): Decode the command string
6536 before passing it to term-command-hook. (Bug#15337)
6538 2013-09-13 Glenn Morris <rgm@gnu.org>
6540 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6542 * eshell/esh-ext.el (eshell-search-path): Declare.
6544 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6545 Otherwise an error occurs if eshell-dirs module not loaded.
6547 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6549 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6551 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6552 `tramp-check-proper-host'. Check for a valid method name.
6554 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6555 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6556 * net/tramp-sh.el (tramp-maybe-open-connection):
6557 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6559 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6560 also for hash values.
6562 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6564 * term/ns-win.el (parameters): Don't declare as dynamic.
6565 (before-make-frame-hook): Don't add ineffective function.
6567 * eshell/*.el: Use lexical-binding (bug#15231).
6569 2013-09-12 Kenichi Handa <handa@gnu.org>
6571 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6573 2013-09-12 Glenn Morris <rgm@gnu.org>
6575 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6576 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6578 * subr.el (do-after-load-evaluation): Also give compiler warnings
6579 when obsolete files are used (except by obsolete files).
6581 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6582 in the status output, assume `filename' is the first. (Bug#15322)
6584 * vc/vc.el (vc-deduce-fileset): Doc fix.
6586 * calc/calc-help.el (Info-goto-node):
6587 * progmodes/cperl-mode.el (Info-find-node):
6588 * vc/ediff.el (Info-goto-node): Update declarations.
6590 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6592 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6593 (vc-bzr-pull): Require vc-dispatcher.
6594 * vc/vc-git.el (vc-compilation-mode): Declare.
6595 (vc-git-pull): Require vc-dispatcher.
6597 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6599 * progmodes/octave.el (help-button-action): Declare.
6601 * shell.el (shell-directory-tracker): Output error as a message
6602 rather than just returning it as a string.
6603 (shell-process-pushd): Remove useless use of message.
6605 * dframe.el (dframe-timer-fn):
6606 * files.el (dir-locals-read-from-file):
6607 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6609 * reveal.el (reveal-post-command):
6610 * saveplace.el (load-save-place-alist-from-file):
6611 * shell.el (shell-resync-dirs):
6612 * w32-common-fns.el (x-get-selection-value):
6613 * emacs-lisp/copyright.el (copyright-find-copyright):
6614 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6615 * emulation/tpu-edt.el (tpu-copy-keyfile):
6616 * play/bubbles.el (bubbles--mark-neighbourhood):
6617 * progmodes/executable.el
6618 (executable-make-buffer-file-executable-if-script-p):
6619 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6621 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6623 Cleanup Eshell to rely less on dynamic scoping.
6624 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6625 last-value, and ext-command here. Bind `args' closer to `body'.
6626 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6627 (eshell--args): Declare new dynamic var.
6628 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6629 last-value, and ext-command. Pass `args' to `body'.
6630 (eshell-process-args): Bind eshell--args.
6631 (eshell-set-option): Use eshell--args.
6632 * eshell/eshell.el (eshell): Use derived-mode-p.
6633 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6634 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6635 (eshell-glob-function): Declare.
6636 * eshell/esh-util.el: Require cl-lib.
6637 (eshell-read-hosts-file): Avoid add-to-list.
6638 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6640 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6642 (eshell/diff): Remove unused var `err'.
6643 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6645 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6646 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6648 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6649 Move declaration before first use.
6650 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6651 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6654 2013-09-12 Glenn Morris <rgm@gnu.org>
6656 * term/ns-win.el (global-map): Remove binding for ispell-next,
6657 deleted 1999-05-29. (Bug#15357)
6659 2013-09-11 Glenn Morris <rgm@gnu.org>
6661 * echistory.el (electric-command-history): Remove call to deleted func.
6663 * play/landmark.el (landmark-mode): Fix typos.
6665 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6666 Check cvs-sort-ignore-file is bound.
6668 * savehist.el: No need for cl when compiling on Emacs.
6670 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6674 (eshell-self-insert-command, eshell-send-invisible):
6675 Remove unused argument.
6676 (eshell-handle-control-codes): Remove unused var `orig'.
6677 Avoid delete-backward-char.
6679 * files.el (set-auto-mode): Simplify a bit further.
6681 2013-09-11 Glenn Morris <rgm@gnu.org>
6683 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6684 (set-auto-mode): Don't regexp-quote elements.
6685 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6686 * progmodes/cc-mode.el (interpreter-mode-alist):
6687 * progmodes/ruby-mode.el (interpreter-mode-alist):
6688 Revert previous change.
6690 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6692 * play/snake.el (snake-mode):
6693 * play/mpuz.el (mpuz-mode):
6694 * play/landmark.el (lm-mode):
6695 * play/blackbox.el (blackbox-mode):
6696 * play/5x5.el (5x5-mode):
6697 * obsolete/options.el (Edit-options-mode):
6698 * net/quickurl.el (quickurl-list-mode):
6699 * net/newst-treeview.el (newsticker-treeview-mode):
6700 * mail/rmailsum.el (rmail-summary-mode):
6701 * mail/mspools.el (mspools-mode):
6702 * locate.el (locate-mode):
6703 * ibuffer.el (ibuffer-mode):
6704 * emulation/ws-mode.el (wordstar-mode):
6705 * emacs-lisp/debug.el (debugger-mode):
6706 * array.el (array-mode):
6707 * net/eudc.el (eudc-mode): Use define-derived-mode.
6708 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6709 Move initialization into declaration.
6710 (mairix-searches-mode): Use define-derived-mode.
6711 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6712 (eudc-edit-hotlist): Use dolist.
6713 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6714 (Man-mode): Use define-derived-mode.
6715 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6716 (Info-edit-mode): Use define-derived-mode.
6717 (Info-cease-edit): Use Info-mode.
6718 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6720 (eshell-mode): Use define-derived-mode.
6721 * chistory.el (command-history-mode-map): Rename from
6722 command-history-map.
6723 (command-history-mode): Use define-derived-mode.
6724 (Command-history-setup): Remove function.
6725 * calc/calc.el (calc-trail-mode-map): New var.
6726 (calc-trail-mode): Use define-derived-mode.
6727 (calc-trail-buffer): Set calc-main-buffer manually.
6728 * bookmark.el (bookmark-insert-annotation): New function.
6729 (bookmark-edit-annotation): Use it.
6730 (bookmark-edit-annotation-mode): Make it a proper major mode.
6731 (bookmark-send-edited-annotation): Use derived-mode-p.
6732 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6733 closer to its ideal place. Use \' to match EOS.
6735 * profiler.el (profiler-calltree-find): Use function-equal.
6737 2013-09-10 Glenn Morris <rgm@gnu.org>
6739 * files.el (interpreter-mode-alist): Convert to regexps.
6740 (set-auto-mode): Adapt for this. (Bug#15306)
6741 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6742 Comment out unused variable.
6743 * progmodes/cc-mode.el (interpreter-mode-alist):
6744 * progmodes/python.el (interpreter-mode-alist):
6745 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6746 * progmodes/sh-script.el (sh-set-shell):
6747 No longer use interpreter-mode-alist to get list of shells.
6749 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6751 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * simple.el: Use set-temporary-overlay-map for universal-argument.
6754 (universal-argument-map): Don't use default-bindings (bug#15317).
6755 Bind switch-frame explicitly. Replace universal-argument-minus with
6756 a conditional binding.
6757 (universal-argument-num-events, saved-overriding-map): Remove.
6758 (restore-overriding-map): Remove.
6759 (universal-argument--mode): Rename from save&set-overriding-map,
6761 (universal-argument, universal-argument-more, negative-argument)
6762 (digit-argument): Adjust accordingly.
6763 (universal-argument-minus): Remove.
6764 (universal-argument-other-key): Remove.
6766 * subr.el (with-demoted-errors): Add `format' argument.
6768 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6770 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6771 `tramp-cleanup-connection'.
6773 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6774 parameters KEEP-DEBUG and KEEP-PASSWORD.
6776 * net/tramp.el (tramp-file-name-handler):
6777 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6778 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6779 (tramp-maybe-open-connection):
6780 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6781 Use `tramp-cleanup-connection'.
6783 * net/tramp-sh.el (tramp-maybe-open-connection):
6784 Catch 'uname-changed inside the progress reporter.
6786 2013-09-10 Glenn Morris <rgm@gnu.org>
6788 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6790 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6791 returns "alternate access method" in mode (eg "-rw-r--r--.").
6793 2013-09-08 Glenn Morris <rgm@gnu.org>
6795 * saveplace.el (load-save-place-alist-from-file):
6796 Demote errors. (Bug#15305)
6798 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6800 Improve compatibility with older Emacsen, and XEmacs.
6802 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6803 only if it is bound. It isn't for XEmacs.
6804 (with-tramp-progress-reporter): Do not let-bind `result'.
6805 This yields to scoping errors in XEmacs.
6806 (tramp-handle-make-auto-save-file-name): New function, moved from
6809 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6810 for `make-auto-save-file-name'.
6811 (tramp-adb--gnu-switches-to-ash):
6812 Use `tramp-compat-replace-regexp-in-string'.
6814 * net/tramp-cache.el (tramp-cache-print): Call
6815 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6817 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6818 bound. It isn't for XEmacs.
6820 * net/tramp-compat.el (tramp-compat-copy-file):
6821 Catch `wrong-number-of-arguments' error.
6822 (tramp-compat-replace-regexp-in-string): New defun.
6824 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6825 for `make-auto-save-file-name'.
6826 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6828 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6829 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6830 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6832 * net/tramp-gw.el (tramp-gw-open-network-stream):
6833 Use `tramp-compat-replace-regexp-in-string'.
6835 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6836 Call `tramp-handle-make-auto-save-file-name'.
6837 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6838 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6839 (tramp-sh-file-inotifywait-process-filter):
6840 Use `tramp-compat-replace-regexp-in-string'.
6841 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6844 for `make-auto-save-file-name'.
6845 (tramp-smb-handle-copy-directory):
6846 Call `tramp-compat-replace-regexp-in-string'.
6847 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6848 (tramp-smb-handle-copy-file): Improve error message.
6849 (tramp-smb-handle-rename-file): Rename directly only in case
6850 `newname' does not exist yet. This is a restriction of smbclient.
6851 (tramp-smb-maybe-open-connection): Rerun the function only when
6852 `auth-sources' is non-nil.
6854 2013-09-08 Kenichi Handa <handa@gnu.org>
6856 * international/characters.el: Set category "^" (Combining) for
6859 2013-09-07 Alan Mackenzie <acm@muc.de>
6861 Correctly fontify Java class constructors.
6862 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6864 (c-recognize-typeless-decls): Set the Java value to t.
6865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6866 While handling a "(", add a check for, effectively, Java, and handle a
6867 "typeless" declaration there.
6869 2013-09-07 Roland Winkler <winkler@gnu.org>
6871 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6872 field subtitle for entry type book.
6874 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6876 * minibuffer.el: Make minibuffer-complete call completion-in-region
6877 rather than other way around.
6878 (completion--some, completion-pcm--find-all-completions):
6879 Don't delay signals when debugging.
6880 (minibuffer-completion-contents): Beware fields within the
6881 minibuffer contents.
6882 (completion-all-sorted-completions): Use defvar-local.
6883 (completion--do-completion, completion--cache-all-sorted-completions)
6884 (completion-all-sorted-completions, minibuffer-force-complete):
6885 Add args `beg' and `end'.
6886 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6887 (minibuffer-complete): Use completion-in-region.
6888 (completion-complete-and-exit): New fun, extracted from
6889 minibuffer-complete-and-exit.
6890 (minibuffer-complete-and-exit): Use it.
6891 (completion--complete-and-exit): Rename from
6892 minibuffer--complete-and-exit.
6893 (completion-in-region--single-word): New function, extracted from
6894 minibuffer-complete-word.
6895 (minibuffer-complete-word): Use it.
6896 (display-completion-list): Make `common-substring' argument obsolete.
6897 (completion--in-region): Call completion--in-region-1 instead of
6898 minibuffer-complete.
6899 (completion-help-at-point): Pass boundaries to
6900 minibuffer-completion-help as args rather than via an overlay.
6901 (completion-pcm--string->pattern): Use `any-delim'.
6902 (completion-pcm--optimize-pattern): New function.
6903 (completion-pcm--pattern->regex): Handle `any-delim'.
6904 * icomplete.el (icomplete-forward-completions)
6905 (icomplete-backward-completions, icomplete-completions):
6906 Adjust calls to completion-all-sorted-completions and
6907 completion--cache-all-sorted-completions.
6908 (icomplete-with-completion-tables): Default to t.
6909 * emacs-lisp/crm.el (crm--current-element): Rename from
6910 crm--select-current-element. Don't put an overlay but return the
6912 (crm--completion-command): Take two new args to bind to the boundaries.
6913 (crm-completion-help): Adjust accordingly.
6914 (crm-complete): Use completion-in-region.
6915 (crm-complete-word): Use completion-in-region--single-word.
6916 (crm-complete-and-exit): Use completion-complete-and-exit.
6918 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6923 2013-09-06 Juri Linkov <juri@jurta.org>
6925 * info.el (Info-display-images-node): When image file doesn't exist
6926 display text version of the image if it's provided in the Info file.
6927 Otherwise, display the location of missing image from SRC attribute.
6928 Add help-echo text property from ALT attribute. (Bug#15279)
6930 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6933 (edit-abbrevs-mode): Use define-derived-mode.
6935 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6936 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6938 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6939 Use define-derived-mode.
6941 * epg.el (epg-start-encrypt): Minor CSE simplification.
6943 2013-09-06 William Xu <william.xwl@gmail.com>
6945 * arc-mode.el: Add support for 7za (bug#15264).
6946 (archive-7z-program): New var.
6947 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6948 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6949 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6951 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6955 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6956 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6957 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6958 (tramp-postfix-host-format, tramp-file-name-regexp)
6959 (tramp-completion-file-name-regexp)
6960 (tramp-completion-dissect-file-name)
6961 (tramp-handle-substitute-in-file-name): Remove 'url case.
6962 (tramp-file-name-regexp-url)
6963 (tramp-completion-file-name-regexp-url): Remove constants.
6965 2013-09-06 Glenn Morris <rgm@gnu.org>
6967 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6969 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6972 keywords" below "here-doc beginnings" (Bug#15270).
6974 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6976 * subr.el (pop): Use `car-safe'.
6977 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6978 to detect unused `pop' return value.
6980 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6982 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6983 (python-fill-string): Remove unused var `marker'.
6984 (python-skeleton-add-menu-items): Remove unused var `items'.
6986 * international/mule-cmds.el: Require CL.
6987 (find-coding-systems-for-charsets): Avoid add-to-list.
6988 (sanitize-coding-system-list): New function, extracted from
6989 select-safe-coding-system-interactively.
6990 (select-safe-coding-system-interactively): Use it.
6991 (read-input-method-name): Accept symbols for `default'.
6993 * emacs-lisp/advice.el (defadvice): Add indent rule.
6995 2013-09-05 Daniel Hackney <dan@haxney.org>
6999 * net/browse-url.el:
7002 * net/eudcb-ldap.el:
7015 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
7016 byte compiler. Remove some unused let-bound variables.
7018 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
7021 a "ref-cell", since it gets better optimized (bug#14883).
7023 2013-09-05 Glenn Morris <rgm@gnu.org>
7025 * progmodes/cc-awk.el (c-forward-sws): Declare.
7027 2013-09-04 Glenn Morris <rgm@gnu.org>
7029 * generic-x.el [rul-generic-mode]: Require cc-mode.
7030 (c++-mode-syntax-table): Declare.
7031 (rul-generic-mode-syntax-table): Init in the defvar.
7033 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7035 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
7036 (vc-do-command, vc-set-async-update):
7037 * vc/vc-mtn.el (vc-mtn-dir-status):
7038 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
7039 (vc-hg-pull, vc-hg-merge-branch):
7040 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
7041 (vc-git-merge-branch):
7042 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
7043 (vc-cvs-dir-status-files):
7044 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
7045 (vc-bzr-dir-status-files):
7046 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
7047 * vc/vc-annotate.el: Use lexical-binding.
7048 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
7049 (vc-sentinel-movepoint): Declare.
7050 (vc-annotate): Don't use `goto-line'.
7051 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
7052 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
7053 (vc-sentinel-movepoint): Declare.
7054 * vc/vc-svn.el: Use lexical-binding.
7055 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
7057 * vc/vc-rcs.el: Use lexical-binding.
7059 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
7060 `deleted'. Don't drop errors silently.
7062 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
7064 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
7066 * vc/vc.el (vc-ignore): Rewrite.
7067 (vc-default-ignore): New function.
7068 (vc-default-ignore-completion-table): Use find-ignore-file.
7070 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
7071 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
7072 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
7073 Remove. Most code moved to vc.el.
7075 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
7078 * net/tramp-smb.el (tramp-smb-get-file-entries):
7079 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
7080 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
7082 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
7084 (eww-change-select): Remove unused var `properties'.
7085 (eww-make-unique-file-name): Remove unused var `base'.
7087 * finder.el (finder-compile-keywords): Don't mess with windows.
7089 * calculator.el (calculator-funcall): Fix typo in last change.
7091 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7093 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7094 <pkg>-autoloads.el file stop us.
7096 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7097 warnings, and factor out common code.
7099 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7101 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7102 two-character operators and whether the character preceding them
7103 changes their meaning (Bug#15208).
7105 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7107 Format code sent to Python shell for robustness.
7108 * progmodes/python.el (python-shell-buffer-substring):
7110 (python-shell-send-region, python-shell-send-buffer): Use it.
7112 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7114 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7115 * net/tramp.el (tramp-user-error): ... here.
7116 (tramp-find-method, tramp-check-proper-host)
7117 (tramp-dissect-file-name, tramp-debug-message)
7118 (tramp-handle-shell-command):
7119 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7120 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7122 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7124 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7126 * avoid.el (mouse-avoidance-point-position)
7127 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7130 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7132 * progmodes/python.el (python-shell-completion-get-completions):
7133 Drop use of deleted `comint-last-prompt-overlay'.
7134 (python-nav-if-name-main): New command.
7136 2013-09-01 Glenn Morris <rgm@gnu.org>
7138 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7139 Avoid leading space in $wins. Otherwise the sed command used by
7140 eg compile-main ends up containing "/*.el". (Bug#15170)
7142 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7144 2013-08-30 Glenn Morris <rgm@gnu.org>
7146 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7147 Fix is-this-a-directory logic. (Bug#15220)
7149 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7151 * textmodes/css-mode.el: Use SMIE.
7152 (css-smie-grammar): New var.
7153 (css-smie--forward-token, css-smie--backward-token)
7154 (css-smie-rules): New functions.
7155 (css-mode): Use them.
7156 (css-navigation-syntax-table): Remove var.
7157 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7158 (css-indent-calculate, css-indent-line): Remove functions.
7160 Misc changes to reduce use of `(lambda...); and other cleanups.
7161 * cus-edit.el: Use lexical-binding.
7162 (customize-push-and-save, customize-apropos)
7163 (custom-buffer-create-internal): Use closures.
7164 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7165 * progmodes/ada-xref.el: Use setq.
7166 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7167 * dframe.el: Use lexical-binding.
7168 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7169 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7170 * descr-text.el: Use lexical-binding.
7171 (describe-text-widget, describe-text-sexp, describe-property-list):
7173 * comint.el (comint-history-isearch-push-state): Use a closure.
7174 * calculator.el: Use lexical-binding.
7175 (calculator-number-to-string): Make it work with lexical-binding.
7176 (calculator-funcall): Same and use cl-letf.
7178 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7179 (lisp--company-doc-string, lisp--company-location): New functions.
7180 (lisp-completion-at-point): Use them to improve Company support.
7182 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7183 params of lambda expressions.
7184 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7185 (ruby-smie--opening-pipe-p): New function.
7186 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7187 symbols and matched |...| for formal params.
7188 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7189 from being treated as hanging. Handle "rescue".
7191 2013-08-29 Glenn Morris <rgm@gnu.org>
7193 * progmodes/cc-engine.el (c-pull-open-brace):
7194 Move definition before use.
7196 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7198 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7199 are immutable. Don't use `unsafe' any more.
7200 (cl--defsubst-expand): Don't substitute at the same time as keeping
7201 a residual unused let-binding. Don't use `unsafe' any more.
7203 2013-08-29 Glenn Morris <rgm@gnu.org>
7205 * calendar/cal-china.el (calendar-chinese-year-cache):
7208 * nxml/nxml-util.el (nxml-debug-clear-inside):
7209 Use cl-loop rather than loop.
7211 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7213 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7215 2013-08-28 Glenn Morris <rgm@gnu.org>
7217 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7219 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7221 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7223 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7225 * simple.el (repeat-complex-command--called-interactively-skip):
7227 (repeat-complex-command): Use it (bug#14136).
7229 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7230 (c-define-abbrev-table): Add `doc' argument.
7231 (c-mode-abbrev-table, c++-mode-abbrev-table)
7232 (objc-mode-abbrev-table, java-mode-abbrev-table)
7233 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7234 (awk-mode-abbrev-table): Use it.
7235 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7236 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7237 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7238 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7239 Move initialization into the declaration; and remove any
7242 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7243 and dynamic let binding.
7245 * vc/smerge-mode.el: Remove redundant :group args.
7247 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7250 2013-08-28 Juri Linkov <juri@jurta.org>
7252 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7253 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7254 (isearch-other-meta-char): Handle an undefined shifted printing
7255 character by downshifting it. (Bug#15200)
7257 2013-08-28 Juri Linkov <juri@jurta.org>
7259 * isearch.el (isearch-search): Change regexp error message for
7260 non-regexp searches. (Bug#15166)
7262 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7264 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7265 for portability to hosts where /bin/sh has problems.
7267 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7269 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7271 2013-08-27 Juri Linkov <juri@jurta.org>
7273 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7274 in the keyboard macro. (Bug#15126)
7276 2013-08-27 Juri Linkov <juri@jurta.org>
7278 * isearch.el (isearch-quote-char): Comment out converting unibyte
7279 to multibyte, thus syncing with its `quoted-insert' counterpart.
7282 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7284 * window.el (display-buffer-use-some-window): Add missing
7285 argument in call of get-largest-window (Bug#15185).
7286 Reported by Stephen Leake.
7288 2013-08-27 Glenn Morris <rgm@gnu.org>
7290 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7292 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7294 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7295 from a matcher-function unless there's no more matches (bug#15161).
7297 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7299 * minibuffer.el: Revert change from 2013-08-20.
7301 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7302 with text property `tramp-default', if appropriate.
7303 (tramp-check-proper-host): New defun.
7304 (tramp-dissect-file-name): Do not check hostname. Revert change
7306 (tramp-backtrace): Make VEC-OR-PROC optional.
7308 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7309 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7310 * net/tramp-sh.el (tramp-maybe-open-connection):
7311 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7312 Apply `tramp-check-proper-host'.
7314 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7316 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7317 lambda expression in order to have `describe-variable' display it.
7319 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7321 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7322 BUF can be optional. (Bug#15186)
7324 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7326 * progmodes/flymake.el (flymake-get-real-file-name-function):
7327 Fix broken customization. (Bug#15184)
7329 2013-08-25 Alan Mackenzie <acm@muc.de>
7331 Improve indentation of bracelists defined by macros (without "=").
7333 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7334 expansion begins with "{", regard it as bracelist when it doesn't
7337 Parse C++ inher-intro when there's a template split over 2 lines.
7339 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7340 rigorously the search for "class" etc. followed by ":".
7342 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7343 random languages a regexp which never matches rather than nil.
7345 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7347 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7348 (c-awk-regexp-one-line-possibly-open-char-list-re)
7349 (c-awk-one-line-possibly-open-regexp-re)
7350 (c-awk-one-line-non-syn-ws*-re): Remove.
7351 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7352 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7353 (c-awk-space*-unclosed-regexp-/-re): New constants.
7354 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7355 aren't regexp delimiters.
7357 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7358 handling for a rare situation in AWK Mode involving unterminated
7361 2013-08-23 Glenn Morris <rgm@gnu.org>
7363 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7365 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7367 * files.el (create-file-buffer): If the result would begin with
7368 spaces, prepend a "|" instead of removing them. (Bug#15162)
7370 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7373 text-properties (bug#15155).
7375 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7377 (calc-keypad-redraw): Remove unused var `pad'.
7378 (calc-keypad-press): Remove unused var `menu'.
7380 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7382 * window.el (display-buffer-pop-up-frame):
7383 Call pop-up-frame-function with BUFFER current so `make-frame' will
7384 use it as the new frame's buffer (Bug#15133).
7386 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * calendar/timeclock.el: Minor cleanups.
7389 (timeclock-ask-before-exiting, timeclock-use-display-time):
7391 (timeclock-modeline-display): Define as alias before the
7393 (timeclock-mode-line-display): Use define-minor-mode.
7394 (timeclock-day-list-template): Make it a function, add an argument.
7395 (timeclock-day-list-required, timeclock-day-list-length)
7396 (timeclock-day-list-debt, timeclock-day-list-span)
7397 (timeclock-day-list-break): Adjust calls accordingly.
7399 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7401 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7402 Use read--expression so that completion works again.
7404 2013-08-21 Sam Steingold <sds@gnu.org>
7406 Add rudimentary inferior shell interaction
7407 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7408 (sh-set-shell): Reset it.
7409 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7410 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7412 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * align.el: Use lexical-binding.
7415 (align-region): Simplify accordingly.
7417 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7419 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7421 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7424 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7428 * net/tramp-cmds.el:
7430 * net/tramp-gvfs.el:
7432 * net/tramp-sh.el: Don't wrap external variable declarations by
7433 `eval-when-compile'.
7435 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7437 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7438 now that Emacs supports ImageMagick animations.
7440 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7442 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7443 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7445 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7447 * window.el (mouse-autoselect-window-select): Do autoselect when
7448 mouse pointer is on margin.
7450 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7452 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7454 2013-08-16 Glenn Morris <rgm@gnu.org>
7456 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7457 Handle "Remote Directory" response of some clients. (Bug#15058)
7459 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7460 Tweak warning. (Bug#14926)
7462 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7463 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7465 * image-mode.el (image-mode-map): Add menu items to reverse,
7466 increase, decrease, reset animation speed.
7467 (image--set-speed, image-increase-speed, image-decrease-speed)
7468 (image-reverse-speed, image-reset-speed): New functions.
7469 (image-mode-map): Add bindings for speed commands.
7471 * image.el (image-animate-get-speed, image-animate-set-speed):
7473 (image-animate-timeout): Respect image :speed property.
7475 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7478 previous line (bug#15101).
7479 (debugger-eval-expression, debugger-record-expression):
7480 Use read--expression (bug#15102).
7482 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7484 Remove byte compiler warnings, visible when compiling with
7485 `byte-compile-force-lexical-warnings' set to t.
7487 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7488 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7489 (tramp-handle-unhandled-file-name-directory)
7490 (tramp-handle-file-notify-add-watch, tramp-action-login)
7491 (tramp-action-succeed, tramp-action-permission-denied)
7492 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7495 * net/tramp-adb.el (tramp-adb-parse-device-names)
7496 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7497 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7498 (tramp-adb-handle-file-truename): Remove unused arguments.
7500 * net/tramp-cache.el (tramp-flush-directory-property)
7501 (tramp-flush-connection-property, tramp-list-connections)
7502 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7504 * net/tramp-compat.el (tramp-compat-make-temp-file):
7505 Rename FILENAME to F.
7507 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7508 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7509 (tramp-zeroconf-parse-workstation-device-names)
7510 (tramp-zeroconf-parse-webdav-device-names)
7511 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7513 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7514 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7516 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7518 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7519 (tramp-sh-handle-insert-file-contents-literally)
7520 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7522 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7523 Remove unused variables.
7525 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7526 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7527 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7529 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7530 Make them a defconst.
7531 (tramp-uuencode-region): Remove unused variable.
7533 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7535 * frameset.el (frameset--prop-setter): New function.
7536 (frameset-prop): Add gv-setter declaration.
7537 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7538 parameter was already set in FILTERED. Doc fix.
7539 (frameset--record-minibuffer-relationships): Allow saving a
7540 minibufferless frame without its corresponding minibuffer frame.
7541 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7542 frame, if the frame id matches.
7543 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7544 frames before orphaned ones.
7545 (frameset-restore): Warn about orphaned windows, instead of error out.
7547 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7549 * window.el (window-make-atom): Don't overwrite parameter
7551 (display-buffer-in-atom-window): Handle special case where we
7552 split an already atomic window.
7553 (window--major-non-side-window, display-buffer-in-side-window)
7554 (window--side-check): Ignore minibuffer window when walking
7556 (window-deletable-p): Return 'frame only if no other frame uses
7557 our minibuffer window.
7558 (record-window-buffer): Run buffer-list-update-hook.
7559 (split-window): Make sure window--check-frame won't destroy an
7560 existing atomic window in case the new window gets nested
7562 (display-buffer-at-bottom): Ignore minibuffer window when
7563 walking window tree. Don't split a side window.
7564 (pop-to-buffer): Don't set-buffer here, the select-window call
7566 (mouse-autoselect-window-select): Autoselect only if we are in the
7567 text portion of the window.
7569 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7571 * net/shr.el (shr-parse-image-data): New function to grab both the
7572 data itself and the Content-Type.
7573 (shr-put-image): Use it.
7575 * net/eww.el (eww-display-image): Ditto.
7577 * image.el (image-content-type-suffixes): New variable.
7579 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7581 * progmodes/python.el (python-imenu--build-tree)
7582 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7584 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7586 * simple.el (backward-word): Mention the optional argument.
7588 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7590 * frameset.el (frameset--make): Rename constructor from make-frameset.
7591 (frameset-p, frameset-valid-p): Don't autoload.
7592 (frameset-valid-p): Use normal accessors.
7594 2013-08-13 Glenn Morris <rgm@gnu.org>
7596 * progmodes/compile.el (compile-command): Tweak example in doc.
7597 * obsolete/scribe.el (scribe-mode):
7598 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7600 * mail/feedmail.el (feedmail-confirm-outgoing)
7601 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7603 * cus-start.el (truncate-partial-width-windows): Fix type.
7605 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7607 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7609 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * emacs-lisp/timer.el (timer--time-setter): New function.
7612 (timer--time): Use it as gv-setter.
7614 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7615 setter is not a symbol.
7617 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7619 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7620 if sending fails. This makes debugging easier.
7622 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7624 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7625 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7626 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7628 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7630 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7632 2013-08-12 Glenn Morris <rgm@gnu.org>
7634 * format.el (format-annotate-function):
7635 Handle read-only text properties in the source. (Bug#14887)
7637 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7639 * net/eww.el (eww-display-html): Ignore coding system errors.
7640 One web site uses "utf-8lias" as the coding system.
7642 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7644 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7646 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7648 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7649 (tutorial--detailed-help): Remove unused local variables.
7650 (tutorial--save-tutorial-to): Use ignore-errors.
7651 (help-with-tutorial): Use looking-at-p.
7653 * view.el (view-buffer-other-window, view-buffer-other-frame):
7654 Mark unused arguments.
7656 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7657 (woman-select-symbol-fonts, woman, woman-find-file)
7658 (woman-insert-file-contents, woman-non-underline-faces):
7660 (woman1-unquote): Move declaration.
7662 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7663 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7664 argument. Remove unused local variable.
7665 (xml-parse-elem-type): Use string-match-p.
7666 (xml-substitute-numeric-entities): Use ignore-errors.
7668 * calculator.el (calculator): Mark unused argument.
7669 (calculator-paste, calculator-quit, calculator-integer-p):
7671 (calculator-string-to-number, calculator-decimal, calculator-exp)
7672 (calculator-op-or-exp): Use string-match-p.
7674 * dired.el (dired-buffer-more-recently-used-p): Declare.
7675 (dired-insert-set-properties, dired-insert-old-subdirs):
7678 * dired-aux.el (dired-compress): Use ignore-errors.
7679 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7680 (dired-do-async-shell-command, dired-do-shell-command)
7681 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7682 (dired-insert-subdir-validate): Use string-match-p.
7683 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7684 (dired-add-entry): Use string-match-p, looking-at-p.
7685 (dired-insert-subdir-newpos): Remove unused local variable.
7687 * filenotify.el (file-notify-callback): Remove unused local variable.
7689 * filesets.el (filesets-error): Mark unused argument.
7690 (filesets-which-command-p, filesets-filter-dir-names)
7691 (filesets-directory-files, filesets-get-external-viewer)
7692 (filesets-ingroup-get-data): Use string-match-p.
7694 * find-file.el (ff-other-file-name, ff-other-file-name)
7695 (ff-find-the-other-file, ff-cc-hh-converter):
7696 Remove unused local variables.
7697 (ff-get-file-name): Use string-match-p.
7698 (ff-all-dirs-under): Use ignore-errors.
7700 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7701 (follow-select-if-visible): Remove unused local variable.
7703 * forms.el (read-file-filter): Move declaration.
7704 (forms--make-format, forms--make-parser, forms-insert-record):
7705 Quote function with #'.
7706 (forms--update): Use string-match-p. Quote function with #'.
7708 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7709 (help-make-xrefs): Use looking-at-p.
7710 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7712 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7713 (ibuffer-confirm-operation-on): Use string-match-p.
7715 * msb.el (msb-item-handler, msb-dired-item-handler):
7716 Mark unused arguments.
7718 * ses.el (ses-decode-cell-symbol)
7719 (ses-kill-override): Remove unused local variable.
7720 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7721 (ses-load): Use ignore-errors, looking-at-p.
7722 (ses-jump-safe): Use ignore-errors.
7723 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7725 * tabify.el (untabify, tabify): Mark unused arguments.
7727 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7728 Mark unused argument.
7729 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7730 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7732 * emacs-lisp/timer.el (timer--time): Define setter with
7733 gv-define-setter to avoid deprecation warning.
7735 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7736 (*record-cmpl-statistics-p*): Remove (was commented out).
7737 (cmpl-statistics-block): Remove (body was commented out).
7738 All callers changed.
7739 (add-completions-from-buffer, load-completions-from-file):
7740 Remove unused variables.
7742 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7744 * filecache.el (file-cache-delete-file-list):
7745 Print message only when told so.
7746 (file-cache-files-matching): Use #' in mapconcat argument.
7748 * ffap.el (ffap-url-at-point): Fix reference to variable
7749 thing-at-point-default-mail-uri-scheme.
7751 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7753 * subr.el (define-error): New function.
7754 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7755 error-file-not-found and define with define-error.
7756 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7757 and define with define-error.
7758 * userlock.el (file-locked, file-supersession):
7759 * simple.el (mark-inactive):
7760 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7761 * progmodes/ada-mode.el (ada-mode-errors):
7762 * play/life.el (life-extinct):
7763 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7764 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7765 * nxml/rng-util.el (rng-error):
7766 * nxml/rng-uri.el (rng-uri-error):
7767 * nxml/rng-match.el (rng-compile-error):
7768 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7769 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7770 * nxml/nxml-rap.el (nxml-scan-error):
7771 * nxml/nxml-outln.el (nxml-outline-error):
7772 * net/soap-client.el (soap-error):
7773 * net/gnutls.el (gnutls-error):
7774 * net/ange-ftp.el (ftp-error):
7775 * mpc.el (mpc-proc-error):
7776 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7777 (json-number-format, json-string-escape, json-string-format)
7778 (json-key-format, json-object-format):
7779 * jka-compr.el (compression-error):
7780 * international/quail.el (quail-error):
7781 * international/kkc.el (kkc-error):
7782 * emacs-lisp/ert.el (ert-test-failed):
7783 * calc/calc.el (calc-error, inexact-result, math-overflow)
7785 * bookmark.el (bookmark-error-no-filename):
7786 * epg.el (epg-error): Define with define-error.
7788 * time.el (display-time-event-handler)
7789 (display-time-next-load-average): Don't call sit-for since it seems
7790 unnecessary (bug#15045).
7792 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7793 Use #' instead of ' to quote functions.
7794 (checkdoc-output-mode): Use setq-local.
7795 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7796 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7797 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7798 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7799 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7800 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7801 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7802 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7804 * ido.el (ido-completion-help): Fix up compiler warning.
7806 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7808 * frameset.el (frameset-p): Add autoload cookie.
7809 (frameset--jump-to-register): New function, based on code moved from
7811 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7813 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7814 (frameset-restore, frameset-save, frameset-session-filter-alist):
7815 Remove declarations.
7816 (register-alist): Doc fix.
7817 (frameset-to-register): Move to frameset.el.
7818 (jump-to-register, describe-register-1): Remove frameset-specific code.
7820 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7822 * allout-widgets.el (allout-widgets-pre-command-business)
7823 (allout-widgets-post-command-business)
7824 (allout-widgets-after-change-handler)
7825 (allout-decorate-item-and-context, allout-set-boundary-marker)
7826 (allout-body-modification-handler)
7827 (allout-graphics-modification-handler): Mark ignored arguments.
7828 (allout-widgets-post-command-business)
7829 (allout-widgets-exposure-change-processor)
7830 (allout-widgets-exposure-undo-processor)
7831 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7832 (allout-parse-item-at-point, allout-decorate-item-guides)
7833 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7834 * allout.el (epa-passphrase-callback-function): Declare.
7835 (allout-overlay-insert-in-front-handler)
7836 (allout-overlay-interior-modification-handler)
7837 (allout-isearch-end-handler, allout-chart-siblings)
7838 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7839 (allout-yank-processing, allout-process-exposed)
7840 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7841 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7842 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7843 (lisp-indent-defform): Mark ignored arguments.
7844 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7845 (calculate-lisp-indent): Remove unused variables.
7846 * international/characters.el (indian-2-column, arabic-2-column)
7847 (tibetan): Mark ignored arguments.
7848 (use-cjk-char-width-table): Mark ignored arguments.
7849 Remove unused variables.
7850 * international/fontset.el (build-default-fontset-data)
7851 (x-compose-font-name, create-fontset-from-fontset-spec):
7852 Mark ignored arguments.
7853 (fontset-plain-name): Remove unused variables.
7854 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7855 (keyboard-coding-system): Mark ignored arguments.
7856 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7857 * help.el (resize-temp-buffer-window):
7858 * window.el (display-buffer-in-major-side-window)
7859 (display-buffer-in-side-window, display-buffer-in-previous-window):
7860 Remove unused variables.
7861 * isearch.el (isearch-forward-symbol):
7862 * version.el (emacs-bzr-version-bzr):
7863 * international/mule-cmds.el (current-language-environment):
7864 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7866 * term/pc-win.el (x-list-fonts, x-display-planes)
7867 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7868 (x-server-version, x-display-screens, x-display-mm-height)
7869 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7870 (x-selection-owner-p, x-own-selection-internal)
7871 (x-disown-selection-internal, x-get-selection-internal)
7872 (msdos-initialize-window-system):
7873 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7874 * term/x-win.el (x-handle-no-bitmap-icon):
7875 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7876 (vc-default-find-file-hook, vc-default-extra-menu):
7877 Mark ignored arguments.
7879 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7882 break-condition in the context of the debugged code (bug#12685).
7884 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7887 Do not use an overlay to highlight the last prompt. (Bug#14744)
7888 (comint-mode): Make comint-last-prompt buffer local.
7889 (comint-last-prompt): New variable.
7890 (comint-last-prompt-overlay): Remove. Superseded by
7892 (comint-snapshot-last-prompt, comint-output-filter):
7893 Use comint-last-prompt.
7895 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7897 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7898 (frameset-save): Check validity of the resulting frameset.
7900 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7902 * ido.el (ido-record-command): Add doc string.
7904 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7906 * frameset.el (frameset): Do not disable creation of the default
7907 frameset-p predicate. Doc fix.
7908 (frameset-valid-p): New function, copied from the old predicate-p.
7909 Add additional checks.
7910 (frameset-restore): Check with frameset-valid-p.
7911 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7912 (frameset-name, frameset-description, frameset-properties)
7913 (frameset-states): Add docstring.
7914 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7915 (frameset-filter-alist): Doc fixes.
7917 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7919 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7921 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7923 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7924 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7925 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7926 (byte-compile-normal-call): Remove obsolescence check.
7928 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7930 * frameset.el (frameset-restore): Doc fix.
7932 * register.el (frameset-frame-id, frameset-frame-with-id)
7933 (frameset-p, frameset-restore, frameset-save): Declare.
7934 (register-alist): Document framesets.
7935 (frameset-session-filter-alist): Declare.
7936 (frameset-to-register): New function.
7937 (jump-to-register): Implement jumping to framesets. Doc fix.
7938 (describe-register-1): Describe framesets.
7940 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7942 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7944 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7945 Use lexical-binding.
7947 * frameset.el (frameset): Use type vector, not list (incompatible
7948 change). Do not declare a new constructor, use the default one.
7949 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7950 `name' and `description', respectively, and add read-only slot
7951 `timestamp'. Doc fixes.
7952 (frameset-copy, frameset-persistent-filter-alist)
7953 (frameset-filter-alist, frameset-switch-to-gui-p)
7954 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7955 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7956 (frameset-filter-iconified, frameset-keep-original-display-p):
7958 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7959 Rename from frameset-filter-(save|restore)-param. All callers changed.
7961 (frameset-p): Adapt to change to vector and be more thorough.
7962 Change arg name to OBJECT. Doc fix.
7963 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7964 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7965 All callers changed.
7966 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7967 All callers changed.
7968 (frameset--record-minibuffer-relationships): Rename from
7969 frameset--process-minibuffer-frames. All callers changed.
7970 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7971 Use new default constructor (again). Doc fix.
7972 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7973 All callers changed.
7974 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7975 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7977 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7978 PARAMETERS and WINDOW-STATE, respectively.
7979 (frameset-restore): Add new keyword argument PREDICATE.
7980 Reset frameset--target-display to nil. Doc fix.
7982 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7986 (bat-mode-syntax-table): Mark \n as end-of-comment.
7987 (bat-font-lock-keywords): Remove comment rule.
7989 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7990 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7992 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7993 (byte-compile-callargs-warn): Use `push'.
7994 (byte-compile-arglist-warn): Ignore higher-order "calls".
7995 (byte-compile-file-form-autoload): Use `pcase'.
7996 (byte-compile-function-form): If quoting a symbol, check that it exists.
7998 2013-08-07 Eli Zaretskii <eliz@gnu.org>
8000 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
8001 and add a few popular commands found in batch files.
8002 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
8003 (dos-mode): Doc fixes.
8005 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
8008 (dos-mode): Use setq-local. Add space after "rem".
8009 (dos-mode-syntax-table): Don't use "w" for symbol chars.
8010 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
8012 2013-08-07 Arni Magnusson <arnima@hafro.is>
8014 * progmodes/dos.el: New file.
8015 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
8018 2013-08-06 Glenn Morris <rgm@gnu.org>
8020 * calendar/calendar.el: Add new faces, and day-header-array.
8021 (calendar-weekday-header, calendar-weekend-header)
8022 (calendar-month-header): New faces.
8023 (calendar-day-header-construct): New function.
8024 (calendar-day-header-width): Also :set calendar-day-header-array.
8025 (calendar-american-month-header, calendar-european-month-header)
8026 (calendar-iso-month-header): Use calendar- faces.
8027 (calendar-generate-month):
8028 Use calendar-day-header-array for day headers; apply faces to them.
8029 (calendar-mode): Check calendar-font-lock-keywords non-nil.
8030 (calendar-abbrev-construct): Add optional maxlen argument.
8031 (calendar-day-name-array): Doc fix.
8032 (calendar-day-name-array, calendar-abbrev-length)
8033 (calendar-day-abbrev-array):
8034 Also :set calendar-day-header-array, and maybe redraw.
8035 (calendar-day-header-array): New option. (Bug#15007)
8036 (calendar-font-lock-keywords): Set to nil and make obsolete.
8037 (calendar-day-name): Add option to use header array.
8039 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8041 * net/shr.el (shr-render-td): Remove debugging.
8042 (shr-render-td): Make width computation consistent by defaulting
8043 all zero-width columns to 10 characters. This may not be optimal,
8044 but it's at least consistent.
8045 (shr-make-table-1): Redo last change to fix the real problem in
8048 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8050 * files.el (cache-long-line-scans):
8051 Make obsolete alias to `cache-long-scans'.
8053 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8055 * frameset.el (frameset, frameset-filter-alist)
8056 (frameset-filter-params, frameset-save, frameset--reuse-frame)
8057 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
8058 (frameset-compute-pos): Rename from frameset--compute-pos,
8060 (frameset-move-onscreen): Use frameset-compute-pos.
8061 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8063 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
8064 Fix typos in docstrings.
8066 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
8068 * frame.el (get-other-frame): Tiny cleanup.
8070 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
8072 * vc/vc.el (vc-default-ignore-completion-table):
8073 Silence byte-compiler warning.
8075 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
8076 slot, which can indeed be nil.
8077 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8078 Move entry for `left' from persistent to live filter alist.
8079 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
8081 (frameset-filter-params): When restoring a frame, copy items added to
8082 `filtered', to avoid unwittingly modifying the original parameters.
8083 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
8084 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8086 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8087 to use looking-at-p instead of looking-at. (Bug#15028)
8089 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8091 Revert introduction of isearch-filter-predicates (bug#14714).
8092 Rely on add-function instead.
8093 * isearch.el (isearch-filter-predicates): Rename it back to
8094 isearch-filter-predicate.
8095 (isearch-message-prefix): Use advice-function-mapc and advice
8096 properties to get the isearch-message-prefix.
8097 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8098 instead of run-hook-with-args-until-failure.
8099 (isearch-filter-visible): Not obsolete any more.
8100 * loadup.el: Preload nadvice.
8101 * replace.el (perform-replace): Revert to funcall
8102 instead of run-hook-with-args-until-failure.
8103 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8104 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8105 dired-isearch-filenames-toggle; make it into a proper minor mode.
8106 Use add/remove-function.
8107 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8108 Call the minor-mode rather than add/remove-hook.
8109 (dired-isearch-filter-filenames):
8110 Remove isearch-message-prefix property.
8111 * info.el (Info--search-loop): New function, extracted from Info-search.
8112 Funcall isearch-filter-predicate instead of
8113 run-hook-with-args-until-failure isearch-filter-predicates.
8114 (Info-search): Use it.
8115 (Info-mode): Use isearch-filter-predicate instead of
8116 isearch-filter-predicates.
8118 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8120 Do not call to `selected-window' where it is assumed by default.
8121 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8122 `window-hscroll', `window-width', `window-height', `window-buffer',
8123 `window-frame', `window-start', `window-point', `next-window'
8124 and `window-display-table'.
8125 * abbrev.el (abbrev--default-expand):
8126 * bs.el (bs--show-with-configuration):
8127 * buff-menu.el (Buffer-menu-mouse-select):
8128 * calc/calc.el (calc):
8129 * calendar/calendar.el (calendar-generate-window):
8130 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8132 * comint.el (send-invisible, comint-dynamic-complete-filename)
8133 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8134 * completion.el (complete):
8135 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8136 * disp-table.el (describe-current-display-table):
8137 * doc-view.el (doc-view-insert-image):
8138 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8139 * ehelp.el (with-electric-help):
8140 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8141 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8142 * emacs-lisp/helper.el (Helper-help-scroller):
8143 * emulation/cua-base.el (cua--post-command-handler-1):
8144 * eshell/esh-mode.el (eshell-output-filter):
8145 * ffap.el (ffap-gnus-wrapper):
8146 * help-macro.el (make-help-screen):
8147 * hilit-chg.el (highlight-compare-buffers):
8148 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8149 * hl-line.el (global-hl-line-highlight):
8150 * icomplete.el (icomplete-simple-completing-p):
8151 * isearch.el (isearch-done):
8152 * jit-lock.el (jit-lock-stealth-fontify):
8153 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8154 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8155 * mpc.el (mpc-tagbrowser, mpc):
8156 * net/rcirc.el (rcirc-any-buffer):
8157 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8158 * play/landmark.el (landmark-max-width, landmark-max-height):
8159 * play/zone.el (zone):
8160 * progmodes/compile.el (compilation-goto-locus):
8161 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8162 * progmodes/etags.el (find-tag-other-window):
8163 * progmodes/fortran.el (fortran-column-ruler):
8164 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8165 * progmodes/verilog-mode.el (verilog-point-text):
8166 * reposition.el (reposition-window):
8167 * rot13.el (toggle-rot13-mode):
8168 * server.el (server-switch-buffer):
8169 * shell.el (shell-dynamic-complete-command)
8170 (shell-dynamic-complete-environment-variable):
8171 * simple.el (insert-buffer, set-selective-display)
8172 (delete-completion-window):
8173 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8174 (speedbar-recenter):
8175 * startup.el (fancy-splash-head):
8176 * textmodes/ispell.el (ispell-command-loop):
8177 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8178 * tutorial.el (help-with-tutorial):
8179 * vc/add-log.el (add-change-log-entry):
8180 * vc/compare-w.el (compare-windows):
8181 * vc/ediff-help.el (ediff-indent-help-message):
8182 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8183 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8184 (ediff-setup-control-frame):
8185 * vc/emerge.el (emerge-position-region):
8186 * vc/pcvs-util.el (cvs-bury-buffer):
8187 * window.el (walk-windows, mouse-autoselect-window-select):
8188 * winner.el (winner-set-conf, winner-undo): Related users changed.
8190 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8192 * frameset.el (frameset--set-id): Doc fix.
8193 (frameset-frame-id, frameset-frame-id-equal-p)
8194 (frameset-locate-frame-id): New functions.
8195 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8196 (frameset-restore): Use them.
8198 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8200 Do not call to `selected-frame' where it is assumed by default.
8201 Affected functions are `raise-frame', `redraw-frame',
8202 `frame-first-window', `frame-terminal' and `delete-frame'.
8203 * calendar/appt.el (appt-disp-window):
8204 * epg.el (epg-wait-for-completion):
8205 * follow.el (follow-delete-other-windows-and-split)
8206 (follow-avoid-tail-recenter):
8207 * international/mule.el (set-terminal-coding-system):
8208 * mail/rmail.el (rmail-mail-return):
8209 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8210 * progmodes/f90.el (f90-add-imenu-menu):
8211 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8212 * server.el (server-switch-buffer):
8213 * simple.el (delete-completion-window):
8215 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8216 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8217 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8218 * vc/ediff.el (ediff-documentation): Related users changed.
8219 * frame.el (selected-terminal): Remove the leftover.
8221 2013-08-05 Glenn Morris <rgm@gnu.org>
8223 * calendar/calendar.el (calendar-generate-month):
8224 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8225 (calendar-generate-month, calendar-font-lock-keywords):
8226 Fix for calendar-day-header-width > length of any day name.
8228 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8230 * desktop.el (desktop-clear): Use new name of sort predicate.
8232 * frameset.el (frameset): Add docstring. Move :version property to its
8234 (frameset-copy): Rename from copy-frameset.
8235 (frameset-p): Check more thoroughly.
8236 (frameset-prop): Do not check for :version, which is no longer a prop.
8237 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8238 Use new :never value instead of t.
8239 (frameset-filter-alist): Expand and clarify docstring.
8240 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8241 (frameset-filter-minibuffer, frameset-filter-save-param)
8242 (frameset-filter-restore-param, frameset-filter-iconified):
8243 Add pointer to docstring of frameset-filter-alist.
8244 (frameset-filter-params): Rename filter values to be more meaningful:
8245 :never instead of t, and reverse the meanings of :save and :restore.
8246 (frameset--process-minibuffer-frames): Clarify error message.
8247 (frameset-save): Avoid unnecessary and confusing call to framep.
8248 Use new BOA constructor for framesets.
8249 (frameset--reuse-list): Doc fix.
8250 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8251 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8252 (frameset-minibufferless-first-p): Doc fix.
8253 Rename from frameset-sort-frames-for-deletion.
8254 (frameset-restore): Doc fixes. Use new function names.
8255 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8257 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8259 * desktop.el (desktop-restore-forces-onscreen)
8260 (desktop-restore-reuses-frames): Document :keyword constant values.
8261 (desktop-filter-parameters-alist): Remove, now identical to
8262 frameset-filter-alist.
8263 (desktop--filter-tty*): Remove, moved to frameset.el.
8264 (desktop-save-frameset, desktop-restore-frameset):
8265 Do not pass :filters argument.
8267 * frameset.el (frameset-live-filter-alist)
8268 (frameset-persistent-filter-alist): New variables.
8269 (frameset-filter-alist): Use them. Add autoload cookie.
8270 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8271 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8272 `frameset--id' (it's supposed to be internal to frameset.el).
8273 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8274 (frameset--initial-params): New function.
8275 (frameset--get-frame): Use it. Doc fix.
8276 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8277 Accept :all, not 'all.
8278 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8279 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8280 with fbound symbols. Fix frame id matching, and remove matching ids if
8281 the frame being restored is deleted. Obey :delete.
8283 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8285 * subr.el (macrop): New function.
8286 (text-clone--maintaining): New var.
8287 (text-clone--maintain): Rename from text-clone-maintain. Use it
8288 instead of inhibit-modification-hooks.
8290 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8291 a proxy, so as handle autoloads and redefinitions of the target.
8292 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8294 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8295 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8296 (pcase--mutually-exclusive-p): New function.
8297 (pcase--split-consp): Use it.
8298 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8299 mutually exclusive with the current predicate.
8301 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8302 (edebug-macrop): Remove. Use `macrop' instead.
8303 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8305 * eshell/esh-cmd.el (eshell-macrop):
8306 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8308 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8310 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8311 (advice-mapc): New function, using it.
8312 (advice-function-member-p): New function.
8313 (advice--normalize): Store the cdr in advice--saved-rewrite since
8314 that's the part that will be changed.
8315 (advice--symbol-function): New function.
8316 (advice-remove): Handle removal before the function is defined.
8317 Adjust to new advice--saved-rewrite.
8318 (advice-member-p): Use advice-function-member-p and
8319 advice--symbol-function.
8321 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8323 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8324 (frameset-filter-minibuffer): Doc fix.
8325 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8326 (frameset--set-id, frameset--process-minibuffer-frames)
8327 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8328 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8330 * desktop.el (desktop-clear): Only delete frames when called
8331 interactively and desktop-restore-frames is non-nil. Doc fix.
8332 (desktop-read): Set desktop-saved-frameset to nil.
8334 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8336 * vc/vc.el (vc-ignore): Rewrite.
8337 (vc-default-ignore-completion-table, vc--read-lines)
8338 (vc--add-line, vc--remove-regexp): New functions.
8340 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8341 (vc-svn-ignore-completion-table): New function.
8343 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8344 (vc-hg-ignore-completion-table)
8345 (vc-hg-find-ignore-file): New functions.
8347 * vc/vc-git.el (vc-git-ignore): Rewrite.
8348 (vc-git-ignore-completion-table)
8349 (vc-git-find-ignore-file): New functions.
8351 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8353 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8354 (vc-bzr-ignore-completion-table)
8355 (vc-bzr-find-ignore-file): New functions.
8357 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8359 * frameset.el (frameset-prop): New function and setter.
8360 (frameset-save): Do not modify frame list passed by the caller.
8362 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8364 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8366 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8368 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8369 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8371 * custom.el (custom-initialize-default, custom-initialize-set)
8372 (custom-initialize-reset, custom-initialize-changed): Affect the
8373 toplevel-default-value (bug#6275, bug#14586).
8374 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8377 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8379 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8380 Add cl-def* expressions.
8382 * frameset.el (frameset-filter-params): Fix order of arguments.
8384 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8386 Move code related to saving frames to frameset.el.
8387 * desktop.el: Require frameset.
8388 (desktop-restore-frames): Doc fix.
8389 (desktop-restore-reuses-frames): Rename from
8390 desktop-restoring-reuses-frames.
8391 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8392 (desktop-clear): Clear frames too.
8393 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8394 (desktop--filter-tty*, desktop-save, desktop-read):
8395 Use frameset functions.
8396 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8397 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8398 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8399 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8400 (desktop--process-minibuffer-frames, desktop-save-frames)
8401 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8402 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8403 (desktop--sort-states, desktop-restoring-frames-p)
8404 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8405 (desktop-restoring-frameset-p, desktop-restore-frameset)
8406 (desktop--check-dont-save, desktop-save-frameset): New functions.
8407 (desktop--app-id): New constant.
8408 (desktop-first-buffer, desktop-buffer-ok-count)
8409 (desktop-buffer-fail-count): Move before first use.
8410 * frameset.el: New file.
8412 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8414 * files.el: Use lexical-binding.
8415 (dir-locals-read-from-file): Remove unused `err' variable.
8416 (hack-dir-local-variables--warned-coding): New var.
8417 (hack-dir-local-variables): Use it to avoid repeated warnings.
8418 (make-backup-file-name--default-function): New function.
8419 (make-backup-file-name-function): Use it as default.
8420 (buffer-stale--default-function): New function.
8421 (buffer-stale-function): Use it as default.
8422 (revert-buffer-insert-file-contents--default-function): New function.
8423 (revert-buffer-insert-file-contents-function): Use it as default.
8424 (insert-directory): Avoid add-to-list.
8426 * autorevert.el (auto-revert-handler): Simplify.
8427 Use buffer-stale--default-function.
8429 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8431 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8433 * whitespace.el (whitespace-ensure-local-variables): New function.
8434 (whitespace-cleanup-region): Call it.
8435 (whitespace-turn-on): Call it.
8437 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8439 Complete file name handlers.
8441 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8442 (tramp-handle-verify-visited-file-modtime)
8443 (tramp-handle-file-notify-rm-watch): New functions.
8444 (tramp-call-process): Do not bind `default-directory'.
8446 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8447 Order alphabetically.
8448 <access-file, add-name-to-file, dired-call-process>:
8449 <dired-compress-file, file-acl, file-notify-rm-watch>:
8450 <file-ownership-preserved-p, file-selinux-context>:
8451 <make-directory-internal, make-symbolic-link, set-file-acl>:
8452 <set-file-selinux-context, set-visited-file-modtime>:
8453 <verify-visited-file-modtime>: Add handler.
8454 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8456 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8457 <file-notify-add-watch, file-notify-rm-watch>:
8458 <set-file-times, set-visited-file-modtime>:
8459 <verify-visited-file-modtime>: Add handler.
8460 (with-tramp-gvfs-error-message)
8461 (tramp-gvfs-handle-set-visited-file-modtime)
8462 (tramp-gvfs-fuse-file-name): Remove.
8463 (tramp-gvfs-handle-file-notify-add-watch)
8464 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8465 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8468 Order alphabetically.
8469 <file-notify-rm-watch>: Use default Tramp handler.
8470 <executable-find>: Remove private handler.
8471 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8472 `default-directory'.
8473 (tramp-sh-handle-executable-find)
8474 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8475 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8476 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8477 Do not use `format' in `tramp-message'.
8479 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8480 <file-notify-rm-watch, set-visited-file-modtime>:
8481 <verify-visited-file-modtime>: Add handler.
8482 (tramp-smb-call-winexe): Do not bind `default-directory'.
8484 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8486 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8488 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8490 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8492 (log-view-diff-changeset): Same.
8493 (log-view-diff-common): Call backend command `previous-revision'
8494 to find out the previous revision, in both cases. Swap the
8495 variables `to' and `fr', so that `fr' usually refers to the
8496 earlier revision (Bug#14989).
8498 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8500 * ibuf-ext.el (ibuffer-filter-by-filename):
8501 Make it work with dired buffers too.
8503 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8505 * emacs-lisp/re-builder.el (reb-color-display-p):
8506 * files.el (save-buffers-kill-terminal):
8507 * net/browse-url.el (browse-url):
8508 * server.el (server-save-buffers-kill-terminal):
8509 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8510 Prefer nil to selected-frame for the first arg of frame-parameter.
8512 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8514 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8516 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8518 * minibuffer.el (completion--twq-all): Try and preserve each
8519 completion's case choice (bug#14907).
8521 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8523 * net/network-stream.el (open-network-stream): Mention the new
8524 :nogreeting parameter.
8525 (network-stream-open-starttls): Use the :nogreeting parameter
8528 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8530 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8531 more natural than popping.
8533 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8534 (shr-urlify): Highlight under mouse.
8536 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8538 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8540 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8542 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8545 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8546 point-min==1. Fix search string. Fix parentheses missing.
8548 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8549 assume point-min==1. Fix search string. Fix parentheses missing.
8551 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8553 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8556 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8558 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8559 initial frame is minibuffer-less. (Bug#14841)
8561 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8567 (tramp-maybe-open-connection): Use it.
8569 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8571 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8572 minimal set of parameters passed when creating a frame, because
8573 the minibuffer status of a frame cannot be changed later.
8575 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8577 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8578 replace-regexp-in-string and inadvertent omissions in previous change.
8579 (todo-filter-items): Ensure only file names are comma-separated in
8580 name of filtered items buffer.
8582 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8584 * desktop.el: Optionally force offscreen frames back onscreen.
8585 (desktop-restoring-reuses-frames): New option.
8586 (desktop--compute-pos, desktop--move-onscreen): New functions.
8587 (desktop--make-frame): Use desktop--move-onscreen.
8589 2013-07-27 Alan Mackenzie <acm@muc.de>
8591 Fontify a Java generic method as a function.
8592 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8595 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8597 * calendar/todo-mode.el: Add command to rename todo files.
8598 (todo-rename-file): New command.
8599 (todo-key-bindings-t): Add key binding for it. Change the
8600 bindings of todo-filter-regexp-items(-multifile) to use `x'
8601 instead of `r', since the latter is better suited to the new
8604 2013-07-27 Alan Mackenzie <acm@muc.de>
8606 Make Java try-with-resources statement parse properly.
8607 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8608 (c-block-stmt-1-2-key): New language constants/variables.
8609 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8610 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8611 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8612 with c-block-stmt-1-2-key.
8614 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8616 * desktop.el (desktop--make-frame): Apply most frame parameters after
8617 creating the frame to force (partially or totally) offscreen frames to
8618 be restored as such.
8620 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8622 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8625 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8628 `base' arg of backtrace-frame.
8630 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8632 * simple.el (list-processes): Doc fix.
8634 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8636 * desktop.el (desktop--select-frame):
8637 Try harder to reuse existing frames.
8639 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8642 (edebug-eval): Use backtrace-eval.
8643 (edebug--display, edebug--recursive-edit): Don't let-bind the
8644 edebug-outer-* vars that keep track of variables we locally let-bind.
8645 (edebug-outside-excursion): Don't restore outside values of locally
8647 (edebug--display): Use user-error.
8648 (cl-lexical-debug, cl-debug-env): Remove.
8650 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8652 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8653 are restored to be sure that they are visible before deleting any
8656 2013-07-26 Matthias Meulien <orontee@gmail.com>
8658 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8659 vc-print-root-log. (Bug#14948)
8661 2013-07-26 Richard Stallman <rms@gnu.org>
8663 Add aliases for encrypting mail.
8664 * epa.el (epa-mail-aliases): New option.
8665 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8666 Bind inhibit-read-only so read-only text doesn't ruin everything.
8667 (epa-mail-default-recipients): New subroutine broken out.
8668 Handle epa-mail-aliases.
8670 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8672 Add support for lexical variables to the debugger's `e' command.
8673 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8674 vars, except for debugger-outer-match-data.
8675 (debugger-frame-number): Move check for "on a function call" from
8676 callers into it. Add `skip-base' argument.
8677 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8678 (debugger-env-macro): Only reset the state stored in non-variables,
8679 i.e. current-buffer and match-data.
8680 (debugger-eval-expression): Rewrite using backtrace-eval.
8681 * subr.el (internal--called-interactively-p--get-frame): Remove.
8682 (called-interactively-p):
8683 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8684 `base' arg of backtrace-frame instead.
8686 2013-07-26 Glenn Morris <rgm@gnu.org>
8688 * align.el (align-regexp): Doc fix. (Bug#14857)
8689 (align-region): Explicit error if subexpression missing/does not match.
8691 * simple.el (global-visual-line-mode):
8692 Do not duplicate the mode lighter. (Bug#14858)
8694 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8696 * window.el (display-buffer): In display-buffer bind
8697 split-window-keep-point to t, bug#14829.
8699 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8701 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8702 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8703 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8704 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8706 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8707 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8709 2013-07-25 Glenn Morris <rgm@gnu.org>
8711 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8713 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8715 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8716 parameter to modify-frame-parameters if the value has not changed;
8717 this is a workaround for bug#14949.
8718 (desktop--make-frame): On cl-delete-if call, check parameter name,
8721 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8723 * vc/vc.el (vc-ignore): New function.
8725 * vc/vc-svn.el (vc-svn-ignore): New function.
8727 * vc/vc-hg.el (vc-hg-ignore): New function.
8729 * vc/vc-git.el (vc-git-ignore): New function.
8731 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8732 (vc-dir-ignore): New function.
8734 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8735 (cvs-append-to-ignore): Move here from pcvs.el.
8737 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8739 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8741 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8743 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8744 (desktop-restore-frames): Warn when deleting an existing frame failed.
8746 2013-07-24 Glenn Morris <rgm@gnu.org>
8748 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8750 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8752 * filenotify.el (file-notify-supported-p):
8753 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8756 * autorevert.el (auto-revert-use-notify)
8757 (auto-revert-notify-add-watch):
8758 * net/tramp.el (tramp-file-name-for-operation):
8759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8761 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8762 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8763 Remove `file-notify-supported-p' entry.
8765 2013-07-24 Glenn Morris <rgm@gnu.org>
8767 * printing.el: Replace all uses of deleted ps-windows-system,
8768 ps-lp-system, ps-flatten-list with lpr- versions.
8770 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8772 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8773 checked with memq (bug#14935).
8775 * files.el (revert-buffer-function): Use a non-nil default.
8776 (revert-buffer-preserve-modes): Declare var to
8777 provide access to the `preserve-modes' argument.
8778 (revert-buffer): Let-bind it.
8779 (revert-buffer--default): New function, extracted from revert-buffer.
8781 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * lpr.el: Signal print errors more prominently.
8784 (print-region-function): Don't default to nil.
8785 (lpr-print-region): New function, extracted from print-region-1.
8786 Check lpr's return value and signal an error in case of problem.
8787 (print-region-1): Use it.
8788 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8790 (ps-printer-name): Default to nil.
8791 (ps-printer-name-option): Default to lpr-printer-switch.
8792 (ps-print-region-function): Don't default to nil.
8793 (ps-postscript-code-directory): Simplify default.
8794 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8795 (ps-string-list, ps-eval-switch, ps-flatten-list)
8796 (ps-flatten-list-1): Remove.
8797 (ps-multibyte-buffer): Avoid setq.
8798 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8799 (print-region-function, ps-print-region-function): Don't set them here.
8801 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8803 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8804 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8805 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8806 (ido-decorations): Doc fix.
8808 * ansi-color.el: Fix old URL.
8810 2013-07-23 Michael R. Mauger <michael@mauger.com>
8812 * progmodes/sql.el: Version 3.3
8813 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8814 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8815 (sql-interactive-remove-continuation-prompt): Rewrite, use
8816 functions above. Fix continuation prompt and complete output line
8818 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8819 redirected output buffer.
8820 (sql-mode): Restore deleted code (Bug#13591).
8822 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8824 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8826 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8828 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8830 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8832 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8834 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8836 * desktop.el (desktop-clear): Simplify; remove useless checks
8837 against invalid buffer names.
8838 (desktop-list*): Use cl-list*.
8839 (desktop-buffer-info, desktop-create-buffer): Simplify.
8841 2013-07-23 Leo Liu <sdl.web@gmail.com>
8843 * bookmark.el (bookmark-make-record): Restore NAME as a default
8846 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8849 extracted from autoload--insert-text.
8850 (autoload--insert-text): Remove.
8851 (autoload--print-cookie-text): New function, extracted from
8852 autoload--insert-cookie-text.
8853 (autoload--insert-cookie-text): Remove.
8854 (autoload-generate-file-autoloads): Adjust calls accordingly.
8856 * winner.el (winner-hook-installed-p): Remove.
8857 (winner-mode): Simplify accordingly.
8859 * subr.el (add-to-list): Fix compiler-macro when `append' is
8860 not constant. Don't use `cl-member' for the base case.
8862 * progmodes/subword.el: Fix boundary case (bug#13758).
8863 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8865 (subword-backward-regexp): Make it a constant.
8866 (subword-forward-internal): Don't treat a trailing capital as the
8867 beginning of a word.
8869 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8871 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8872 global value of tabulated-list-revert-hook (bug#14930).
8874 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8876 * desktop.el: Require 'cl-lib.
8877 (desktop-before-saving-frames-functions): New hook.
8878 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8879 for frames being saved. Rename from desktop--save-minibuffer-frames.
8880 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8881 Do not save frames with non-nil `desktop-dont-save' parameter.
8882 Filter out deleted frames.
8883 (desktop--find-frame): Use cl-find-if.
8884 (desktop--select-frame): Use cl-(first|second|third) to access values
8886 (desktop--make-frame): Use cl-delete-if.
8887 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8888 (desktop-restore-frames): Use cl-(first|second|third) to access values
8889 of desktop-mini. Look for visible frame at the end, not while
8892 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8893 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8894 Use string-match-p, looking-at-p (bug#14927).
8896 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8898 * desktop.el (desktop-saved-frame-states):
8899 Rename from desktop--saved-states; all users changed.
8900 (desktop-save-frames): Rename from desktop--save-frames.
8901 Do not save state to desktop file.
8902 (desktop-save): Save desktop-saved-frame-states to desktop file
8904 (desktop-restoring-frames-p): New function.
8905 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8906 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8907 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8909 * desktop.el: Correctly restore iconified frames.
8910 (desktop--filter-iconified-position): New function.
8911 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8913 2013-07-20 Glenn Morris <rgm@gnu.org>
8915 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8916 Let `message' do the formatting.
8917 (def-gdb-preempt-display-buffer): Add explicit format.
8919 * image-dired.el (image-dired-track-original-file):
8920 Use with-current-buffer.
8921 (image-dired-track-thumbnail): Use with-current-buffer.
8922 Avoid changing point of wrong window.
8924 * image-dired.el (image-dired-track-original-file):
8925 Avoid changing point of wrong window. (Bug#14909)
8927 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8929 * progmodes/gdb-mi.el (gdb-done-or-error):
8930 Guard against "%" in gdb output. (Bug#14127)
8932 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8934 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8937 * international/mule.el (coding-system-iso-2022-flags): Fix last
8940 2013-07-20 Kenichi Handa <handa@gnu.org>
8942 * international/mule.el (coding-system-iso-2022-flags):
8943 Add `8-bit-level-4'. (Bug#8522)
8945 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8947 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8950 * net/eww.el (eww-process-text-input): Allow inputting when the
8951 point is at the start of the line, as the properties aren't
8954 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8957 2013-07-19 Richard Stallman <rms@gnu.org>
8959 * epa.el (epa-popup-info-window): Doc fix.
8961 * subr.el (split-string): New arg TRIM.
8963 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8965 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8966 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8968 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8970 * filenotify.el (file-notify--library): Rename from
8971 `file-notify-support'. Do not autoload. Adapt all uses.
8972 (file-notify-supported-p): New defun.
8974 * autorevert.el (auto-revert-use-notify):
8975 Use `file-notify-supported-p' instead of `file-notify-support'.
8977 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8979 * net/tramp.el (tramp-file-name-for-operation):
8980 Add `file-notify-supported-p'.
8982 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8984 (tramp-sh-file-name-handler-alist): Add it as handler for
8985 `file-notify-supported-p '.
8987 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8989 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8990 Add `ignore' as handler for `file-notify-*' functions.
8992 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8994 * simple.el (line-move-partial, line-move): Don't start vscroll or
8995 scroll-up if the current line is not taller than the window.
8998 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
9000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
9001 highlight question marks in the method names as strings.
9002 (ruby-block-beg-keywords): Inline.
9003 (ruby-font-lock-keyword-beg-re): Extract from
9004 `ruby-font-lock-keywords'.
9006 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
9008 * frame.el (blink-cursor-blinks): New defcustom.
9009 (blink-cursor-blinks-done): New defvar.
9010 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
9011 (blink-cursor-timer-function): Check if number of blinks has been
9013 (blink-cursor-suspend, blink-cursor-check): New defuns.
9015 2013-07-15 Glenn Morris <rgm@gnu.org>
9017 * edmacro.el (edmacro-format-keys): Fix previous change.
9019 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
9021 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
9022 The hack didn't work outside English locales anyway.
9024 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
9026 * simple.el (define-alternatives): Rename from alternatives-define,
9027 per RMS' suggestion.
9029 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
9031 * desktop.el (desktop-restore-frames): Change default to t.
9032 (desktop-restore-in-current-display): Now offer more options.
9033 (desktop-restoring-reuses-frames): New customization option.
9034 (desktop--saved-states): Doc fix.
9035 (desktop-filter-parameters-alist): New variable, renamed and expanded
9036 from desktop--excluded-frame-parameters.
9037 (desktop--target-display): New variable.
9038 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
9039 (desktop--filter-tty*, desktop--filter-*-color)
9040 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9041 (desktop--filter-save-desktop-parm)
9042 (desktop-restore-in-original-display-p): New functions.
9043 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
9044 (desktop--save-minibuffer-frames): New function, inspired by a similar
9045 function from Martin Rudalics.
9046 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
9047 (desktop--restore-in-this-display-p): Remove.
9048 (desktop--find-frame): Rename from desktop--find-frame-in-display
9049 and add predicate argument.
9050 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
9051 (desktop--reuse-list): New variable.
9052 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
9054 (desktop--restore-frames): Add support for "minibuffer-special" frames.
9056 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
9058 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
9060 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
9062 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9063 Highlight conversion methods on Kernel.
9065 2013-07-13 Alan Mackenzie <acm@muc.de>
9067 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
9068 and comment it out. This out-commenting enables certain C++
9069 declarations to be parsed correctly.
9071 2013-07-13 Eli Zaretskii <eliz@gnu.org>
9073 * international/mule.el (define-coding-system): Doc fix.
9075 * simple.el (default-font-height): Don't call font-info if the
9076 frame's default font didn't change since the frame was created.
9079 2013-07-13 Leo Liu <sdl.web@gmail.com>
9081 * ido.el (ido-read-file-name): Guard against non-symbol value.
9083 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9085 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9088 2013-07-13 Leo Liu <sdl.web@gmail.com>
9090 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9091 ido-set-matches call. (Bug#6852)
9093 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9095 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9096 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9098 (ruby-font-lock-keywords): Distinguish calls to functions with
9099 module-like names from module references. Highlight character
9102 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9104 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9105 (gdb-send): Handle continued commands. (Bug#14847)
9107 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9109 * desktop.el (desktop--v2s): Remove unused local variable.
9110 (desktop-save-buffer): Make defvar-local; adjust docstring.
9111 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9112 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9114 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9116 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9118 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9120 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9123 2013-07-12 Glenn Morris <rgm@gnu.org>
9125 * doc-view.el: Require cl-lib at runtime too.
9126 (doc-view-remove-if): Remove.
9127 (doc-view-search-next-match, doc-view-search-previous-match):
9130 * edmacro.el: Require cl-lib at runtime too.
9131 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9132 (edmacro-mismatch, edmacro-subseq): Remove.
9134 * shadowfile.el: Require cl-lib.
9135 (shadow-remove-if): Remove.
9136 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9139 * wid-edit.el: Require cl-lib.
9140 (widget-choose): Use cl-remove-if.
9141 (widget-remove-if): Remove.
9143 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9144 (ebrowse-delete-if-not): Remove.
9145 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9146 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9147 Use cl-delete-if-not.
9149 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9151 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9152 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9154 2013-07-12 Leo Liu <sdl.web@gmail.com>
9156 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9158 2013-07-11 Glenn Morris <rgm@gnu.org>
9160 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9161 (edebug-gensym-index, edebug-gensym):
9162 Remove reimplementation of cl-gensym.
9163 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9165 * thumbs.el: Require cl-lib at run-time too.
9166 (thumbs-gensym-counter, thumbs-gensym):
9167 Remove reimplementation of cl-gensym.
9168 (thumbs-temp-file): Use cl-gensym.
9170 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9171 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9172 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9173 (ert--union, ert--gensym-counter, ert--gensym-counter)
9174 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9175 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9176 (ert-make-test-unbound, ert--expand-should-1)
9177 (ert--expand-should, ert--should-error-handle-error)
9178 (should-error, ert--explain-equal-rec)
9179 (ert--plist-difference-explanation, ert-select-tests)
9180 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9181 Use cl-lib functions rather than reimplementations.
9183 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9185 * net/tramp.el (tramp-methods): Extend docstring.
9186 (tramp-connection-timeout): New defcustom.
9187 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9188 (with-tramp-progress-reporter): Simplify.
9189 (tramp-process-actions): Improve messages.
9191 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9192 * net/tramp-sh.el (tramp-maybe-open-connection):
9193 Use `tramp-connection-timeout'.
9194 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9197 2013-07-11 Leo Liu <sdl.web@gmail.com>
9199 * ido.el (ido-read-file-name): Conform to the requirements of
9200 read-file-name. (Bug#11861)
9201 (ido-read-directory-name): Conform to the requirements of
9202 read-directory-name.
9204 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9206 * subr.el (delay-warning): New function.
9208 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9210 * simple.el (default-line-height): New function.
9211 (line-move-partial, line-move): Use it instead of computing the
9213 (line-move-partial): Always compute ROWH. If the last line is
9214 partially-visible, but its text is completely visible, allow
9215 cursor to enter such a partially-visible line.
9217 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9219 Improve error messages. (Bug#14808)
9221 * net/tramp.el (tramp-current-connection): New defvar, moved from
9223 (tramp-message-show-progress-reporter-message): Remove, not
9225 (tramp-error-with-buffer): Show message in minibuffer.
9226 Discard input before waiting. Reset connection timestamp.
9227 (with-tramp-progress-reporter): Improve messages.
9228 (tramp-process-actions): Use progress reporter. Delete process in
9229 case of error. Improve messages.
9231 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9232 Call `tramp-error-with-buffer' with vector and buffer.
9233 (tramp-current-connection): Remove.
9234 (tramp-maybe-open-connection): The car of
9235 `tramp-current-connection' are the first 3 slots of the vector.
9237 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9239 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9240 inside continued strings.
9242 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9244 Timestamp fixes for undo (Bug#14824).
9245 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9247 2013-07-10 Leo Liu <sdl.web@gmail.com>
9249 * files.el (require-final-newline): Allow safe local value.
9252 2013-07-09 Leo Liu <sdl.web@gmail.com>
9254 * ido.el (ido-read-directory-name): Handle fallback.
9255 (ido-read-file-name): Update DIR to ido-current-directory.
9257 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9259 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9262 "autoload". Remove "warn lower camel case" section, previously
9263 commented out. Highlight negation char. Do not highlight the
9264 target in singleton method definitions.
9266 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9268 * faces.el (tty-setup-hook): Declare the hook.
9270 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9271 and detect when a guard/pred depends on local vars (bug#14773).
9272 (pcase--u1): Adjust caller.
9274 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9276 * simple.el (line-move-partial, line-move): Account for
9278 (line-move-partial): Avoid setting vscroll when the last
9279 partially-visible line in window is of default height.
9281 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9283 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9286 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9288 * subr.el (read-quoted-char): Remove unused local variable `char'.
9290 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9292 * ediff.el (ediff-version): Version update.
9293 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9294 (ediff-merge-with-ancestor-command, ediff-directories-command)
9295 (ediff-directories3-command, ediff-merge-directories-command)
9296 (ediff-merge-directories-with-ancestor-command): New functions.
9297 All are command-line interfaces to ediff: to facilitate calling
9298 Emacs with the appropriate ediff functions invoked.
9300 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9301 (viper-save-kill-buffer): Check if buffer is modified.
9303 * viper.el (viper-version): Version update.
9304 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9306 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9309 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9310 (viper-intercept-ESC-key): Simplify.
9311 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9312 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9313 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9314 (viper-setup-ESC-to-escape): New functions.
9315 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9316 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9318 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9320 * simple.el (default-font-height, window-screen-lines):
9322 (line-move, line-move-partial): Use them instead of
9323 frame-char-height and window-text-height. This makes scrolling
9324 text smoother when the buffer's default face uses a font that is
9325 different from the frame's default font.
9327 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9329 * files.el (write-file): Do not display confirm dialog for NS,
9330 it does its own dialog, which can't be canceled (Bug#14578).
9332 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9334 * simple.el (line-move-partial): Adjust the row returned by
9335 posn-at-point for the current window-vscroll. (Bug#14567)
9337 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9339 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9340 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9343 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9345 * window.el (window-state-put-stale-windows): New variable.
9346 (window--state-put-2): Save list of windows without matching buffer.
9347 (window-state-put): Remove "bufferless" windows if possible.
9349 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9351 * simple.el (alternatives-define): Remove leftover :group keyword.
9354 2013-07-06 Leo Liu <sdl.web@gmail.com>
9356 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9357 (ido-enable-virtual-buffers): New variable.
9358 (ido-buffer-internal, ido-toggle-virtual-buffers)
9359 (ido-make-buffer-list): Use it.
9360 (ido-exhibit): Support turning on and off virtual buffers
9363 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9365 * simple.el (alternatives-define): New macro.
9367 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * subr.el (read-quoted-char): Use read-key.
9370 (sit-for): Let read-event decode tty input (bug#14782).
9372 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9374 * calendar/todo-mode.el: Add handling of file deletion, both by
9375 mode command and externally. Fix various related bugs.
9376 Clarify Commentary and improve some documentation strings and code.
9377 (todo-delete-file): New command.
9378 (todo-check-file): New function.
9379 (todo-show): Handle external deletion of the file we're trying to
9380 show (bug#14688). Replace called-interactively-p by an optional
9381 prefix argument to avoid problematic interaction with catch form
9382 when byte compiled (bug#14702).
9383 (todo-quit): Handle external deletion of the archive's todo file.
9384 Make sure the buffer that was visiting the archive file is still
9385 live before trying to bury it.
9386 (todo-category-completions): Handle external deletion of any
9387 category completion files.
9388 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9389 of todo files, in case of external deletion.
9390 (todo-add-file): Replace unnecessary setq by let-binding.
9391 (todo-find-archive): Check whether there are any archives.
9392 Replace unnecessary setq by let-binding.
9393 (todo-archive-done-item): Use find-file-noselect to get the
9394 archive buffer whether or not the archive already exists.
9395 Remove superfluous code. Use file size instead of buffer-file-name to
9396 check if the archive is new; if it is, update list of archives.
9397 (todo-default-todo-file): Allow nil to be a valid value for when
9398 there are no todo files.
9399 (todo-reevaluate-default-file-defcustom): Use corrected definition
9400 of todo-default-todo-file.
9401 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9402 (todo-delete-category, todo-show-categories-table)
9403 (todo-category-number): Clarify comment.
9404 (todo-filter-items): Clarify documentation string.
9405 (todo-show-current-file, todo-display-as-todo-file)
9406 (todo-reset-and-enable-done-separator): Tweak documentation string.
9407 (todo-done-separator): Make separator length window-width, since
9408 bug#2749 is now fixed.
9410 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9412 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9413 Support both "gvfs-monitor-dir" and "inotifywait".
9414 (tramp-sh-file-inotifywait-process-filter): Rename from
9415 `tramp-sh-file-notify-process-filter'.
9416 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9417 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9419 2013-07-05 Leo Liu <sdl.web@gmail.com>
9421 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9423 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9425 * frame.el (display-pixel-height, display-pixel-width)
9426 (display-mm-height, display-mm-width): Mention behavior on
9427 multi-monitor setups in docstrings.
9428 (w32-display-monitor-attributes-list): Declare function.
9429 (display-monitor-attributes-list): Use it.
9431 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9433 * filenotify.el: New package.
9435 * autorevert.el (top): Require filenotify.el.
9436 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9438 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9439 (auto-revert-notify-handler): Use `file-notify-*' functions.
9441 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9443 * net/tramp.el (tramp-file-name-for-operation):
9444 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9446 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9447 for `file-notify-add-watch' and `file-notify-rm-watch'.
9448 (tramp-process-sentinel): Improve trace.
9449 (tramp-sh-handle-file-notify-add-watch)
9450 (tramp-sh-file-notify-process-filter)
9451 (tramp-sh-handle-file-notify-rm-watch)
9452 (tramp-get-remote-inotifywait): New defuns.
9454 2013-07-03 Juri Linkov <juri@jurta.org>
9456 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9457 call of `occur-read-primary-args' to interactive spec.
9459 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9460 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9462 2013-07-03 Matthias Meulien <orontee@gmail.com>
9464 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9465 `Buffer-menu-multi-occur'. Add it to the menu.
9466 (Buffer-menu-mode): Document it in docstring.
9467 (Buffer-menu-multi-occur): New command. (Bug#14673)
9469 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9471 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9472 keywords and built-ins.
9474 2013-07-03 Glenn Morris <rgm@gnu.org>
9476 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9478 Make info-xref checks case-sensitive by default
9479 * info.el (Info-find-node, Info-find-in-tag-table)
9480 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9481 Add option for exact case matching of nodes.
9482 * info-xref.el (info-xref): New custom group.
9483 (info-xref-case-fold): New option.
9484 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9486 2013-07-03 Leo Liu <sdl.web@gmail.com>
9488 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9490 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9492 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9493 middle of block statement initially, lower the depth. Remove
9494 FIXME comment, not longer valid. Remove middle of block statement
9495 detection, no need to do that anymore since we've been using
9496 `ruby-parse-region' here.
9498 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9500 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9502 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9504 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9506 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9508 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9509 (desktop-restore-in-current-display): New customization option.
9510 (desktop--excluded-frame-parameters): Add `font'.
9511 (desktop--save-frames): Rename from desktop--save-windows.
9512 (desktop--restore-in-this-display-p): New function.
9513 (desktop--make-full-frame): Remove unwanted width/height from
9514 full(width|height) frames.
9515 (desktop--restore-frames): Rename from desktop--restore-windows.
9516 Obey desktop-restore-current-display. Do not delete old frames or
9517 select a new frame unless we were able to restore at least one frame.
9519 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9521 * files.el (find-file-noselect): Simplify conditional expression.
9523 * textmodes/remember.el (remember-append-to-file):
9524 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9526 Add `remember-notes' function to store random notes across Emacs
9528 * textmodes/remember.el (remember-data-file): Add :set callback to
9529 affect notes buffer (if any).
9530 (remember-notes): New command.
9531 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9532 New defcustoms for the `remember-notes' function.
9533 (remember-notes-save-and-bury-buffer): New command.
9534 (remember-notes-mode-map): New variable.
9535 (remember-mode): New minor mode.
9536 (remember-notes--kill-buffer-query): New function.
9537 * startup.el (initial-buffer-choice): Add notes to custom type.
9539 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9541 * bindings.el (right-char, left-char): Don't call sit-for, this is
9542 no longer needed. Use arithmetic comparison only for numerical
9545 * international/mule-cmds.el (select-safe-coding-system):
9546 Handle the case of FROM being a string correctly. (Bug#14755)
9548 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9550 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9551 progression on degenerate tables.
9552 (shr-rescale-image): ImageMagick animated images currently don't work.
9554 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9556 Some fixes and improvements for desktop frame restoration.
9557 It is still experimental and disabled by default.
9558 * desktop.el (desktop--save-windows): Put the selected frame at
9559 the head of the list.
9560 (desktop--make-full-frame): New function.
9561 (desktop--restore-windows): Try to re-select the frame that was
9562 selected upon saving. Do not abort if some frames fail to restore,
9563 just show an error message and continue. Set up maximized frames
9564 so they have default non-maximized dimensions.
9566 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9568 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9569 Don't start heredoc inside a string or comment.
9571 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9573 * bindings.el (visual-order-cursor-movement): New defcustom.
9574 (right-char, left-char): Provide visual-order cursor motion by
9575 calling move-point-visually. Update the doc strings.
9577 2013-06-28 Kenichi Handa <handa@gnu.org>
9579 * international/mule.el (define-coding-system): New coding system
9580 properties :inhibit-null-byte-detection,
9581 :inhibit-iso-escape-detection, and :prefer-utf-8.
9582 (set-buffer-file-coding-system): If :charset-list property of
9583 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9584 appropriate for setting.
9586 * international/mule-cmds.el (select-safe-coding-system):
9587 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9588 multibyte characters, return utf-8 (or one of its siblings).
9590 * international/mule-conf.el (prefer-utf-8): New coding system.
9591 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9594 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9596 * net/shr.el (shr-render-region): New function.
9598 * net/eww.el: Autoload `eww-browse-url'.
9600 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9602 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9603 Adapt to `package-desc-version' being a list.
9604 Use `package--ac-desc-version' to retrieve version from a package
9607 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9609 New experimental feature to save&restore window and frame setup.
9610 * desktop.el (desktop-save-windows): New defcustom.
9611 (desktop--saved-states): New var.
9612 (desktop--excluded-frame-parameters): New defconst.
9613 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9614 (desktop--restore-windows, desktop--save-windows): New functions.
9615 (desktop-save): Call `desktop--save-windows'.
9616 (desktop-read): Call `desktop--restore-windows'.
9618 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9620 * net/shr.el (add-face-text-property): Remove compat definition.
9622 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9624 * info.el (Info-try-follow-nearest-node): Move search for footnote
9625 above search for node name to prevent missing a footnote (bug#14717).
9627 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9629 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9631 2013-06-27 Leo Liu <sdl.web@gmail.com>
9633 * net/eww.el (eww-read-bookmarks): Check file size.
9635 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9637 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9638 advice--pending if newdef is nil or an autoload (bug#13820).
9639 (advice-mapc): New function.
9641 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9643 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9645 (eww-mode-map): Add a menu bar.
9646 (eww-add-bookmark): New command.
9647 (eww-bookmark-mode): New mode and commands.
9648 (eww-add-bookmark): Remove newlines from the title.
9649 (eww-bookmark-browse): Don't bug out if it's the only window.
9651 2013-06-26 Glenn Morris <rgm@gnu.org>
9653 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9654 (hfy-size): Handle ttys. (Bug#14668)
9656 * info-xref.el: Update for Texinfo 5 change in *note format.
9657 (info-xref-node-re, info-xref-note-re): New constants.
9658 (info-xref-check-buffer): Use info-xref-note-re.
9660 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9662 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9664 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9665 nil terminate the loop (bug#14718).
9667 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9669 * net/eww.el: Rework history traversal. When going forward/back,
9670 put these actions into the history, too, so that they can be
9672 (eww-render): Move the history reset to the correct buffer.
9674 2013-06-25 Juri Linkov <juri@jurta.org>
9676 * files-x.el (modify-dir-local-variable): Change the header comment
9677 in the file with directory local variables. (Bug#14692)
9679 * files-x.el (read-file-local-variable-value): Add `default'.
9682 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9684 * net/eww.el (eww-make-unique-file-name): Create a unique file
9685 name before saving to entering `y' accidentally asynchronously.
9687 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9689 * net/eww.el (eww-download): New command and keystroke.
9691 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9693 * net/eww.el (eww-copy-page-url): Change name of command.
9695 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9696 be more consistent with Info and dired.
9698 * net/eww.el (eww-mode-map): Ditto.
9700 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9703 packages from archives.
9704 (package-archive-contents): Change format; include obsolete packages.
9705 (package-desc): Use `dir' to mark builtin packages.
9706 (package--from-builtin): Set the `dir' field to `builtin'.
9707 (generated-autoload-file, version-control): Declare.
9708 (package-compute-transaction): Change first arg and return value to be
9709 lists of package-descs. Adjust to new package-archive-contents format.
9710 (package--add-to-archive-contents): Adjust to new
9711 package-archive-contents format.
9712 (package-download-transaction): Arg is now a list of package-descs.
9713 (package-install): If `pkg' is a package name, pass it as
9714 a requirement, so it is subject to the usual (e.g. disabled) checks.
9715 (describe-package): Accept package-desc as well.
9716 (describe-package-1): Describe a specific package-desc. Add links to
9717 other package-descs for the same package name.
9718 (package-menu-describe-package): Pass the actual package-desc.
9719 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9721 (package-desc-status): New function.
9722 (package-menu--refresh): New function, extracted
9723 from package-menu--generate.
9724 (package-menu--generate): Use it.
9725 (package-delete): Update package-alist.
9726 (package-menu-execute): Don't call package-initialize.
9728 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9729 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9730 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9731 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9732 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9733 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9735 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9737 * window.el (window--state-get-1): Workaround for bug#14527.
9738 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9740 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9742 * net/eww.el (eww-back-url): Implement the history by stashing all
9743 the data into a list.
9744 (eww-forward-url): Allow going forward in the history, too.
9746 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9748 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9749 for values and use read--expression for expressions (bug#14710).
9750 (read-file-local-variable): Avoid setq.
9751 (read-file-local-variable-mode): Use minor-mode-list.
9753 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9755 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9758 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9760 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9761 Update imenu-support when dialect changes.
9763 2013-06-25 Leo Liu <sdl.web@gmail.com>
9765 * ido.el (ido-read-internal): Allow forward slash on windows.
9767 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9769 * net/eww.el (eww): Start of strings is \\`, not ^.
9771 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9773 * net/shr.el (shr-browse-url): Fix interactive spec.
9775 * net/eww.el (eww): Add a trailing slash to domain names.
9777 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9779 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9781 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9783 * net/shr.el (shr-browse-url): Use an external browser if given a
9786 * net/eww.el (eww-external-browser): Move to shr.
9788 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9790 * net/eww.el (eww): Work more correctly for file: URLs.
9791 (eww-detect-charset): Allow quoted charsets.
9792 (eww-yank-page-url): New command and keystroke.
9794 2013-06-24 Daiki Ueno <ueno@gnu.org>
9796 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9797 file name of gpg executable.
9798 (epg-context-program): New function.
9799 (epg-context-home-directory): New function.
9800 (epg-context-set-program): New function.
9801 (epg-context-set-home-directory): New function.
9802 (epg--start): Use `epg-context-program' instead of
9804 (epg--list-keys-1): Likewise.
9806 2013-06-24 Leo Liu <sdl.web@gmail.com>
9808 * ido.el (ido-read-internal): Fix bug#14620.
9810 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9812 * faces.el (face-documentation): Simplify.
9813 (read-face-attribute, tty-find-type, x-resolve-font-name):
9814 Use `string-match-p'.
9815 (list-faces-display): Use `string-match-p'. Simplify.
9816 (face-spec-recalc): Check face to avoid face alias loops.
9817 (read-color): Use `string-match-p' and non-capturing parenthesis.
9819 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9821 * net/shr.el (shr-rescale-image): Use the new
9822 :max-width/:max-height functionality.
9824 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9826 * net/eww.el (eww-search-prefix): New variable.
9828 (eww-external-browser): New variable.
9829 (eww-mode-map): New keystroke.
9830 (eww-browse-with-external-browser): New command.
9832 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9834 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9836 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9837 Don't skip aligning the next header field when padding is 0;
9838 otherwise, field width is not respected unless the title is as
9841 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * emacs-lisp/package.el (package-el-version): Remove.
9844 (package-process-define-package): Fix inf-loop.
9845 (package-install): Allow symbols as arguments again.
9847 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9849 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9850 add some more keyword-like methods.
9851 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9853 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9855 * bs.el (bs-buffer-show-mark): Make defvar-local.
9856 (bs-mode): Use setq-local.
9858 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9859 (emacs-lock--try-unlocking): Make defvar-local.
9861 2013-06-22 Glenn Morris <rgm@gnu.org>
9863 * play/cookie1.el (cookie-apropos): Minor simplification.
9865 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9867 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9869 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9870 `regexp-opt', it breaks the build during dumping.
9872 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9874 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9875 Highlight keyword-like methods on Kernel and Module with
9876 font-lock-builtin-face.
9877 (auto-mode-alist): Consolidate different entries into one regexp
9878 and add more *file-s.
9880 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9882 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9884 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9885 (diary-entry): Use it in the action of this button type instead of
9888 * calendar/todo-mode.el: New version.
9889 (todo-add-category): Append new category to end of file and give
9890 it the highest number, instead of putting it at the beginning and
9891 giving it 0. Incorporate noninteractive functionality.
9892 (todo-forward-category): Adapt to 1-based category numbering.
9893 Allow skipping over archived categories.
9894 (todo-backward-category): Derive from todo-forward-category.
9895 (todo-backward-item, todo-forward-item): Make noninteractive and
9896 delegate interactive part to new commands. Make sensitive to done items.
9897 (todo-categories): Make value an alist of category names and
9898 vectors of item counts.
9899 (todo-category-beg): Make a defconst.
9900 (todo-category-number): Use 1 instead of 0 as initial value.
9901 (todo-category-select): Make sensitive to overlays, optional item
9902 highlighting and done items.
9903 (todo-delete-item): Make sensitive to overlays and marked and done items.
9904 (todo-edit-item): Make sensitive to overlays and editing of
9905 date/time header optional. Add format checks.
9906 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9907 no-op if point is not on an item. Advertise using todo-edit-quit.
9908 (todo-edit-mode): Make sensitive to new format, font-locking, and
9909 multiple todo files.
9910 (todo-insert-item, todo-insert-item-here): Derive from
9911 todo-basic-insert-item and extend functionality.
9912 (todo-item-end, todo-item-start): Make sensitive to done items.
9913 (todo-item-string): Don't return text properties. Restore point.
9914 (todo-jump-to-category): Make sensitive to multiple todo files and
9915 todo archives. Use extended category completion.
9916 (todo-lower-item, todo-raise-item): Rename to *-priority and
9917 derive from todo-set-item-priority.
9918 (todo-mode): Derive from special-mode. Make sensitive to new
9919 format, font-locking and multiple todo files. Make read-only.
9920 (todo-mode-map): Don't suppress digit keys, so they can supply
9921 prefix arguments. Add many new key bindings.
9922 (todo-prefix): Insert as an overlay instead of file text.
9923 Change semantics from diary date expression to purely visual mark.
9924 (todo-print): Rename to todo-print-buffer. Make buffer display
9925 features printable. Remove option to restrict number of items
9926 printed. Add option to print to file.
9927 (todo-print-function): Rename to todo-print-buffer-function.
9928 (todo-quit): Extend to handle exiting new todo modes.
9929 (todo-remove-item): Make sensitive to overlays.
9930 (todo-save): Extend to buffers of filtered items.
9931 (todo-show): Make sensitive to done items, multiple todo files and
9932 new todo modes. Offer to convert legacy todo file before creating
9933 first new todo file.
9934 (todo-show-priorities): Rename to todo-top-priorities.
9935 Change semantics of value 0.
9936 (todo-top-priorities): Rename to todo-filter-top-priorities,
9937 derive from todo-filter-items and extend functionality.
9938 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9939 and extend functionality to other types of filtered items.
9940 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9941 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9942 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9943 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9944 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9945 (todo-edit-mode-hook, todo-entry-prefix-function)
9946 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9947 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9948 (todo-initials, todo-insert-threshold, todo-item-string-start)
9949 (todo-line-string, todo-menu, todo-mode-hook)
9950 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9951 (todo-print-priorities, todo-remove-separator)
9952 (todo-save-top-priorities-too, todo-string-count-lines)
9953 (todo-string-multiline-p, todo-time-string-format)
9954 (todo-tmp-buffer-name): Remove.
9955 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9956 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9957 (todo-edit-category-diary-inclusion)
9958 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9959 (todo-edit-file, todo-edit-item-date-day)
9960 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9961 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9962 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9963 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9964 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9965 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9966 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9967 (todo-filter-top-priorities-multifile, todo-find-archive)
9968 (todo-find-filtered-items-file, todo-go-to-source-item)
9969 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9970 (todo-jump-to-archive-category, todo-lower-category)
9971 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9972 (todo-move-category, todo-move-item, todo-next-button)
9973 (todo-next-item, todo-padded-string, todo-powerset)
9974 (todo-previous-button, todo-previous-item)
9975 (todo-print-buffer-to-file, todo-raise-category)
9976 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9977 (todo-set-category-number, todo-set-item-priority)
9978 (todo-set-top-priorities-in-category)
9979 (todo-set-top-priorities-in-file, todo-show-categories-table)
9980 (todo-sort-categories-alphabetically-or-numerically)
9981 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9982 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9983 (todo-toggle-item-header, todo-toggle-item-highlighting)
9984 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9985 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9986 (todo-unarchive-items, todo-unmark-category): New commands.
9987 (todo-absolute-file-name, todo-add-to-buffer-list)
9988 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9989 (todo-basic-insert-item, todo-category-completions)
9990 (todo-category-number, todo-category-string-matcher-1)
9991 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9992 (todo-check-format, todo-clear-matches)
9993 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9994 (todo-current-category, todo-date-string-matcher)
9995 (todo-define-insertion-command, todo-diary-expired-matcher)
9996 (todo-diary-goto-entry, todo-diary-item-p)
9997 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9998 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9999 (todo-done-item-section-p, todo-done-separator)
10000 (todo-done-string-matcher, todo-files, todo-filter-items)
10001 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
10002 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
10003 (todo-insert-category-line, todo-insert-item-from-calendar)
10004 (todo-insert-sort-button, todo-insert-with-overlays)
10005 (todo-insertion-command-name, todo-insertion-key-bindings)
10006 (todo-label-to-key, todo-longest-category-name-length)
10007 (todo-make-categories-list, todo-mode-external-set)
10008 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
10009 (todo-modes-set-3, todo-multiple-filter-files)
10010 (todo-nondiary-marker-matcher, todo-prefix-overlays)
10011 (todo-read-category, todo-read-date, todo-read-dayname)
10012 (todo-read-file-name, todo-read-time)
10013 (todo-reevaluate-category-completions-files-defcustom)
10014 (todo-reevaluate-default-file-defcustom)
10015 (todo-reevaluate-filelist-defcustoms)
10016 (todo-reevaluate-filter-files-defcustom)
10017 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
10018 (todo-reset-done-separator, todo-reset-done-separator-string)
10019 (todo-reset-done-string, todo-reset-global-current-todo-file)
10020 (todo-reset-highlight-item, todo-reset-nondiary-marker)
10021 (todo-reset-prefix, todo-set-categories)
10022 (todo-set-date-from-calendar, todo-set-show-current-file)
10023 (todo-set-top-priorities, todo-short-file-name)
10024 (todo-show-current-file, todo-sort, todo-time-string-matcher)
10025 (todo-total-item-counts, todo-update-buffer-list)
10026 (todo-update-categories-display, todo-update-categories-sexp)
10027 (todo-update-count, todo-validate-name, todo-y-or-n-p):
10029 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
10031 (todo-categories, todo-display, todo-edit, todo-faces)
10032 (todo-filtered): New defgroups.
10033 (todo-archived-only, todo-button, todo-category-string, todo-date)
10034 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
10035 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
10036 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
10037 (todo-add-item-if-new-category, todo-always-add-time-string)
10038 (todo-categories-align, todo-categories-archived-label)
10039 (todo-categories-category-label, todo-categories-diary-label)
10040 (todo-categories-done-label, todo-categories-number-separator)
10041 (todo-categories-todo-label, todo-categories-totals-label)
10042 (todo-category-completions-files, todo-completion-ignore-case)
10043 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
10044 (todo-done-separator-string, todo-done-string)
10045 (todo-files-function, todo-filter-done-items, todo-filter-files)
10046 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
10047 (todo-initial-category, todo-initial-file, todo-item-mark)
10048 (todo-legacy-date-time-regexp, todo-mode-line-function)
10049 (todo-nondiary-marker, todo-number-prefix)
10050 (todo-print-buffer-function, todo-show-current-file)
10051 (todo-show-done-only, todo-show-first, todo-show-with-done)
10052 (todo-skip-archived-categories, todo-top-priorities-overrides)
10053 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
10054 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
10056 (todo-category-done, todo-date-pattern, todo-date-string-start)
10057 (todo-diary-items-buffer, todo-done-string-start)
10058 (todo-filtered-items-buffer, todo-item-start)
10059 (todo-month-abbrev-array, todo-month-name-array)
10060 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
10061 (todo-top-priorities-buffer): New defconsts.
10062 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
10063 (todo-categories-with-marks, todo-category-string-face)
10064 (todo-comment-face, todo-comment-string, todo-current-todo-file)
10065 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
10066 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
10067 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
10068 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
10069 (todo-font-lock-keywords, todo-global-current-todo-file)
10070 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
10071 (todo-insertion-commands-args)
10072 (todo-insertion-commands-args-genlist)
10073 (todo-insertion-commands-names, todo-insertion-map)
10074 (todo-key-bindings-t, todo-key-bindings-t+a)
10075 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
10076 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
10077 (todo-nondiary-face, todo-print-buffer, todo-time-face)
10078 (todo-visited): New variables.
10080 2013-06-21 Glenn Morris <rgm@gnu.org>
10082 * play/cookie1.el (cookie-apropos): Add optional display argument.
10083 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
10084 (psychoanalyze-pinhead): Use cookie-doctor.
10086 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10088 * emacs-lisp/package.el (tar-get-file-descriptor)
10089 (tar--extract): Declare.
10091 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10093 Extend flymake's warning predicate to be a function (bug#14217).
10094 * progmodes/flymake.el (flymake-warning-predicate): New.
10095 (flymake-parse-line): Use it.
10096 (flymake-warning-re): Make obsolete alias to
10097 `flymake-warning-predicate'.
10099 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10102 (package-obsolete-list): Remove.
10103 (package-activate): Remove min-version argument. Add `force' argument.
10104 Adjust to new package-alist format.
10105 (package-mark-obsolete): Remove.
10106 (package-unpack): Force reload of the package's autoloads.
10107 (package-installed-p): Check builtins if the installed package is not
10109 (package-initialize): Don't reset package-obsolete-list.
10110 Don't specify which package version to activate.
10111 (package-process-define-package, describe-package-1)
10112 (package-menu--generate): Adjust to new package-alist format.
10114 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10116 * allout-widgets.el (allout-widgets-mode-off)
10117 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10118 (allout-widgets-post-command-business)
10119 (allout-widgets-after-copy-or-kill-function)
10120 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10121 (allout-decorate-item-and-context)
10122 (allout-graphics-modification-handler): Fix typos in docstrings.
10123 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10125 * cmuscheme.el (scheme-start-file): Doc fix.
10126 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10127 (scheme-input-filter): Use `string-match-p'.
10129 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10131 * dired-x.el: Use Dired consistently in docstrings.
10133 * dired.el: Use Dired consistently in docstrings.
10134 (dired-readin, dired-mode): Use `setq-local'.
10135 (dired-switches-alist): Make defvar-local.
10136 (dired-buffers-for-dir): Use `zerop'.
10137 (dired-safe-switches-p, dired-switches-escape-p)
10138 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10139 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10140 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10141 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10142 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10143 (dired-toggle-marks, dired-mark-files-containing-regexp)
10144 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10145 (dired-flag-auto-save-files, dired-flag-backup-files):
10146 Use `looking-at-p'.
10147 (dired-mark-files-regexp, dired-build-subdir-alist):
10148 Use `string-match-p', `looking-at-p'.
10150 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10151 (direct-print-region-helper): Use `string-match-p'.
10153 2013-06-21 Leo Liu <sdl.web@gmail.com>
10155 * comint.el (comint-redirect-results-list-from-process):
10158 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10160 * net/eww.el (eww-update-header-line-format): Quote % characters.
10162 2013-06-21 Glenn Morris <rgm@gnu.org>
10164 * play/cookie1.el (cookie): New custom group.
10165 (cookie-file): New option.
10166 (cookie-check-file): New function.
10167 (cookie): Make it interactive. Make start and end messages optional.
10168 Interactively, display the result. Default to cookie-file.
10169 (cookie-insert): Default to cookie-file.
10170 (cookie-snarf): Make start and end messages optional.
10171 Default to cookie-file. Use with-temp-buffer.
10172 (cookie-read): Rename from read-cookie.
10173 Make start and end messages optional. Default to cookie-file.
10174 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10175 Do not autoload it.
10176 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10177 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10179 2013-06-21 Leo Liu <sdl.web@gmail.com>
10181 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10183 2013-06-21 Glenn Morris <rgm@gnu.org>
10185 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10187 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10188 Daniel Hackney <dan@haxney.org>
10190 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10191 Consolidate the single-file vs tarball code.
10192 (package-desc-suffix): New function.
10193 (package-desc-full-name): Don't bother inlining it.
10194 (package-load-descriptor): Return the new package-desc.
10195 (package-mark-obsolete): Remove unused arg `package'.
10196 (package-unpack): Make it work for single files as well.
10197 Make it update package-alist.
10198 (package--make-autoloads-and-stuff): Rename from
10199 package--make-autoloads-and-compile. Don't compile any more.
10200 (package--compile): New function.
10201 (package-generate-description-file): New function, extracted from
10202 package-unpack-single.
10203 (package-unpack-single): Remove.
10204 (package--with-work-buffer): Add indentation and debugging info.
10205 (package-download-single): Remove.
10206 (package-install-from-archive): Rename from package-download-tar, make
10207 it take a pkg-desc, and make it work for single files as well.
10208 (package-download-transaction): Simplify.
10209 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10210 external tar program.
10211 (package-install-from-buffer): Remove `pkg-desc' argument.
10212 Use package-tar-file-info for tar-mode buffers.
10213 (package-install-file): Simplify accordingly.
10214 (package-archive-base): Change to take a pkg-desc.
10215 * tar-mode.el (tar--check-descriptor): New function, extracted from
10216 tar-get-descriptor.
10217 (tar-get-descriptor): Use it.
10218 (tar-get-file-descriptor): New function.
10219 (tar--extract): New function, extracted from tar-extract.
10220 (tar--extract): Use it.
10221 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10222 case the summary uses non-ascii. Adjust to new calling convention of
10223 package-tar-file-info.
10225 2013-06-21 Leo Liu <sdl.web@gmail.com>
10227 * comint.el (comint-redirect-results-list-from-process):
10228 Fix random delay. (Bug#14681)
10230 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10232 * profiler.el (profiler-format-number): Use log, not log10.
10234 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10236 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10238 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10241 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10243 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10244 (AUTOGENEL): ... here.
10245 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10246 (cl--defsubst-expand): Use it.
10248 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10250 * subr.el (log10): Move here from C code, and declare as obsolete.
10251 All uses of (log10 X) replaced with (log X 10).
10253 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10255 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10256 Declare with `defvar-local'.
10257 (tabulated-list-use-header-line, tabulated-list-entries)
10258 (tabulated-list-padding, tabulated-list-printer)
10259 (tabulated-list-sort-key): Declare with `defvar-local'.
10260 (tabulated-list-init-header, tabulated-list-print-fake-header):
10263 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10265 * arc-mode.el (archive-mode): Add `archive-write-file' to
10266 `write-contents-functions' also for remote files. (Bug#14652)
10268 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10270 * cus-edit.el (custom-commands): Fix typos.
10271 (custom-display): Fix tooltip text.
10272 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10273 Fix typos in docstrings.
10274 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10275 (custom-unlispify-menu-entry, custom-magic-value-create)
10276 (custom-add-see-also, custom-group-value-create): Use ?\s.
10277 (custom-guess-type, customize-apropos, editable-field)
10278 (custom-face-value-create): Use `string-match-p'.
10279 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10281 * custom.el (custom-load-symbol): Use `string-match-p'.
10283 * ansi-color.el: Convert to lexical binding.
10284 (ansi-colors): Fix URL.
10285 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10286 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10287 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10289 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10291 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10293 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10295 2013-06-19 Tom Tromey <tromey@redhat.com>
10297 * net/eww.el (eww-top-url): Remove.
10298 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10299 (eww-render): Set new variables. Don't set eww-top-url.
10300 (eww-handle-link): Handle "prev", "home", and "contents".
10301 Downcase the rel text.
10302 (eww-top-url): Choose best top URL.
10304 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10306 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10307 relying in widget.el. Using widget.el leads to too many
10308 user interface inconsistencies.
10309 (eww-self-insert): Implement entering commands in text fields.
10310 (eww-process-text-input): New function to make text input field editing
10312 (eww-submit): Rewrite to use the new-style form methods.
10313 (eww-select-display): Display the correct selected item.
10314 (eww-change-select): Implement changing the select value.
10315 (eww-toggle-checkbox): Implement radio/checkboxes.
10316 (eww-update-field): Fix compilation error.
10317 (eww-tag-textarea): Implement <textarea>.
10319 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10320 we don't shadow mode-specific bindings.
10322 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10325 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10327 2013-06-19 Glenn Morris <rgm@gnu.org>
10329 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10331 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10333 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10336 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10338 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10340 * net/browse-url.el (browse-url-browser-function):
10341 `eww-browse-url' has the right calling signature, `eww' does not.
10343 2013-06-19 Glenn Morris <rgm@gnu.org>
10345 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10346 Only eval autoloaded macros.
10347 (byte-compile-autoload): Only give the macro warning for macros.
10349 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10350 (ps-underlined-faces): Declare.
10352 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10353 (speedbar-add-supported-extension): Declare.
10355 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10356 Don't include a date stamp in the header of the generated file;
10357 it leads to needless differences between output files.
10359 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10361 * net/secrets.el (secrets-struct-secret-content-type):
10362 Replace check of introspection data by a test call of "CreateItem".
10363 Some servers do not offer introspection.
10365 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * electric.el (electric-pair-mode): Improve interaction with
10368 electric-layout-mode.
10369 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10370 (electric-pair-syntax): Use text-mode-syntax-table in comments
10372 (electric-pair--insert): New function.
10373 (electric-pair-post-self-insert-function): Use it and
10374 electric--after-char-pos.
10376 2013-06-19 Leo Liu <sdl.web@gmail.com>
10378 * progmodes/octave.el (octave-help): Fix regexp.
10380 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10383 (shr-table-horizontal-line): Allow nil as a value, and change the
10385 (shr-insert-table-ruler): Respect the nil value.
10387 2013-06-18 Tom Tromey <tromey@barimba>
10389 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10391 (eww-open-file): New defun.
10392 (eww-render): Initialize new variables.
10393 (eww-display-html): Handle "link" and "a".
10394 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10395 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10396 (eww-back-url): Rename from eww-previous-url.
10397 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10400 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10402 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10403 Distinguish ternary operator tokens from slash symbol and slash
10406 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10408 Convert symbol prettification into minor mode and global minor mode.
10410 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10411 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10412 (prettify-symbols--keywords): Rename from
10413 `prog-prettify-symbols-alist' and make a local defvar.
10414 (prettify-symbols--compose-symbol): Rename from
10415 `prog--prettify-font-lock-compose-symbol'.
10416 (prettify-symbols--make-keywords): Rename from
10417 `prog-prettify-font-lock-symbols-keywords' and simplify.
10418 (prog-prettify-install): Remove.
10419 (prettify-symbols-mode): New minor mode, based on
10420 `prog-prettify-install'.
10421 (turn-on-prettify-symbols-mode): New function.
10422 (global-prettify-symbols-mode): New globalized minor mode.
10424 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10425 * progmodes/cfengine.el (cfengine3-mode):
10426 * progmodes/perl-mode.el (perl-mode): Don't call
10427 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10429 2013-06-18 Juri Linkov <juri@jurta.org>
10431 * files-x.el (modify-file-local-variable-message): New function.
10432 (modify-file-local-variable)
10433 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10434 and call `modify-file-local-variable-message' when it's non-nil.
10435 (add-file-local-variable, delete-file-local-variable)
10436 (add-file-local-variable-prop-line)
10437 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10438 and use it. (Bug#9820)
10440 2013-06-18 Juri Linkov <juri@jurta.org>
10442 * emulation/vi.el (vi-shell-op):
10443 * emulation/vip.el (vip-execute-com, ex-command):
10444 * emulation/viper-cmd.el (viper-exec-bang):
10445 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10446 the call of `shell-command-on-region'. (Bug#14637)
10448 * simple.el (shell-command-on-region): Doc fix.
10450 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10455 2013-06-18 Glenn Morris <rgm@gnu.org>
10457 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10459 * newcomment.el (comment-search-forward, comment-search-backward):
10460 Doc fix. (Bug#14376)
10462 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10464 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10465 (buffer-face-mode-invoke): Doc fix.
10467 2013-06-18 Matthias Meulien <orontee@gmail.com>
10469 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10470 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10472 2013-06-18 Glenn Morris <rgm@gnu.org>
10474 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10475 Replace obsolete function generic-make-keywords with its expansion.
10477 * progmodes/python.el (ffap-alist): Declare.
10479 * textmodes/reftex.el (bibtex-mode-map): Declare.
10481 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10484 (package-unpack, package-unpack-single): Return the pkg-dir.
10485 (package-download-transaction): Use it to update package-alist.
10487 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10489 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10492 2013-06-17 Juri Linkov <juri@jurta.org>
10494 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10496 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10498 * emacs-lisp/package.el (package-load-descriptor):
10499 Remove `with-syntax-table' call, `read' doesn't need it.
10500 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10502 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10504 * startup.el (command-line): Expand package name returned by
10505 `package--description-file' (bug#14639).
10507 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10509 * emacs-lisp/package.el (package-load-descriptor): Do not call
10510 `emacs-lisp-mode', just use its syntax table.
10512 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10514 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10515 `font-lock-extra-managed-props' if any prettifying keyword is added.
10516 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10517 (prog-mode): Use `setq-local'.
10519 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10521 * international/characters.el (standard-case-table): Set syntax of ?»
10522 and ?« to punctuation.
10524 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10526 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10527 Save relevant match data before calling `syntax-ppss' (bug#14595).
10529 2013-06-15 Juri Linkov <juri@jurta.org>
10531 * files-x.el (modify-file-local-variable-prop-line): Add local
10532 variables to the end of the existing comment on the first line.
10533 Use `file-auto-mode-skip' to skip interpreter magic line,
10534 and also skip XML declaration.
10536 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10538 * startup.el (package--builtin-versions): New var.
10539 (package-subdirectory-regexp): Remove.
10540 (package--description-file): Hard code its value instead.
10542 * emacs-lisp/package.el: Don't activate packages older than builtin.
10543 (package-obsolete-list): Rename from package-obsolete-alist, and make
10544 it into a simple list of package-desc.
10545 (package-strip-version): Remove.
10546 (package-built-in-p): Use package--builtin-versions.
10547 (package-mark-obsolete): Simplify.
10548 (package-process-define-package): Mark it obsolete if older than the
10550 (package-handle-response): Use line-end-position.
10551 (package-read-archive-contents, package--download-one-archive):
10553 (package--add-to-archive-contents): Skip if older than the builtin or
10555 (package-menu-describe-package): Fix last change.
10556 (package-list-unversioned): New var.
10557 (package-menu--generate): Use it.
10559 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10560 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10561 (autoload-builtin-package-versions): New variable.
10562 (autoload-generate-file-autoloads): Use them.
10563 Remove the list of autoloaded functions/macros from the
10564 (autoload...) comments.
10566 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10568 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10570 * simple.el (line-move-partial): Don't jump to the next screen
10571 line as soon as it becomes visible. Instead, continue enlarging
10572 the vscroll until the portion of a tall screen line that's left on
10573 display is about the height of the frame's default font.
10576 2013-06-15 Glenn Morris <rgm@gnu.org>
10578 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10579 compilation-error-regexp-alist void, or local while let-bound.
10581 * progmodes/make-mode.el (makefile-mode-syntax-table):
10582 Treat "=" as punctuation. (Bug#14614)
10584 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10586 * help-fns.el (describe-variable):
10587 Add extra line for permanent-local variables.
10589 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10591 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10592 Add export, import, library. (Bug#9164)
10593 (library): Set indent function.
10595 2013-06-14 Glenn Morris <rgm@gnu.org>
10597 * term/xterm.el (xterm--query):
10598 Stop after first matching handler. (Bug#14615)
10600 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10602 Add support for dired in saveplace.
10603 * dired.el (dired-initial-position-hook): New variable.
10604 (dired-initial-position): Call hook to place cursor position.
10605 * saveplace.el (save-place-to-alist): Add dired position.
10606 (save-place-dired-hook): New function.
10608 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10611 through a symbol rather than letrec.
10613 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10614 (package-desc): Add `dir' field.
10615 (package-desc-full-name): New function.
10616 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10617 (package-maybe-load-descriptor): Remove.
10618 (package-load-all-descriptors): Just call package-load-descriptor.
10619 (package--disabled-p): New function.
10620 (package-desc-vers, package-desc-doc): Remove aliases.
10621 (package--dir): Remove function.
10622 (package-activate): Check if a package is disabled.
10623 (package-process-define-package): New function, extracted from
10625 (define-package): Turn into a place holder.
10626 (package-unpack-single, package-tar-file-info):
10627 Use package--description-file.
10628 (package-compute-transaction): Use package--disabled-p.
10629 (package-download-transaction): Don't call
10630 package-maybe-load-descriptor since they're all loaded anyway.
10631 (package-install): Change argument to be a pkg-desc.
10632 (package-delete): Use a single pkg-desc argument.
10633 (describe-package-1): Use package-desc-dir instead of package--dir.
10634 Use package-desc property instead of package-symbol.
10635 (package-install-button-action): Adjust accordingly.
10636 (package--push): Rewrite.
10637 (package-menu--print-info): Adjust accordingly. Change the ID format
10639 (package-menu-describe-package, package-menu-get-status)
10640 (package-menu--find-upgrades, package-menu-mark-upgrades)
10641 (package-menu-execute, package-menu--name-predicate):
10642 Adjust accordingly.
10643 * startup.el (package--description-file): New function.
10644 (command-line): Use it.
10645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10646 Use package-desc-version.
10648 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10649 (byte-compile-preprocess): Use it.
10650 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10651 can't quite recognize.
10652 (byte-compile-add-to-list): Remove.
10653 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10654 (cconv-closure-convert): Add assertion.
10656 * emacs-lisp/map-ynp.el: Use lexical-binding.
10657 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10658 Factor out some repeated code.
10660 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10662 * subr.el (with-eval-after-load): New macro.
10663 (eval-after-load): Allow form to be a function.
10664 take advantage of lexical-binding.
10665 (do-after-load-evaluation): Use dolist and adjust to new format.
10666 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10668 2013-06-13 Juri Linkov <juri@jurta.org>
10670 * replace.el (perform-replace): Display "symbol " and other search
10671 modes from `isearch-message-prefix' in the *Help* buffer.
10673 * isearch.el (isearch-query-replace): Add " symbol" and other
10674 possible search modes from `isearch-message-prefix' to the prompt.
10675 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10676 when reading a regexp to collect.
10678 2013-06-13 Juri Linkov <juri@jurta.org>
10680 * isearch.el (word-search-regexp): Match whitespace if the search
10681 string begins or ends in whitespace. The LAX arg is applied to
10682 both ends of the search string. Use `regexp-quote' and explicit
10683 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10684 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10685 boundaries are replaced with symbol boundaries, and characters
10686 between symbols match non-word non-symbol syntax. (Bug#14602)
10688 2013-06-13 Juri Linkov <juri@jurta.org>
10690 * isearch.el (isearch-del-char): Don't exceed the length of
10691 `isearch-string' by the prefix arg. (Bug#14563)
10693 2013-06-13 Juri Linkov <juri@jurta.org>
10695 * isearch.el (isearch-yank-word, isearch-yank-line)
10696 (isearch-char-by-name, isearch-quote-char)
10697 (isearch-printing-char, isearch-process-search-char):
10698 Add optional count prefix arg. (Bug#14563)
10700 * international/isearch-x.el
10701 (isearch-process-search-multibyte-characters):
10702 Add optional count prefix arg.
10704 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10706 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10707 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10710 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10712 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10714 2013-06-13 Glenn Morris <rgm@gnu.org>
10716 * startup.el (tty-handle-args):
10717 Don't just discard "--" and anything after. (Bug#14608)
10719 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10721 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10723 Implement changes in Secret Service API. Make it backward compatible.
10724 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10725 (secrets-create-item): Use it. Prefix properties with interface.
10727 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10729 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10730 (term-emulate-terminal): Respect term-suppress-hard-newline.
10732 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10734 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10735 Only remove a `thumb-file' overlay. (Bug#14548)
10737 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10739 * mail/reporter.el (reporter-submit-bug-report):
10740 Handle missing package-name. (Bug#14600)
10742 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10744 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10745 (reftex-citation-prompt, reftex-default-bibliography)
10746 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10747 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10748 (reftex-bib-sort-author, reftex-bib-sort-year)
10749 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10750 (reftex-extract-bib-entries-from-thebibliography)
10751 (reftex-get-bibkey-default, reftex-get-bib-names)
10752 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10753 (reftex-format-bib-entry, reftex-parse-bibitem)
10754 (reftex-format-bibitem, reftex-do-citation)
10755 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10756 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10757 (reftex-insert-bib-matches, reftex-format-citation)
10758 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10759 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10760 existing comments into docstrings.
10762 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10764 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10766 2013-06-12 Andreas Schwab <schwab@suse.de>
10768 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10769 for auto-save files.
10771 2013-06-12 Glenn Morris <rgm@gnu.org>
10773 * ido.el (ido-delete-ignored-files): Remove.
10774 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10775 Go back to calling ido-ignore-item-p directly.
10777 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10779 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10781 * ido.el (ido-delete-ignored-files): New function,
10782 split from ido-make-file-list-1.
10783 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10784 (ido-make-file-list-1): Use ido-delete-ignored-files.
10786 2013-06-12 Leo Liu <sdl.web@gmail.com>
10788 * progmodes/octave.el (inferior-octave-startup)
10789 (inferior-octave-completion-table)
10790 (inferior-octave-track-window-width-change)
10791 (octave-eldoc-function-signatures, octave-help)
10792 (octave-find-definition): Use single quoted strings.
10793 (inferior-octave-startup-args): Change default value.
10794 (inferior-octave-startup): Do not hard code "-i" and
10795 "--no-line-editing".
10796 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10797 (inferior-octave-directory-tracker): Use it.
10798 (octave-goto-function-definition): Robustify.
10799 (octave-help): Support highlighting operators in 'See also'.
10800 (octave-find-definition): Find subfunctions only in Octave mode.
10802 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * help-fns.el (help-fns--compiler-macro): If the handler function is
10805 named, then put a link to it.
10806 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10807 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10808 (cl-typep): Use it.
10809 (cl-eval-when): Simplify debug spec.
10810 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10811 compiler-macro function instead of setting `compiler-macro-file'.
10813 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10815 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10816 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10818 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10819 Daniel Hackney <dan@haxney.org>
10821 First part of Daniel Hackney's patch to package.el.
10822 * emacs-lisp/package.el: Use defstruct.
10823 (package-desc): New, main struct.
10824 (package--bi-desc, package--ac-desc): New structs, used to describe the
10825 format in external files.
10826 (package-desc-vers): Replace with package-desc-version accessor.
10827 (package-desc-doc): Replace with package-desc-summary accessor.
10828 (package-activate-1): Remove `package' arg since the pkg-vec now
10830 (define-package): Use package-desc-from-define.
10831 (package-unpack-single): Change file-name arg to be a symbol.
10832 (package--add-to-archive-contents): Use package-desc-create and new
10833 accessor functions to package--ac-desc.
10834 (package-buffer-info, package-tar-file-info): Return a package-desc.
10835 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10836 arg to be a package-desc.
10837 (package-install-file): Adjust accordingly. Use \' to match EOS.
10838 (package--from-builtin): New function.
10839 (describe-package-1, package-menu--generate): Use it.
10840 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10841 (package-generate-autoloads): Idem and return the name of the file.
10842 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10843 Change pkg-info arg to be a package-desc.
10844 Use package-make-ac-desc.
10845 (package-upload-file): Use \' to match EOS.
10846 * finder.el (finder-compile-keywords): Use package-make-builtin.
10848 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10850 * vc/vc.el (vc-deduce-fileset): Change error message.
10851 (vc-read-backend): New function.
10852 (vc-next-action): Use it.
10854 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10856 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10857 (prolog-font-lock-keywords): Use regexp-opt instead.
10858 Don't manually highlight strings.
10859 (prolog-mode-variables): Simplify comment-start-skip.
10860 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10862 * emacs-lisp/generic.el (generic--normalise-comments)
10863 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10864 (generic-mode-set-comments): Use them.
10865 (generic-bracket-support): Use setq-local.
10866 (generic-make-keywords-list): Declare obsolete.
10868 2013-06-11 Glenn Morris <rgm@gnu.org>
10870 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10871 Prettify after setting font-lock-defaults. (Bug#14574)
10873 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10875 * replace.el (query-replace, occur-read-regexp-defaults-function)
10877 * subr.el (declare-function, number-sequence, local-set-key)
10878 (substitute-key-definition, locate-user-emacs-file)
10879 (with-silent-modifications, split-string, eval-after-load):
10880 Fix typos, remove unneeded backslashes and reflow some docstrings.
10882 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10885 default for Elisp files.
10887 2013-06-11 Glenn Morris <rgm@gnu.org>
10889 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10890 although define-derived-mode was doing this anyway. (Bug#14583)
10892 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10894 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10895 Fix make-variable-buffer-local call to refer to the correct variable.
10897 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10899 * eshell/em-term.el (eshell-visual-commands)
10900 (eshell-visual-subcommands, eshell-visual-options):
10901 Add summary line to docstrings. Add cross-references.
10903 2013-06-10 Glenn Morris <rgm@gnu.org>
10905 * epa.el (epa-read-file-name): New function. (Bug#14510)
10906 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10908 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10910 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10911 output redirection to be ignored with visual commands.
10913 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10915 * eshell/em-term.el (eshell-visual-command-p): New function.
10916 (eshell-term-initialize): Move long lambda to separate function
10917 eshell-visual-command-p.
10918 * eshell/em-dirs.el (eshell-dirs-initialize):
10919 * eshell/em-script.el (eshell-script-initialize):
10920 Add missing #' to lambda.
10922 2013-06-08 Leo Liu <sdl.web@gmail.com>
10924 * progmodes/octave.el (octave-add-log-current-defun): New function.
10925 (octave-mode): Set add-log-current-defun-function.
10926 (octave-goto-function-definition): Do not move point if not found.
10927 (octave-find-definition): Enhance to try subfunctions first.
10929 2013-06-08 Glenn Morris <rgm@gnu.org>
10931 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10932 (byte-compile-backward-char, byte-compile-backward-word):
10933 Improve previous change, to handle non-explicit nil.
10935 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10938 (smie--opener/closer-at-point): New function.
10939 (smie--matching-block-data): Use it. Don't match from right after an
10940 opener or right before a closer. Obey smie-blink-matching-inners.
10941 Don't signal a mismatch for repeated inners like "switch..case..case".
10943 2013-06-07 Leo Liu <sdl.web@gmail.com>
10945 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10947 (octave-function-header-regexp): Fix. (Bug#14570)
10948 (octave-help-mode-finish-hook, octave-help-mode-finish):
10949 Remove. Just use temp-buffer-show-hook.
10951 * newcomment.el (comment-search-backward): Revert last change.
10954 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10956 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10958 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10959 through xargs, to avoid failure due to MS-Windows limitations on
10960 command-line length.
10962 2013-06-06 Glenn Morris <rgm@gnu.org>
10964 * font-lock.el (lisp-font-lock-keywords-2):
10965 Treat user-error like error.
10967 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10968 (byte-compile-backward-char, byte-compile-backward-word):
10969 Handle explicit nil arguments. (Bug#14565)
10971 2013-06-05 Alan Mackenzie <acm@muc.de>
10973 * isearch.el (isearch-allow-prefix): New user option.
10974 (isearch-other-meta-char): Don't exit isearch when a prefix
10975 argument is typed whilst `isearch-allow-prefix' is non-nil.
10978 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10980 * autorevert.el (auto-revert-notify-handler): Use memq.
10981 Hide assertion failure.
10983 * skeleton.el: Use cl-lib.
10984 (skeleton-further-elements): Use defvar-local.
10985 (skeleton-insert): Use cl-progv.
10987 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10989 * progmodes/prog-mode.el (prog-prettify-symbols)
10990 (prog-prettify-install): Update docstrings.
10992 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * simple.el: Move all the prog-mode code to prog-mode.el.
10995 * progmodes/prog-mode.el: New file.
10996 * loadup.el: Add prog-mode.el.
10998 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11000 * simple.el (prog-prettify-symbols): Add version.
11001 (prog-prettify-install): Add convenience function to prettify symbols.
11003 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
11004 (perl--augmented-font-lock-keywords-1)
11005 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
11006 variables and use it.
11008 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11009 (cfengine3-mode): Remove unneeded variable and use it.
11011 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11012 (lisp--augmented-font-lock-keywords-1)
11013 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
11014 Remove unneeded variables and use it.
11016 2013-06-05 João Távora <joaotavora@gmail.com>
11018 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
11019 to point when opening the connection. (Bug#14380)
11021 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11023 * subr.el (load-history-regexp, load-history-filename-element)
11024 (eval-after-load, after-load-functions, do-after-load-evaluation)
11025 (eval-next-after-load, display-delayed-warnings)
11026 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
11027 definition of save-match-data.
11028 (overriding-local-map): Remove accidental obsolescence declaration.
11030 * emacs-lisp/edebug.el (edebug-result): Move before first use.
11032 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
11034 Generalize symbol prettify support to prog-mode and implement it
11035 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
11036 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
11037 (prog--prettify-font-lock-compose-symbol)
11038 (prog-prettify-font-lock-symbols-keywords): New variables and
11039 functions to support symbol prettification.
11040 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
11041 (lisp--augmented-font-lock-keywords-1)
11042 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
11043 (lisp--prettify-symbols-alist): Implement prettify of lambda.
11044 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
11045 (cfengine3--prettify-symbols-alist, cfengine3-mode):
11046 Implement prettify of -> => :: strings.
11047 * progmodes/perl-mode.el (perl-prettify-symbols)
11048 (perl--font-lock-compose-symbol)
11049 (perl--font-lock-symbols-keywords): Move to prog-mode.
11050 (perl--prettify-symbols-alist): Prettify -> => :: strings.
11051 (perl-font-lock-keywords-1)
11052 (perl-font-lock-keywords-2): Remove explicit prettify support.
11053 (perl--augmented-font-lock-keywords)
11054 (perl--augmented-font-lock-keywords-1)
11055 (perl--augmented-font-lock-keywords-2, perl-mode):
11056 Implement prettify support.
11058 2013-06-05 Leo Liu <sdl.web@gmail.com>
11060 Re-implement SMIE matching block highlight using
11061 show-paren-data-function. (Bug#14395)
11062 * emacs-lisp/smie.el (smie-matching-block-highlight)
11063 (smie--highlight-matching-block-overlay)
11064 (smie--highlight-matching-block-lastpos)
11065 (smie-highlight-matching-block)
11066 (smie-highlight-matching-block-mode): Remove.
11067 (smie--matching-block-data-cache): New variable.
11068 (smie--matching-block-data): New function.
11069 (smie-setup): Use smie--matching-block-data for
11070 show-paren-data-function.
11072 * progmodes/octave.el (octave-mode-menu): Fix.
11073 (octave-find-definition): Skip garbage lines.
11075 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11077 Fix compilation error with simultaneous dynamic+lexical scoping.
11078 Add warning when a defvar appears after the first let-binding.
11079 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
11080 (byte-compile-close-variables): Initialize it.
11081 (byte-compile--declare-var): New function.
11082 (byte-compile-file-form-defvar)
11083 (byte-compile-file-form-define-abbrev-table)
11084 (byte-compile-file-form-custom-declare-variable): Use it.
11085 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11086 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11087 (byte-compile-bind): Handle dynamic bindings that shadow
11089 (byte-compile-unbind): Make arg non-optional.
11090 (byte-compile-let): Simplify.
11091 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11092 (cconv--analyse-function, cconv-analyse-form): Populate it.
11093 Protect byte-compile-bound-variables to limit the scope of defvars.
11094 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11095 Remove unneeded rule for `declare'.
11097 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11098 so as to avoid depending on cl-adjoin at run-time.
11099 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11101 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11102 (macroexp--warn-and-return): Use it.
11104 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * subr.el: Convert to lexical binding.
11107 (overriding-local-map): Make obsolete.
11108 (add-to-list): Doc fix. Add compiler macro.
11109 (read-key): Swap values of local maps.
11111 2013-06-05 Leo Liu <sdl.web@gmail.com>
11113 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11115 2013-06-04 Leo Liu <sdl.web@gmail.com>
11117 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11118 (compilation-auto-jump): Suppress the "Mark set" message to give
11119 way to exit message.
11121 2013-06-04 Alan Mackenzie <acm@muc.de>
11123 Remove faulty optimisation from indentation calculation.
11124 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11125 search limit based on 2000 characters back from indent-point.
11127 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11129 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11131 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * emacs-lisp/lisp.el: Use lexical-binding.
11134 (lisp--local-variables-1, lisp--local-variables): New functions.
11135 (lisp--local-variables-completion-table): New var.
11136 (lisp-completion-at-point): Use it complete let-bound vars.
11138 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11139 eagerly (bug#14422).
11141 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11143 * autorevert.el (auto-revert-notify-enabled)
11144 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11145 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11146 (auto-revert-notify-handler): Handle also gfilenotify.
11148 * subr.el (file-notify-handle-event): New defun. Replacing ...
11149 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11152 2013-06-03 Juri Linkov <juri@jurta.org>
11154 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11155 `M-s h .'. (Bug#14427)
11157 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11158 command `hi-lock-face-symbol-at-point'.
11159 (hi-lock-face-symbol-at-point): New command.
11160 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11161 (hi-lock-menu): Add `highlight-symbol-at-point'.
11162 (hi-lock-mode): Doc fix.
11164 * isearch.el (isearch-forward-symbol-at-point): New command.
11165 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11166 (isearch-highlight-regexp): Add a regexp which matches
11167 words/symbols for word/symbol mode.
11169 * subr.el (find-tag-default-bounds): New function with the body
11170 mostly moved from `find-tag-default'.
11171 (find-tag-default): Move most code to `find-tag-default-bounds',
11172 call it and apply `buffer-substring-no-properties' afterwards.
11174 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11176 * eshell/em-term.el (eshell-term-initialize):
11177 Use `cl-intersection' rather than `intersection'.
11179 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11181 * vc/log-view.el: Doc fix.
11182 (log-view-mode-map): Copy keymap from `special-mode-map'.
11184 2013-06-02 Eric Ludlam <zappo@gnu.org>
11186 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11187 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11188 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11189 (eieio-unbound, eieio-default-superclass)
11190 (eieio--define-field-accessors, method-static, method-before)
11191 (method-primary, method-after, method-num-lists)
11192 (method-generic-before, method-generic-primary)
11193 (method-generic-after, method-num-slots)
11194 (eieio-specialized-key-to-generic-key)
11195 (eieio--check-type, class-v, class-p)
11196 (eieio-class-name, define-obsolete-function-alias)
11197 (eieio-class-parents-fast, eieio-class-children-fast)
11198 (same-class-fast-p, class-constructor, generic-p)
11199 (generic-primary-only-p, generic-primary-only-one-p)
11200 (class-option-assoc, class-option, eieio-object-p)
11201 (class-abstract-p, class-method-invocation-order)
11202 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11203 (eieio-class-un-autoload, eieio-defclass)
11204 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11205 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11206 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11207 (eieio-defgeneric-reset-generic-form)
11208 (eieio-defgeneric-form-primary-only)
11209 (eieio-defgeneric-reset-generic-form-primary-only)
11210 (eieio-defgeneric-form-primary-only-one)
11211 (eieio-defgeneric-reset-generic-form-primary-only-one)
11212 (eieio-unbind-method-implementations)
11213 (eieio--defmethod, eieio--typep)
11214 (eieio-perform-slot-validation, eieio-validate-slot-value)
11215 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11216 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11217 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11218 (eieio-slot-name-index, eieio-class-slot-name-index)
11219 (eieio-set-defaults, eieio-initarg-to-attribute)
11220 (eieio-attribute-to-initarg, eieio-c3-candidate)
11221 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11222 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11223 (eieio-class-precedence-list, eieio-generic-call-methodname)
11224 (eieio-generic-call-arglst, eieio-generic-call-key)
11225 (eieio-generic-call-next-method-list)
11226 (eieio-pre-method-execution-functions, eieio-generic-call)
11227 (eieio-generic-call-primary-only, eieiomt-method-list)
11228 (eieiomt-optimizing-obarray, eieiomt-install)
11229 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11230 (eieio-generic-form, eieio-defmethod, make-obsolete)
11231 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11232 (defclass): Remove `eval-and-compile' from macro.
11233 (call-next-method, shared-initialize): Instead of using
11234 `scoped-class' variable, use new eieio--scoped-class, and
11235 eieio--with-scoped-class.
11236 (initialize-instance): Rename local variable 'scoped-class' to
11237 'this-class' to remove ambiguitity from old global.
11239 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11241 (eieio--scoped-class-stack): New variable.
11242 (eieio--scoped-class): New fcn.
11243 (eieio--with-scoped-class): New scoping macro.
11244 (eieio-defclass): Use pushnew instead of add-to-list.
11245 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11246 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11247 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11248 `scoped-class' variable, use new eieio--scoped-class, and
11249 eieio--with-scoped-class.
11251 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11253 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11255 * eshell/esh-ext.el (eshell-external-command): Pass args to
11256 `eshell-find-interpreter'.
11257 (eshell-find-interpreter): Add new second parameter ARGS.
11259 * eshell/em-script.el (eshell-script-initialize): Add second arg
11260 to the function added as MATCH to `eshell-interpreter-alist'.
11262 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11263 the function added as MATCH to `eshell-interpreter-alist'.
11265 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11266 (eshell-visual-options): New defcustom.
11267 (eshell-escape-control-x): Adapt docstring.
11268 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11269 `eshell-visual-options' in addition to `eshell-visual-commands'.
11270 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11272 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11274 * progmodes/python.el (python-indent-block-enders): Add break,
11275 continue and raise keywords.
11277 2013-06-01 Glenn Morris <rgm@gnu.org>
11279 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11281 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11282 * progmodes/cc-cmds.el (delete-forward-p):
11283 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11284 * progmodes/cc-engine.el (buffer-syntactic-context):
11285 * progmodes/cc-fonts.el (face-property-instance):
11286 * progmodes/cc-mode.el (set-keymap-parents):
11287 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11288 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11289 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11290 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11291 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11293 * progmodes/cc-vars.el (other): Emacs has this widget since
11294 at least 21.1, so don't (re)define it.
11296 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11297 Replace the obsolete alias pcomplete-arg-quote-list.
11299 2013-06-01 Leo Liu <sdl.web@gmail.com>
11301 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11302 punctuation syntax.
11303 (inferior-octave-minimal-columns)
11304 (inferior-octave-last-column-width): New variables.
11305 (inferior-octave-track-window-width-change): New function.
11306 (inferior-octave-mode): Adjust column width so that Octave output,
11307 for example from 'ls', can fit into the window nicely.
11309 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11311 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11312 Highlight expansions inside regexp literals.
11314 2013-05-31 Glenn Morris <rgm@gnu.org>
11316 * obsolete/sym-comp.el (symbol-complete):
11317 Replace obsolete completion-annotate-function.
11319 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11321 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11323 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11324 New function, checks if point is inside a literal that allows
11325 expression expansion.
11326 (ruby-syntax-propertize-expansion): Use it.
11327 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11330 2013-05-30 Juri Linkov <juri@jurta.org>
11332 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11334 (isearch-invisible): New variable.
11335 (isearch-forward): Doc fix.
11336 (isearch-mode): Set `isearch-invisible'
11337 to the value of `search-invisible'.
11338 (isearch-toggle-case-fold): Doc fix.
11339 (isearch-toggle-invisible): New command.
11340 (isearch-query-replace): Let-bind `search-invisible'
11341 to the value of `isearch-invisible'.
11342 (isearch-search): Use `isearch-invisible' instead of
11343 `search-invisible'. Let-bind `search-invisible'
11344 to the value of `isearch-invisible'. (Bug#11378)
11346 2013-05-30 Juri Linkov <juri@jurta.org>
11348 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11349 call when `query-flag' is nil and `search-invisible' is non-nil.
11352 2013-05-30 Glenn Morris <rgm@gnu.org>
11354 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11356 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11357 (cc-require): Suppress spurious "noruntime" warnings.
11358 (cc-require-when-compile): Use fboundp, for sake of compiler.
11360 * progmodes/cc-mode.el: Move load of cc-vars before that of
11361 cc-langs (which in turn loads cc-vars), to quieten compiler.
11363 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11365 * paren.el: Simplify the code.
11366 (show-paren-mode): Always start the timer.
11367 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11368 (show-paren--overlay, show-paren--overlay-1): Rename from
11369 show-paren-overlay and show-paren-overlay-1, and initialize to an
11370 overlay rather than to nil.
11371 (show-paren-function): Misc cleanup and simplifications.
11373 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11375 * paren.el (show-paren-data-function): New hook.
11376 (show-paren--default): New function, extracted from show-paren-function.
11377 (show-paren-function): Use show-paren-data-function.
11379 2013-05-30 Glenn Morris <rgm@gnu.org>
11381 * ielm.el (ielm-map, ielm-complete-symbol):
11382 Use completion-at-point rather than obsolete functions.
11383 (inferior-emacs-lisp-mode): Doc fix.
11384 Set completion-at-point-functions, rather than
11385 comint-dynamic-complete-functions.
11387 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11388 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11389 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11391 * image.el (image-animated-p): Tweak definition.
11393 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11394 (rlogin-process-connection-type): Tweak default. Add set-after.
11395 (rlogin-host): Doc fix.
11396 (rlogin): Tweak prompt.
11397 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11399 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11400 * progmodes/tcl.el (inferior-tcl-mode-map):
11401 Use completion-at-point rather than obsolete alias.
11403 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11405 * minibuffer.el (read-file-name-completion-ignore-case):
11406 Move before completion--in-region, for eager macro expansion.
11408 2013-05-29 Juri Linkov <juri@jurta.org>
11410 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11411 for total count of matching lines. Add `global-matches' for total
11412 count of matches. Rename `matches' to `lines' for count of
11413 matching lines. Add `matches' for count of matches.
11414 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11415 to `prev-line' for line number of prev match endpt.
11416 Increment `matches' for every match. Print the number of
11417 matching lines in the header.
11418 (occur-context-lines): Rename `lines' to `curr-line'.
11419 Rename `prev-lines' to `prev-line'. (Bug#14017)
11421 2013-05-29 Juri Linkov <juri@jurta.org>
11423 * replace.el (perform-replace): Add `skip-read-only-count',
11424 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11425 Increment them for corresponding conditions and report the number
11426 of skipped occurrences in the final message. (Bug#11746)
11427 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11428 (replace-string, replace-regexp): Doc fix.
11430 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11432 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11434 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11435 prog-mode-map (bug#14504).
11437 2013-05-29 Leo Liu <sdl.web@gmail.com>
11439 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11440 (octave-help): Small simplification.
11442 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11443 off the highlight first.
11445 2013-05-29 Glenn Morris <rgm@gnu.org>
11447 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11448 Handle idlwave-last-system-routine-info-cons-cell being nil.
11450 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11451 (idlwave-write-paths): Simplify via with-temp-buffer.
11453 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11454 * emulation/cua-rect.el: Also load cua-base at run time.
11456 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11457 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11458 (cperl-imenu-on-info): Require imenu.
11460 2013-05-28 Alan Mackenzie <acm@muc.de>
11462 Handle "capitalised keywords" correctly.
11463 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11465 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11467 * eshell/em-unix.el: Add -r option to cp.
11469 2013-05-28 Glenn Morris <rgm@gnu.org>
11471 * vc/vc-arch.el (vc-exec-after): Declare.
11472 (vc-switches): Autoload.
11473 * vc/vc-bzr.el: No need to require vc when compiling.
11474 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11475 (vc-resynch-buffer, vc-dir-refresh): Declare.
11476 (vc-setup-buffer, vc-switches): Autoload.
11477 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11478 (vc-resynch-buffer): Declare.
11479 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11480 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11481 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11482 (grep-read-regexp, grep-read-files, grep-expand-template)
11483 (vc-dir-refresh): Declare.
11484 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11485 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11486 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11487 * vc/vc-mtn.el (vc-exec-after): Declare.
11488 (vc-switches): Autoload.
11489 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11490 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11491 (vc-file-tree-walk): Declare.
11492 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11493 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11494 (vc-tag-precondition, vc-rename-master): Autoload.
11495 * vc/vc-svn.el (vc-exec-after): Declare.
11496 (vc-switches, vc-setup-buffer): Autoload.
11497 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11499 (vc-resynch-buffer): Declare.
11501 * obsolete/fast-lock.el (byte-compile-warnings):
11502 Don't warn about obsolete features in this obsolete file.
11504 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11505 Move definition before use.
11507 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11508 (dun-unix-verbs): Remove dun-zippy.
11509 (dun-zippy): Remove function.
11511 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11513 2013-05-27 Juri Linkov <juri@jurta.org>
11515 * replace.el (replace-search): New function with code moved out
11516 from `perform-replace'.
11517 (replace-highlight, replace-dehighlight): Move function definitions
11518 up closer to `replace-search'. (Bug#11746)
11520 2013-05-27 Juri Linkov <juri@jurta.org>
11522 * replace.el (perform-replace): Ignore invisible matches.
11523 In addition to checking `query-replace-skip-read-only', also
11524 filter out matches by calling `run-hook-with-args-until-failure'
11525 on `isearch-filter-predicates', and also check `search-invisible'
11526 for t or call `isearch-range-invisible'.
11527 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11529 2013-05-27 Juri Linkov <juri@jurta.org>
11531 * isearch.el (isearch-filter-predicates): Rename from
11532 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11533 (isearch-message-prefix): Display text from the property
11534 `isearch-message-prefix' of the currently active filters.
11535 (isearch-search): Don't compare `isearch-filter-predicate' with
11536 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11537 on `isearch-filter-predicates'. Also check `search-invisible' for t
11538 or call `isearch-range-invisible'.
11539 (isearch-filter-visible): Make obsolete.
11540 (isearch-lazy-highlight-search):
11541 Call `run-hook-with-args-until-failure' on
11542 `isearch-filter-predicates' and use `isearch-range-invisible'.
11544 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11545 `isearch-filter-predicates' instead of `funcall'ing
11546 `isearch-filter-predicate'.
11547 (Info-mode): Set `Info-isearch-filter' to
11548 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11550 * dired-aux.el (dired-isearch-filter-predicate-orig):
11552 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11553 (dired-isearch-filenames-end): Add and remove
11554 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11555 instead of changing the value of `isearch-filter-predicate'.
11556 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11557 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11558 Put property `isearch-message-prefix' to "filename " on
11559 `dired-isearch-filter-filenames'.
11561 * wdired.el (wdired-change-to-wdired-mode):
11562 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11563 locally instead of changing `isearch-filter-predicate'.
11564 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11566 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11568 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11569 return the commit hash (Bug#14459). Also set the
11570 `vc-git-detached' property.
11571 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11572 (vc-git-mode-line-string): Use the same help-echo format whether
11573 in detached mode or not, because we know the actual revision now.
11574 When in detached mode, shorten the revision to 7 chars.
11576 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11578 * emacs-lisp/easy-mmode.el (define-minor-mode):
11579 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11580 mode hook and provide a docstring.
11582 2013-05-27 Alan Mackenzie <acm@muc.de>
11584 Remove spurious syntax-table text properties inserted by C-y.
11585 * progmodes/cc-mode.el (c-after-change): Also clear hard
11586 syntax-table property with value nil.
11588 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11590 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11591 when reading the events; the buffer layout shall not be changed.
11593 2013-05-27 Leo Liu <sdl.web@gmail.com>
11595 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11597 (inferior-octave-directory-tracker): Automatically re-sync
11599 (octave-help): Improve handling of 'See also'.
11601 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11603 * doc-view.el: Minor naming convention tweaks.
11604 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11606 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11607 even if there's no `display' property yet (bug#14435).
11609 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11611 * subr.el (unmsys--file-name): Rename from reveal-filename.
11613 * Makefile.in (custom-deps, finder-data, autoloads)
11614 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11615 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11616 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11618 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11620 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11621 error-completion on the first 2 args of condition-case (bug#14446).
11624 2013-05-25 Leo Liu <sdl.web@gmail.com>
11626 * comint.el (comint-previous-matching-input): Do not flood the
11627 *Messages* buffer with trivial messages.
11629 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11631 * progmodes/flymake.el (flymake-nop): Don't return a string.
11632 (flymake-set-at): Fix typo.
11634 * simple.el (read--expression): New function, extracted from
11635 eval-expression. Set completion-at-point-functions (bug#14465).
11636 (eval-expression, eval-minibuffer): Use it.
11638 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11640 * progmodes/flymake.el (flymake-save-buffer-in-file)
11641 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11642 (flymake-selected-frame, flymake-log, flymake-ins-after)
11643 (flymake-set-at, flymake-get-buildfile-from-cache)
11644 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11645 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11646 Refine the doc string.
11647 (flymake-get-file-name-mode-and-masks): Reformat.
11648 (flymake-get-real-file-name-function): Fix a minor bug.
11650 2013-05-24 Juri Linkov <juri@jurta.org>
11652 * progmodes/grep.el (grep-mode-font-lock-keywords):
11653 Support =linenumber= format used by git-grep for lines with
11654 function names. (Bug#13549)
11656 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11658 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11659 0 after a semi-colon; it works better for smie-auto-fill.
11660 (octave--indent-new-comment-line): New function.
11661 (octave-indent-new-comment-line): Use it (indirectly).
11662 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11663 modify comment-line-break-function.
11665 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11666 (smie-setup): Use add-function to set it.
11668 2013-05-24 Sam Steingold <sds@gnu.org>
11670 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11671 argument (before the `interactive' argument).
11673 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11675 * image-mode.el (image-mode-winprops): Add winprops to
11676 image-mode-winprops-alist before running
11677 image-mode-new-window-functions.
11678 * doc-view.el (doc-view-new-window-function): Don't delay
11679 doc-view-goto-page via timers (bug#14435).
11681 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11683 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11684 (doc-view-desktop-save-buffer): New function.
11685 (doc-view-restore-desktop-buffer): New function.
11686 (desktop-buffer-mode-handlers):
11687 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11689 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11690 `desktop-save-buffer' function.
11692 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11694 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11695 (tramp-gvfs-file-name-handler): Raise a user error when
11696 `tramp-gvfs-enabled' is nil.
11697 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11698 Do not raise a user error when loading package. (Bug#14447)
11700 * net/xesam.el: Move to obsolete/.
11702 2013-05-24 Glenn Morris <rgm@gnu.org>
11704 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11706 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11708 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11709 (Info-find-node, Man-getpage-in-background): Declare.
11711 * mail/unrmail.el (unrmail):
11712 Replace obsolete detect-coding-with-priority.
11714 * net/socks.el (socks-split-string): Use this rather than split-string.
11715 (socks-nslookup-host): Update for above change.
11716 (dynamic-choice, s5-dynamic-choice-match)
11717 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11718 Comment out unused code.
11720 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11721 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11722 (gud-tooltip-echo-area): Make obsolete.
11723 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11725 * progmodes/js.el (js--optimize-arglist): Declare.
11727 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11729 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11730 (ediff-window-C): Declare.
11732 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11733 Tweak requires to silence compiler.
11735 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11736 (he-search-string, he-tried-table, he-expand-list)
11737 (he-init-string, he-string-member, he-substitute-string)
11738 (he-reset-string): Declare.
11740 * obsolete/options.el (list-options): Use custom-variable-p,
11741 rather than obsolete alias.
11743 2013-05-23 Sam Steingold <sds@gnu.org>
11745 * simple.el (shell-command-on-region): Pass the `replace' argument
11746 down to `call-process-region' to comply with the doc as reported on
11747 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11749 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * emacs-lisp/smie.el (smie-indent-forward-token)
11752 (smie-indent-backward-token): Handle string tokens (bug#14381).
11754 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11756 * ielm.el (ielm-menu): New menu.
11757 (inferior-emacs-lisp-mode): Set comment-start.
11759 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11761 * textmodes/reftex.el (reftex-ref-style-toggle):
11762 Fix deactivate action.
11764 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11765 Add cleveref macros.
11767 * textmodes/reftex-parse.el
11768 (reftex-locate-bibliography-files): Accept options for
11769 bibliography commands.
11770 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11771 Add addbibresource. Basic Biblatex support.
11773 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11775 * net/tramp-gvfs.el (top):
11776 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11777 when loading package. (Bug#14447)
11779 2013-05-23 Glenn Morris <rgm@gnu.org>
11781 * progmodes/js.el: No need to load comint when compiling.
11782 (ring-insert, comint-send-string, comint-send-input)
11783 (comint-last-input-end, ido-chop): Declare.
11785 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11786 * vc/ediff-mult.el: Adjust requires.
11787 (ediff-directories-internal, ediff-directory-revisions-internal)
11788 (ediff-patch-file-internal): Declare.
11789 * vc/ediff-ptch.el: Adjust requires.
11790 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11791 (ediff-find-file): Autoload.
11792 * vc/ediff-util.el: No need to load ediff when compiling.
11793 (ediff-regions-internal): Declare.
11794 * vc/ediff-wind.el: Adjust requires.
11795 (ediff-compute-toolbar-width): Define when compiling.
11796 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11797 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11798 (dired-get-filename, dired-get-marked-files)
11799 (ediff-last-dir-patch, ediff-patch-default-directory)
11800 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11801 (ediff-patch-buffer-internal): Declare.
11803 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11804 (ispell-process, ispell-buffer-local-words, lm-summary)
11805 (lm-section-start, lm-section-end): Declare.
11806 (checkdoc-ispell-init): Simplify.
11808 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11809 (he-string-member, he-reset-string, he-substitute-string): Declare.
11811 * eshell/em-ls.el: Adjust requires.
11812 (eshell-glob-regexp): Declare.
11813 * eshell/em-tramp.el: Adjust requires.
11814 (eshell-parse-command): Autoload.
11815 * eshell/em-xtra.el: Adjust requires.
11816 (eshell-parse-command): Autoload.
11817 * eshell/esh-ext.el: Adjust requires.
11818 (eshell-parse-command, eshell-close-handles): Autoload.
11819 * eshell/esh-io.el: Adjust requires.
11820 (eshell-output-filter): Autoload.
11821 * eshell/esh-util.el: No need to load tramp when compiling.
11822 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11824 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11825 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11826 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11827 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11828 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11829 * eshell/esh-opt.el, eshell/esh-proc.el:
11830 * eshell/esh-var.el: Adjust requires.
11831 * eshell/eshell.el: Do not require esh-util twice.
11832 (eshell-add-input-to-history): Declare.
11833 (eshell-command): Check history module is active before using it.
11835 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11837 2013-05-22 Leo Liu <sdl.web@gmail.com>
11839 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11841 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11843 * autorevert.el (auto-revert-notify-add-watch)
11844 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11845 it indicates changes in file modification time.
11847 2013-05-22 Glenn Morris <rgm@gnu.org>
11849 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11850 Always delete the autoloaded function from the noruntime and
11851 unresolved functions lists.
11853 * allout.el: No need to load epa, epg, overlay when compiling.
11854 (epg-context-set-passphrase-callback, epg-list-keys)
11855 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11856 (epg-key-user-id-list): Declare.
11858 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11859 (viper-set-parsing-style-toggling-macro)
11860 (viper-set-emacs-state-searchstyle-macros):
11861 Use called-interactively-p on Emacs.
11862 (viper-looking-back): Make it an obsolete alias. Update callers.
11863 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11864 Use looking-back rather than viper-looking-back.
11865 (viper-tmp-insert-at-eob, viper-enlarge-region)
11866 (viper-read-string-with-history, viper-register-to-point)
11867 (viper-append-to-register, viper-change-state-to-vi)
11868 (viper-backward-char-carefully, viper-forward-char-carefully)
11869 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11870 (viper-change-state-to-emacs): Declare.
11871 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11872 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11873 * emulation/viper-mous.el: Do not load viper-cmd.
11874 (viper-backward-char-carefully, viper-forward-char-carefully)
11875 (viper-forward-word, viper-adjust-window): Declare.
11877 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11879 * progmodes/idlw-help.el (idlwave-help-fontify):
11880 Use called-interactively-p.
11882 * term/w32console.el (w32-get-console-codepage)
11883 (w32-get-console-output-codepage): Declare.
11885 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11886 Remove unnecessary declarations.
11887 (dframe-message): Doc fix.
11889 * info.el (dframe-select-attached-frame, dframe-current-frame):
11892 * speedbar.el (speedbar-message): Make it an obsolete alias.
11893 Update all callers.
11894 (speedbar-with-attached-buffer)
11895 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11896 (speedbar-with-writable): Use backquote.
11897 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11898 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11899 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11900 rather than speedbar- aliases.
11901 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11902 (speedbar-make-specialized-keymap, speedbar-insert-button)
11903 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11904 (speedbar-do-function-pointer): Declare.
11905 (rmail-speedbar-button, rmail-speedbar-find-file)
11906 (rmail-speedbar-move-message):
11907 Use dframe-with-attached-buffer rather than speedbar- alias.
11908 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11909 (dframe-message, speedbar-make-specialized-keymap)
11910 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11911 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11912 (speedbar-insert-button, dframe-select-attached-frame)
11913 (dframe-maybee-jump-to-attached-frame)
11914 (speedbar-change-initial-expansion-list)
11915 (speedbar-previously-used-expansion-list-name): Declare.
11916 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11917 Use dframe-message, dframe-with-attached-buffer rather than
11919 (gud-sentinel): Silence compiler.
11920 * progmodes/vhdl-mode.el (speedbar-refresh)
11921 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11922 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11923 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11924 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11925 (speedbar-file-lists, speedbar-make-tag-line)
11926 (speedbar-line-directory, speedbar-goto-this-file)
11927 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11928 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11929 (speedbar-make-button, speedbar-reset-scanners)
11930 (speedbar-files-item-info, speedbar-line-text)
11931 (speedbar-find-file-in-frame, speedbar-set-timer)
11932 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11933 (speedbar-with-writable): Do not (re)define it.
11934 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11935 rather than speedbar- alias.
11937 2013-05-21 Leo Liu <sdl.web@gmail.com>
11939 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11941 (octave-mode): Tweak fill-nobreak-predicate.
11942 (inferior-octave-startup): Check process to avoid infinite loop.
11943 (inferior-octave): Pop to buffer first to show abornmal process
11946 2013-05-21 Glenn Morris <rgm@gnu.org>
11948 * printing.el (pr-menu-bar): Define when compiling.
11950 2013-05-21 Leo Liu <sdl.web@gmail.com>
11952 * progmodes/octave.el (octave-auto-fill): Remove.
11953 (octave-indent-new-comment-line): Improve.
11954 (octave-mode): Use auto fill mode through
11955 comment-line-break-function and fill-nobreak-predicate.
11956 (octave-goto-function-definition): Support DEFUN_DLD.
11957 (octave-beginning-of-defun): Small tweak.
11958 (octave-help): Show parent directory.
11960 2013-05-21 Glenn Morris <rgm@gnu.org>
11962 * files.el (dired-unmark):
11963 * progmodes/gud.el (gdb-input): Update declarations.
11965 * calculator.el (electric, ehelp): No need to load when compiling.
11966 (Electric-command-loop, electric-describe-mode): Declare.
11968 * doc-view.el (doc-view-current-converter-processes): Move before use.
11970 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11971 Move MODE-set-explicitly definition before use.
11973 * international/mule-diag.el (mule-diag):
11974 Don't use obsolete window-system-version.
11976 * mail/feedmail.el (smtpmail): No need to load when compiling.
11977 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11979 * mail/mail-utils.el (rfc822): No need to load when compiling.
11980 (rfc822-addresses): Autoload it.
11981 (mail-strip-quoted-names): Trivial simplification.
11983 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11984 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11986 * net/snmp-mode.el (tempo): Don't duplicate requires.
11988 * progmodes/prolog.el (info): No need to load when compiling.
11989 (comint): Require before shell requires it.
11990 (Info-goto-node): Autoload it.
11991 (Info-follow-nearest-node): Declare.
11992 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11994 * textmodes/artist.el (picture-mode-exit): Declare.
11996 * textmodes/reftex-parse.el (reftex-parse-from-file):
11997 Trivial rewrite so the compiler can parse it better.
11999 2013-05-20 Leo Liu <sdl.web@gmail.com>
12001 * progmodes/octave.el (octave-help-mode-map)
12002 (octave-help-mode-finish-hook): New variables.
12003 (octave-help-mode, octave-help-mode-finish): New functions.
12004 (octave-help): Use octave-help-mode.
12006 2013-05-20 Glenn Morris <rgm@gnu.org>
12008 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
12010 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
12012 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
12013 start at point, so that expansion starting right after opening
12014 slash in a regexp is recognized.
12015 (ruby-syntax-before-regexp-re): New defvar, extracted from
12016 ruby-syntax-propertize-function. Since the value of this regexp
12017 is looked up at runtime now, we should be able to turn
12018 `ruby-syntax-methods-before-regexp' into a defcustom later.
12019 (ruby-syntax-propertize-function): Split regexp matching into two
12020 parts, for opening and closing slashes. That allows us to skip
12021 over string interpolations and support multiline regexps.
12022 Don't call `ruby-syntax-propertize-expansions', instead use another rule
12023 for them, which calls `ruby-syntax-propertize-expansion'.
12024 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
12025 call to `ruby-syntax-propertize-function'.
12026 (ruby-syntax-propertize-expansion): Extracted from
12027 `ruby-syntax-propertize-expansions'. Handles one expansion.
12028 (ruby-syntax-propertize-percent-literal): Leave point right after
12029 the percent symbol, so that the expression expansion rule can
12030 propertize the contents.
12031 (ruby-syntax-propertize-heredoc): Leave point at bol following the
12033 (ruby-syntax-propertize-expansions): Remove.
12035 2013-05-18 Juri Linkov <juri@jurta.org>
12037 * man.el (Man-default-man-entry): Remove `-' from the end
12038 of the default value. (Bug#14400)
12040 2013-05-18 Glenn Morris <rgm@gnu.org>
12042 * comint.el (comint-password-prompt-regexp):
12043 Allow "password for XXX" where XXX contains colons (eg https://...).
12045 2013-05-18 Leo Liu <sdl.web@gmail.com>
12047 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
12048 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
12049 (octave-source-directories): Don't check process.
12050 (octave-source-directories, octave-find-definition): Doc fix.
12052 2013-05-18 Glenn Morris <rgm@gnu.org>
12054 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
12055 Remove backspace/delete bindings. (Bug#14392)
12057 * cus-dep.el (custom-make-dependencies): Sort the output.
12058 (custom-versions-load-alist): Convert comment to doc.
12060 2013-05-17 Leo Liu <sdl.web@gmail.com>
12062 * newcomment.el (comment-search-backward): Stricter in finding
12063 comment start. (Bug#14303)
12065 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
12066 (octave-comment-start-skip): Properly anchored.
12068 2013-05-17 Leo Liu <sdl.web@gmail.com>
12070 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
12071 Clean up when turned off. (Bug#14395)
12072 (smie--highlight-matching-block-overlay): No longer buffer-local.
12073 (smie-highlight-matching-block): Adjust.
12075 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
12077 Doc string fix for "nanoseconds" (Bug#14406).
12078 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
12079 Fix doc string typo that had "nanoseconds" instead of "microseconds".
12081 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
12083 * calc/calc-units.el (math-extract-units): Preserve powers
12086 2013-05-17 Leo Liu <sdl.web@gmail.com>
12088 * subr.el (delete-consecutive-dups): New function.
12089 * ido.el (ido-set-matches-1): Use it.
12090 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12091 * ido.el (ido-remove-consecutive-dups): Remove.
12093 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12096 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12097 regexp-opt's `words'.
12099 2013-05-16 Leo Liu <sdl.web@gmail.com>
12101 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12102 (smie--highlight-matching-block-overlay)
12103 (smie--highlight-matching-block-lastpos)
12104 (smie--highlight-matching-block-timer): New variables.
12105 (smie-highlight-matching-block): New function.
12106 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12107 (smie-setup): Conditionally enable smie-blink-matching-open.
12109 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12111 Sync with upstream verilog-mode r840.
12112 * progmodes/verilog-mode.el (verilog-mode-version)
12113 (verilog-mode-release-date): Update.
12114 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12115 (verilog-sig-tieoff): Fix string error on
12116 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12117 (verilog-read-decls): Fix parameters confusing
12118 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12120 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12122 * subr.el (reveal-filename): New function.
12124 * loadup.el: Compute Emacs executable versions on MS-Windows,
12125 where executables have the .exe extension. Add a hard link
12126 emacs-XX.YY.ZZ.exe on MS-Windows.
12128 * Makefile.in (XARGS_LIMIT): New variable.
12129 (custom-deps, finder-data, autoloads)
12130 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12131 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12132 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12133 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12135 2013-05-16 Leo Liu <sdl.web@gmail.com>
12137 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12138 (octave-mode-menu, octave-mode-map): Remove its uses.
12140 2013-05-16 Reto Zimmermann <reto@gnu.org>
12142 Sync with upstream vhdl mode v3.34.2.
12143 * progmodes/vhdl-mode.el: Use `push' throughout.
12144 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12145 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12146 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12147 (vhdl-actual-generic-name): New option to derive actual generic name.
12148 (vhdl-port-paste-signals): Replace formal by actual generics.
12149 (vhdl-beautify): New name for old group vhdl-align. Update users.
12150 (vhdl-beautify-options): New option.
12151 (vhdl-last-input-event): New compat alias. Use throughout.
12152 (vhdl-goto-line): Replace user level function `goto-line'.
12153 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12154 vhdl-fix-statement-buffer.
12155 (vhdl-create-mode-menu): Add some entries.
12156 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12157 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12158 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12159 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12160 to force statements on one line.
12161 (vhdl-remove-trailing-spaces-region):
12162 New, split from vhdl-remove-trailing-spaces.
12163 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12164 Respect vhdl-beautify-options.
12165 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12166 (vhdl-update-sensitivity-list): Not add with index if exists without.
12167 Not include array index with signal. Ignore keywords in comments.
12168 (vhdl-get-visible-signals): Regexp tweaks.
12169 (vhdl-template-component-inst): Handle empty library.
12170 (vhdl-template-type): Add template for 'enum' type.
12171 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12172 Use vhdl-replace-string.
12173 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12174 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12175 (vhdl-speedbar-initialize): Update for above name change.
12176 (vhdl-compose-wire-components): Fix in handling of constants.
12177 (vhdl-error-regexp-emacs-alist): New variable.
12178 (vhdl-error-regexp-add-emacs): New function;
12179 adds support for new compile.el (Emacs 22+)
12180 (vhdl-generate-makefile-1): Change target order for single lib. units.
12181 Allow use of absolute file names.
12183 2013-05-16 Leo Liu <sdl.web@gmail.com>
12185 * simple.el (prog-indent-sexp): Indent enclosing defun.
12187 2013-05-15 Glenn Morris <rgm@gnu.org>
12189 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12190 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12191 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12192 (whitespace-highlight): Move to whitespace group.
12194 * comint.el (comint-source):
12195 * pcmpl-linux.el (pcmpl-linux):
12196 * shell.el (shell-faces):
12197 * eshell/esh-opt.el (eshell-opt):
12198 * international/ccl.el (ccl): Remove empty custom groups.
12200 * completion.el (dynamic-completion-mode):
12201 * jit-lock.el (jit-lock-debug-mode):
12202 * minibuffer.el (completion-in-region-mode):
12203 * type-break.el (type-break-mode-line-message-mode)
12204 (type-break-query-mode):
12205 * emulation/tpu-edt.el (tpu-edt-mode):
12206 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12207 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12208 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12210 * term/xterm.el (xterm): Change parent group to terminals.
12212 * master.el (master): Remove empty custom group.
12213 (master-mode): Remove unused :group argument.
12214 * textmodes/refill.el (refill): Remove empty custom group.
12215 (refill-mode): Remove unused :group argument.
12217 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12219 * cus-dep.el: Provide a feature.
12220 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12221 Don't mistakenly ignore files whose basenames match a basename
12222 from preloaded-file-list (eg cedet/ede/simple.el).
12223 Add a fallback method for getting :group.
12225 2013-05-15 Juri Linkov <juri@jurta.org>
12227 * isearch.el (isearch-char-by-name): Rename from
12228 `isearch-insert-char-by-name'. Doc fix.
12229 (isearch-forward): Mention `isearch-char-by-name' in
12230 the docstring. (Bug#13348)
12232 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12233 `exit-minibuffer' instead of
12234 `isearch-nonincremental-exit-minibuffer'.
12235 (isearch-edit-string): Remove mention of
12236 `isearch-nonincremental-exit-minibuffer' from docstring.
12237 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12238 (isearch-forward-exit-minibuffer)
12239 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12241 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12243 * loadup.el: Just use unversioned DOC.
12245 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12246 literals as extending to EOB.
12247 (nxml-last-fontify-end): Remove unused variable.
12248 (nxml-after-change1): Use with-silent-modifications.
12249 (nxml-extend-after-change-region): Simplify.
12250 (nxml-extend-after-change-region1): Remove function.
12251 (nxml-after-change1): Don't adjust for dependent regions.
12252 (nxml-fontify-matcher): Simplify.
12253 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12254 (xmltok-add-dependent): Remove function.
12255 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12256 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12257 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12258 unclosed <[[, <?, comment, and other literals as extending to EOB.
12259 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12260 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12262 (rng-do-some-validation-1): Don't mark dependent regions.
12263 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12264 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12265 (nxml-clear-dependent-regions): Remove functions.
12266 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12267 (nxml-ensure-scan-up-to-date):
12268 Don't clear&mark dependent regions.
12270 2013-05-15 Leo Liu <sdl.web@gmail.com>
12272 * progmodes/octave.el (octave-goto-function-definition):
12273 Improve and fix callers.
12275 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12277 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12278 the setter (bug#14387).
12280 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12281 surrounding group (bug#14402).
12283 2013-05-14 Juri Linkov <juri@jurta.org>
12285 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12288 2013-05-14 Glenn Morris <rgm@gnu.org>
12290 * progmodes/f90.el (f90-imenu-generic-expression):
12291 Fix typo in 2013-05-08 change. (Bug#14402)
12293 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12295 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12296 Remove signals for which replies are never received.
12298 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12300 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12301 (gdb-handler-alist, gdb-handler-number): Remove variables.
12302 (gdb-handler-list): New variable.
12303 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12304 (gdb-pending-handler-p, gdb-handle-reply)
12305 (gdb-remove-all-pending-triggers): New functions.
12306 (gdb-discard-unordered-replies): New defcustom.
12307 (gdb-handler): New defstruct.
12308 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12309 instead of gdb-pending-triggers. Update docstring.
12310 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12311 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12312 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12313 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12314 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12315 (gdb-frame-handler): Pending triggers are now automatically managed.
12316 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12318 (gdb-input): Automatically handles pending triggers. Update docstring.
12319 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12320 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12322 (gdb-done-or-error): Now use gdb-handle-reply.
12324 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12326 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12329 2013-05-14 Glenn Morris <rgm@gnu.org>
12331 * subr.el (user-emacs-directory-warning): New option.
12332 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12334 2013-05-14 Leo Liu <sdl.web@gmail.com>
12336 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12338 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12339 (octave-font-lock-texinfo-comment): Fix invalid search bound
12340 error: wrong side of point.
12342 2013-05-14 Glenn Morris <rgm@gnu.org>
12344 * progmodes/flymake.el (flymake-xml-program): New option.
12345 (flymake-xml-init): Use it.
12347 * term/xterm.el: Provide a feature.
12349 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12351 2013-05-13 Glenn Morris <rgm@gnu.org>
12353 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12354 Add compat aliases as a hack workaround. (Bug#14384)
12356 2013-05-13 Leo Liu <sdl.web@gmail.com>
12358 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12360 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12362 (octave-comment-start-skip): Include %!.
12363 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12365 2013-05-12 Leo Liu <sdl.web@gmail.com>
12367 * progmodes/octave.el (inferior-octave-startup): Store the value
12368 of __octave_srcdir__ for octave-source-directories.
12369 (inferior-octave-check-process): New function refactored out of
12370 inferior-octave-send-list-and-digest.
12371 (octave-source-directories)
12372 (octave-find-definition-filename-function): New variables.
12373 (octave-source-directories)
12374 (octave-find-definition-default-filename): New functions.
12375 (octave-find-definition): Improve to find functions implemented in C++.
12377 2013-05-12 Glenn Morris <rgm@gnu.org>
12379 * calendar/diary-lib.el (diary-outlook-format-1):
12380 Don't include dayname in the output. (Bug#14349)
12382 2013-05-11 Glenn Morris <rgm@gnu.org>
12384 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12386 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12387 Treat cc-provide like provide.
12389 2013-05-11 Kevin Ryde <user42@zip.com.au>
12391 * cus-dep.el (custom-make-dependencies):
12392 Use generated-autoload-load-name for the sake of files such
12393 such cedet/semantic/bovine/c.el, where the base file name
12394 is not in load-path. (Bug#5277)
12396 2013-05-11 Glenn Morris <rgm@gnu.org>
12398 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12401 2013-05-11 Leo Liu <sdl.web@gmail.com>
12403 * progmodes/octave.el (octave-indent-comment): Improve.
12404 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12405 (octave-eldoc-function-signatures, octave-eldoc-function):
12407 (octave-mode, inferior-octave-mode): Add eldoc support.
12409 2013-05-11 Richard Stallman <rms@gnu.org>
12411 * epa.el (epa-decrypt-file): Take output file name as argument
12412 and read it using `interactive'.
12414 2013-05-11 Leo Liu <sdl.web@gmail.com>
12416 * progmodes/octave.el (octave-beginning-of-line)
12417 (octave-end-of-line): Check before using up-list because it jumps
12418 out of more syntactic contructs since moving to smie.
12419 (octave-indent-comment): New function.
12420 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12421 (octave-begin-keywords, octave-end-keywords)
12422 (octave-reserved-words, octave-smie-bnf-table)
12423 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12425 2013-05-11 Glenn Morris <rgm@gnu.org>
12427 * faces.el (internal-face-x-get-resource):
12428 * frame.el (ns-display-monitor-attributes-list):
12429 * calc/calc-aent.el (math-to-radians-2):
12430 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12433 * calc/calc-menu.el: Make it loadable in isolation.
12435 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12436 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12437 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12438 (eudc-bbdb-query-internal): Require 'bbdb.
12440 * lpr.el (lpr-headers-switches):
12441 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12443 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12445 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12447 * term.el (term-set-escape-char): Make it idempotent.
12449 2013-05-10 Leo Liu <sdl.web@gmail.com>
12451 * progmodes/octave.el (inferior-octave-completion-table):
12452 No longer a function and all uses changed. Use cache to speed up
12453 completion due to bug#11906.
12454 (octave-beginning-of-defun): Re-write to be more general.
12456 2013-05-10 Glenn Morris <rgm@gnu.org>
12458 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12460 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12462 * comint.el (comint-redirect-send-command-to-process): Use :around
12463 rather than :override for comint-redirect-filter.
12464 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12465 Call it instead of comint-redirect-original-filter-function (which
12466 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12468 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12470 * frame.el (display-monitor-attributes-list): Add NS case.
12471 (ns-display-monitor-attributes-list): Declare.
12473 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12475 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12477 2013-05-09 Glenn Morris <rgm@gnu.org>
12479 * international/fontset.el (vertical-centering-font-regexp):
12480 Set standard-value.
12482 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12484 * bookmark.el (bookmark-search-delay):
12485 * cus-start.el (vertical-centering-font-regexp):
12486 * ps-mule.el (ps-mule-font-info-database-default):
12487 * ps-print.el (ps-default-fg, ps-default-bg):
12488 * type-break.el (type-break-good-break-interval):
12489 * whitespace.el (whitespace-indentation-regexp)
12490 (whitespace-space-after-tab-regexp):
12491 * emacs-lisp/testcover.el (testcover-1value-functions)
12492 (testcover-noreturn-functions, testcover-progn-functions)
12493 (testcover-prog1-functions):
12494 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12495 * eshell/em-glob.el (eshell-glob-translate-alist):
12496 * play/tetris.el (tetris-tty-colors):
12497 * progmodes/cpp.el (cpp-face-default-list):
12498 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12499 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12500 (idlwave-help-browser-generic-args):
12501 * progmodes/make-mode.el (makefile-special-targets-list):
12502 * progmodes/python.el (python-shell-virtualenv-path):
12503 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12504 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12505 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12506 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12507 * textmodes/reftex-vars.el (reftex-format-label-function):
12508 * textmodes/remember.el (remember-diary-file): Fix custom types.
12510 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12513 2013-05-09 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (inferior-octave-completion-at-point):
12516 Restore file completion. (Bug#14300)
12517 (inferior-octave-startup): Fix incorrect highlighting for the
12520 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12522 * progmodes/ruby-mode.el: First cut at SMIE support.
12523 (ruby-use-smie): New var.
12524 (ruby-smie-grammar): New constant.
12525 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12526 (ruby-smie--forward-token, ruby-smie--backward-token)
12527 (ruby-smie-rules): New functions.
12528 (ruby-mode-variables): Setup SMIE if applicable.
12530 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12532 * simple.el (line-move-visual): Signal beginning/end of buffer
12533 only if vertical-motion moved less than it was requested. Avoids
12534 silly incorrect error messages when there are display strings with
12535 multiple newlines at EOL.
12537 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12539 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12540 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12541 (prolog-char-quote-workaround):
12542 * progmodes/cperl-mode.el (cperl-under-as-char):
12543 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12545 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12547 (vhdl-mode-syntax-table-init): Remove.
12549 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12552 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12554 (ld-script-font-lock-keywords):
12555 Change regexps to use things like \_< and \_>.
12557 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12558 Change all regexps to use things like \_< and \_>.
12560 * progmodes/autoconf.el (autoconf-definition-regexp)
12561 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12562 Handle a _ with symbol syntax.
12563 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12565 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12566 Consolidate declaration.
12567 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12569 (ada-create-syntax-table): Remove.
12570 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12571 already has the right syntax nowadays.
12572 (ada-goto-next-word): Don't change the syntax of "_".
12574 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12577 2013-05-08 Sam Steingold <sds@gnu.org>
12579 * thingatpt.el (thing-at-point): Accept optional second argument
12580 NO-PROPERTIES to strip the text properties from the return value.
12581 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12582 to `thing-at-point' instead of stripping the properties ourselves.
12583 Also, when `thing-at-point' fails to find a url, prepend "http://"
12584 to the filename at point on the assumption that the user is
12585 pointing at something like gnu.org/gnu.
12587 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12589 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12590 * faces.el (crm-separator):
12591 Silence byte-compiler.
12593 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12594 (tool-bar-map): Remove unneeded defvars.
12596 2013-05-08 Leo Liu <sdl.web@gmail.com>
12598 Re-work a fix for bug#10994 based on Le Wang's patch.
12599 * ido.el (ido-remove-consecutive-dups): New helper.
12600 (ido-completing-read): Use it.
12601 (ido-chop): Revert fix for bug#10994.
12603 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12605 * cus-edit.el (custom-save-variables):
12606 Pretty-print long values. (Bug#14187)
12608 2013-05-08 Glenn Morris <rgm@gnu.org>
12610 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12611 (m4-mode-syntax-table): Init in the defvar.
12612 (m4-mode-abbrev-table): Let define-derived-mode define it.
12614 2013-05-08 Tom Tromey <tromey@redhat.com>
12616 * progmodes/m4-mode.el (m4-mode-syntax-table):
12617 Do not treat "_" as word constituent. (Bug#14167)
12619 2013-05-07 Glenn Morris <rgm@gnu.org>
12621 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12622 Remove explicit eshell-isearch-cancel-map.
12624 * progmodes/f90.el (f90-smart-end-names): New option.
12625 (f90-smart-end): Doc fix.
12626 (f90-end-block-optional-name): New constant.
12627 (f90-block-match): Respect f90-smart-end-names.
12629 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12632 about implicit semi-colons (bug#14218).
12634 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12636 * frame.el (display-monitor-attributes-list)
12637 (frame-monitor-attributes): New functions.
12639 2013-05-06 Leo Liu <sdl.web@gmail.com>
12641 * progmodes/octave.el (octave-syntax-propertize-function): Change
12642 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12643 (octave-font-lock-keywords): Use octave-operator-regexp.
12644 (octave-completion-at-point): Rename from
12645 octave-completion-at-point-function.
12646 (inferior-octave-directory-tracker): Robustify.
12647 (octave-text-functions): Remove and fix its uses. No such things
12650 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12652 * emacs-lisp/trace.el (trace--display-buffer): New function.
12653 (trace-make-advice): Use it.
12655 2013-05-06 Juri Linkov <juri@jurta.org>
12657 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12658 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12660 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12661 in the help string. (Bug#12985)
12663 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12665 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12667 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12669 * progmodes/perl-mode.el: Add support for here documents.
12670 (perl-syntax-propertize-function): Match here-doc markers.
12671 (perl-syntax-propertize-special-constructs): Find their end.
12672 (perl-imenu-generic-expression): Use [:alnum:].
12674 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12675 (advice--add-function): Refresh the advice if already present
12678 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12680 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12682 2013-05-06 Glenn Morris <rgm@gnu.org>
12684 * w32-fns.el (w32-charset-info-alist): Declare.
12686 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12687 of its defcustom properties.
12688 (eshell-cmpl-initialize): No need to load pcomplete.
12690 * generic-x.el: No need to require comint when compiling.
12692 * net/eudc-export.el: Make it loadable without bbdb.
12693 (top-level): Use require rather than load-library.
12694 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12695 (eudc-batch-export-records-to-bbdb)
12696 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12699 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12701 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12702 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12703 some tweaks, instead.
12705 2013-05-05 Leo Liu <sdl.web@gmail.com>
12707 * progmodes/octave.el (octave-font-lock-keywords)
12708 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12709 (inferior-octave-send-list-and-digest): Improve error message.
12710 (octave-mode, inferior-octave-mode): Use setq-local.
12711 (octave-help): Set info-lookup-mode.
12713 2013-05-05 Richard Stallman <rms@gnu.org>
12715 * vc/compare-w.el (compare-windows-whitespace):
12716 Treat no-break space as whitespace.
12718 * mail/rmailsum.el (rmail-summary-rmail-update):
12719 Detect empty summary and don't change selected message.
12720 (rmail-summary-goto-msg): Likewise.
12722 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12723 Doc fixes, rename args.
12725 2013-05-05 Alan Mackenzie <acm@muc.de>
12727 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12729 2013-05-05 Juri Linkov <juri@jurta.org>
12731 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12732 to not add the length of the summary segment to the return value.
12735 2013-05-05 Leo Liu <sdl.web@gmail.com>
12737 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12738 (inferior-octave-output-filter): Remove.
12739 (octave-send-region, inferior-octave-startup): Fix callers.
12740 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12741 (octave-binary-file-extensions): New user variable.
12742 (octave-find-definition): Confirm if opening binary files.
12743 (octave-help-file): Use octave-find-definition to get the binary
12745 (octave-help): Adjust for octave-help-file change.
12747 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12749 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12750 Merge the two entries that handle function definitions.
12751 (pascal--syntax-propertize): New const.
12752 (pascal-mode): Use it. Use setq-local.
12754 2013-05-04 Glenn Morris <rgm@gnu.org>
12756 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12757 (diary-from-outlook): Respect diary-from-outlook-function.
12759 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12762 Move the declaration from C.
12763 (read-minibuffer, eval-minibuffer): Move from C.
12764 (completion-setup-function): Avoid minibuffer-completion-contents.
12766 2013-05-03 Leo Liu <sdl.web@gmail.com>
12768 * progmodes/octave.el (octave-font-lock-keywords): Do not
12769 dehighlight 'end' in comments or strings.
12770 (octave-completing-read, octave-goto-function-definition):
12772 (octave-help-buffer): New user variable.
12773 (octave-help-file, octave-help-function): New button types.
12774 (octave-help): New command and bind it to C-h ;.
12775 (octave-find-definition): New command and bind it to M-.
12776 (user-error): Alias to error if not defined.
12778 2013-05-02 Leo Liu <sdl.web@gmail.com>
12780 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12782 (octave-font-lock-keywords): Include [ and {.
12784 2013-05-02 Leo Liu <sdl.web@gmail.com>
12786 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12787 (inferior-octave): Remove calling comint-mode and return the buffer.
12788 (inferior-octave-startup): Cosmetic changes.
12790 2013-05-02 Leo Liu <sdl.web@gmail.com>
12792 * progmodes/octave.el (octave-syntax-propertize-function):
12793 Include the case when ' is at line beginning. (Bug#14336)
12795 2013-05-02 Glenn Morris <rgm@gnu.org>
12797 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12798 * desktop.el (vc-dir-mode): Just autoload it here.
12800 2013-05-02 Alan Mackenzie <acm@muc.de>
12802 Eliminate variable c-standard-font-lock-fontify-region-function.
12803 * progmodes/cc-mode.el
12804 (c-standard-font-lock-fontify-region-function): Remove.
12805 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12807 2013-05-01 Leo Liu <sdl.web@gmail.com>
12809 * progmodes/octave.el: Compatible with older emacs-24 releases.
12810 (inferior-octave-has-built-in-variables): Remove. Built-in
12811 variables were removed from Octave in 2007.
12812 (inferior-octave-startup): Fix uses.
12813 (comint-line-beginning-position): Remove compatibility code for
12816 2013-05-01 Juri Linkov <juri@jurta.org>
12818 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12820 2013-05-01 Juri Linkov <juri@jurta.org>
12822 * comint.el (comint-previous-matching-input): Don't print message
12823 "History item: %d" when `isearch-mode' is active.
12824 (comint-history-isearch-message): Print message "History item: %d"
12825 when `comint-input-ring-index' is not empty and this function is
12826 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12828 2013-05-01 Leo Liu <sdl.web@gmail.com>
12830 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12831 definitions. Use completion-at-point to insert keywords.
12832 (octave-abbrev-start): Remove.
12833 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12835 2013-04-30 Leo Liu <sdl.web@gmail.com>
12837 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12840 2013-04-30 Alan Mackenzie <acm@muc.de>
12842 Handle arbitrarily long C++ member initialisation lists.
12843 * progmodes/cc-engine.el (c-back-over-member-initializers):
12845 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12846 (most) member init lists.
12848 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12850 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12853 2013-04-30 Leo Liu <sdl.web@gmail.com>
12855 * progmodes/octave.el (octave-variables): Remove. No builtin
12856 variables any more. All converted to functions.
12857 (octave-font-lock-keywords, octave-completion-at-point-function):
12859 (octave-font-lock-texinfo-comment): New user variable.
12860 (octave-texinfo-font-lock-keywords): New variable for texinfo
12862 (octave-function-comment-block): New face.
12863 (octave-font-lock-texinfo-comment): New function.
12864 (octave-mode): Font lock texinfo comment block.
12866 2013-04-29 Leo Liu <sdl.web@gmail.com>
12868 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12869 indexing expression.
12870 (octave-continuation-string): Do not use \.
12871 (inferior-octave-complete-impossible): Remove.
12872 (inferior-octave-completion-table)
12873 (inferior-octave-completion-at-point): Remove its uses.
12874 (inferior-octave-startup): completion_matches was introduced to
12875 Octave in 1996 so safe to assume it.
12876 (octave-function-file-comment): Improve to follow how Octave does it.
12877 (octave-update-function-file-comment): Tweak.
12879 2013-04-29 Leo Liu <sdl.web@gmail.com>
12881 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12882 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12883 (octave-function-file-comment): Fix typo.
12884 (octave-sync-function-file-names): Use read-char-choice.
12886 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12888 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12889 to t for the less important warnings.
12891 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12893 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12895 2013-04-27 Glenn Morris <rgm@gnu.org>
12897 * vc/log-view.el (log-view-current-entry):
12898 Treat "---" separator lines as part of the following rev. (Bug#14169)
12900 2013-04-27 Juri Linkov <juri@jurta.org>
12902 * subr.el (read-number): Doc fix about using it by interactive
12903 code letter `n'. (Bug#14254)
12905 2013-04-27 Juri Linkov <juri@jurta.org>
12907 * desktop.el (desktop-auto-save-timeout): New option.
12908 (desktop-file-checksum): New variable.
12909 (desktop-save): Add optional arg `auto-save' and don't auto-save
12910 if nothing changed.
12911 (desktop-auto-save-timer): New variable.
12912 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12913 (after-init-hook): Call `desktop-auto-save-set-timer'.
12914 Suggested by Reuben Thomas <rrt@sc3d.org> in
12915 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12917 2013-04-27 Leo Liu <sdl.web@gmail.com>
12919 * progmodes/octave.el (octave-function-file-p)
12920 (octave-skip-comment-forward, octave-function-file-comment)
12921 (octave-update-function-file-comment): New functions.
12922 (octave-mode-map): Bind C-c ; to
12923 octave-update-function-file-comment.
12924 (octave-mode-menu): Add octave-update-function-file-comment.
12925 (octave-mode, inferior-octave-mode): Fix doc-string.
12926 (octave-insert-defun): Conform to Octave's coding convention.
12929 * files.el (basic-save-buffer): Don't let errors in
12930 before-save-hook prevent saving buffer.
12932 2013-04-20 Roland Winkler <winkler@gnu.org>
12934 * faces.el (read-face-name): Use completing-read if arg multiple
12937 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12939 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12940 displayed, move point to after the totals line.
12941 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12944 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12946 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12947 Add current dir to the load-path.
12948 (package-generate-autoloads): Don't rely on
12949 autoload-ensure-default-file.
12951 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12953 * textmodes/remember.el (remember-store-in-files): Document that
12954 the file name format is passed to `format-time-string'.
12956 2013-04-26 Leo Liu <sdl.web@gmail.com>
12958 * progmodes/octave.el (octave-sync-function-file-names): New function.
12959 (octave-mode): Use it in before-save-hook.
12961 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12963 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12966 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12967 \n and comment, even if it's not an implicit ; (bug#14218).
12969 2013-04-26 Glenn Morris <rgm@gnu.org>
12971 * subr.el (read-number): Once more use `read' rather than
12972 `string-to-number', to trap non-numeric input. (Bug#14254)
12974 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12976 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12977 Use `syntax-multiline' text property consistently instead of
12978 `font-lock-multiline'. (Bug#14237)
12980 2013-04-26 Glenn Morris <rgm@gnu.org>
12982 * emacs-lisp/shadow.el (list-load-path-shadows):
12983 No longer necessary to check for duplicate simple.el, since
12984 2012-07-07 change to init_lread to not include installation lisp
12985 directories in load-path when running uninstalled. (Bug#14270)
12987 2013-04-26 Leo Liu <sdl.web@gmail.com>
12989 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12990 (octave-mode, inferior-octave-mode): Use setq-local.
12991 (octave-not-in-string-or-comment-p): Rename to
12992 octave-in-string-or-comment-p.
12993 (octave-in-comment-p, octave-in-string-p)
12994 (octave-in-string-or-comment-p): Replace defsubst with defun.
12996 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12998 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
13000 2013-04-25 Bastien Guerry <bzg@gnu.org>
13002 * textmodes/remember.el (remember-data-directory)
13003 (remember-directory-file-name-format): Fix custom types.
13005 2013-04-25 Leo Liu <sdl.web@gmail.com>
13007 * progmodes/octave.el (octave-completion-at-point-function):
13008 Make use of inferior octave process.
13009 (octave-initialize-completions): Remove.
13010 (inferior-octave-completion-table): New function.
13011 (inferior-octave-completion-at-point): Use it.
13012 (octave-completion-alist): Remove.
13014 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * progmodes/opascal.el: Use font-lock and syntax-propertize.
13017 (opascal-mode-syntax-table): New var.
13018 (opascal-literal-kind, opascal-is-literal-end)
13019 (opascal-literal-token-at): Rewrite.
13020 (opascal--literal-start-re, opascal-font-lock-keywords)
13021 (opascal--syntax-propertize): New constants.
13022 (opascal-font-lock-defaults): Adjust.
13023 (opascal-mode): Use them. Set comment-<foo> variables as well.
13024 (delphi-comment-face, opascal-comment-face, delphi-string-face)
13025 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
13026 (delphi-other-face, opascal-other-face): Remove face variables.
13027 (opascal-save-state): Remove macro.
13028 (opascal-fontifying-progress-step): Remove constant.
13029 (opascal--ignore-changes): Remove var.
13030 (opascal-set-token-property, opascal-parse-next-literal)
13031 (opascal-is-stable-literal, opascal-complete-literal)
13032 (opascal-is-literal-start, opascal-face-of)
13033 (opascal-parse-region, opascal-parse-region-until-stable)
13034 (opascal-fontify-region, opascal-after-change)
13035 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
13036 (opascal-debug-parse-region, opascal-debug-parse-window)
13037 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
13038 (opascal-debug-fontify-buffer): Remove.
13039 (opascal-debug-mode-map): Adjust accordingly.
13041 2013-04-25 Leo Liu <sdl.web@gmail.com>
13043 Merge octave-mod.el and octave-inf.el into octave.el with some
13045 * progmodes/octave.el: New file renamed from octave-mod.el.
13046 * progmodes/octave-inf.el: Merged into octave.el.
13047 * progmodes/octave-mod.el: Renamed to octave.el.
13049 2013-04-25 Tassilo Horn <tsdh@gnu.org>
13051 * textmodes/reftex-vars.el
13052 (reftex-label-ignored-macros-and-environments): New defcustom.
13054 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
13056 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13058 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
13059 (smie-indent-keyword): Improve the check to ensure that the next
13060 comment is really on the same line.
13061 (smie-indent-comment): Don't align with a subsequent closer (or eob).
13063 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
13064 semi-colons if the line is not otherwise empty (bug#14218).
13066 2013-04-25 Glenn Morris <rgm@gnu.org>
13068 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
13070 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * progmodes/opascal.el (opascal-set-token-property): Rename from
13073 opascal-set-text-properties and only set `token' (bug#14134).
13074 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
13075 (opascal-literal-text-properties): Remove.
13076 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
13079 2013-04-24 Reuben Thomas <rrt@sc3d.org>
13081 * textmodes/remember.el (remember-handler-functions): Add an
13082 option for a new handler `remember-store-in-files'.
13083 (remember-data-directory, remember-directory-file-name-format):
13085 (remember-store-in-files): New function to store remember notes
13086 as separate files within a directory.
13088 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13090 * progmodes/compile.el (compilation-next-error-function):
13091 Pass "formats" to compilation-find-file (bug#11777).
13093 2013-04-24 Glenn Morris <rgm@gnu.org>
13095 * vc/vc-bzr.el (vc-bzr-print-log):
13096 * vc/vc-hg.el (vc-hg-print-log):
13097 * vc/vc-svn.el (vc-svn-print-log):
13098 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13100 * vc/vc-bzr.el (vc-bzr-print-log):
13101 * vc/vc-cvs.el (vc-cvs-print-log):
13102 * vc/vc-git.el (vc-git-print-log):
13103 * vc/vc-hg.el (vc-hg-print-log):
13104 * vc/vc-mtn.el (vc-mtn-print-log):
13105 * vc/vc-rcs.el (vc-rcs-print-log):
13106 * vc/vc-sccs.el (vc-sccs-print-log):
13107 * vc/vc-svn.el (vc-svn-print-log):
13108 * vc/vc.el (vc-print-log-internal): Doc fixes.
13110 2013-04-23 Glenn Morris <rgm@gnu.org>
13112 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13113 Remove venerable code attempting to avoid substitute-command-keys.
13115 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13117 * textmodes/reftex-vars.el (reftex-label-regexps):
13118 Call `reftex-compile-variables' after changes to this variable.
13120 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13122 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13123 Use lexical-binding.
13124 (jit-lock-force-redisplay): Use markers, check buffer's continued
13125 existence and beware narrowed buffers.
13126 (jit-lock-fontify-now): Adjust call accordingly.
13128 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13130 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13131 to avoid misleading the user.
13133 2013-04-22 Leo Liu <sdl.web@gmail.com>
13135 * info-look.el: Prefer latex2e.info. (Bug#14240)
13137 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13139 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13141 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13142 * net/tramp.el (tramp-call-process): ... here.
13143 (tramp-set-completion-function, tramp-parse-putty):
13144 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13145 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13146 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13147 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13148 (tramp-call-local-coding-command): Use `tramp-call-process'
13149 instead of `tramp-compat-call-process'.
13151 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13152 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13153 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13154 (tramp-find-inline-compress): Improve traces.
13155 (tramp-maybe-send-script): Check for Perl binary.
13156 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13158 2013-04-22 Daiki Ueno <ueno@gnu.org>
13160 * epg.el (epg-context-pinentry-mode): New function.
13161 (epg-context-set-pinentry-mode): New function.
13162 (epg--start): Pass --pinentry-mode option to gpg command.
13164 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13166 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13167 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13168 `completion-at-point'. (Bug#13774)
13170 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13171 default key binding for `describe-distribution' has been moved to
13172 `C-h C-o'. (Bug#13970)
13174 2013-04-21 Glenn Morris <rgm@gnu.org>
13176 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13178 (vc-print-log): Clarify interactive prompt.
13180 2013-04-20 Glenn Morris <rgm@gnu.org>
13182 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13183 No longer include timestamp etc information.
13185 2013-04-20 Roland Winkler <winkler@gnu.org>
13187 * faces.el (read-face-name): Bug fix, return just one face if arg
13188 multiple is nil. (Bug#14209)
13190 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13192 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13193 (remove-function): Autoload.
13195 * comint.el (comint-redirect-original-filter-function): Remove.
13196 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13197 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13198 (vc-cvs-annotate-command):
13199 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13200 * progmodes/prolog.el (prolog-consult-compile):
13201 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13202 Use add/remove-function instead.
13203 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13204 (gud-tooltip-process-output, gud-tooltip-tips):
13205 Use add/remove-function instead.
13206 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13207 (scheme-interaction-mode, exit-scheme-interaction-mode):
13208 Use add/remove-function instead.
13210 * vc/vc-dispatcher.el: Use lexical-binding.
13211 (vc--process-sentinel): Rename from vc-process-sentinel.
13212 Change last arg to be the code to run. Don't use vc-previous-sentinel
13213 and vc-sentinel-commands any more.
13214 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13215 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13217 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13219 * progmodes/sh-script.el (sh-imenu-generic-expression):
13220 Handle function names with a single character. (Bug#14111)
13222 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13224 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13225 for subroutines defined in an eval (bug#14182).
13227 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13229 * bookmark.el (bookmark-completing-read): Improve handling of empty
13230 string (bug#14176).
13232 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13234 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13236 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13238 New faster Imenu implementation (bug#14058).
13239 * progmodes/python.el:
13240 (python-imenu-prev-index-position):
13241 (python-imenu-format-item-label-function)
13242 (python-imenu-format-parent-item-label-function)
13243 (python-imenu-format-parent-item-jump-label-function):
13245 (python-imenu-format-item-label)
13246 (python-imenu-format-parent-item-label)
13247 (python-imenu-format-parent-item-jump-label)
13248 (python-imenu--put-parent, python-imenu--build-tree)
13249 (python-imenu-create-index, python-imenu-create-flat-index)
13250 (python-util-popn): New functions.
13251 (python-mode): Set imenu-create-index-function to
13252 python-imenu-create-index.
13254 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13256 * winner.el (winner-active-region): Use region-active-p, activate-mark
13257 and deactivate-mark (bug#14225).
13259 * simple.el (deactivate-mark): Don't inline it.
13261 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13263 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13265 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13267 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13268 file extensions from the archive-mode entry in order to prefer
13269 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13271 2013-04-18 Leo Liu <sdl.web@gmail.com>
13273 * bindings.el (help-event-list): Add ?\?.
13275 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13277 * subr.el (with-wrapper-hook): Declare obsolete.
13278 * simple.el (filter-buffer-substring-function): New hook.
13279 (filter-buffer-substring): Use it.
13280 (filter-buffer-substring-functions): Mark obsolete.
13281 * minibuffer.el (completion-in-region-function): New hook.
13282 (completion-in-region): Use it.
13283 (completion-in-region-functions): Mark obsolete.
13284 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13285 * abbrev.el (abbrev-expand-function): New hook.
13286 (expand-abbrev): Use it.
13287 (abbrev-expand-functions): Mark obsolete.
13288 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13289 and :filter-return.
13291 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13293 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13294 and do not care about match data.
13296 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13298 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13299 completion tables when completing error conditions and
13300 `declare' arguments.
13301 (lisp-complete-symbol, field-complete): Mark as obsolete.
13302 (check-parens): Unmatched parens are user errors.
13303 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13305 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13307 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13308 command changed buffer (ie. `flyspell-pre-buffer' is not current
13309 buffer), which prevents making decisions based on invalid value of
13310 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13311 cause an error when `flyspell-pre-point' was nil after switching
13313 (flyspell-post-command-hook): No longer needs to change buffers when
13314 checking pre-word. While at it remove unnecessary progn.
13316 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13318 * textmodes/ispell.el (ispell-add-per-file-word-list):
13319 Fix `flyspell-correct-word-before-point' error when accepting
13320 words and `coment-padding' is an integer by using
13321 `comment-normalize-vars' (Bug #14214).
13323 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13325 New defun movement commands.
13326 * progmodes/python.el (python-nav--syntactically)
13327 (python-nav--forward-defun, python-nav-backward-defun)
13328 (python-nav-forward-defun): New functions.
13330 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13332 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13333 (python-syntax-context): Use named compiler-macro for backwards
13334 compatibility with Emacs 24.x.
13336 2013-04-17 Leo Liu <sdl.web@gmail.com>
13338 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13339 octave-hide-process-buffer.
13341 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13346 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13348 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13349 Fix adjustment of offset when receiving incomplete responses from GDB
13352 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13354 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13355 python-mode-abbrev-table.
13356 (python-skeleton-define): Adjust accordingly.
13357 (python-mode-abbrev-table): New table that inherits from it so that
13358 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13360 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13361 (abbrev-symbol): Use it.
13362 (abbrev--before-point): Use it since we already handle inheritance.
13364 2013-04-16 Leo Liu <sdl.web@gmail.com>
13366 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13367 binding to info-lookup-symbol.
13369 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13371 * minibuffer.el (completion--twq-all):
13372 * term/ns-win.el (ns-initialize-window-system):
13373 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13375 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13377 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13380 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13382 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13384 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13385 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13387 (ruby-end-of-defun): Remove the unused arg, change the docstring
13388 to reflect that this function is only used as the value of
13389 `end-of-defun-function'.
13390 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13391 to reflect an earlier change that beginning/end-of-defun functions
13392 jump between methods in a class definition, as well as top-level
13395 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13397 * minibuffer.el (minibuffer-complete): Don't just scroll
13398 a *Completions* that's been iconified.
13399 (minibuffer-force-complete): Make sure repetitions do cycle when going
13400 through completion-in-region -> minibuffer-complete.
13402 2013-04-15 Alan Mackenzie <acm@muc.de>
13404 Correct the placement of c-cpp-delimiters when there're #s not at
13407 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13408 place a submatch around the #.
13409 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13410 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13413 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13416 (advice--member-p): New arg `name'.
13417 (advice--add-function, advice-member-p): Use it (bug#14202).
13419 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13421 Reformulate java imenu-generic-expression.
13422 The old expression contained ill formed regexps.
13424 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13425 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13426 (cc-imenu-java-method-arg-regexp): New defconsts.
13427 (cc-imenu-java-build-type-args-regex): New defun.
13428 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13429 handling of spaces in the regexp.
13431 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13433 * textmodes/ispell.el (ispell-command-loop): Remove
13434 flyspell highlight of a word when ispell accepts it (bug #14178).
13436 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13438 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13439 uses code from the previous `ange-ftp-run-real-handler'.
13440 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13441 only in case that function exist. This is needed for proper
13442 unloading of Tramp.
13444 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13446 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13448 * textmodes/reftex.el (reftex-compile-variables): Use it.
13450 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13452 * files.el (normal-mode): Only use default major-mode if no other mode
13455 * emacs-lisp/trace.el (trace-values): New function.
13457 * files.el: Allow : in local variables (bug#14089).
13458 (hack-local-variable-regexp): New var.
13459 (hack-local-variables-prop-line, hack-local-variables): Use it.
13461 2013-04-13 Roland Winkler <winkler@gnu.org>
13463 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13464 data before it gets modified by bibtex-beginning-of-entry.
13466 2013-04-13 Roland Winkler <winkler@gnu.org>
13468 * textmodes/bibtex.el (bibtex-url): Doc fix.
13470 2013-04-13 Roland Winkler <winkler@gnu.org>
13472 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13473 does not visit a BibTeX file, exclude it from the list of buffers
13474 returned by bibtex-initialize.
13476 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13478 * window.el (split-window): Remove interactive form, since as a
13479 command this function is a special case of split-window-below.
13480 Correct doc string.
13482 2013-04-12 Roland Winkler <winkler@gnu.org>
13484 * faces.el (read-face-name): Do not override value of arg default.
13485 Allow single faces and strings as default values. Remove those
13486 elements from return value that are not faces.
13487 (describe-face): Simplify.
13488 (face-at-point): New optional args thing and multiple so that this
13489 function can provide the same functionality previously provided by
13491 (make-face-bold, make-face-unbold, make-face-italic)
13492 (make-face-unitalic, make-face-bold-italic, invert-face)
13493 (modify-face, read-face-and-attribute): Use face-at-point.
13495 * cus-edit.el (customize-face, customize-face-other-window)
13496 * cus-theme.el (custom-theme-add-face)
13497 * face-remap.el (buffer-face-set)
13498 * facemenu.el (facemenu-set-face): Use face-at-point.
13500 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13502 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13504 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13506 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13507 off leading { and trailing } from field values.
13509 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13511 * emacs-lisp/timer.el (timer--check): New function.
13512 (timer--time, timer-set-function, timer-event-handler): Use it.
13513 (timer-set-idle-time): Simplify.
13514 (timer--activate): CSE.
13515 (timer-event-handler): Give more info in error message.
13516 (internal-timer-start-idle): New function, moved from C.
13518 * mpc.el (mpc-proc): Add `restart' argument.
13519 (mpc-proc-cmd): Use it.
13520 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13521 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13524 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13526 * progmodes/sh-script.el: Implement `sh-mode' own
13527 `add-log-current-defun-function' (bug#14112).
13528 (sh-current-defun-name): New function.
13529 (sh-mode): Use the function.
13531 2013-04-09 Bastien Guerry <bzg@gnu.org>
13533 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13535 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13537 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13539 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13542 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13544 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13547 2013-04-07 Leo Liu <sdl.web@gmail.com>
13549 * pcmpl-x.el: New file.
13551 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13553 Do not set x-display-name until X connection is established.
13554 This is needed to prevent from weird situation described at
13555 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13556 * frame.el (make-frame): Set x-display-name after call to
13557 window system initialization function, not before.
13558 * term/x-win.el (x-initialize-window-system): Add optional
13559 display argument and use it.
13560 * term/w32-win.el (w32-initialize-window-system):
13561 * term/ns-win.el (ns-initialize-window-system):
13562 * term/pc-win.el (msdos-initialize-window-system):
13563 Add compatible optional display argument.
13565 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13567 * files.el (normal-backup-enable-predicate): On MS-Windows and
13568 MS-DOS compare truenames of temporary-file-directory and of the
13569 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13570 don't fail comparison by compare-strings. Also, compare file
13571 names case-insensitively on MS-Windows and MS-DOS.
13573 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13575 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13576 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13578 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13580 * whitespace.el (whitespace-color-on, whitespace-color-off):
13581 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13583 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13585 * ispell.el (ispell-set-spellchecker-params):
13586 Really set `ispell-args' for all equivs.
13588 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13590 * ido.el (ido-completions): Use extra elements of ido-decorations
13592 (ido-decorations): Update docstring.
13594 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13596 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13597 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13598 nil during initialization, in order not to miss changes since the
13599 file was opened. (Bug#14140)
13601 2013-04-05 Leo Liu <sdl.web@gmail.com>
13603 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13605 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13607 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13609 2013-04-04 Glenn Morris <rgm@gnu.org>
13611 * electric.el (electric-pair-inhibit-predicate): Add :version.
13613 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13615 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13616 when a package is required several times (bug#14082).
13618 2013-04-04 Roland Winkler <winkler@gnu.org>
13620 * faces.el (read-face-name): Behave as promised by the docstring.
13621 Assume that arg default is a list of faces.
13622 (describe-face): Call read-face-name with list of default faces.
13624 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13626 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13627 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13628 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13630 (bookmark-exit-hook-internal): Save even if list is empty.
13632 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13634 * emacs-lisp/package.el (package-pinned-packages): New var.
13635 (package--add-to-archive-contents): Obey it (bug#14118).
13637 2013-04-03 Alan Mackenzie <acm@muc.de>
13639 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13640 Also adapt to the new values of element 7 of a parse state.
13642 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13643 parameter `not-in-delimiter'. Handle being inside comment opener.
13644 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13645 character in case we're typing a '*' after a '/'.
13646 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13647 instead by passing the parameter to c-state-pp-to-literal.
13649 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13650 for elt. 7 of a parse state.
13652 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13654 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13655 * international/latin1-disp.el, international/mule-util.el:
13656 * language/cyril-util.el, language/european.el, language/ind-util.el:
13657 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13658 * language/tibetan.el, language/viet-util.el:
13659 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13661 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13663 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13664 (electric-pair-post-self-insert-function): Use it.
13665 (electric-pair-default-inhibit): New function, extracted from
13666 electric-pair-post-self-insert-function.
13668 2013-03-31 Roland Winkler <winkler@gnu.org>
13670 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13672 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13674 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13676 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13678 Un-indent after "pass" and "return" statements (Bug#13888)
13679 * progmodes/python.el (python-indent-block-enders): New var.
13680 (python-indent-calculate-indentation): Use it.
13682 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13684 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13685 defun. Defining it as defalias could introduce too eager
13686 byte-compiler optimization. (Bug#14030)
13688 2013-03-30 Chong Yidong <cyd@gnu.org>
13690 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13692 2013-03-30 Leo Liu <sdl.web@gmail.com>
13694 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13695 (kmacro-execute-from-register): Pass the keyboard macro to
13696 kmacro-call-macro or repeating won't work correctly.
13698 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13700 * progmodes/subword.el: Back to using `forward-symbol'.
13702 * subr.el (forward-whitespace, forward-symbol)
13703 (forward-same-syntax): Move from thingatpt.el.
13705 2013-03-29 Leo Liu <sdl.web@gmail.com>
13707 * kmacro.el (kmacro-to-register): New command.
13708 (kmacro-execute-from-register): New function.
13709 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13711 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * mpc.el: Use defvar-local and setq-local.
13714 (mpc--proc-connect): Connection failures are not bugs.
13715 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13716 (mpc-volume-map): Bind to the up-events.
13718 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13720 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13721 instead of `forward-symbol'.
13723 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13725 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13726 (edebug--recursive-edit): Use it.
13727 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13728 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13730 2013-03-28 Leo Liu <sdl.web@gmail.com>
13732 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13734 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13736 * facemenu.el (list-colors-callback): New defvar.
13737 (list-colors-redisplay): New function.
13738 (list-colors-display): Install list-colors-redisplay as the
13739 revert-buffer-function. (Bug#14063)
13741 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13743 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13744 and suffixes don't overlap (bug#14061).
13746 * case-table.el: Use lexical-binding.
13747 (case-table-get-table): New function.
13748 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13750 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13752 * progmodes/subword.el: Add `superword-mode' to do word motion
13753 over symbol_words (parallels and leverages `subword-mode' which
13754 does word motion inside MixedCaseWords).
13756 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13758 * eshell/em-unix.el: Move su and sudo to...
13759 * eshell/em-tramp.el: ...Eshell tramp module.
13761 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13763 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13764 Change return value to be a sexp. Delay `get-buffer' to after
13765 restoring the desktop (bug#13951).
13767 2013-03-26 Leo Liu <sdl.web@gmail.com>
13769 * register.el: Move semantic tag handling back to
13770 cedet/semantic/senator.el. (Bug#14052)
13772 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13774 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13775 into the prompt either (bug#13963).
13777 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13779 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13780 part of "(error-foo)".
13782 2013-03-24 Juri Linkov <juri@jurta.org>
13784 * replace.el (list-matching-lines-prefix-face): New defcustom.
13785 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13786 `occur-engine' if `face-differs-from-default-p' returns t.
13787 (occur-engine): Add `,' inside backquote construct to evaluate
13788 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13789 Pass `prefix-face' to the functions `occur-context-lines' and
13790 `occur-engine-add-prefix'.
13791 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13792 `prefix-face' and propertize the prefix with `prefix-face'.
13795 2013-03-24 Leo Liu <sdl.web@gmail.com>
13797 * nxml/rng-valid.el (rng-validate-while-idle)
13798 (rng-validate-quick-while-idle): Guard against deleted buffer.
13801 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13802 is the last entry in kill-buffer-hook.
13804 * files.el (kill-buffer-hook): Doc fix.
13806 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13808 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13809 Make it safe-local.
13811 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13813 2013-03-23 Leo Liu <sdl.web@gmail.com>
13815 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13818 * nxml/rng-valid.el (rng-validate-mode)
13819 (rng-after-change-function, rng-do-some-validation):
13820 * nxml/rng-maint.el (rng-validate-buffer):
13821 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13822 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13823 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13824 (nxml-extend-after-change-region): Use with-silent-modifications.
13826 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13829 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13830 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13831 timer-idle-list. (Bug#13999)
13833 2013-03-23 Juri Linkov <juri@jurta.org>
13835 * info.el (info-index-match): New face.
13836 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13837 main pattern and add text properties with the new face to matches
13838 in index entries relative to the beginning of the index entry.
13841 2013-03-21 Eric Ludlam <zappo@gnu.org>
13843 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13844 Inhibit read only while inserting objects.
13846 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13848 * progmodes/cfengine.el: Update docs to mention
13849 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13850 symbol motion. Remove "_" from the word syntax.
13852 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13854 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13855 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13857 2013-03-20 Juri Linkov <juri@jurta.org>
13859 * info.el (Info-next-reference-or-link)
13860 (Info-prev-reference-or-link): New functions.
13861 (Info-next-reference, Info-prev-reference): Use them.
13862 (Info-try-follow-nearest-node): Handle footnote navigation.
13863 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13865 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13867 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13868 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13870 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13872 Suppress unnecessary non-ASCII chatter during build process.
13873 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13874 (batch-skkdic-convert): Suppress most of the chatter.
13875 It's not needed so much now that machines are faster,
13876 and its non-ASCII component was confusing; see Dmitry Gutov in
13877 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13879 2013-03-20 Leo Liu <sdl.web@gmail.com>
13881 * ido.el (ido-chop): Fix bug#10994.
13883 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13885 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13887 (whitespace-color-on, whitespace-color-off):
13888 Use `font-lock-fontify-buffer' (Bug#13817).
13890 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13892 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13893 remapping in mode-line.
13894 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13896 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13898 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13899 value for `whitespace-line' face (Bug#13875).
13900 (whitespace-font-lock-keywords): Change description.
13901 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13902 the constructed keywords instead.
13903 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13905 2013-03-19 Leo Liu <sdl.web@gmail.com>
13907 * progmodes/compile.el (compilation-display-error): New command.
13908 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13911 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13913 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13915 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13917 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13919 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13921 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13923 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13924 * net/tramp-gvfs.el (top):
13925 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13926 (tramp-handle-shell-command): Use it.
13927 (tramp-dissect-file-name): Raise an error when hostname is a
13928 method name, and neither method nor user is specified.
13930 * net/trampver.el: Update release number.
13932 2013-03-18 Leo Liu <sdl.web@gmail.com>
13934 Make sure eldoc can be turned off properly.
13935 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13937 (eldoc-display-message-p): Revert last change.
13938 (eldoc-display-message-no-interference-p)
13939 (eldoc-print-current-symbol-info): Tweak.
13941 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13943 * doc-view.el (doc-view-new-window-function): Check the new window
13944 overlay's display property instead the char property of the
13945 buffer's first char. Use `with-selected-window' instead of
13946 `save-window-excursion' with `select-window'.
13947 (doc-view-document->bitmap): Check the current doc-view overlay's
13948 display property instead the char property of the buffer's first char.
13950 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13952 Automate the build of ja-dic.el (Bug#13984).
13953 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13954 from the input, rather than assume that it's been done for us by the
13955 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13956 the current date into a ja-dic.el comment, as that complicates
13957 regression testing.
13959 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13961 * whitespace.el: Fix double evaluation.
13962 (whitespace-space, whitespace-hspace, whitespace-tab)
13963 (whitespace-newline, whitespace-trailing, whitespace-line)
13964 (whitespace-space-before-tab, whitespace-indentation)
13965 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13967 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13968 (whitespace-color-on): Use a single font-lock-add-keywords call.
13969 Fix double-evaluation of face variables.
13971 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13973 * net/tramp-adb.el (tramp-adb-parse-device-names):
13974 Use `start-process' instead of `call-process'. Otherwise, the
13975 function might be blocked under MS Windows. (Bug#13299)
13977 2013-03-17 Leo Liu <sdl.web@gmail.com>
13979 Extend eldoc to display info in the mode-line. (Bug#13978)
13980 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13981 (eldoc-mode-line-string): New variable.
13982 (eldoc-minibuffer-message): New function.
13983 (eldoc-message-function): New variable.
13984 (eldoc-message): Use it.
13985 (eldoc-display-message-p)
13986 (eldoc-display-message-no-interference-p):
13987 Support eldoc-post-insert-mode.
13989 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13990 (eval-expression): Run it.
13992 2013-03-17 Roland Winkler <winkler@gnu.org>
13994 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13995 strings in the list of return values.
13997 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13999 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
14000 radix before checking for HMS forms.
14002 2013-03-16 Leo Liu <sdl.web@gmail.com>
14004 * progmodes/scheme.el: Add indentation and font-locking for λ.
14007 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
14009 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
14010 token before point (bug#13942).
14012 2013-03-16 Leo Liu <sdl.web@gmail.com>
14014 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
14016 2013-03-16 Eli Zaretskii <eliz@gnu.org>
14018 * startup.el (command-line-normalize-file-name): Fix handling of
14019 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
14020 <xfq.free@gmail.com> in
14021 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
14023 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
14025 Sync with Tramp 2.2.7.
14027 * net/trampver.el: Update release number.
14029 2013-03-14 Tassilo Horn <tsdh@gnu.org>
14031 * doc-view.el: Fix bug#13887.
14032 (doc-view-insert-image): Don't modify overlay associated to
14033 non-live windows, and implement horizontal centering of image in
14034 case it's smaller than the window.
14035 (doc-view-new-window-function): Force redisplay of new windows on
14038 2013-03-13 Karl Fogel <kfogel@red-bean.com>
14040 * saveplace.el (save-place-alist-to-file): Don't sort
14041 `save-place-alist', just pretty-print it (bug#13882).
14043 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
14045 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
14046 Check whether `default-file-name-coding-system' is bound.
14047 It isn't in XEmacs.
14049 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
14051 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
14052 backquotes for `obsolete' (bug#13929).
14054 * international/mule.el (find-auto-coding): Include file name in
14055 obsolescence warning (bug#13922).
14057 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
14059 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
14060 for CFEngine 3-specific indentation.
14061 (cfengine3-indent-line): Use it. Fix up category regex.
14062 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
14064 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14066 * type-break.el (type-break-file-name):
14067 * textmodes/remember.el (remember-data-file):
14068 * strokes.el (strokes-file):
14069 * shadowfile.el (shadow-initialize):
14070 * saveplace.el (save-place-file):
14071 * ps-bdf.el (bdf-cache-file):
14072 * progmodes/idlwave.el (idlwave-config-directory):
14073 * net/quickurl.el (quickurl-url-file):
14074 * international/kkc.el (kkc-init-file-name):
14075 * ido.el (ido-save-directory-list-file):
14076 * emulation/viper.el (viper-custom-file-name):
14077 * emulation/vip.el (vip-startup-file):
14078 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
14079 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
14081 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
14083 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
14084 * language/thai-word.el: Switch to UTF-8.
14086 See ChangeLog.16 for earlier changes.
14088 ;; Local Variables:
14092 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14094 This file is part of GNU Emacs.
14096 GNU Emacs is free software: you can redistribute it and/or modify
14097 it under the terms of the GNU General Public License as published by
14098 the Free Software Foundation, either version 3 of the License, or
14099 (at your option) any later version.
14101 GNU Emacs is distributed in the hope that it will be useful,
14102 but WITHOUT ANY WARRANTY; without even the implied warranty of
14103 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14104 GNU General Public License for more details.
14106 You should have received a copy of the GNU General Public License
14107 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.