1 2014-03-14 Glenn Morris <rgm@gnu.org>
3 * finder.el (finder-list-matches): Include unversioned packages
4 in the result of a keyword search.
6 * finder.el (finder--builtins-descriptions): New constant.
7 (finder-compile-keywords): Use finder--builtins-descriptions.
9 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11 * simple.el (blink-matching-paren): Describe the new value,
12 `jump', enabling the old behavior.
13 (blink-matching-open): Use that value. (Bug#17008)
15 2014-03-14 Glenn Morris <rgm@gnu.org>
17 * finder.el (finder-no-scan-regexp): Add leim-list.
18 (finder-compile-keywords):
19 Don't skip files with same basename. (Bug#14010)
20 * Makefile.in (setwins_finder): New, excluding leim.
21 (finder-data): Use setwins_finder.
23 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
24 (help-function-arglist, help-make-usage): Move from here...
25 * help.el (help-split-fundoc, help-add-fundoc-usage)
26 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
27 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
29 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
31 * net/socks.el (socks, socks-override-functions)
32 (socks-find-services-entry): FT
33 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
34 (hif-find-ifdef-block):
35 * progmodes/modula2.el (m2-indent): Fix docstring typos.
37 * net/tls.el (tls-program): Reflow docstring.
39 * progmodes/pascal.el (pascal-mode-abbrev-table)
40 (pascal-imenu-generic-expression, pascal-auto-endcomments)
41 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
42 (pascal-outline-mode): Fix docstring typos.
43 (pascal-mode): Let define-derived-mode document mode hook.
44 (pascal-uncomment-area): Reflow.
45 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
47 * progmodes/opascal.el (opascal-compound-block-indent)
48 (opascal-case-label-indent): Fix docstring typos.
49 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
51 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
53 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify
54 multiple adjacent negation chars. (Bug#17004)
56 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
58 * emacs-lisp/package.el (package--prepare-dependencies):
59 Accept requirements without explicit version (bug#14941).
61 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
63 * register.el (register-separator, copy-to-register): Doc fixes.
64 (register-preview-default): Remove unnecessary call to concat.
66 * frameset.el (frameset-restore): When checking for a visible frame,
67 use the action map instead of calling visible-frame-list.
69 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
71 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
73 2014-03-12 Martin Rudalics <rudalics@gmx.at>
75 * window.el (fit-frame-to-buffer): Get maximum width from
76 display's width instead of height.
78 2014-03-12 Glenn Morris <rgm@gnu.org>
80 * desktop.el (desktop-restore-frames)
81 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
82 (desktop-restore-reuses-frames): Doc tweaks.
84 * electric.el (electric-indent-mode): Doc fix.
86 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
88 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
89 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
90 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
91 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
92 (cvs-dired-use-hook): Fix docstring typos.
93 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
96 * vc/pcvs-defs.el (cvs-auto-remove-handled)
97 (cvs-auto-remove-directories, cvs-default-ignore-marks)
98 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
99 (cvs-execute-single-dir): Fix docstring typos.
101 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
102 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
104 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
106 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
109 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
111 * frameset.el (frameset--jump-to-register): Add autoload; it could be
112 called from jump-to-register after unloading the frameset package.
114 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
116 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
117 (bug#16975). Deactivate the mark before setting it to nil.
118 (activate-mark): Do nothing if region is already active.
120 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
122 * frameset.el (frameset--target-display): Remove definition; declare.
123 (frameset-save, frameset-restore): Let-bind frameset--target-display.
125 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
127 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
128 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
129 when the advice is pending.
130 (advice-remove): Remove this marker when not needed any more.
132 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
134 * frameset.el: Separate options for reusing frames and cleaning up.
135 (frameset--reuse-list): Remove definition; declare.
136 (frameset--action-map): Declare.
137 (frameset--find-frame-if): Doc fix.
138 (frameset--restore-frame): Cache frame action.
139 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
140 how to clean up the frame list after restoring. Remove cleaning
141 options from REUSE-FRAMES. Change all keyword values to symbols.
142 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
144 * desktop.el (desktop-restore-forces-onscreen)
145 (desktop-restore-reuses-frames): Use non-keyword values.
146 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
148 2014-03-10 Glenn Morris <rgm@gnu.org>
150 * files.el (find-file): Doc fix: update info node name.
152 * emacs-lisp/advice.el (ad-add-advice, defadvice):
153 Doc fix: remove references to deleted info nodes.
155 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
157 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
158 Do not add `nil' to the environment, when there's no remote `locale'.
159 (tramp-find-inline-encoding): Check, that the remote host has
160 installed perl, before sending scripts.
162 2014-03-10 Leo Liu <sdl.web@gmail.com>
164 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
165 Clear eldoc-last-message. (Bug#16920)
167 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
169 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
172 2014-03-09 Juri Linkov <juri@jurta.org>
174 * ansi-color.el (ansi-color-names-vector): Copy default colors
175 from `xterm-standard-colors' that look well on the default white
176 background (and also on the black background) to avoid illegible
177 color combinations like yellow-on-white and white-on-white.
178 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
180 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
182 * frameset.el (frameset-restore): When no frame is visible, do not
183 generate a list of frames, just make visible the selected one.
185 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
187 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
188 it only contains the repository root. (Bug#16897)
190 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
192 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
193 only when `remote-file-name-inhibit-cache' is nil.
194 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
196 2014-03-06 Martin Rudalics <rudalics@gmx.at>
198 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
200 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
201 fit-frame-to-buffer variable. Fix doc-string.
202 (fit-window-to-buffer): Set ONLY argument in call of
203 fit-frame-to-buffer. Fix doc-string.
205 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
207 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
208 (tramp-action-password): Clear password cache if needed.
209 (tramp-read-passwd): Do not clear password cache.
211 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
212 cache unless it is the first password request.
214 2014-03-06 Glenn Morris <rgm@gnu.org>
216 * simple.el (newline): Doc tweak.
218 * emacs-lisp/shadow.el (load-path-shadows-find):
219 Ignore dir-locals. (Bug#12357)
221 2014-03-05 Glenn Morris <rgm@gnu.org>
223 * files.el (interpreter-mode-alist):
224 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
226 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
228 * frameset.el (frameset--initial-params): Filter out null entries.
230 2014-03-05 Martin Rudalics <rudalics@gmx.at>
232 * window.el (window-min-height, window-min-width):
234 (window-body-size): Add PIXELWISE argument to make it consistent
237 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
239 * finder.el (finder-mode-map, finder-mode-syntax-table):
240 Revert part of 2014-02-28 change.
242 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
244 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
245 (eww-setup-buffer): Clear next/prev/etc more reliably.
246 (eww-textarea-map): [tab] doesn't work on tty.
247 Reported by Mario Lang.
249 * net/shr.el (shr-map): Ditto.
251 2014-03-04 Glenn Morris <rgm@gnu.org>
253 * minibuffer.el (completion-hilit-commonality):
254 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
256 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
258 * hilit-chg.el (hilit-chg-unload-function): New function.
259 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
260 (hilit-chg-map-changes): Prefer cardinal number to digit.
261 (hilit-chg-display-changes): Reflow docstring.
262 (highlight-changes-rotate-faces): Remove superfluous backslash.
264 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
266 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
267 `tramp-send-command-and-check'.
269 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
271 * hexl.el (hexl-address-region, hexl-ascii-region)
272 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
273 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
274 (hexl-forward-word, hexl-previous-line, hexl-next-line):
275 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
276 (hexl-mode): Doc fix.
277 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
278 (hexl-mode-ruler): Fix typos in docstrings.
280 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
281 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
282 Remove superfluous backslashes.
283 (strokes-last-stroke, strokes-global-map, strokes-mode):
285 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
286 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
287 (strokes-distance-squared, strokes-global-set-stroke)
288 (strokes-global-set-stroke-string): Doc fixes.
289 (strokes-help): Fix typos; reflow docstring.
291 2014-03-04 Martin Rudalics <rudalics@gmx.at>
293 * window.el (window-in-direction): Fix doc-string.
295 2014-03-04 Glenn Morris <rgm@gnu.org>
297 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
298 Explicit error if no grammar.
299 (smie-config-save): Doc fix. Fix quote typo.
301 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
303 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
304 electric-indent-mode-hook if we obey electric-indent-mode.
305 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
306 decide whether we obey electric-indent-mode.
307 (c-change-set-fl-decl-start, c-extend-after-change-region):
309 (c-electric-indent-mode-hook): Assume we do want to obey
310 electric-indent-mode.
312 * electric.el (electric-indent-mode-has-been-called): Remove.
313 (electric-indent-mode): Fix accordingly.
315 * files.el (hack-local-variables): Mention file name in warning.
317 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
319 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
321 * binding.el: Add comment describing why C-d binds to `delete-char'.
322 * simple.el (delete-forward-char): Mark as interactive-only.
324 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
326 * icomplete.el (icomplete-completions):
327 Follow-up to 2014-03-01 change.
329 * icomplete.el: Miscellaneous doc fixes.
330 Use Icomplete everywhere instead of icomplete for consistency.
331 (icomplete-max-delay-chars): Fix typo.
332 (icomplete-mode): Use \[].
333 (icomplete-tidy, icomplete-exhibit): Reflow.
334 (icomplete-minibuffer-setup-hook, icomplete-completions):
335 Remove superfluous backlashes.
337 * ido.el: Miscellaneous doc fixes.
338 Use Ido everywhere instead of ido or `ido' for consistency.
339 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
340 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
341 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
342 (ido-separator): Extract obsolescence info from docstring and declare
343 with make-obsolete-variable.
344 (ido-minibuffer-setup-hook): Simplify example.
345 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
346 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
347 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
348 (ido-everywhere): Reflow docstring.
349 (ido-toggle-vc): Doc fix.
350 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
351 of long list of keybindings.
353 2014-03-03 Glenn Morris <rgm@gnu.org>
355 * frame.el (display-pixel-height, display-pixel-width)
356 (display-mm-dimensions-alist, display-mm-height)
357 (display-mm-width): Doc tweaks.
359 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
361 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
362 case of undo in region.
364 2014-03-02 Martin Rudalics <rudalics@gmx.at>
366 * window.el (fit-window-to-buffer): Fix argument in window-size
367 call when window is horizontally combined.
369 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
371 * icomplete.el (icomplete-completions): Use string-width.
372 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
374 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
376 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
377 Highlight regexp options. (Bug#16914)
379 2014-03-01 Martin Rudalics <rudalics@gmx.at>
381 * window.el (window--max-delta-1): Round down when calculating
382 how many lines/columns we can get from a window.
384 2014-03-01 Glenn Morris <rgm@gnu.org>
386 * isearch.el (search-invisible): Doc fix.
388 * minibuffer.el (completion-hilit-commonality):
389 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
390 * comint.el (comint-dynamic-list-completions): Doc fix.
391 * comint.el (comint-dynamic-list-completions):
392 * filecache.el (file-cache-minibuffer-complete):
393 * tempo.el (tempo-display-completions):
394 * eshell/em-hist.el (eshell-list-history):
395 Replace use of obsolete argument of display-completion-list.
397 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
399 * icomplete.el (icomplete-completions):
400 Revert back to using "..." when ?… cannot be displayed.
402 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
404 * finder.el (finder-unload-function): New function.
406 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
408 * dframe.el (dframe-detach):
409 * find-dired.el (find-dired, find-name-dired):
410 * finder.el (finder-mode-map, finder-mode-syntax-table)
411 (finder-headmark, finder-select, finder-mouse-select):
414 2014-02-28 Martin Rudalics <rudalics@gmx.at>
416 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
417 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
418 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
419 Fix doc-string based on a suggestion by Nicolas Richard
420 <theonewiththeevillook@yahoo.fr>.
421 * help.el (with-help-window): Fix doc-string.
423 2014-02-28 Ivan Kanis <ivan@kanis.fr>
425 * net/shr.el (shr-image-animate): New option.
426 (shr-put-image): Respect shr-image-animate.
428 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
430 * net/tramp-adb.el (tramp-adb-parse-device-names):
431 Use `accept-process-output'.
432 (tramp-adb-handle-file-truename): Cache the localname only.
433 (tramp-adb-handle-make-directory)
434 (tramp-adb-handle-delete-directory): Flush file properties correctly.
435 (tramp-adb-handle-set-file-modes): Do not raise an error when file
436 modes cannot be changed.
438 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
439 file properties of symlinks.
441 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
443 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
444 required/optional fields to match development biblatex. (Bug#16781)
446 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
448 * saveplace.el (toggle-save-place):
449 Fix argument handling. (Bug#16673)
451 2014-02-28 Glenn Morris <rgm@gnu.org>
453 * minibuffer.el (completions-first-difference)
454 (completions-common-part, completion-hilit-commonality): Doc fixes.
456 2014-02-28 Karl Berry <karl@gnu.org>
458 * info.el (Info-mode-map): Add H for describe-mode,
459 to synchronize with standalone Info.
461 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
463 * progmodes/sql.el (sql-interactive-mode):
464 Avoid setting global comint-input-ring-separator. (Bug#16814)
466 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
468 * net/dbus.el (dbus--init-bus): Declare function.
469 (dbus-path-local, dbus-interface-local): New defconst.
470 (dbus-init-bus): Use them.
471 (dbus-return-values-table): Extend doc.
472 (dbus-handle-bus-disconnect): Extend error message.
474 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
476 * subr.el (y-or-n-p): Fix double space issue in message.
478 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
480 * net/tramp.el (tramp-call-process): Improve trace message.
481 (tramp-handle-insert-file-contents): Trace error case.
483 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
484 <insert-directory>: Use `tramp-handle-insert-directory'.
485 (tramp-adb-handle-insert-directory): Remove function.
486 (tramp-adb-send-command-and-check): New defun, replacing
487 `tramp-adb-command-exit-status'. Change all callees.
488 (tramp-adb-handle-file-attributes)
489 (tramp-adb-handle-directory-files-and-attributes): Use it.
490 (tramp-adb-ls-output-name-less-p):
491 Use `directory-listing-before-filename-regexp'.
492 (tramp-adb-handle-delete-directory): Flush also file properties of
493 the truename of directory.
494 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
495 (tramp-adb-handle-file-local-copy): Make the local copy readable.
496 (tramp-adb-handle-write-region): Implement APPEND.
497 (tramp-adb-handle-rename-file): Make it more robust. Flush file
498 properties correctly.
499 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
500 variables. Check for connected devices only when needed.
502 2014-02-27 Glenn Morris <rgm@gnu.org>
504 * minibuffer.el (completion-table-dynamic)
505 (completion-table-with-cache): Doc fixes.
507 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
508 (completing-read-multiple): Doc fixes.
510 2014-02-27 Daniel Colascione <dancol@dancol.org>
512 * minibuffer.el (completion--nth-completion): Fix indentation.
514 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
515 explicit tramp path is empty.
517 2014-02-27 Glenn Morris <rgm@gnu.org>
519 * emacs-lisp/crm.el (completing-read-multiple):
520 Empower help-enable-auto-load.
522 2014-02-26 Glenn Morris <rgm@gnu.org>
524 * startup.el (command-line): Don't init the tty in daemon mode.
526 Avoid calling tty-setup-hook twice, eg if a term file
527 explicitly calls tty-run-terminal-initialization. (Bug#16859)
528 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
529 (tty-create-frame-with-faces): Use it.
530 * startup.el (command-line): Pass run-hook argument
531 to tty-run-terminal-initialization.
533 * dired.el (dired-restore-desktop-buffer): Demote errors;
534 eg in case a glob match fails. (Bug#16884)
536 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
538 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
539 error from `read-from-string'. (Bug#16850)
541 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
542 result of `completing-read' in the interactive form. (Bug#16854)
544 2014-02-25 Glenn Morris <rgm@gnu.org>
546 * image.el (image-animate, image-animate-timeout):
547 Stop animating images in dead buffers. (Bug#16878)
549 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
551 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
553 * startup.el (term-setup-hook): Doc fix. Make obsolete.
554 * term/sun.el (sun-raw-prefix-hooks):
555 Use tty-setup-hook instead of term-setup-hook.
556 (terminal-init-sun): Construct message from bytecomp plist.
557 * term/wyse50.el (enable-arrow-keys): Doc fix.
559 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
561 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
564 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
566 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
568 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
570 * minibuffer.el (completion--try-word-completion):
571 Fix error when completing M-x commands (bug#16808).
573 2014-02-24 Leo Liu <sdl.web@gmail.com>
575 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
577 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
579 * apropos.el (apropos-print): Avoid formatting error when
580 apropos-do-all and apropos-compact-layout are both t.
582 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
584 * apropos.el (apropos-property, apropos-all-words-regexp)
585 (apropos-true-hit, apropos-variable, apropos-print):
586 Fix docstring typos, and remove obsolete comment.
588 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
590 * net/tramp-sh.el (tramp-sh-handle-file-truename):
591 Preserve trailing "/". (Bug#16851)
593 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
595 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
596 after `=>' (bug#16811).
597 (ruby-smie-rules): Handle the inconsistent second element of the
598 list returned by `smie-indent--parent'.
599 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
602 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
604 * elec-pair.el (electric-pair-text-syntax-table)
605 (electric-pair-syntax-info, electric-pair--syntax-ppss)
606 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
607 (electric-pair--looking-at-unterminated-string-p): Doc fix.
608 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
610 2014-02-22 Glenn Morris <rgm@gnu.org>
612 * imenu.el (imenu--generic-function): Doc fix.
614 * register.el (frame-configuration-to-register): Make obsolete.
616 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
618 * desktop.el (desktop-save-buffer-p): Do not fail when
619 desktop-files-not-to-save is nil. Return t for true result
622 2014-02-22 Daniel Colascione <dancol@dancol.org>
624 * net/secrets.el (secrets-create-item, secrets-search-items):
625 Check that attribute values are strings, avoiding the construction
626 of invalid dbus messages.
628 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
630 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
631 defun-declarations-alist.
633 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
635 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
638 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
640 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
641 (whitespace-newline, whitespace-trailing, whitespace-line)
642 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
643 (whitespace-space-after-tab): Fix typo in docstrings.
645 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
647 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
649 * electric.el (electric-indent-functions-without-reindent):
650 Add `yaml-indent-line'.
652 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
654 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
655 It has done nothing for years; should be removed after the release.
657 * simple.el (choose-completion): Fix docstring typo.
658 (read-quoted-char-radix): Remove unneeded * in docstring.
659 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
660 Don't escape parentheses unnecessarily in docstrings.
662 2014-02-21 Martin Rudalics <rudalics@gmx.at>
664 Fix handling of window-min-height/-width (Bug#16738).
665 * window.el (window--dump-window, window--dump-frame):
667 (window--min-size-1): Account for window dividers.
668 When window-resize-pixelwise is nil, delay rounding till after the
669 sum of the window components has been calculated.
670 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
671 nil make sure at least one text line and two text columns remain
673 (window-resize): Signal an error when window-resize-apply fails.
674 (window--resize-child-windows): Fix calculation of by how many
675 pixels a window can still be shrunk via window-new-normal.
676 (adjust-window-trailing-edge): Call window--resizable with
677 correct TRAIL argument.
679 (with-temp-buffer-window): Don't evaluate BODY within
680 with-current-buffer (Bug#16816).
682 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
684 * net/tramp.el (tramp-check-cached-permissions):
685 Call `file-attributes' with `suffix' being a symbol but a string.
687 2014-02-21 Daniel Colascione <dancol@dancol.org>
689 * net/dbus.el (dbus-init-bus-1): Declare new subr.
690 (dbus-init-bus): New function: call into dbus-init-bus-1
691 and installs a handler for the disconnect signal.
692 (dbus-call-method): Rewrite to look for result in cons.
693 (dbus-call-method-handler): Store result in cons.
694 (dbus-check-event): Recognize events with nil sender as valid.
695 (dbus-handle-bus-disconnect): New function. React to bus
696 disconnection signal by synthesizing dbus error for each
697 pending synchronous or asynchronous call.
698 (dbus-notice-synchronous-call-errors): New function.
699 (dbus-handle-event): Raise errors directly only when `dbus-debug'
700 is true, not all the time.
702 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
704 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
705 Remove obsolescence declarations, these variables do not exist anymore.
707 * savehist.el (savehist-save-minibuffer-history)
708 (savehist-additional-variables, savehist-file, savehist-mode-hook)
709 (savehist-save-hook, savehist-coding-system, savehist-loaded)
710 (savehist-load, savehist-install, savehist-autosave): Fix typos;
711 mostly, refer to "Savehist mode" when talking about the mode,
712 and not the function.
714 * saveplace.el (save-place): Remove redundant info in docstring.
715 (save-place-forget-unreadable-files, toggle-save-place)
716 (save-place-forget-unreadable-files, save-place-dired-hook):
717 Fix typos and remove unneeded backslashes.
719 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
721 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
722 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
724 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
725 <insert-directory>: Use `tramp-handle-insert-directory'.
726 (tramp-gvfs-handle-insert-directory): Remove function.
728 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
729 Call `tramp-handle-insert-directory'.
731 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
733 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
734 before the start of buffer/region (bug#16799).
736 2014-02-20 Glenn Morris <rgm@gnu.org>
738 * isearch.el (search-invisible): Doc fix.
740 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
742 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
745 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
747 * frameset.el (frameset-restore): Delay removing an old frame's
748 duplicate id until the new frame has been correctly created.
750 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
752 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
753 (tramp-check-cached-permissions): Call `file-attributes' if the
756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
757 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
759 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
760 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
761 (tramp-gvfs-maybe-open-connection): Set always connection
762 properties, even if target is mounted already.
764 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
765 Set tramp-autoload cookie.
766 (tramp-get-remote-touch): New defun.
767 (tramp-sh-handle-set-file-times): Use it.
768 (tramp-sh-handle-directory-files-and-attributes):
769 Use `tramp-handle-directory-files-and-attributes' if neither stat
770 nor perl are available on the remote host.
772 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
773 "/". Write long listing only when "l" belongs to the switches.
775 * net/trampver.el: Update release number.
777 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
779 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
781 2014-02-19 Martin Rudalics <rudalics@gmx.at>
783 * window.el (window-state-put): Allow WINDOW to refer to an
784 internal window (Bug#16793).
786 2014-02-19 Glenn Morris <rgm@gnu.org>
788 * textmodes/remember.el: Move provide statement to end.
789 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
790 (remember-notes): Doc fixes.
792 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
794 * delsel.el (delete-char): Restore incorrectly erased property
797 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
799 * frameset.el (frameset--restore-frame): When a frame is being reused
800 and its root window is not alive, delete all the frame's windows before
801 restoring the window state. This works around the issue in bug#16793.
803 2014-02-18 Glenn Morris <rgm@gnu.org>
805 * textmodes/remember.el (remember-data-directory)
806 (remember-directory-file-name-format, remember-store-in-files)
807 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
808 (remember-notes-save-and-bury-buffer)
809 (remember-notes--kill-buffer-query): Doc fixes.
811 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
813 2014-02-17 Alan Mackenzie <acm@muc.de>
815 Connect electric-indent-mode up with CC Mode. Bug #15478.
816 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
817 to electric-indent-{,local-}-mode.
818 (c-basic-common-init): Set electric-indent-inhibit.
819 Initialise c-electric-flag from electric-indent-mode.
820 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
821 New hook functions which propagate electric-indent-mode to CC mode.
823 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
824 hit, toggle electric-indent-local-mode.
826 * electric.el (electric-indent-mode-has-been-called):
829 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
831 * frameset.el (frameset-cfg-id): New function.
832 (frameset--reuse-frame, frameset-restore): Use it.
833 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
835 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
837 * ido.el (ido-file-internal): Remove unused var `d'.
838 Use \` for to match BoS. Fit within 80n columns.
840 2014-02-17 Daniel Colascione <dancol@dancol.org>
842 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
843 dbus-call-method check for completion using a busy-wait loop with
846 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
848 Sync with Tramp 2.2.9.
850 * net/trampver.el: Update release number.
852 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
854 * ido.el (ido-file-internal): Don't add the name of an existing
855 directory twice. (Bug#16747)
857 2014-02-16 Glenn Morris <rgm@gnu.org>
859 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
860 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
862 2014-02-15 Michael R. Mauger <michael@mauger.com>
864 * progmodes/sql.el: Version 3.4
865 (sql-oracle-options): New default value ("-L").
866 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
867 (sql-placeholders-filter): Correct placeholder pattern.
868 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
869 (sql-login-delay): New variable.
870 (sql-product-interactive): Use it.
872 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
874 * frameset.el (frameset--jump-to-register): Check that buffer is live
877 2014-02-15 Glenn Morris <rgm@gnu.org>
879 * info.el (info-initialize): Revert 2014-01-10 change.
881 2014-02-14 Glenn Morris <rgm@gnu.org>
883 * replace.el (map-query-replace-regexp)
884 (read-regexp-defaults-function, read-regexp): Doc fixes.
886 * dired.el (dired-read-regexp):
887 * faces.el (list-faces-display):
888 * misearch.el (multi-isearch-read-matching-buffers)
889 (multi-isearch-read-matching-files):
890 * play/cookie1.el (cookie-apropos):
891 * progmodes/grep.el (grep-read-regexp): Doc fixes.
893 * textmodes/remember.el (remember): Use frameset-to-register
894 rather than frame-configuration-to-register.
896 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
898 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
899 incorrect keybinding.
901 2014-02-13 Daniel Colascione <dancol@dancol.org>
903 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
904 when adding overlays so that line numbers from compiler match line
907 2014-02-13 Glenn Morris <rgm@gnu.org>
909 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
911 * jit-lock.el (jit-lock-mode): Doc fix.
913 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
915 * apropos.el (apropos-read-pattern): When the user passes an empty
916 string, give a more helpful error message than "Wrong type
917 argument: stringp, nil".
919 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
921 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
923 2014-02-13 Glenn Morris <rgm@gnu.org>
925 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
927 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
929 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
930 shift-select commands.
932 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
934 * progmodes/js.el (js-indent-line): Don't widen.
935 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
937 2014-02-12 Glenn Morris <rgm@gnu.org>
939 * icomplete.el (icomplete): Add info-link to defgroup.
940 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
941 (icomplete-minibuffer-map, icomplete-mode)
942 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
944 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
945 (package-menu-filter): Rename from package-menu-filter-interactive.
948 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
950 * frameset.el (frameset--jump-to-register): Select the required
951 window and buffer before restoring position (bug#16696).
953 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
955 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
957 2014-02-10 Glenn Morris <rgm@gnu.org>
959 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
961 2014-02-10 Eli Zaretskii <eliz@gnu.org>
963 * w32-common-fns.el (x-get-selection): Doc fix.
964 * select.el (x-get-selection): Doc fix. (Bug#15109)
966 * face-remap.el (face-remap-add-relative)
967 (face-remap-remove-relative, face-remap-reset-base)
968 (face-remap-set-base): Call force-mode-line-update to redisplay
969 the current buffer due to potential change in faces. (Bug#16709)
971 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
973 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
974 script more robustly.
976 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
978 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
980 * simple.el (choose-completion): Doc fix (bug#14160).
982 * subr.el (event-start): Say what a nil EVENT value means.
984 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
987 * progmodes/grep.el (find-program): Doc fix (bug#14289).
989 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
991 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
993 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
994 predicate function (bug#15455).
996 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
998 * ielm.el (inferior-emacs-lisp-mode): Instead of
999 `comment-use-global-state', set `comment-use-syntax'.
1001 2014-02-10 Glenn Morris <rgm@gnu.org>
1003 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
1005 2014-02-09 Alan Mackenzie <acm@muc.de>
1007 Fix c-invalidate-state-cache on narrowed buffers.
1008 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
1009 Widen when setting and clearing the CPP delimiter properties.
1011 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
1013 * help.el (describe-bindings): Doc fix (bug#9888).
1015 * files.el (save-buffer): Use ARG as the parameter name for
1016 consistency (bug#10346).
1017 (save-buffer): Clarify the 0 argument (bug#10346).
1019 * cus-edit.el (customize-apropos): Fix error string.
1020 (custom-buffer-create): Doc fix (bug#11122).
1021 (custom-sort-items): Doc fix (bug#11121).
1023 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
1025 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
1026 (icomplete-simple-completing-p): Mention the previous variable.
1028 * font-lock.el (font-lock-value-in-major-mode): Clarify the
1029 meaning of the parameter (bug#12282).
1031 * files.el (find-file-noselect): Clarify prompt when changing
1032 readedness (bug#13261).
1033 (locate-file): Suffixes aren't returned, so don't say that they
1035 (backup-inhibited): Doc clarification (bug#12525).
1037 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
1038 before we actually start to delete things (bug#16331).
1040 * subr.el (event-start): Doc fix (bug#14228).
1043 2014-02-09 Glenn Morris <rgm@gnu.org>
1045 * emacs-lisp/warnings.el (lwarn):
1046 Empower help-enable-auto-load. (Bug#15940)
1048 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
1050 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
1053 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1056 Insert output at end of buffer. (Bug#16120)
1058 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1060 * simple.el (choose-completion-string-functions): Document new
1061 calling convention (bug#14153).
1062 (execute-extended-command): Clarify doc string (bug#13373).
1064 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
1066 * find-dired.el (find-name-dired): Doc fix (bug#14290).
1067 (find-grep-dired): Doc fix (bug#14288).
1069 2014-02-08 Juri Linkov <juri@jurta.org>
1071 * isearch.el (isearch-quote-char): Check character validity
1072 like in `quoted-insert' (bug#16677).
1074 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1076 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1078 * isearch.el (isearch-hide-immediately): Doc clarification
1081 * simple.el (line-move): Document utility function used many
1082 places in the Emacs sources (bug#14843).
1084 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1085 (dired-prev-marked-file): Doc fix (bug#14855).
1086 (dired-up-directory): Doc fix (bug#14848).
1088 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1090 * files.el (file-relative-name): Doc fix (bug#15159).
1092 * fringe.el (fringe-styles): Doc fix (bug#15239).
1094 * isearch.el (isearch-filter-predicate): Documentation typo fix
1097 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1099 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1101 * replace.el (replace-match-maybe-edit): Doc clarification
1104 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1106 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1108 2014-02-08 Glenn Morris <rgm@gnu.org>
1110 * help-fns.el (describe-variable):
1111 Check {file,dir}-local-variables-alist, and buffer-file-name,
1112 in the correct buffer.
1114 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1116 * help-fns.el (describe-variable): Fix the case where
1117 a value is directory-local with no dir-locals file. (Bug#16635)
1119 2014-02-08 Glenn Morris <rgm@gnu.org>
1121 * abbrev.el (edit-abbrevs-mode):
1122 Derive from fundamental-mode. (Bug#16682)
1124 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1126 * simple.el (quoted-insert): Check character validity (bug#16677).
1128 2014-02-07 Juri Linkov <juri@jurta.org>
1130 * desktop.el (desktop-read): Claim the lock when the owner is not
1131 the current process. (Bug#16157)
1133 2014-02-07 Juri Linkov <juri@jurta.org>
1135 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1136 to "\\` ". (Bug#16651)
1138 2014-02-07 Juri Linkov <juri@jurta.org>
1140 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1141 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1142 (desktop-auto-save-cancel-timer): New function with some code from
1143 `desktop-auto-save-set-timer'.
1144 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1145 Instead of setting `desktop-save-mode' to nil, call
1146 `desktop-save-mode' with arg 0. (Bug#16630)
1148 2014-02-07 Glenn Morris <rgm@gnu.org>
1150 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1151 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1152 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1154 * obsolete/iswitchb.el: Move to obsolete/.
1155 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1156 since obsolete/ is not scanned for autoloads.
1157 * emacs-lisp/authors.el (authors-valid-file-names):
1160 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1161 Disable now non-functional find-file-hook.
1163 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1165 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1166 instead of ";" in order to avoid additional prompts. Let heredoc
1167 scripts read from tty. (Bug#16582)
1168 (tramp-send-command): No special handling of heredocs, it isn't
1171 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1174 with a space (bug#16664). Limit the symbols considered to the ones
1175 that are bound or fbound (bug#16646).
1177 2014-02-06 Glenn Morris <rgm@gnu.org>
1179 * epa.el (epa-mail-aliases): Doc fix.
1181 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1183 * emacs-lisp/lisp.el (lisp-completion-at-point):
1184 Use `completion-table-merge' instead of `completion-table-in-turn'
1187 * minibuffer.el (completion-table-merge): New function.
1189 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1191 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1192 (tramp-sh-handle-set-file-acl)
1193 (tramp-sh-handle-start-file-process)
1194 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1195 (tramp-find-executable, tramp-send-command): Use it.
1197 2014-02-05 Glenn Morris <rgm@gnu.org>
1199 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1201 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1203 * progmodes/python.el (python-shell-send-string)
1204 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1206 2014-02-04 Anders Lindgren <andlind@gmail.com>
1208 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1209 the names (bug#16620).
1211 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1213 * faces.el (window-divider): New default value. Rewrite doc-string.
1214 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1216 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1218 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1219 `protected' and `public' can also be called without arguments.
1221 2014-02-03 Glenn Morris <rgm@gnu.org>
1223 * register.el (window-configuration-to-register)
1224 (frame-configuration-to-register): Unadvertise unused argument.
1225 * frameset.el (frameset-to-register): Remove unused argument.
1227 * frameset.el (frameset-to-register):
1228 * kmacro.el (kmacro-to-register):
1229 * register.el (increment-register):
1230 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1231 (calc-append-to-register, calc-prepend-to-register):
1232 * play/gametree.el (gametree-layout-to-register)
1233 (gametree-apply-register-layout):
1234 * textmodes/picture.el (picture-clear-rectangle-to-register)
1235 (picture-yank-rectangle-from-register):
1236 * vc/emerge.el (emerge-combine-versions-register):
1237 Use register-read-with-preview to read registers.
1239 2014-02-03 João Távora <joaotavora@gmail.com>
1241 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1242 when at beginning of (possibly narrowed) buffer.
1244 2014-02-02 Daniel Colascione <dancol@dancol.org>
1246 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1247 Also try to display local help from just before point.
1249 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1251 c-parse-state. Don't "append-lower-brace-pair" in certain
1252 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1253 recognised as a comment.
1255 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1256 as well as normal comment starter.
1257 (c-parse-state-get-strategy): Extra return possibility
1259 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1260 return value list to indicate replacement of a brace-pair cons
1262 (c-parse-state-1): With 'back-and-forward, only call
1263 c-append-lower-brace-pair-to state-cache when cons-separated.
1265 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1267 * term/ns-win.el (ns-suspend-error): New function.
1268 (ns-initialize-window-system): Add ns-suspend-error to
1269 suspend-hook (Bug#16612).
1271 2014-02-02 Daniel Colascione <dancol@dancol.org>
1273 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1274 Make loading cc-mode silent.
1276 2014-02-02 Daniel Colascione <dancol@dancol.org>
1278 * comint.el (comint-prompt-read-only): Change doc to suggest
1281 2014-02-02 Glenn Morris <rgm@gnu.org>
1283 * register.el (register-read-with-preview, point-to-register)
1284 (window-configuration-to-register, frame-configuration-to-register)
1285 (jump-to-register, number-to-register, view-register, insert-register)
1286 (copy-to-register, append-to-register, prepend-to-register)
1287 (copy-rectangle-to-register): Doc fixes.
1289 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1291 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1292 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1293 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1294 * help-fns.el (describe-function-1): Use it.
1296 2014-02-02 Glenn Morris <rgm@gnu.org>
1298 * register.el (register-preview-default): New function,
1299 split from register-preview.
1300 (register-preview-function): Rename from register-preview-functions,
1302 (register-preview): Use register-preview-function.
1303 (register-read-with-preview): Error on non-character event. (Bug#16595)
1305 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1307 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1308 `:' before binary operators (bug#16609). Don't check for `:'
1309 before `[' and `(', or their syntax status. A percent literal
1310 can't end with either.
1311 (ruby-font-lock-keywords): For built-ins that require arguments,
1312 check that they're followed by something that looks like argument
1315 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1317 * subr.el (butlast): Document what an omitted N means (bug#13437).
1320 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1322 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1323 depth shallower (bug#16587).
1324 (shr-tag-svg): Respect `shr-inhibit-images'.
1325 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1327 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1329 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1330 (ruby-smie-grammar): Make "." right-associative. Make its priority
1331 lower than the ternary and all binary operators.
1332 (ruby-smie-rules): Indent "(" relative to the first non-"."
1333 parent, or the first "." parent at indentation.
1334 Use `ruby-align-chained-calls' for indentation of "." tokens.
1337 2014-01-31 Juri Linkov <juri@jurta.org>
1339 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1340 from `make-hash-table'.
1342 * textmodes/ispell.el (ispell-init-process): Change message format
1343 to be consistent with other messages.
1345 2014-01-31 Glenn Morris <rgm@gnu.org>
1347 * delsel.el (delete-selection-mode): Doc fix.
1349 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1350 (trace-function-background): Doc fixes.
1352 * ido.el (ido-use-virtual-buffers): Doc fix.
1353 Reset :version, since the default value has not changed.
1355 * register.el (register-preview-delay, register-read-with-preview):
1358 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1359 do not mess with mail-buffer position (fixes 2009-11-03 change).
1360 * progmodes/cc-mode.el (c-submit-bug-report):
1361 Check auto-fill-mode is bound. (Bug#16592)
1363 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1365 * startup.el (fancy-splash-image-file): New function,
1366 split from fancy-splash-head.
1367 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1368 so that we are both using the same image. (Bug#16574)
1370 2014-01-30 Glenn Morris <rgm@gnu.org>
1372 * simple.el (eval-expression): Doc fix.
1374 * hexl.el (hexl-mode-hook):
1375 * ielm.el (ielm-mode-hook):
1376 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1377 (lisp-interaction-mode-hook):
1378 * progmodes/cfengine.e (cfengine3-documentation-function):
1379 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1381 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1383 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1384 is a symbol (bug#16584).
1386 2014-01-30 Glenn Morris <rgm@gnu.org>
1388 * help.el (help-for-help-internal): Add "P" to text.
1390 2014-01-29 Glenn Morris <rgm@gnu.org>
1392 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1394 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1396 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1399 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1401 * progmodes/hideif.el: Extend to full CPP expression syntax.
1402 (hif-token-alist): Add missing tokens.
1403 (hif-token-regexp): Add support for float/octal/hex immediates.
1404 (hif-string-literal-regexp): New const.
1405 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1406 (hif-exprlist): New function.
1407 (hif-parse-if-exp): Use it.
1408 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1409 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1410 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1411 (hif-logxor, hif-comma): New functions.
1413 2014-01-28 Glenn Morris <rgm@gnu.org>
1415 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1417 * indent.el (tab-stop-list): Doc fix. Add :version.
1419 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1420 (cvs-append-to-ignore): Add compatibility alias.
1422 2014-01-27 Glenn Morris <rgm@gnu.org>
1424 * dired.el (dired-hide-details-mode): Don't autoload it,
1425 since it cannot be used outside Dired buffers anyway.
1427 * emulation/cua-base.el (cua-mode): Doc fix.
1429 * dired.el (dired-hide-details-hide-symlink-targets)
1430 (dired-hide-details-hide-information-lines)
1431 (dired-hide-details-mode): Doc fixes.
1433 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1434 * strokes.el (strokes-file): Doc fix. Bump :version.
1435 (strokes-help): Doc fix.
1436 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1437 * emulation/viper.el (viper): Doc fix for custom group.
1438 (top-level): Remove oh-so-no-longer-relevant text about vip.
1439 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1441 * ido.el (ido-save-directory-list-file):
1442 * saveplace.el (save-place-file):
1443 * calendar/timeclock.el (timeclock-file):
1444 * net/quickurl.el (quickurl-url-file):
1445 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1446 * progmodes/idlwave.el (idlwave-config-directory):
1447 * textmodes/remember.el (remember-data-file):
1450 2014-01-26 Glenn Morris <rgm@gnu.org>
1452 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1453 Doc fix. Make obsolete.
1454 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1456 * sort.el (delete-duplicate-lines): Doc fix.
1458 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1460 * progmodes/ada-mode.el (ada):
1461 * woman.el (woman): Link to info manual and Commentary section.
1463 * progmodes/flymake.el (flymake):
1464 * nxml/nxml-mode.el (nxml):
1466 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1467 * htmlfontify.el (htmlfontify):
1470 * ido.el (ido): Link to info manual.
1472 2014-01-25 Leo Liu <sdl.web@gmail.com>
1474 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1476 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1478 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1481 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1483 * net/eww.el (eww-download-callback):
1484 Fix reference to eww-download-directory.
1486 * emacs-lisp/bytecomp.el (byte-compile-file):
1487 Remove unused local variable `file-name'.
1489 2014-01-24 Glenn Morris <rgm@gnu.org>
1491 * woman.el (woman-default-faces, woman-monochrome-faces):
1492 Fix obsolescence specification.
1494 * subr.el (with-demoted-errors): Doc fix.
1496 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1499 (cl--macroexp-fboundp): New function.
1500 (cl--make-type-test): Use it.
1502 2014-01-23 Glenn Morris <rgm@gnu.org>
1504 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1505 * simple.el (eval-expression): Doc fixes.
1507 2014-01-22 Glenn Morris <rgm@gnu.org>
1509 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1511 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * emacs-lisp/package.el: Write files silently.
1514 (package-autoload-ensure-default-file, package--write-file-no-coding)
1515 (package-generate-description-file, package--download-one-archive)
1516 (package-install-from-archive): Tell `write-region' to stay quiet.
1517 (package-menu-mode, package-menu--print-info): Omit the Archive column
1518 if there's only one archive.
1519 (package-all-keywords, package--has-keyword-p): Remove dead code.
1521 2014-01-22 Glenn Morris <rgm@gnu.org>
1523 * version.el (emacs-bzr-version-bzr): Fix typo.
1525 * version.el (emacs-repository-get-version):
1526 Check either .bzr or .git, but not both.
1527 Make the git case actually use the DIR argument, and return nil
1528 rather than the empty string.
1529 Avoid error if .git exists but the git executable is not found.
1531 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1533 Fixes in window size functions around Bug#16430 and Bug#16470.
1534 * window.el (window-total-size, window-size): New argument ROUND.
1535 (window--min-delta-1, window-min-delta, window--max-delta-1):
1536 Be more conservative when calculating the numbers of lines or
1537 columns a window can shrink (Bug#16430).
1538 (fit-window-to-buffer): Simplify code.
1539 * term.el (term-window-width): Call window-body-width again.
1541 2014-01-22 Glenn Morris <rgm@gnu.org>
1543 * image.el (image-format-suffixes): Doc fix.
1545 * international/quail.el (quail-define-package): Doc fix.
1547 * emacs-lisp/authors.el (authors-valid-file-names)
1548 (authors-renamed-files-alist): Additions.
1550 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1551 reverts 2014-01-09 change. (Bug#16422)
1553 * calc/calc-embed.el (thing-at-point-looking-at):
1554 * emacs-lisp/map-ynp.el (x-popup-dialog):
1555 * obsolete/lmenu.el (x-popup-dialog):
1556 * emacs-lisp/package.el (url-recreate-url):
1557 * mail/mailclient.el (clipboard-kill-ring-save):
1558 * subr.el (x-popup-dialog): Update declaration.
1559 * mail/rmail.el (rmail-mime-message-p):
1560 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1562 2014-01-21 Daniel Colascione <dancol@dancol.org>
1564 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1565 Correctly detect when we're inside an arithmetic expansion form
1566 containing nested parenthesis.
1567 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1568 to detect cases where we shouldn't expand "<<" to a heredoc
1571 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1573 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1574 (eldoc--message-command-p): New function.
1575 (eldoc-display-message-p): Use it.
1576 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1577 message is not automatically erased for us.
1578 (eldoc-print-current-symbol-info): Erase previous message, if any.
1580 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1582 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1583 specify it's an interactive function.
1585 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1586 Fix regex used for scanning for citation keys which failed for
1587 citations with optional arguments.
1589 2014-01-21 Leo Liu <sdl.web@gmail.com>
1591 * simple.el (read--expression): Don't enable eldoc-mode.
1593 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * simple.el (move-beginning-of-line): Make sure we don't move forward
1598 2014-01-20 Juri Linkov <juri@jurta.org>
1600 * saveplace.el (toggle-save-place, save-place-to-alist)
1601 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1602 'dired-mode) before checking for dired-directory. (Bug#16477)
1604 2014-01-20 Juri Linkov <juri@jurta.org>
1606 * indent.el (indent-line-to): Use backward-to-indentation
1607 instead of back-to-indentation. (Bug#16461)
1609 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1611 Revert some of the CANNOT_DUMP fix (Bug#16494).
1612 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1613 but fixing this can wait until after the next release.
1614 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1616 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1618 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1619 Use `password-word-equivalents'.
1620 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1621 to t. (Bug#5664, Bug#13124)
1623 2014-01-19 Alan Mackenzie <acm@muc.de>
1625 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1627 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1628 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1629 * progmodes/cc-mode.el (c-before-change, c-after-change)
1630 (c-font-lock-fontify-region): Bind it here.
1632 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1634 * term.el (term-window-width): Call window-text-width instead of
1635 window-width (Bug#16470).
1637 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1639 * simple.el (password-word-equivalents): Remove duplicates.
1640 Sort, to make this easier next time.
1641 Downcase. Omit ": " after "jelszó".
1643 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1645 * term/common-win.el (saved-region-selection): Defvar it.
1646 (x-select-text): Set saved-region-selection (Bug#16382).
1648 2014-01-18 Glenn Morris <rgm@gnu.org>
1650 * emacs-lisp/authors.el (authors-aliases)
1651 (authors-renamed-files-alist): Add some entries.
1653 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1655 * net/tramp.el (tramp-password-prompt-regexp):
1656 Use `password-word-equivalents' if available.
1657 (tramp-action-password, tramp-process-one-action)
1658 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1660 2014-01-17 Chong Yidong <cyd@gnu.org>
1662 * simple.el (password-word-equivalents): New defcustom.
1663 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1665 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1668 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1670 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1671 (ruby-align-to-stmt-keywords): Change the default value.
1672 Use `ruby-alignable-keywords' to generate the possible customization
1674 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1675 keywords, check against the value of `ruby-alignable-keywords'
1676 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1678 2014-01-17 Glenn Morris <rgm@gnu.org>
1680 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1682 Make M-x authors return zero *Authors Errors* from current logs.
1683 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1684 (authors-ignored-files): Add some entries, remove others.
1685 (authors-ambiguous-files, authors-valid-file-names):
1687 (authors-renamed-files-alist): Add, remove, and adjust entries.
1688 (authors-renamed-files-regexps): Add some entries.
1689 Remove some very broad ones. Make some entries `lax'.
1690 (authors-lax-changelogs): New constant.
1691 (authors-disambiguate-file-name): Treat top-level specially.
1692 (authors-lax-changelog-p): New function.
1693 (authors-canonical-file-name): Check file as written against
1694 authors-valid-file-names. Do not special-case etc/.
1695 Handle `lax' logs and authors-renamed-files-regexps elements.
1697 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1699 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1700 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1703 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1705 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1706 Assume we're already in the proper buffer.
1707 Inspired by Anders Lindgren <andlind@gmail.com>.
1708 (follow-post-command-hook): Call it from the right buffer.
1709 (follow-comint-scroll-to-bottom): Adjust call.
1710 (follow-all-followers): Use get-buffer-window-list.
1712 2014-01-15 Daniel Colascione <dancol@dancol.org>
1714 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1715 `buffer-file-name' in interactive-form so that we don't leave
1716 pathless file names in `file-name-history'.
1718 2014-01-15 Juri Linkov <juri@jurta.org>
1720 * indent.el (indent-rigidly): Set deactivate-mark to nil
1721 in transient indentation mode. (Bug#16438)
1723 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1725 * emacs-lisp/package.el (package-desc-keywords): New function
1727 (describe-package-1, package-all-keywords)
1728 (package--has-keyword-p): Use it.
1730 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1732 * simple.el (define-alternatives): When creating the
1733 COMMAND-alternatives variable, assign COMMAND as its definition
1734 name so that `describe-variable' can relocate it.
1736 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1738 * font-lock.el (font-lock-keywords): Fix typo in docstring
1741 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1743 * ispell.el (ispell-region): Reset `in-comment' for new line
1744 instead of wrongly reset `add-coment' (bug#13577).
1746 2014-01-14 Daiki Ueno <ueno@gnu.org>
1748 * epa-file.el (epa-file-write-region): Encode the region according
1749 to `buffer-file-format'. Problem reported at:
1750 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1752 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1754 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1755 so it applies in the right buffer (bug#16410).
1757 2014-01-13 Daniel Colascione <dancol@dancol.org>
1759 * textmodes/rst.el (rst-define-key): Provide deprecated
1760 keybindings through named functions instead of anonymous ones so
1761 that "??" doesn't appear in describe-mode output.
1763 2014-01-13 Bastien Guerry <bzg@gnu.org>
1765 * simple.el (define-alternatives): Call the selected command
1766 interactively. When setting `COMMAND--implementation' for the
1767 first time, tell the user how to chose another implementation.
1768 Enhance the docstring.
1770 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1772 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1773 (log-edit--match-first-line): New function.
1774 (log-edit-font-lock-keywords): Use it.
1775 (log-edit-mode): Make jit-lock-defer-multiline work.
1777 2014-01-13 Bastien Guerry <bzg@gnu.org>
1779 * rect.el (rectangle-mark-mode): When the region is not active,
1780 display a message saying that the mark as been set and that
1781 rectangle mode is in use.
1782 (rectangle--highlight-for-redisplay): Only put an overlay with a
1783 visible vertical bar when (display-graphic-p) is non-nil.
1784 This partially fixes Bug#16403.
1786 2014-01-13 Juri Linkov <juri@jurta.org>
1788 * info.el (Info-find-file): Go to DIR before displaying the error
1789 about a nonexistent file if no previous Info file is visited.
1790 Use `user-error' instead of `error' for "Info file %s does not exist".
1791 (Info-find-node-2): In case of a nonexistent node in unwind forms
1792 go to the Top node if there is no previous node to revert to.
1795 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1797 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1798 * window.el (fit-frame-to-buffer): Fix doc-string.
1799 Respect window-min-height/-width. Fit pixelwise when
1800 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1801 when avoiding that frame goes partially off-screen.
1802 (fit-window-to-buffer): Respect window-min-height/-width
1805 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1807 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1808 after an empty line.
1810 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1812 * net/shr.el (shr-render-region): Autoload.
1814 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1816 * net/eww.el (eww-download-directory): Rename from
1817 `eww-download-path' (Bug#16419).
1819 2014-01-12 Leo Liu <sdl.web@gmail.com>
1821 * dired-x.el (dired-mode-map): Fix last change.
1823 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1825 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1828 * emacs-lisp/generic.el (generic--normalize-comments):
1829 Rename from generic--normalise-comments. All uses changed.
1830 * play/bubbles.el (bubbles--neighborhood-score)
1831 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1832 (bubbles--neighborhood-available)
1833 (bubbles--update-neighborhood-score):
1834 Rename from names with 'neighbourhood'. All uses changed.
1836 2014-01-12 Leo Liu <sdl.web@gmail.com>
1838 Re-implement the feature of showing eldoc info after editing.
1839 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1840 (eldoc-edit-message-commands): New function.
1841 (eldoc-print-after-edit): New variable.
1842 (eldoc-pre-command-refresh-echo-area): Emit message only by
1843 eldoc-message-commands.
1844 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1845 if eldoc-print-after-edit is set. (Bug#16346)
1846 * simple.el (read--expression): Enable eldoc-mode.
1847 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1849 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1850 Eric S. Raymond <esr@thyrsus.com>
1852 * version.el (emacs-repository-get-version): Enhance so the
1853 function works correctly in either a Bazaar or Git repo.
1855 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1857 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1858 Goes with removal of the joke manpages from /etc.
1860 2014-01-10 Kenichi Handa <handa@gnu.org>
1862 * mail/rmail.el (rmail-get-coding-system):
1863 Check rmail-get-coding-function before "funcall"ing it.
1865 2014-01-10 Glenn Morris <rgm@gnu.org>
1867 * emacs-lisp/authors.el (authors-fixed-entries):
1868 Update for files that no longer exist.
1870 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1872 * version.el (emacs-bzr-get-version): Restore compatibilty with
1875 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1877 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1880 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1882 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1884 2014-01-10 Chong Yidong <cyd@gnu.org>
1886 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1888 2014-01-10 Anders Lindgren <andlind@gmail.com>
1890 * follow.el (follow-cache-command-list): Include right-char and
1893 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1896 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1897 * woman.el (woman-mark-horizontal-position):
1898 Rename from woman-mark-horizonal-position. Use changed.
1900 2014-01-10 Glenn Morris <rgm@gnu.org>
1902 * info.el (info-initialize): If running uninstalled, ensure our
1903 own info files are always found first, even if INFOPATH is set.
1905 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1907 2014-01-09 David Engster <deng@randomsample.de>
1909 * emacs-lisp/eieio-custom.el:
1910 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1911 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1912 * emacs-lisp/eieio.el: Regenerate autoloads.
1914 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1916 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1917 following renames. (Bug#8756)
1919 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1921 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1923 (activate-mark): Add `no-tmm' argument.
1924 (set-mark, push-mark-command): Use it instead of running
1925 activate-mark-hook by hand.
1927 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1929 In preparation for the move to git, sanitize out some
1930 Bazaar-specific names.
1932 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1934 * version.el (emacs-bzr-version): Name changed to
1935 emacs-repository-version. Obsolete-variable alias made.
1936 * loadup.el: Follow through on this name change.
1937 * mail/emacsbug.el (report-emacs-bug): Factor out any
1938 assumption about the version control system in use.
1940 2014-01-08 David Engster <deng@randomsample.de>
1942 * help-fns.el (help-fns-describe-function-functions):
1943 New variable to call functions for augmenting help buffers.
1944 (describe-function-1): Remove explicit calls to
1945 `help-fns--compiler-macro', `help-fns--parent-mode' and
1946 `help-fns--obsolete'. Put them in above new variable instead, and
1947 call them through `run-hook-with-args'.
1948 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1949 `eieio-describe-class'. Not meant for interactive use anymore,
1950 but to augment existing help buffers. Remove optional second
1951 argument. Create proper button for file location.
1952 Rewrite function to use `insert' instead of `princ' and `prin1' where
1954 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1955 (eieio-method-def, eieio-class-def): Move further up.
1956 (describe-method, describe-generic, eieio-describe-method):
1958 (eieio-help-constructor, eieio-help-generic): Rename from
1959 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1960 Rewrite to use `insert' in the current buffer and use proper help
1962 (eieio-help-find-method-definition)
1963 (eieio-help-find-class-definition): Also accept symbols as
1965 (eieio-help-mode-augmentation-maybee): Remove.
1966 (eieio-describe-class-sb): Use `describe-function'.
1967 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1968 Add `eieio-help-generic' and `eieio-help-constructor'.
1970 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1973 * language/china-util.el (hz-ascii-designation):
1974 Rename from hz-ascii-designnation.
1975 (hz-ascii-designation): Rename from hz-ascii-designnation.
1978 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1980 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1983 2014-01-08 Bastien Guerry <bzg@gnu.org>
1985 * emacs-lisp/package.el (package-delete):
1986 Correctly delete the package from package-alist.
1988 2014-01-08 Daiki Ueno <ueno@gnu.org>
1990 * emacs-lisp/package.el (url-recreate-url): Declare.
1991 (url-http-target-url): Declare.
1992 (package-handle-response): Include requested URL in the error message.
1993 (package--check-signature): Don't re-signal errors from
1994 package--with-work-buffer. Suggested by Stefan Monnier.
1996 2014-01-07 Bastien Guerry <bzg@gnu.org>
1998 * minibuffer.el (completion--try-word-completion): When both a
1999 hyphen and a space are possible candidates for the character
2000 following a word, display both candidates. (Bug#15980)
2002 2014-01-07 Martin Rudalics <rudalics@gmx.at>
2004 * window.el (balance-windows-2): While rounding don't give a
2005 window more than the remainder. Bug#16351, bug#16383.
2007 2014-01-07 Glenn Morris <rgm@gnu.org>
2009 * menu-bar.el (menu-bar-help-extra-packages): Remove.
2010 (menu-bar-help-menu): Use view-external-packages instead.
2012 2014-01-07 Bastien Guerry <bzg@gnu.org>
2014 * emacs-lisp/package.el (package-delete): Also delete the package
2015 name from `package-alist', not its description only.
2017 2014-01-07 Glenn Morris <rgm@gnu.org>
2019 * help.el (view-external-packages):
2020 * menu-bar.el (menu-bar-help-extra-packages):
2021 Visit efaq.info rather than etc/MORE.STUFF.
2023 2014-01-07 Juri Linkov <juri@jurta.org>
2025 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
2026 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
2028 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
2029 that shadows RET. (Bug#16342)
2031 2014-01-07 Chong Yidong <cyd@gnu.org>
2033 * isearch.el (isearch-yank-char, isearch-yank-word)
2034 (isearch-yank-line): Doc fix.
2036 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
2039 * emacs-lisp/elint.el (elint-find-builtins):
2040 * emacs-lisp/eldoc.el (eldoc-symbol-function):
2041 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
2042 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
2043 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2044 * apropos.el (apropos-safe-documentation):
2045 * subr.el (symbol-file): Remove redundant fboundp.
2046 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
2048 2014-01-06 Bastien Guerry <bzg@gnu.org>
2050 * hl-line.el (global-hl-line-overlay): Make a local variable.
2051 (global-hl-line-overlays): New variable to store all overlays.
2052 (global-hl-line-mode): Don't delete overlays from the current
2053 buffer when `global-hl-line-sticky-flag' is non-nil.
2054 (global-hl-line-highlight): Add new overlays to
2055 `global-hl-line-overlays'.
2056 (global-hl-line-unhighlight-all): New function to delete all
2057 overlays when turning off `global-hl-line-mode'.
2058 This fixes Bug#16183.
2060 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
2062 * subr.el (set-transient-map): Fix nested case and docstring.
2064 2014-01-06 Tassilo Horn <tsdh@gnu.org>
2066 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2069 2014-01-06 Daniel Colascione <dancol@dancol.org>
2071 Fix defun navigation in vc log view.
2073 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2074 like `beginning-of-defun'.
2075 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2076 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2077 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2078 (log-view-extract-comment): Call `log-view-current-entry' directly
2079 instead of relying on broken `log-view-beginning-of-defun' behavior.
2081 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2084 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2085 * emacs-lisp/debug.el (cancel-debug-on-entry):
2086 * epg.el (epg-error-to-string):
2087 * files.el (recover-file):
2088 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2089 * mail/emacsbug.el (report-emacs-bug-hook):
2090 * mail/sendmail.el (mail-recover):
2091 * ses.el (ses-yank-resize):
2092 * term/ns-win.el (ns-print-buffer):
2093 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2094 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2096 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2098 2014-01-06 Leo Liu <sdl.web@gmail.com>
2100 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2101 to avoid shadowing global key. (Bug#16354)
2103 2014-01-06 Daniel Colascione <dancol@dancol.org>
2105 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2108 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2110 * window.el (balance-windows): Add mising t to fix Bug#16351.
2112 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2114 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2116 (shr-insert): If we have a word that's longer than `shr-width',
2117 break after it anyway. Otherwise we'll do no breaking once we get
2120 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2122 * net/eww.el (eww): Support single/double quote for search.
2123 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2124 (eww-history-quit): Delete and use quit-window.
2125 (eww-history-kill): Delete, because it doesn't work well and
2127 (eww-history-mode-map): Delete some keys and add easy-menu.
2129 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2131 Fix misspelling of 'chinese' in rx (Bug#16237).
2132 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2135 Change subword regexps back to vars (Bug#16296).
2136 * progmodes/subword.el (subword-forward-regexp)
2137 (subword-backward-regexp): Change these back to variables.
2139 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2141 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2142 syntax-begin-function (bug#16247).
2144 2014-01-03 Chong Yidong <cyd@gnu.org>
2146 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2147 (advice--docstring): Delete variable.
2148 (advice--make-1): Leave the docstring empty.
2149 (advice-add): Use function-documentation for advised docstring.
2151 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2152 Ignore function-documentation property when getting documentation.
2153 (ad-activate-advised-definition): Use function-documentation
2154 generate the docstring.
2155 (ad-make-advised-definition): Don't call
2156 ad-make-advised-definition-docstring.
2157 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2160 * progmodes/sql.el (sql-help): Use function-documentation instead
2161 of dynamic-docstring-function property. No need to autoload now.
2162 (sql--help-docstring): New variable.
2163 (sql--make-help-docstring): Use it.
2165 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2167 * ielm.el (ielm-tab): Retarget.
2168 (ielm-map): Use ielm-tab for tab.
2169 (ielm-complete-filename): Use comint-filename-completion.
2170 (ielm-complete-symbol): Remove.
2171 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2172 remove ielm-tab from completion-at-point-functions (bug#16224).
2174 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2175 Beware signals raised by predicates (bug#16201).
2177 2014-01-02 Richard Stallman <rms@gnu.org>
2179 * dired-aux.el (dired-do-print): Handle printer-name.
2181 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2182 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2183 (rmail-epa-decrypt): Turn off mime processing.
2185 * mail/rmail.el (rmail-make-in-reply-to-field):
2186 Add parens in message-id.
2188 * mail/rmail.el (rmail-get-coding-function): Variable.
2189 (rmail-get-coding-system): Use it.
2191 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2193 * international/mule-conf.el: Unify the charset indian-is13194.
2194 (indian-is13194): Specify unify-map.
2196 2013-12-31 Leo Liu <sdl.web@gmail.com>
2198 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2200 2013-12-30 Daniel Colascione <dancol@dancol.org>
2202 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2203 of printing a useless when we resume from sleep.
2205 * progmodes/sh-script.el
2206 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2207 in indentation code. (Bug#16233)
2209 2013-12-28 João Távora <joaotavora@gmail.com>
2211 * elec-pair.el (electric-pair-post-self-insert-function):
2212 Don't open extra newlines at beginning of buffer. (Bug#16272)
2214 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2216 * frame.el (window-system-for-display): Don't allow to create a
2217 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2219 2013-12-28 Glenn Morris <rgm@gnu.org>
2221 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2224 * apropos.el (apropos-match-face):
2225 * calculator.el (calculator-displayer):
2226 * dabbrev.el (dabbrev-search-these-buffers-only):
2227 * face-remap.el (buffer-face-mode-face):
2228 * simple.el (yank-handled-properties):
2229 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2230 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2231 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2232 (hashcash-double-spend-database):
2233 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2234 (ruby-deep-indent-paren-style):
2235 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2236 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2237 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2238 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2239 Specify custom types.
2241 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2242 * bookmark.el (bookmark-bmenu-use-header-line):
2243 * doc-view.el (doc-view-scale-internally):
2244 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2245 * register.el (register-preview-delay):
2246 * net/shr.el (shr-bullet):
2247 * progmodes/cfengine.el (cfengine-cf-promises)
2248 (cfengine-parameters-indent):
2249 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2250 * textmodes/reftex-vars.el (reftex-label-regexps):
2251 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2253 * net/tls.el (tls-certtool-program): Fix default value.
2255 * desktop.el (desktop-restore-in-current-display):
2256 * newcomment.el (comment-empty-lines):
2257 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2258 (idlwave-pad-keyword):
2259 * progmodes/tcl.el (tcl-tab-always-indent):
2260 * textmodes/reftex-vars.el (reftex-index-default-tag):
2261 * elec-pair.el (electric-pair-skip-whitespace):
2262 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2264 * emacs-lisp/authors.el (authors-ignored-files)
2265 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2267 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2269 * shell.el (shell-dynamic-complete-command): Doc fix.
2270 (shell--command-completion-data): Shell completion now matches
2271 executable filenames from the current buffer's directory, on
2272 systems in which this behavior is the default (windows-nt, ms-dos).
2274 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2276 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2278 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2283 * electric.el: Move all electric-pair-* to elec-pair.el.
2284 * elec-pair.el: New file, split from electric.el.
2286 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2288 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2289 indentation level is larger than the width, because that will
2291 (shr-insert): Fill repeatedly long texts, so that Japanese is
2292 formatted correctly (bug#16263).
2293 (shr-find-fill-point): Off by one error in comparison with the
2296 2013-12-26 João Távora <joaotavora@gmail.com>
2298 * electric.el (electric-pair-mode): More flexible engine for skip-
2299 and inhibit predicates, new options for pairing-related functionality.
2300 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2301 if that keeps or improves their balance in buffers.
2302 (electric-pair-delete-adjacent-pairs): Delete the pair when
2303 backspacing over adjacent matched delimiters.
2304 (electric-pair-open-extra-newline): Open extra newline when
2305 inserting newlines between adjacent matched delimiters.
2306 (electric--sort-post-self-insertion-hook):
2307 Sort post-self-insert-hook according to priority values when
2308 minor-modes are activated.
2309 * simple.el (newline-and-indent): Call newline with interactive
2311 (blink-paren-post-self-insert-function): Set priority to 100.
2312 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2313 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2314 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2315 electric-pair-open-newline-between-pairs to nil.
2317 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2319 * progmodes/python.el: Use lexical-binding.
2320 (python-nav-beginning-of-defun): Stop searching ASAP.
2322 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2324 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2325 Fix interactive spec. Doc fix. (Bug#15754)
2327 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2329 * emacs-lisp/byte-run.el (eval-when-compile):
2330 * progmodes/cc-defs.el (cc-eval-when-compile):
2331 Fix edebug spec (bug#16184).
2333 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2335 * net/shr.el (shr-visit-file): Remove debugging function.
2336 (shr-insert): Don't infloop if we can't find a good place to break
2337 the line (bug#16256).
2339 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2341 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2342 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2343 python-nav-lisp-forward-sexp-safe.
2344 (python-nav--forward-sexp): New argument SAFE allows switching
2345 forward sexp movement behavior for parens.
2346 (python-nav-forward-sexp): Throw errors on unterminated parens
2348 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2349 (python-nav-backward-sexp-safe): New functions.
2350 (python-shell-buffer-substring):
2351 Use `python-nav-forward-sexp-safe'.
2353 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2355 * net/shr.el (shr-find-fill-point): Don't break lines before a
2357 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2358 (shr-find-fill-point): Remove the special checks for the quotation
2359 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2361 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2363 * net/eww.el (eww-form-textarea): Use a different face for
2364 textareas than text input since they have different keymaps
2367 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2369 * progmodes/python.el (python-nav-beginning-of-statement):
2370 Speed up (Bug#15295).
2372 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2374 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2375 the window configuration.
2377 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2379 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2380 we run on MS-Windows or MS-DOS.
2382 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2384 * window.el (balance-windows-area): Call window-size instead of
2385 window-height and window-width. Bug#16241.
2387 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2389 * net/eww.el (eww-bookmark-quit): Remove.
2390 (eww-bookmark-browse): Restore the window configuration when you
2391 choose a bookmark (bug#16144).
2393 2013-12-24 Daniel Colascione <dancol@dancol.org>
2395 * icomplete.el: Remove redundant :group arguments to `defcustom'
2397 (icomplete-show-matches-on-no-input): New customizable variable.
2398 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2399 we have something to show.
2400 (icomplete-exhibit): Compute completions even if we have no user input.
2402 2013-12-23 Daniel Colascione <dancol@dancol.org>
2404 * icomplete.el: Move `provide' to end of file.
2406 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2408 * net/gnutls.el (gnutls-verify-error): Add version tag.
2410 2013-12-23 Chong Yidong <cyd@gnu.org>
2412 * subr.el (set-transient-map): Rename from
2413 set-temporary-overlay-map. Doc fix.
2415 * face-remap.el (text-scale-adjust):
2416 * indent.el (indent-rigidly):
2417 * kmacro.el (kmacro-call-macro):
2418 * minibuffer.el (minibuffer-force-complete):
2419 * repeat.el (repeat):
2420 * simple.el (universal-argument--mode):
2421 * calendar/todo-mode.el (todo-insert-item--next-param):
2422 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2424 * indent.el (indent-rigidly): Use substitute-command-keys.
2426 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2428 * net/eww.el (eww-tag-select): Add text-property to jump to next
2430 (eww): Add non-supported ftp error.
2432 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2434 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2435 comments. Handle electric indent after typing `?' and `!'.
2437 2013-12-22 Chong Yidong <cyd@gnu.org>
2439 * faces.el (face-spec-recalc): If the theme specs are not
2440 applicable to a frame, fall back on the defface spec.
2441 This prevents themes from obliterating faces on low-color terminals.
2443 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2446 after `{'. We need it after block openers, and it doesn't seem
2447 to hurt after hash openers.
2449 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2451 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2452 extracted from `ruby-smie-rules'.
2453 (ruby--electric-indent-chars): New variable.
2454 (ruby--electric-indent-p): New function.
2455 (ruby-mode): Use `electric-indent-functions' instead of
2456 `electric-indent-chars'.
2458 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2460 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2462 (ruby-smie-rules): Indent plus one level after `=>'.
2464 2013-12-21 Richard Stallman <rms@gnu.org>
2466 * simple.el (newline): Doc fix.
2468 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2470 * net/eww.el (eww-list-histories, eww-list-histories)
2471 (eww-history-browse, eww-history-quit, eww-history-kill)
2472 (eww-history-mode-map, eww-history-mode): New command and
2473 functions to list browser histories.
2474 (eww-form-text): Support text form with disabled
2475 and readonly attributes.
2476 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2478 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2480 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2481 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2482 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2483 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2485 (eww-bookmark-mode-map): Add menu.
2486 (eww-render, eww-mode): Use `setq-local'.
2487 (eww-tool-bar-map): New variable.
2488 (eww-mode): Set `tool-bar-map'.
2489 (eww-view-source): Check for `html-mode' with `fboundp'.
2491 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2493 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2494 elements with text inside. Also remove debugging.
2496 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2498 * cus-start.el (all): Add ns-use-srgb-colorspace.
2500 2013-12-21 Chong Yidong <cyd@gnu.org>
2502 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2503 undefined. Thus, theme settings for undefined faces do not take
2504 effect until the faces are defined with defface, the same as with
2507 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2508 (face-spec-reset-face): Don't assign extra properties in temacs.
2509 (face-spec-recalc): Apply X resources too.
2511 2013-12-21 Chong Yidong <cyd@gnu.org>
2513 * faces.el (face-spec-set):
2514 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2515 * custom.el (defface): Doc fixes (Bug#16203).
2517 * indent.el (indent-rigidly-map): Add docstring, and move commands
2518 into named functions.
2519 (indent-rigidly-left, indent-rigidly-right)
2520 (indent-rigidly-left-to-tab-stop)
2521 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2522 indentation direction based on bidi direction, and accumulate
2523 sequential commands in a single undo boundary.
2524 (indent-rigidly--pop-undo): New utility function.
2526 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2528 * faces.el (read-face-name): Require crm.el when using crm-separator.
2530 2013-12-20 Daniel Colascione <dancol@dancol.org>
2532 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2533 so that we don't reflow comments into the shebang line.
2535 2013-12-20 Juri Linkov <juri@jurta.org>
2537 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2538 a position when `dired-directory' is non-nil. Check integer
2539 positions with `integerp'.
2540 (toggle-save-place, save-places-to-alist): Add check for
2542 (save-place-find-file-hook): Check integer positions with
2544 (save-place-dired-hook): Use `dired-goto-file' when
2545 `dired-filename' is found in the assoc list. Check integer
2546 positions with `integerp'.
2547 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2549 * dired.el (dired-initial-position-hook): Rename back from
2550 `dired-initial-point-hook'.
2551 (dired-initial-position): Rename `dired-initial-point-hook' to
2552 `dired-initial-position-hook'.
2553 (dired-file-name-at-point): Doc fix. (Bug#15329)
2555 2013-12-20 Juri Linkov <juri@jurta.org>
2557 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2558 (read-regexp-suggestions): New function.
2559 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2560 Use `read-regexp-suggestions'. Add non-empty default to history
2562 (occur-read-regexp-defaults-function): Remove function.
2563 (occur-read-primary-args): Use `regexp-history-last' instead of
2564 `occur-read-regexp-defaults-function'.
2566 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2567 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2568 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2569 `hi-lock-read-regexp-defaults-function'. Doc fix.
2570 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2571 with `find-tag-default-as-symbol-regexp'. Doc fix.
2572 (hi-lock-read-regexp-defaults): Remove function.
2573 (hi-lock-regexp-okay): Add check for null.
2575 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2576 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2578 * subr.el (find-tag-default-as-symbol-regexp): New function.
2579 (find-tag-default-as-regexp): Move symbol regexp formatting to
2580 `find-tag-default-as-symbol-regexp'.
2582 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2584 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2587 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2589 * calendar/todo-mode.el: New implementation of item insertion
2590 commands and key bindings.
2591 (todo-key-prompt): New face.
2592 (todo-insert-item): New command.
2593 (todo-insert-item--parameters): New defconst, replacing defvar
2594 todo-insertion-commands-args-genlist.
2595 (todo-insert-item--param-key-alist): New defconst, replacing
2596 defvar todo-insertion-commands-arg-key-list.
2597 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2598 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2599 (todo-insert-item--next-param): New functions.
2600 (todo-insert-item--args, todo-insert-item--argleft)
2601 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2603 (todo-key-bindings-t): Change binding of "i" from
2604 todo-insertion-map to todo-insert-item.
2605 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2606 (todo-insertion-command-name, todo-insertion-commands-names)
2607 (todo-define-insertion-command, todo-insertion-commands)
2608 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2610 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2612 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2613 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2615 (todo-move-category): Allow choosing a non-existing todo file to
2616 move the category to, and create that file.
2617 (todo-default-priority): New user option.
2618 (todo-set-item-priority): Use it.
2619 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2620 (desktop-restore-file-buffer): Declare.
2621 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2622 (todo-modes-set-2): Locally set desktop-save-buffer to
2623 todo-desktop-save-buffer.
2624 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2625 (auto-mode-alist): Add autoload cookie.
2627 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2629 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2630 helpers.el was a poor choice of name.
2631 (string-remove-prefix): New function.
2632 (string-remove-suffix): New function.
2634 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2636 Fix assignment for new window total sizes.
2637 * window.el (window--pixel-to-size): Remove function.
2638 (window--pixel-to-total-1, window--pixel-to-total):
2639 Fix calculation of new total sizes.
2641 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2643 * comint.el (comint-output-filter): Fix rear-nonsticky property
2644 placement (Bug#16010).
2646 2013-12-20 Chong Yidong <cyd@gnu.org>
2648 * faces.el (read-color): Minor fix for completion function.
2650 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2652 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2653 New option. (Bug#16182)
2654 (ruby-smie--indent-to-stmt-p): Use it.
2655 (ruby-smie-rules): Revert the logic in the handling of `when'.
2656 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2657 (ruby-deep-arglist, ruby-deep-indent-paren)
2658 (ruby-deep-indent-paren-style): Update docstrings to note that the
2659 vars don't have any effect with SMIE.
2661 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2663 * calc/calc.el (calc-enter, calc-pop): Use the variable
2664 `calc-context-sensitive-enter'.
2666 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2668 * net/shr.el (shr-insert): Protect against infloops in degenerate
2671 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2673 * progmodes/octave.el (octave): Add link to manual and octave
2675 (octave-mode-menu): Link to octave-mode manual.
2677 2013-12-20 Leo Liu <sdl.web@gmail.com>
2679 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2680 insertion using skeleton-end-newline. (Bug#16138)
2682 2013-12-20 Juri Linkov <juri@jurta.org>
2684 * replace.el (occur-engine): Use `add-face-text-property'
2685 to add the face property to matches and titles. (Bug#14645)
2687 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2688 the palette of other hi-lock colors.
2689 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2691 2013-12-19 Juri Linkov <juri@jurta.org>
2693 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2694 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2695 (minibuffer-history-symbol): Move variable declaration closer to
2698 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2701 2013-12-19 Juri Linkov <juri@jurta.org>
2703 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2705 (log-edit-hook): Add it to :options. (Bug#16170)
2707 2013-12-19 Juri Linkov <juri@jurta.org>
2709 * simple.el (eval-expression-print-format): Don't check for
2710 command names and the last command. Always display additional
2711 formats of the integer result in the echo area, and insert them
2712 to the current buffer only with a zero prefix arg.
2713 Display character when char-displayable-p is non-nil.
2714 (eval-expression): With a zero prefix arg, set `print-length' and
2715 `print-level' to nil, and insert the integer values from
2716 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2718 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2719 `eval-last-sexp-arg-internal'. Doc fix.
2720 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2721 `eval-last-sexp-print-value'. Doc fix.
2722 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2723 Set `print-length' and `print-level' to nil when arg is zero.
2724 (eval-last-sexp): Doc fix.
2725 (eval-defun-2): Print the integer values from
2726 `eval-expression-print-format' at the end.
2728 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2729 values from `eval-expression-print-format' at the end.
2731 * ielm.el (ielm-eval-input): Print the integer
2732 values from `eval-expression-print-format' at the end.
2734 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2736 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2737 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2739 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2741 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2742 (hl-line-highlight, global-hl-line-highlight): Use it.
2743 (hl-line-overlay): Use defvar-local.
2745 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2747 * term/ns-win.el: Require dnd.
2748 (global-map): Remove drag items.
2749 (ns-insert-text, ns-set-foreground-at-mouse)
2750 (ns-set-background-at-mouse):
2751 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2752 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2755 2013-12-19 Glenn Morris <rgm@gnu.org>
2757 * emacs-lisp/ert.el (ert-select-tests):
2758 Fix string/symbol mixup. (Bug#16121)
2760 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2762 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2763 keywords to their parent.
2765 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2767 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2768 first arg to be a string (fixed dead code), or an operator symbol.
2769 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2771 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2772 did nothing. Don't respond to `(:after ".")', it will be called
2773 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2774 change anything. Only return indentation for binary operators
2775 when they are hanging. De-dent opening paren when its parent is
2776 `.', otherwise it looks bad when the dot is not at bol or eol
2779 2013-12-19 Juri Linkov <juri@jurta.org>
2781 * replace.el (query-replace-read-args): Split a non-negative arg
2782 and a negative arg into separate elements.
2783 (query-replace, query-replace-regexp, replace-string)
2784 (replace-regexp): Add arg `backward'. Doc fix.
2785 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2786 move point to the beginning of the match.
2787 (replace-search, replace-highlight): Use new arg `backward'
2788 to set the value of `isearch-forward'.
2789 (perform-replace): Add arg `backward' and use it to perform
2790 replacement backward. (Bug#14979)
2792 * isearch.el (isearch-query-replace): Use a negative prefix arg
2793 to call `perform-replace' with a non-nil arg `backward'.
2795 2013-12-18 Juri Linkov <juri@jurta.org>
2797 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2798 to the default list. Move `log-edit-show-files' to the end.
2799 Add more available functions to options.
2800 (log-edit): Move default specific settings to
2801 `log-edit-insert-message-template'. Don't move point.
2802 (log-edit-insert-message-template): New function.
2803 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2806 2013-12-18 Juri Linkov <juri@jurta.org>
2808 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2809 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2811 2013-12-18 Leo Liu <sdl.web@gmail.com>
2813 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2816 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2818 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2819 formats for displaying file sizes when the -s switch is given.
2820 Instead, compute a separate format for displaying the size in
2821 blocks, which is displayed in addition to the "regular" size.
2822 When -h is given in addition to -s, produce size in blocks in
2823 human-readable form as well. (Bug#16179)
2825 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2827 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2828 Reference tables with ~\ref{...} instead of only \ref{...}.
2830 2013-12-18 Chong Yidong <cyd@gnu.org>
2832 * cus-edit.el (custom-magic-alist): Fix "themed" description
2835 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2836 is non-nil, do not create a new entry in the symbol's theme-value
2837 or theme-face property; update theme-settings only (Bug#14664).
2838 (custom-available-themes): Doc fix.
2840 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2843 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2845 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2847 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2850 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2852 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2854 2013-12-18 Glenn Morris <rgm@gnu.org>
2856 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2857 * cus-start.el (load-prefer-newer): New option.
2859 2013-12-18 Le Wang <l26wang@gmail.com>
2861 * comint.el (comint-previous-matching-input-from-input):
2862 Retain point (Bug#13404).
2864 2013-12-18 Chong Yidong <cyd@gnu.org>
2866 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2868 2013-12-18 Glenn Morris <rgm@gnu.org>
2870 * mail/emacsbug.el (report-emacs-bug):
2871 Only mention enable-multibyte-characters if non-standard.
2873 2013-12-17 Juri Linkov <juri@jurta.org>
2875 * arc-mode.el (archive-extract-by-file): Check if directory exists
2876 before deletion to not show irrelevant errors if it doesn't exist.
2878 2013-12-17 Juri Linkov <juri@jurta.org>
2880 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2883 * net/eww.el (browse-web): Add alias to `eww'.
2884 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2885 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2887 * net/browse-url.el (browse-url-browser-function): Move `eww'
2888 closer to similar functions.
2890 * startup.el (fancy-startup-screen, fancy-about-screen):
2891 Set browse-url-browser-function to eww-browse-url locally.
2894 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * window.el (window--pixel-to-total): Remove unused `mini' var.
2897 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2898 (split-window): Remove unused `new' var.
2899 (window--display-buffer): Remove unused `frame' and `delta' vars.
2900 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2903 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2905 * dired.el (dired-mark-pop-up):
2906 * register.el (register-preview): Don't bind
2907 split-height-threshold here since it's now done in
2908 display-buffer-below-selected.
2910 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2912 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2913 xterm-rgb-convert-to-16bit.
2914 (rxvt-register-default-colors): Standardize with
2915 xterm-register-default-colors (Bug#14078).
2917 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2919 * simple.el (kill-region): Pass mark first, then point, so that
2920 kill-append works right (Bug#12819).
2921 (copy-region-as-kill, kill-ring-save): Likewise.
2923 2013-12-17 Leo Liu <sdl.web@gmail.com>
2925 * net/rcirc.el (rcirc-add-face):
2926 * eshell/em-prompt.el (eshell-emit-prompt):
2927 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2930 2013-12-17 Chong Yidong <cyd@gnu.org>
2932 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2933 Suggested by Xue Fuqiao.
2935 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2937 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2939 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2941 * net/shr.el (shr-insert-document): Remove unused var
2942 `shr-preliminary-table-render'.
2943 (shr-rescale-image): Remove unused arg `force'.
2944 (shr-put-image): Update calls accordingly.
2945 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2947 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2949 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2950 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2951 :close-all, to see which indentation method to use (Bug#16116).
2952 (smie-rules-function): Document the method :close-all.
2954 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2956 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2958 * net/eww.el (eww-display-html): If we can't find the anchor we're
2959 looking for, then go to point-min.
2961 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2963 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2964 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2965 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2966 Expand dir too, in case it's relative.
2968 2013-12-16 Juri Linkov <juri@jurta.org>
2970 * desktop.el (desktop-auto-save-timeout): Change default to
2971 `auto-save-timeout'. Doc fix.
2972 (desktop-save): Skip the timestamp in desktop-saved-frameset
2973 when checking for auto-save changes.
2974 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2975 `desktop-auto-save' is called repeatedly by the idle timer.
2976 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2977 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2980 2013-12-16 Juri Linkov <juri@jurta.org>
2982 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2984 (isearch-pre-command-hook): Check `this-command' for symbolp.
2986 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2990 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2992 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2993 (cfengine3--current-function): Bring in the current-function
2994 functionality from `cfengine3--current-word'.
2995 (cfengine3-completion-function): Bring in the
2996 bounds-of-current-word functionality from
2997 `cfengine3--current-word'.
2999 2013-12-16 Martin Rudalics <rudalics@gmx.at>
3001 * window.el (display-buffer-below-selected):
3002 Bind split-height-threshold to 0 as suggested by Juri Linkov.
3004 2013-12-16 Leo Liu <sdl.web@gmail.com>
3006 * progmodes/compile.el (compile-goto-error): Do not push-mark.
3007 Remove NOMSG arg and all uses changed.
3009 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3011 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
3012 (cua--deactivate-rectangle): Don't deactivate the mark.
3013 (cua-set-rectangle-mark): Don't set mark-active since
3014 cua--activate-rectangle already does it for us.
3015 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
3016 non-rectangular region.
3018 * emulation/cua-base.el (cua-repeat-replace-region):
3019 Use with-current-buffer.
3021 * net/gnutls.el: Use cl-lib.
3022 (gnutls-negotiate): `mapcan' -> cl-mapcan.
3024 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3026 * emacs-lisp/package.el (package-built-in-p): Support both
3027 built-in and the package.el converted package descriptions.
3028 (package-show-package-list): Allow keywords.
3029 (package-keyword-button-action): Use it instead of
3030 `finder-list-matches'.
3031 (package-menu-filter-interactive): Interactive filtering (by
3033 (package-menu--generate): Support keywords and change keymappings
3034 and headers when they are given.
3035 (package--has-keyword-p): Helper function.
3036 (package-menu--refresh): Use it.
3037 (package--mapc): Helper function.
3038 (package-all-keywords): Use it.
3039 (package-menu-mode-map): Set up menu items and keybindings to
3040 provide a filtering UI.
3042 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
3044 * net/gnutls.el (gnutls-verify-error): New defcustom to control
3045 the behavior when a certificate fails validation. Defaults to
3046 old behavior: never abort, just warn.
3047 (gnutls-negotiate): Use it.
3049 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3051 * window.el (display-buffer-below-selected): Never split window
3052 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
3054 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3056 * emacs-lisp/package.el (package--prepare-dependencies): New function.
3057 (package-buffer-info): Use it (bug#15108).
3059 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
3061 * icomplete.el (icomplete-completions): Make sure the prefix is already
3062 displayed elsewhere before hiding it (bug#16219).
3064 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
3066 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
3067 open-paren tokens when preceded by a open-paren, too.
3068 (ruby-smie-rules): Handle virtual indentation after open-paren
3069 tokens specially. If there is code between it and eol, return the
3070 column where is starts (Bug#16118).
3072 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3074 * progmodes/cfengine.el: Fix `add-hook' doc.
3075 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3076 (cfengine3--current-word): Fix parameters.
3077 (cfengine3-make-syntax-cache): Simplify further.
3078 (cfengine3-completion-function, cfengine3--current-function):
3079 Use `assq' for symbols.
3080 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3082 2013-12-13 Glenn Morris <rgm@gnu.org>
3084 * loadup.el (load-path): Warn if site-load or site-init changes it.
3085 No more need to reset it when bootstrapping.
3087 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3089 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3090 locations for cf-promises.
3091 (cfengine-mode-syntax-functions-regex): New caching variable.
3092 (cfengine3-fallback-syntax): Fallback syntax for cases where
3093 cf-promises doesn't run.
3094 (cfengine3--current-word): Reimplement using
3095 `cfengine-mode-syntax-functions-regex'.
3096 (cfengine3-completion-function, cfengine3--current-function):
3097 Use `cfengine3-make-syntax-cache' directly.
3098 (cfengine3-clear-syntax-cache): New function.
3099 (cfengine3-make-syntax-cache): Simplify and create
3100 `cfengine-mode-syntax-functions-regex' on demand.
3101 (cfengine3-format-function-docstring): Don't call
3102 `cfengine3-make-syntax-cache' explicitly.
3104 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3106 Fix windmove-find-other-window broken after pixelwise resizing
3108 * windmove.el (windmove-other-window-loc): Revert change from
3110 (windmove-find-other-window): Call window-in-direction.
3111 * window.el (window-in-direction): New arguments SIGN, WRAP and
3112 MINI to emulate original windmove-find-other-window behavior.
3114 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3116 * simple.el (blink-matching--overlay): New variable.
3117 (blink-matching-open): Instead of moving point, highlight the
3118 matching paren with an overlay
3119 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3121 * faces.el (paren-showing-faces, show-paren-match)
3122 (show-paren-mismatch): Move from paren.el.
3124 2013-12-13 Leo Liu <sdl.web@gmail.com>
3126 * indent.el (indent-region): Disable progress reporter in
3127 minibuffer. (Bug#16108)
3129 * bindings.el (visual-order-cursor-movement): Fix version.
3131 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3133 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3134 Also match after beginning of line.
3135 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3136 files. Thanks to Russell Sim. (Bug#15378)
3138 2013-12-13 Juri Linkov <juri@jurta.org>
3140 * simple.el <Keypad support>: Remove key bindings duplicated
3141 with bindings.el. (Bug#14397)
3143 2013-12-13 Juri Linkov <juri@jurta.org>
3145 * comint.el (comint-mode-map): Replace `delete-char' with
3146 `delete-forward-char'. (Bug#16109)
3148 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3150 * progmodes/python.el (python-indent-calculate-indentation):
3151 Fix de-denters cornercase. (Bug#15731)
3153 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3155 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3156 (advice--make): Pay attention to `depth'.
3157 (advice--make-1): Don't autoload commands eagerly.
3158 * emacs-lisp/elp.el (elp-instrument-function):
3159 * emacs-lisp/trace.el (trace-function-internal):
3160 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3162 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3164 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3166 * term/w32-win.el (w32-handle-dropped-file):
3167 * startup.el (normal-top-level):
3168 * net/browse-url.el (browse-url-file-url):
3169 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3170 decode file names using 'utf-8' rather than
3171 file-name-coding-system.
3173 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3175 * progmodes/python.el (python-indent-context)
3176 (python-indent-calculate-indentation): Fix auto-identation
3177 behavior for comment blocks. (Bug#15916)
3179 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3181 * progmodes/python.el (python-indent-calculate-indentation):
3182 When determining indentation, don't treat "return", "pass", etc., as
3183 operators when they are just string constituents. (Bug#15812)
3185 2013-12-12 Juri Linkov <juri@jurta.org>
3187 * uniquify.el (uniquify-buffer-name-style): Change default to
3188 `post-forward-angle-brackets'.
3190 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3191 `uniquify'. Change default to `post-forward-angle-brackets'.
3193 2013-12-11 Glenn Morris <rgm@gnu.org>
3195 * emacs-lisp/package.el (finder-list-matches):
3196 Autoload rather than falsely declaring.
3198 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3200 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3201 (eww-mode-map): Use them.
3203 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3205 * window.el (display-buffer-in-side-window): Fix doc-string
3208 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3210 * vc/vc-git.el: Silence byte-compiler warnings.
3211 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3212 (log-edit-set-header): Declare.
3214 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3216 * Makefile.in (custom-deps, finder-data): Run output file names
3217 through unmsys--file-name. (Bug#16099)
3219 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3221 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3222 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3224 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3225 instead of deleting the selection "by hand" (bug#16098).
3226 Rely on insert-for-yank to yank rectangles.
3227 (cua-highlight-region-shift-only): Mark obsolete.
3228 (cua-mode): Don't enable/disable transient-mark-mode,
3229 shift-select-mode (cua-mode works both with and without them), and
3230 pc-selection-mode (obsolete).
3231 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3232 (cua--deactivate-rectangle): Deactivate it.
3234 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3235 (delete-selection-helper): Make sure yank starts at the top of the
3237 (minibuffer-keyboard-quit): Use region-active-p.
3239 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3241 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3242 to `delete' (bug#16109).
3244 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3246 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3247 info manual and show keybindings and set `:group' keyword.
3249 2013-12-11 Juri Linkov <juri@jurta.org>
3251 * delsel.el (delete-active-region): Let-bind `this-command'
3252 to prevent `kill-region' from changing its original value.
3253 (delete-selection-helper): Handle `overwrite-mode' for the type
3254 `kill' exactly the same way as for the type `t'.
3255 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3256 Support more commands. (Bug#13312)
3258 2013-12-11 Juri Linkov <juri@jurta.org>
3260 * bindings.el: Map kp keys to non-kp keys systematically
3261 with basic modifiers control, meta and shift. (Bug#14397)
3263 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3265 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3266 "Close browser" menu items. Fix wrong function of "List
3269 2013-12-11 Juri Linkov <juri@jurta.org>
3271 * misearch.el (multi-isearch-buffers): Set the value of
3272 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3273 arg of isearch-forward to t.
3274 (multi-isearch-buffers-regexp): Set the value of
3275 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3276 arg of isearch-forward-regexp to t.
3277 (multi-isearch-files): Set the value of
3278 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3279 arg of isearch-forward to t.
3280 (multi-isearch-files-regexp): Set the value of
3281 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3282 arg of isearch-forward-regexp to t. (Bug#16035)
3284 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3285 arg of isearch-forward to t.
3286 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3287 arg of isearch-forward-regexp to t.
3288 (dired-isearch-filter-filenames): Remove unnecessary check for
3289 `dired-isearch-filenames'.
3291 * comint.el (comint-history-isearch-backward):
3292 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3293 (comint-history-isearch-backward-regexp):
3294 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3296 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3298 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3299 unmsys--file-name. (Bug#16099)
3301 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3303 * emacs-lisp/package.el (package-keyword-button-action):
3304 Remove finder.el require dependency.
3306 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3308 * emacs-lisp/package.el: Require finder.el.
3309 (describe-package-1): Add keyword buttons.
3310 (package-make-button): New convenience function.
3311 (package-keyword-button-action): Keyword button action using
3312 `finder-list-matches'.
3314 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3316 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3319 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3321 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3324 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3326 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3327 after the end of a percent literal.
3329 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3331 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3332 Handle caret-delimited strings (Bug#16079).
3334 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3336 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3337 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3338 `ruby-parse-partial' (Bug#16078).
3340 2013-12-09 Leo Liu <sdl.web@gmail.com>
3342 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3344 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3346 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3347 (js-switch-indent-offset): New option.
3348 (js--proper-indentation): Use it. And handle the case when
3349 "default" is actually a key in an object literal.
3350 (js--same-line): New function.
3351 (js--multi-line-declaration-indentation): Use it.
3352 (js--indent-in-array-comp, js--array-comp-indentation):
3354 (js--proper-indentation): Use them, to handle array comprehension
3357 2013-12-08 Leo Liu <sdl.web@gmail.com>
3359 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3360 (flymake-make-overlay): Remove arg MOUSE-FACE.
3361 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3363 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3367 (redisplay-highlight-region-function): Use it.
3369 * emulation/cua-base.el (cua--explicit-region-start)
3370 (cua--last-region-shifted): Remove.
3371 (cua--deactivate): Use deactivate-mark.
3372 (cua--pre-command-handler-1): Don't handle shift-selection.
3373 (cua--post-command-handler-1): Don't change transient-mark-mode.
3374 (cua--select-keymaps): Use region-active-p rather than
3375 cua--explicit-region-start or cua--last-region-shifted.
3376 (cua-mode): Enable shift-select-mode.
3378 2013-12-08 Leo Liu <sdl.web@gmail.com>
3380 * progmodes/flymake.el (flymake-popup-current-error-menu):
3381 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3382 (flymake-posn-at-point-as-event, flymake-popup-menu)
3383 (flymake-make-emacs-menu): Remove. (Bug#16077)
3385 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3387 * rect.el (rectangle-mark-mode): Activate mark even if
3388 transient-mark-mode is off (bug#16066).
3389 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3390 is > mark and at bolp.
3392 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3393 (region-extract-function): Use it.
3394 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3395 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3397 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3398 kill-ring-save, kill-region, delete-char, delete-forward-char.
3399 Ignore self-insert-iso.
3401 * emulation/cua-gmrk.el (cua--init-global-mark):
3402 Ignore `self-insert-iso'.
3404 * emulation/cua-base.el (cua--prefix-copy-handler)
3405 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3406 checking cua--rectangle.
3407 (cua-delete-region): Use region-extract-function.
3408 (cua-replace-region): Delete function.
3409 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3410 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3411 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3412 (cua--init-keymaps): Don't remap delete-selection commands.
3413 (cua-mode): Use delete-selection-mode instead of rolling our own
3416 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3417 Obey region-extract-function.
3419 Make registers and delete-selection-mode work on rectangles.
3420 * register.el (describe-register-1): Don't modify the register's value.
3421 (copy-to-register): Obey region-extract-function.
3422 * delsel.el (delete-active-region): Obey region-extract-function.
3424 2013-12-08 Leo Liu <sdl.web@gmail.com>
3426 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3427 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3428 (flymake-compilation-prevents-syntax-check)
3429 (flymake-start-syntax-check-on-newline)
3430 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3431 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3432 (flymake-xml-program, flymake-master-file-dirs)
3433 (flymake-master-file-count-limit)
3434 (flymake-allowed-file-name-masks): Relocate.
3435 (flymake-makehash, flymake-float-time)
3436 (flymake-replace-regexp-in-string, flymake-split-string)
3437 (flymake-get-temp-dir): Remove.
3438 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3439 (flymake-current-row, flymake-selected-frame)
3440 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3441 related functions. (Bug#16077)
3443 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3445 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3447 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3449 * help-fns.el (describe-function-1): Use new advice-* functions
3450 rather than old ad-* functions. Fix function type description and
3451 source links for advised functions and subrs.
3453 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3455 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3457 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3459 * progmodes/compile.el (compilation-start):
3460 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3462 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3463 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3465 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3467 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3468 Touch up the last change.
3470 2013-12-06 Leo Liu <sdl.web@gmail.com>
3472 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3473 (inferior-octave-startup): Always use "octave> " for prompt.
3474 (octave-goto-function-definition)
3475 (octave-sync-function-file-names)
3476 (octave-find-definition-default-filename): Remove redundant backquotes.
3478 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3480 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3482 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3483 where appropriate already.
3484 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3485 end of method names (Bug#15874).
3487 2013-12-06 Juri Linkov <juri@jurta.org>
3489 * isearch.el (isearch--saved-overriding-local-map):
3490 New internal variable.
3491 (isearch-mode): Set it to the initial value of
3492 `overriding-terminal-local-map'.
3493 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3494 with `isearch--saved-overriding-local-map'. (Bug#16035)
3496 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3498 * progmodes/octave.el (inferior-octave-completion-table):
3499 Turn back into function, use `completion-table-with-cache'
3500 (Bug#11906). Update all references.
3502 * minibuffer.el (completion-table-with-cache): New function.
3504 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3506 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3508 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3510 * net/eww.el (eww-current-source): New variable to store page
3512 (eww-display-html, eww-mode, eww-save-history)
3513 (eww-restore-history): Use it.
3514 (eww-view-source): New command to view page source.
3515 Opportunistically uses `html-mode' to highlight the buffer.
3516 (eww-mode-map): Install it.
3518 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3520 * net/dbus.el (dbus-unregister-service)
3521 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3523 (dbus-unregister-service): Skip :serial entries in
3524 `dbus-registered-objects-table'.
3525 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3527 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3529 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3530 around keywords with extra `split-string' argument.
3532 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3534 * windmove.el (windmove-other-window-loc): Handle navigation
3535 between windows (excluding the minibuffer window - Bug#16017).
3537 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3539 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3540 in D-Bus type syntax.
3541 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3542 preserve unibyte strings. (Bug#16048)
3544 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3547 Call force-mode-line-update is the proper buffer (bug#16042).
3549 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3551 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3552 `log-edit-remember-comment', make argument optional. Adjust all
3554 (log-edit-mode): Add `log-edit-remember-comment' to
3555 `kill-buffer-hook' locally.
3556 (log-edit-kill-buffer): Don't remember comment explicitly since
3557 the buffer is killed anyway.
3559 2013-12-04 Juri Linkov <juri@jurta.org>
3561 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3562 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3564 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3566 * notifications.el (notifications-close-notification): Call the
3567 D-Bus method with ID being a `:uint32'. (Bug#16030)
3569 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3571 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3573 2013-12-03 Juri Linkov <juri@jurta.org>
3575 * progmodes/compile.el (compilation-start): Rename window alist
3576 entry `no-display-ok' to `allow-no-window'.
3578 * simple.el (shell-command): Add window alist entry
3579 `allow-no-window' to `display-buffer'.
3580 (async-shell-command): Doc fix.
3582 * window.el (display-buffer-no-window): New action function.
3583 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3585 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3587 * vc/log-edit.el (log-edit-set-header): Extract from
3588 `log-edit-toggle-header'.
3589 (log-edit-extract-headers): Separate the summary, when extracted
3590 from header, from the rest of the message with an empty line.
3592 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3593 line, if present, to the Summary header.
3595 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3597 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3598 in current-buffer (bug#16029).
3600 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3602 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3603 (debugger-mode-map): Bind it.
3604 (debugger--backtrace-base): New function.
3605 (debugger-eval-expression): Use it.
3606 (debugger-frame-number): Skip local vars when present.
3607 (debugger--locals-visible-p, debugger--insert-locals)
3608 (debugger--show-locals, debugger--hide-locals): New functions.
3610 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3612 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3614 (tramp-get-remote-locale): New defun.
3615 (tramp-open-connection-setup-interactive-shell): Use it.
3617 2013-12-02 Leo Liu <sdl.web@gmail.com>
3619 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3621 * progmodes/sh-script.el (sh-shell-process):
3622 * progmodes/octave.el (inferior-octave-process-live-p):
3623 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3624 (gdb-inferior-io-sentinel):
3625 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3627 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3629 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3630 `save-selected-window' to `log-edit-hide-buf'. This makes
3631 `log-edit-show-files' idempotent.
3632 (log-edit-show-files): Mark the new window as dedicated.
3634 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3636 * vc/log-edit.el (log-edit-mode-map): Add binding for
3637 `log-edit-kill-biffer'.
3638 (log-edit-hide-buf): Add a FIXME comment.
3639 (log-edit-add-new-comment): New function, extracted from
3641 (log-edit-done, log-edit-add-to-changelog): Use it.
3642 (log-edit-kill-buffer): New command.
3644 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3646 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3647 instead of killing the buffer.
3649 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3653 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3655 * net/eww.el (eww-form-checkbox-selected-symbol)
3656 (eww-form-checkbox-symbol): New customizable variable.
3657 (eww-form-checkbox, eww-toggle-checkbox):
3658 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3660 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3661 (shr--get-media-pref, shr--extract-best-source): New function.
3662 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3663 no :src tag was specified.
3665 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3666 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3667 Use \\` to match beginning of string instead of ^.
3668 (eww-browse-with-external-browser): Provide optional URL parameter.
3669 (eww-render): Set `eww-current-title' back to "".
3671 * net/shr.el (shr-tag-video): Display content for video if no
3672 poster is available.
3673 (shr-tag-audio): Add support for <audio> tag.
3675 * net/eww.el (eww-text-input-types): New const.
3676 (eww-process-text-input): Treat input types in
3677 `eww-text-input-types' as text.
3679 * net/shr.el (shr-tag-table): Fix comment typo.
3681 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3683 * net/eww.el (eww-follow-link): New command to avoid reloading
3684 pages when we follow #target links (bug#15243).
3685 (eww-quit): Special mode buffers shouldn't query before exiting.
3687 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3689 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3692 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3694 * net/eww.el (eww-restore-history): Update the window title after
3695 moving in the history.
3696 (eww-current-dom): New variable used to save the current DOM.
3698 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3700 * vc/log-edit.el (log-edit-mode-map): Add binding for
3701 `log-edit-beginning-of-line'.
3702 (log-edit-setup-add-author): New user option.
3703 (log-edit-beginning-of-line): New command.
3704 (log-edit): Move major mode call above the contents setup so that
3705 the local variable values are already applied.
3706 (log-edit): Only insert "Author: " when
3707 `log-edit-setup-add-author' is non-nil.
3708 (log-edit): When SETUP is non-nil, position point after ": "
3709 instead of point-min.
3711 2013-12-01 Glenn Morris <rgm@gnu.org>
3713 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3715 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3717 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3718 redisplay to make sure the initial frame gets a chance to become
3719 visible. (Bug#16014)
3721 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3723 Support resizing frames and windows pixelwise.
3724 * cus-start.el (frame-resize-pixelwise)
3725 (window-resize-pixelwise): New entries.
3726 * emacs-lisp/debug.el (debug): Use window-total-height instead
3727 of window-total-size.
3728 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3729 * help.el (describe-bindings-internal): Use help-buffer as
3730 argument for with-help-window.
3731 (temp-buffer-max-width): New option.
3732 (resize-temp-buffer-window, help-window-setup)
3733 (with-help-window): Rewrite.
3734 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3736 * window.el (frame-char-size, window-min-pixel-height)
3737 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3738 (window-min-pixel-width, window-safe-min-pixel-size)
3739 (window-combination-p, window-safe-min-size)
3740 (window-resizable-p, window--size-to-pixel)
3741 (window--pixel-to-size, window--resize-apply-p): New functions.
3742 (window-safe-min-height): Fix doc-string.
3743 (window-size, window-min-size, window--min-size-1)
3744 (window-sizable, window-sizable-p, window--min-delta-1)
3745 (window-min-delta, window--max-delta-1, window-max-delta)
3746 (window--resizable, window--resizable-p, window-resizable)
3747 (window-full-height-p, window-full-width-p, window-at-side-p)
3748 (window--in-direction-2, window-in-direction)
3749 (window--resize-reset-1, window--resize-mini-window)
3750 (window-resize, window-resize-no-error)
3751 (window--resize-child-windows-normal)
3752 (window--resize-child-windows, window--resize-siblings)
3753 (window--resize-this-window, window--resize-root-window)
3754 (window--resize-root-window-vertically)
3755 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3756 (maximize-window, minimize-window, delete-window)
3757 (quit-restore-window, window-split-min-size, split-window)
3758 (balance-windows-2, balance-windows)
3759 (balance-windows-area-adjust, balance-windows-area)
3760 (window--state-get-1, window-state-get, window--state-put-1)
3761 (window--state-put-2, window-state-put)
3762 (display-buffer-record-window, window--display-buffer):
3763 Make functions handle pixelwise sizing of windows.
3764 (display-buffer--action-function-custom-type)
3765 (display-buffer-fallback-action):
3766 Add display-buffer-in-previous-window.
3767 (display-buffer-use-some-window): Resize window to height it had
3769 (fit-window-to-buffer-horizontally): New option.
3770 (fit-frame-to-buffer): Describe new values.
3771 (fit-frame-to-buffer-bottom-margin): Replace with
3772 fit-frame-to-buffer-margins.
3773 (window--sanitize-margin): New function.
3774 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3775 using window-text-pixel-size.
3777 2013-11-30 Glenn Morris <rgm@gnu.org>
3779 * emacs-lisp/bytecomp.el (byte-compile-form):
3780 Make the `interactive-only' warning like the `obsolete' one.
3781 * comint.el (comint-run):
3782 * files.el (insert-file-literally, insert-file):
3783 * replace.el (replace-string, replace-regexp):
3784 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3785 (goto-line, insert-buffer, next-line, previous-line):
3786 Tweak `interactive-only' spec.
3788 Stop keeping (most) generated cedet grammar files in the repository.
3789 * Makefile.in (semantic): New.
3790 (compile-main): Depend on semantic.
3792 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3794 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3795 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3797 * uniquify.el (uniquify-buffer-name-style): Change default.
3799 * loadup.el: Preload "uniquify".
3801 * time.el (display-time-update): Update all mode lines (bug#15999).
3803 * electric.el (electric-indent-mode): Enable by default.
3804 * loadup.el: Preload "electric".
3806 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3808 * emacs-lisp/helpers.el (string-empty-p): New function.
3809 (string-blank-p): New function.
3811 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3813 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3816 2013-11-29 Andreas Politz <politza@fh-trier.de>
3817 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3818 allow non-lambda lists as functions.
3819 (imenu--in-alist): Don't recurse into non-subalists.
3820 (imenu): Don't pass function itself as an argument (Bug#14029).
3822 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3824 * progmodes/python.el (python-mode-map): Remove binding for ":".
3825 (python-indent-electric-colon): Remove command.
3826 (python-indent-post-self-insert-function): Integrate the previous code
3827 of python-indent-electric-colon. Make it conditional on
3828 electric-indent-mode.
3829 (python-mode): Add ?: to electric-indent-chars.
3830 Move python-indent-post-self-insert-function to the end of
3831 post-self-insert-hook.
3833 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * doc-view.el (doc-view-goto-page): Update mode-line.
3837 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3839 2013-11-27 Glenn Morris <rgm@gnu.org>
3841 * international/charprop.el, international/uni-bidi.el:
3842 * international/uni-category.el, international/uni-combining.el:
3843 * international/uni-comment.el, international/uni-decimal.el:
3844 * international/uni-decomposition.el, international/uni-digit.el:
3845 * international/uni-lowercase.el, international/uni-mirrored.el:
3846 * international/uni-name.el, international/uni-numeric.el:
3847 * international/uni-old-name.el, international/uni-titlecase.el:
3848 * international/uni-uppercase.el:
3849 Remove generated files from VCS repository.
3851 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3853 * filenotify.el (file-notify-add-watch): Don't special-case
3854 w32notify when computing the directory to watch.
3856 2013-11-27 Glenn Morris <rgm@gnu.org>
3858 Make bootstrap without generated uni-*.el files possible again.
3859 * loadup.el: Update command-line-args checking for unidata-gen.
3860 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3861 * composite.el, international/characters.el:
3862 Handle unicode tables being undefined.
3864 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3865 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3866 (compile-main): Depend on leim rule.
3868 * loadup.el: Move leim-list.el to leim/ subdirectory.
3869 * startup.el (normal-top-level): No more leim directory.
3870 * international/ja-dic-cnv.el (skkdic-convert):
3871 Disable version-control and autoloads in output files.
3872 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3873 Disable version-control and autoloads in output files.
3874 * leim/quail: Move here from ../leim.
3875 * leim/quail/hangul.el (hangul-input-method-activate):
3876 Add autoload cookie.
3877 (generated-autoload-load-name): Set file-local value.
3878 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3879 (generated-autoload-load-name): Set file-local value.
3881 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3883 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3884 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3885 (eww-quit): Ask confirmation before quitting eww.
3887 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3889 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3890 reading output from Diff on MS-Windows and MS-DOS.
3892 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3894 * emacs-lisp/helpers.el (string-reverse): New function.
3896 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3898 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3899 names on MS Windows, like "/[::1]:".
3901 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3904 2013-11-26 Glenn Morris <rgm@gnu.org>
3906 * progmodes/python.el (python-indent-guess-indent-offset):
3907 Avoid corner-case error. (Bug#15975)
3909 Preload leim-list.el. (Bug#4789)
3910 * loadup.el: Load leim-list.el when found.
3911 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3913 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3915 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3917 * emacs-lisp/helpers.el (string-join): New function.
3919 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3921 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3922 Mark as obsolete and replace it with a symbol property.
3923 (byte-compile-form): Use new 'interactive-only property.
3924 * comint.el, files.el, replace.el, simple.el:
3925 Apply new 'interactive-only properly.
3927 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3929 * window.el (display-buffer-at-bottom): Make sure that
3930 split-window-sensibly creates the new window on bottom
3933 2013-11-23 David Kastrup <dak@gnu.org>
3935 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3936 on the conflict markers when available.
3937 (smerge--get-marker): New function.
3938 (smerge-end-re, smerge-base-re): Add subgroup.
3940 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * frame.el (handle-focus-in, handle-focus-out): Add missing
3945 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3947 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3948 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3950 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3953 (gomoku--last-pos): New var.
3954 (gomoku--intangible-chars): New const.
3955 (gomoku--intangible): New function.
3956 (gomoku-mode): Use it. Derive from special-mode.
3957 (gomoku-move-up): Adjust line count.
3958 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3959 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3960 Simplify accordingly.
3962 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3963 Remove blink-cursor code.
3964 (blink-cursor-timer-function, blink-cursor-suspend):
3965 Don't special-case GUIs.
3966 (blink-cursor-mode): Use focus-in/out-hook.
3968 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3970 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3971 work when annotation is invisible (Bug#13886).
3973 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3975 * json.el (json-alist-p): Only return non-nil if the alist has
3976 simple keys (Bug#13518).
3978 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3980 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3981 when control-statement is the first statement in a buffer (Bug#15956).
3983 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3985 * imenu.el (imenu-generic-skip-comments-and-strings):
3986 New option (Bug#15560).
3987 (imenu--generic-function): Use it.
3989 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3991 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3994 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3996 * emacs-lisp/helpers.el: Add some string helpers.
3997 (string-trim-left): Removes leading whitespace.
3998 (string-trim-right): Removes trailing whitespace.
3999 (string-trim): Removes leading and trailing whitespace.
4001 * subr.el (string-suffix-p): New function.
4003 2013-11-23 Glenn Morris <rgm@gnu.org>
4005 * progmodes/python.el (python-shell-send-file):
4006 Add option to delete file when done. (Bug#15647)
4007 (python-shell-send-string, python-shell-send-region): Use it.
4009 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
4011 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
4012 to set buffer-read-only to t, never to nil. (Bug#15938)
4014 * textmodes/tex-mode.el (latex-noindent-environments):
4015 Add safe-local-variable property. (Bug#15936)
4017 2013-11-23 Glenn Morris <rgm@gnu.org>
4019 * textmodes/enriched.el (enriched-mode): Doc fix.
4020 * emacs-lisp/authors.el (authors-renamed-files-alist):
4021 Add enriched.doc -> enriched.txt.
4023 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
4025 2013-11-22 Leo Liu <sdl.web@gmail.com>
4027 * progmodes/octave.el (inferior-octave-startup): Spit out error
4030 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
4032 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4035 (ruby-encoding-magic-comment-style): Add :version.
4037 2013-11-22 Leo Liu <sdl.web@gmail.com>
4039 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
4041 (octave-help-mode): Adapt to change to help-mode-finish to use
4042 derived-mode-p on 2013-09-17.
4043 (inferior-octave-prompt): Also match octave-gui.
4044 (octave-kill-process): Don't ask twice. (Bug#10564)
4046 2013-11-22 Leo Liu <sdl.web@gmail.com>
4048 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
4049 (inferior-octave-startup, inferior-octave-check-process)
4050 (inferior-octave-track-window-width-change)
4051 (octave-completion-at-point, octave-eldoc-function): Use it.
4052 (octave-kill-process): Provide confirmation. (Bug#10564)
4054 2013-11-21 Leo Liu <sdl.web@gmail.com>
4056 * progmodes/octave.el (octave-mode, inferior-octave-mode):
4057 Fix obsolete variable comment-use-global-state.
4059 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4061 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
4062 Add `octave-source-file'.
4063 (octave-source-file): New function. (Bug#15935)
4065 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4067 * net/eww.el (eww-local-regex): New variable.
4068 (eww): Use it to detect localhost and similar.
4070 2013-11-21 Leo Liu <sdl.web@gmail.com>
4072 Add completion for command `ag'.
4073 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4074 (pcomplete/ag): New function.
4075 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4077 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4079 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4081 (make-obsolete): Remove interactive spec.
4083 2013-11-21 Glenn Morris <rgm@gnu.org>
4085 * startup.el (command-line-1): Use path-separator with -L.
4087 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4089 * emacs-lisp/package.el (describe-package-1): Add package archive
4092 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4094 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4095 Change default to "# encoding: %s" to differentiate it from the
4096 default Ruby encoding comment template.
4098 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4100 * ses.el (ses-mode): Doc fix. (Bug#14748)
4102 2013-11-20 Leo Liu <sdl.web@gmail.com>
4104 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4106 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4108 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4109 when rebase or bisect are in progress.
4111 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4113 * filenotify.el (file-notify-add-watch): Doc fix.
4115 2013-11-19 Leo Liu <sdl.web@gmail.com>
4117 * obsolete/rcompile.el: Mark obsolete.
4119 * progmodes/compile.el (compilation-start)
4120 (compilation-goto-locus, compilation-find-file):
4121 Pass no-display-ok and handle nil value from display-buffer.
4124 * window.el (display-buffer-alist, display-buffer): Document the
4125 new parameter no-display-ok. Return either a window or nil
4126 but never a non-window value.
4128 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4130 * electric.el (electric-indent-mode-map): Remove.
4131 (electric-indent-mode): Change the global-map instead (bug#15915).
4133 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4136 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4138 * emacs-lisp/nadvice.el (remove-function): Align with
4139 add-function's behavior.
4141 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4142 (gdb--string-regexp): New constant.
4143 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4144 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4145 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4147 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4148 Adjust use accordingly.
4149 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4151 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4153 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4154 interpolation curlies (Bug#15914).
4156 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4158 * calc/calc.el (calc-context-sensitive-enter): New variable.
4159 (calc-enter): Use `calc-context-sensitive-enter'.
4161 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4163 * progmodes/cfengine.el: Version bump.
4164 (cfengine-cf-promises): New defcustom to locate cf-promises.
4165 (cfengine3-vartypes): Add new "data" type.
4166 (cfengine3--current-word): New function to get current name-like
4168 (cfengine3--current-function): New function to look up a CFEngine
4169 function's definition.
4170 (cfengine3-format-function-docstring): New function.
4171 (cfengine3-make-syntax-cache): New function.
4172 (cfengine3-documentation-function): New function: ElDoc glue.
4173 (cfengine3-completion-function): New function: completion glue.
4174 (cfengine3-mode): Set `compile-command',
4175 `eldoc-documentation-function', and add to
4176 `completion-at-point-functions'.
4178 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4180 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4181 `tramp-current-connection'.
4183 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4185 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4186 nil/self/true/false with "end of symbol".
4188 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4190 * subr.el (version-regexp-alist): Fix a typo.
4192 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4194 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4195 "en_US.utf8" and "LC_CTYPE" to "".
4196 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4197 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4199 2013-11-15 Leo Liu <sdl.web@gmail.com>
4201 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4203 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * progmodes/gud.el (ctl-x-map):
4206 Remove C-x SPC binding. (Bug#12342)
4207 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4209 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4211 * subr.el (version-regexp-alist):
4212 Recognize hg, svn and darcs versions as snapshot versions.
4214 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4215 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4216 (ruby--encoding-comment-required-p): Extract from
4217 `ruby-mode-set-encoding'.
4218 (ruby-mode-set-encoding): Add the ability to always insert an
4219 utf-8 encoding comment. Fix and simplify coding comment update
4222 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4224 * net/tramp-gvfs.el (top): Run init code only when
4225 `tramp-gvfs-enabled' is not nil.
4226 (tramp-gvfs-enabled): Check also :system bus.
4228 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4230 Sync with upstream verilog-mode revision 78e66ba.
4231 * progmodes/verilog-mode.el (verilog-end-of-defun)
4232 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4233 (verilog-get-end-of-defun): Remove unused argument.
4234 (verilog-comment-depth): Remove unused local `e'.
4235 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4236 Don't pass arg to verilog-get-end-of-defun.
4238 2013-11-14 Glenn Morris <rgm@gnu.org>
4240 * obsolete/assoc.el (aget): Prefix dynamic variable.
4242 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4244 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * widget.el, hfy-cmap.el: Remove bogus package version number.
4248 2013-11-13 Glenn Morris <rgm@gnu.org>
4250 * replace.el (replace-eval-replacement):
4251 Try to give more helpful error message. (Bug#15836)
4253 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4254 (archive-7z-update): Avoid custom type mismatches.
4256 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4258 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4260 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4261 address can be empty.
4263 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4264 Accept nil SWITCHES.
4265 (tramp-gvfs-handle-write-region): Implement APPEND.
4267 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4269 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4270 binary "|" operator and closing block args delimiter.
4271 Remove FIXME comment referring to Ruby 1.8-only syntax.
4272 (ruby-smie--implicit-semi-p): Not after "|" operator.
4273 (ruby-smie--closing-pipe-p): New function.
4274 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4275 (ruby-smie-rules): Indent after "|".
4277 2013-11-12 Glenn Morris <rgm@gnu.org>
4279 * ps-print.el (ps-face-attribute-list):
4280 Handle anonymous faces. (Bug#15827)
4282 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4284 * window.el (display-buffer-other-frame): Fix doc-string.
4287 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4291 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4294 (tramp-sh-handle-file-local-copy): Don't write a message when
4295 saving temporary files.
4297 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4298 both directories are remote.
4299 (tramp-smb-handle-directory-files): Do not return double entries.
4300 Do not expand full file names.
4301 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4302 (tramp-smb-handle-write-region): Implement APPEND.
4303 (tramp-smb-get-stat-capability): Fix a stupid bug.
4305 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4309 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4311 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4312 throwing error over malformed let/let* (bug#15814).
4314 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * iswitchb.el (iswitchb-mode): Mark obsolete.
4318 2013-11-11 Glenn Morris <rgm@gnu.org>
4320 * international/uni-bidi.el, international/uni-category.el:
4321 * international/uni-name.el, international/uni-numeric.el:
4322 Regenerate for Unicode 6.3.0.
4324 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4326 * net/tramp.el (tramp-methods):
4327 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4328 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4330 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4332 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4333 Force highlighting text after Summary keyword in doc face for rpm.
4335 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4337 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4338 available and the word has no wildcards, append one to the grep pattern.
4339 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4340 (ispell-complete-word): Call `ispell-lookup-words' with the value
4341 independent of `ispell-look-p'.
4343 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4345 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4347 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4350 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4352 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4353 (ruby-font-lock-keywords): Use backquote.
4355 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4357 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4358 (ruby-smie--backward-token): Only consider full-string matches.
4360 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4362 * faces.el (describe-face): Add distant-foreground.
4364 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4366 * progmodes/ruby-mode.el: Improve encoding comment handling.
4367 (ruby-encoding-magic-comment-style): New option.
4368 (ruby-custom-encoding-magic-comment-template): New option.
4369 (ruby--insert-coding-comment, ruby--detect-encoding):
4370 New functions extracted from `ruby-mode-set-encoding'.
4371 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4372 to control the style of the auto-inserted encoding comment.
4374 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4376 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4377 Use `smie-backward-sexp' with token argument.
4379 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4381 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4382 Remove instrumentation code.
4384 2013-11-08 Glenn Morris <rgm@gnu.org>
4386 * progmodes/autoconf.el (autoconf-mode):
4387 Tweak comment-start-skip. (Bug#15822)
4389 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4392 at bobp (bug#15826).
4393 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4395 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4397 * man.el (Man-start-calling): New macro, extracted from
4398 Man-getpage-in-background.
4399 (Man-getpage-in-background): Use it.
4400 (Man-update-manpage): New command.
4401 (Man-mode-map): Bind it.
4403 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4405 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4406 of "and", "or", "&&" and "||".
4407 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4408 argument. Prohibit opening curly brace because it could only be a
4409 block opener in that position.
4410 (ruby-smie--forward-token, ruby-smie--backward-token):
4411 Separate "|" from "&" or "*" going after it. That can happen in block
4413 (ruby-smie--indent-to-stmt): New function, seeks the end of
4414 previous statement or beginning of buffer.
4415 (ruby-smie-rules): Use it.
4416 (ruby-smie-rules): Check if there's a ":" before a curly block
4417 opener candidate; if there is, it's a hash.
4419 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4421 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4422 (cl--block-wrapper): Fix last accidental change.
4424 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4426 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4427 Instrument, in order to hunt failure on hydra.
4429 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4431 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4432 malformed bindings form (bug#15814).
4434 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4436 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4437 "." compared to " @ ". This incidentally fixes some indentation
4439 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4440 (ruby-smie-grammar): New tokens: "and" and "or".
4441 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4442 Exclude "and" and "or". Remove "do" in order to work around token
4444 (ruby-smie-rules): Add all infix tokens. Handle the case of
4445 beginning-of-buffer.
4447 2013-11-06 Glenn Morris <rgm@gnu.org>
4449 * Makefile.in (setwins_almost, setwins_for_subdirs):
4450 Avoid accidental matches.
4452 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4454 * menu-bar.el (popup-menu): Use key-binding.
4456 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4458 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4459 menus, support also the menus produced by minor modes.
4462 2013-11-06 Leo Liu <sdl.web@gmail.com>
4464 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4465 DISTANCE to bound the search. All uses changed. (Bug#15808)
4467 2013-11-06 Glenn Morris <rgm@gnu.org>
4469 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4470 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4471 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4473 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * electric.el (electric-indent-just-newline): New command.
4476 (electric-indent-mode-map): New keymap.
4477 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4478 Re-add :group which weren't redundant.
4480 * electric.el (electric-indent-local-mode): New minor mode.
4481 (electric-indent-functions-without-reindent): New var.
4482 (electric-indent-post-self-insert-function): Use it.
4483 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4485 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4487 * international/quail.el (quail-help): Be more explicit about the
4488 meaning of the labels shown on the keys. (Bug#15800)
4490 * startup.el (normal-top-level): Load the subdirs.el files before
4491 setting the locale environment. (Bug#15805)
4493 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4495 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4496 via arguments so as to get the right ones (bug#15418).
4498 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4500 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4502 Fix problems found while writing a test suite.
4504 * net/tramp-compat.el (tramp-compat-load): New defun.
4505 * net/tramp.el (tramp-handle-load): Use it.
4507 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4508 "(numberp ok-if-already-exists)" correctly.
4510 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4512 * international/characters.el (glyphless-char-display-control):
4515 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4517 * progmodes/python.el (python-mode):
4518 * progmodes/scheme.el (scheme-mode):
4519 * progmodes/prolog.el (prolog-mode):
4520 * progmodes/ruby-mode.el (ruby-mode):
4521 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4522 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4524 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * rect.el (rectangle--highlight-for-redisplay):
4527 * emacs-lisp/smie.el (smie--next-indent-change):
4528 Use buffer-chars-modified-tick.
4530 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4532 * electric.el (electric-indent-post-self-insert-function):
4533 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4535 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4537 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4539 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4541 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4544 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4548 * progmodes/python.el: Fix up last change.
4549 (python-shell--save-temp-file): New function.
4550 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4551 `string' comes from the current buffer.
4552 (python-shell-send-string-no-output): Remove `msg' arg.
4553 (python--use-fake-loc): New var.
4554 (python-shell-buffer-substring): Obey it. Try to compensate for the
4555 extra coding line added by python-shell--save-temp-file.
4556 (python-shell-send-region): Use python-shell--save-temp-file and
4557 python-shell-send-file directly. Add `nomain' argument.
4558 (python-shell-send-buffer): Use python-shell-send-region.
4559 (python-electric-pair-string-delimiter): New function.
4560 (python-mode): Use it.
4562 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4564 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4565 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4566 environment and decoding all of the default-directory's to here
4568 (command-line): Decode also argv[0].
4570 * loadup.el: Error out if default-directory is a multibyte string
4571 when we are dumping.
4573 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4575 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4577 * emacs-lisp/package.el (package-menu-mode)
4578 (package-menu--print-info, package-menu--archive-predicate):
4579 Add Archive column to package list.
4581 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4583 Fix problems found while writing a test suite.
4585 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4586 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4587 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4588 to nil when running original file name handler. Otherwise,
4589 there are problems with constructs like "$$FOO".
4591 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4594 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4596 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4598 * subr.el (version<, version<=, version=):
4599 Update docstrings with information for snapshot versions.
4601 * helpers.el: New library for misc helper functions.
4602 (hash-table-keys): New function returning a list of hash keys.
4603 (hash-table-values): New function returning a list of hash values.
4605 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4607 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4608 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4610 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4612 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4613 checking whether point is after a 1-letter word.
4615 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4617 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4618 Don't infloop when expanding region over `multiline' syntax-type that
4619 begins a line (bug#15778).
4621 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4623 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4624 Make it into a proper minor mode.
4625 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4626 (rectangle-mark-mode-map): New keymap.
4627 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4629 2013-11-04 Glenn Morris <rgm@gnu.org>
4631 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4633 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4636 (ruby-smie-rules): Use smie-rule-parent instead.
4638 * emacs-lisp/smie.el (smie-rule-parent): Always call
4639 smie-indent-virtual rather than only for hanging tokens.
4640 (smie--next-indent-change): New helper command.
4642 2013-11-03 Glenn Morris <rgm@gnu.org>
4644 * Makefile.in (abs_srcdir): Remove.
4645 (emacs): Unset EMACSLOADPATH.
4647 2013-11-02 Glenn Morris <rgm@gnu.org>
4649 * Makefile.in (EMACS): Use a relative filename.
4650 (abs_top_builddir): Remove.
4651 (custom-deps, finder-data, autoloads): Use --chdir.
4653 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4655 Use relative filenames in TAGS files.
4656 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4657 (lisptagsfiles4, TAGS): Use relative file names.
4658 (TAGS-LISP): Remove.
4659 (maintainer-clean): No more TAGS-LISP file.
4661 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4662 (lisptagsfiles4): Use absolute filenames again.
4663 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4664 Remove all *loaddefs files, not just the first. Remove esh-groups.
4665 (maintainer-clean): Delete TAGS, TAGS-LISP.
4667 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4669 * emacs-lisp/package.el (package-version-join):
4670 Recognize snapshot versions.
4672 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4674 * subr.el (version-regexp-alist): Add support for snapshot versions.
4676 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4678 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4679 New function, replacement for `smie-rule-parent' for when we want to
4680 skip over our direct parent if it's an assignment token..
4681 (ruby-smie-rules): Use it.
4683 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4685 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4686 unconditionally. Remove now unnecessary forward declarations.
4687 Remove XEmacs-specific setup.
4688 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4689 (ruby-font-lock-syntactic-keywords)
4690 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4691 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4692 (ruby-here-doc-end-syntax): Remove.
4693 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4694 defined as function.
4696 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4698 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4700 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4702 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4703 table and abbrev table, `define-derived-mode' does that for us
4706 2013-11-01 Glenn Morris <rgm@gnu.org>
4708 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4709 files is atomic for some time, so no parallel compilation issues).
4711 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4713 * faces.el (face-x-resources): Add :distant-foreground.
4714 (region): Use :distant-foreground for gtk and ns.
4716 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4718 Allow multiple bibliographies when BibLaTeX is used rather than
4720 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4721 (reftex-locate-bibliography-files): Us it.
4723 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4725 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4726 allow comments in pbm files.
4728 * term/w32-win.el (dynamic-library-alist): Support newer versions
4729 of libjpeg starting with v7: look only for the DLL from the
4730 version against which Emacs was built.
4731 Support versions of libpng beyond 1.4.x.
4732 Support libtiff v4.x.
4734 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4736 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4737 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4739 (ruby-deep-arglist): Add property :type.
4741 2013-10-31 Glenn Morris <rgm@gnu.org>
4743 * Makefile.in (custom-deps, finder-data): No need to setq the target
4744 variables, we are in the right directory and the defaults work fine.
4746 2013-10-30 Glenn Morris <rgm@gnu.org>
4748 * Makefile.in (autoloads): Do not use abs_lisp.
4750 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4751 `newline' does not respect `standard-output', so use `princ'.
4753 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4755 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4756 * buff-menu.el (Buffer-menu--unmark): New function.
4757 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4759 2013-10-30 Glenn Morris <rgm@gnu.org>
4761 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4763 * emacs-lisp/package.el (lm-homepage): Declare.
4765 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4768 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4770 * Makefile.in (finder-data, autoloads, update-subdirs)
4771 (compile-main, compile-clean, compile-always, bootstrap-clean):
4772 Check return value of cd.
4773 (compile-calc): Remove.
4775 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4779 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4780 (byte-compile-and-folded): New function.
4781 (=, <, >, <=, >=): Use it.
4783 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4784 (path-separator, null-device, buffer-file-coding-system)
4785 (lpr-headers-switches): Check system-type before modifying them.
4786 (find-buffer-file-type-coding-system): Mark obsolete.
4787 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4788 find-file-not-found-set-buffer-file-coding-system.
4789 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4790 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4791 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4792 (w32-direct-print-region-helper, w32-direct-print-region-function)
4793 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4794 * startup.el (normal-top-level-add-subdirs-to-load-path):
4795 * ps-print.el (ps-print-region-function):
4796 * lpr.el (print-region-function): Use new name.
4798 * subr.el (custom-declare-variable-early): Remove function.
4799 (custom-declare-variable-list): Remove var.
4800 (error, user-error): Remove `while' loop.
4801 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4802 (user-emacs-directory-warning, locate-user-emacs-file):
4804 * simple.el (read-quoted-char-radix, read-quoted-char):
4805 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4807 * custom.el (custom-declare-variable-list): Don't process
4808 custom-declare-variable-list.
4810 * progmodes/python.el (python-shell-get-buffer): New function.
4811 (python-shell-get-process): Use it.
4812 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4813 Python which encoding was used. Don't split-string since we only care
4814 about the first line. Return the temp-file, if applicable.
4815 (python-shell-send-region): Tell compile.el how to turn locations in
4816 the temp-file into locations in the source buffer.
4818 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4820 * subr.el (undefined): Add missing behavior from the C code for
4823 * rect.el: Use lexical-binding. Add new rectangular region support.
4824 (rectangle-mark): New command.
4825 (rectangle--region): New var.
4826 (deactivate-mark-hook): Reset rectangle--region.
4827 (rectangle--extract-region, rectangle--insert-for-yank)
4828 (rectangle--highlight-for-redisplay)
4829 (rectangle--unhighlight-for-redisplay): New functions.
4830 (region-extract-function, redisplay-unhighlight-region-function)
4831 (redisplay-highlight-region-function): Use them to handle
4833 * simple.el (region-extract-function): New var.
4834 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4835 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4836 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4837 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4838 (redisplay-unhighlight-region-function)
4839 (redisplay-highlight-region-function): New vars.
4840 (redisplay--update-region-highlight): New function.
4841 (pre-redisplay-function): Use it.
4842 (exchange-point-and-mark): Don't deactivate the mark before
4843 reactivate-it anyway.
4844 * comint.el (comint-kill-region): Remove yank-handler argument.
4845 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4846 (delete-char): Remove property, since it's now part of their
4848 (self-insert-iso): Remove property since this command doesn't exist.
4850 * emacs-lisp/package.el (package--download-one-archive)
4851 (describe-package-1): Don't query the user about final newline.
4853 2013-10-29 Daniel Colascione <dancol@dancol.org>
4855 * net/tramp.el (tramp-methods): Document new functionality.
4856 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4857 tramp-hostname-checker if method provides one instead of scanning
4858 argument list for "%h" to decide hostname acceptability.
4860 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4862 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4863 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4864 Handle COPY-CONTENTS. (Bug#15737)
4866 2013-10-28 Daiki Ueno <ueno@gnu.org>
4869 (epa-file-cache-passphrase-for-symmetric-encryption):
4870 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4872 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4874 * image.el (defimage, image-load-path): Doc fixes.
4876 2013-10-27 Alan Mackenzie <acm@muc.de>
4878 Indent statements in macros following "##" correctly.
4879 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4880 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4882 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4884 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4886 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4888 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4889 after `=' is probably a new expression.
4891 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4893 * man.el (man-imenu-title): New option.
4894 (Man-mode-map): Add menu. (Bug#15722)
4895 (Man-mode): Add imenu to menu.
4897 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4899 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4900 specific in what the first arg can be: a non-keyword word,
4901 string/regexp/percent literal opener, opening paren, or unary
4902 operator followed directly by word.
4904 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4906 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4907 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4908 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4909 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4910 Remove vars, they do not apply any more.
4911 (prolog-mode-abbrev-table): Remove redundant declaration.
4912 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4913 (prolog-use-smie): Remove.
4914 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4915 supported by prolog-electric-if-then-else-flag.
4916 (prolog-mode-variables, prolog-menu): Use setq-local.
4917 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4918 Remove binding to `Backspace' since this key doesn't exist anyway.
4919 Remove bindings for electric self-inserting keys.
4920 (prog-mode): Assume it's defined.
4921 (prolog-post-self-insert): New function.
4922 (prolog-mode): Use it.
4923 (prolog-indent-line, prolog-indent-level)
4924 (prolog-find-indent-of-matching-paren)
4925 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4926 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4927 (prolog-goto-next-paren, prolog-in-string-or-comment)
4928 (prolog-tokenize, prolog-inside-mline-comment)
4929 (prolog-find-start-of-mline-comment): Remove functions.
4930 (prolog-find-unmatched-paren, prolog-clause-end)
4931 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4932 (prolog-electric--if-then-else): Rename from
4933 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4934 (prolog-tokenize-searchkey): Remove const.
4935 (prolog-clause-info): Use forward-sexp.
4936 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4937 (prolog-electric-if-then-else): Remove commands.
4938 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4939 for use in post-self-insert-hook.
4940 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4941 for use in post-self-insert-hook.
4942 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4943 for use in post-self-insert-hook.
4944 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4945 adapt it for use in post-self-insert-hook.
4947 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4949 * emacs-lisp/ert.el (ert-run-tests-interactively):
4950 Use `completing-read'. (Bug#9756)
4952 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4954 * simple.el (line-move): Call line-move-1 instead of
4955 line-move-visual when the current window hscroll is zero, but
4956 temporary-goal-column indicates we will need to hscroll as result
4957 of the movement. (Bug#15712)
4959 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4961 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4962 capitalization. Use :visible instead of :active.
4963 Fix `ruby-indent-exp' reference. Add menu items for the generic
4964 commands that are used with SMIE.
4965 (ruby-do-end-to-brace): Insert space after `{'.
4967 2013-10-25 John Anthony <john@jo.hnanthony.com>
4969 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4971 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4973 2013-10-25 Glenn Morris <rgm@gnu.org>
4975 * vc/vc.el (vc-print-log): Don't use a working revision unless
4976 one was explicitly specified. (Bug#15322)
4978 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * subr.el (add-to-list): Preserve return value in compiler-macro
4983 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4985 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4986 result. Ask user to retry using '-all' flag. (Bug#15701)
4988 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4990 * emacs-lisp/smie.el: New smie-config system.
4991 (smie-config): New defcustom.
4992 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4993 (smie-config-guess, smie-config-save): New commands.
4994 (smie-config--mode-local, smie-config--buffer-local)
4995 (smie-config--trace, smie-config--modefuns): New vars.
4996 (smie-config--advice, smie-config--mode-hook)
4997 (smie-config--setter, smie-config-local, smie-config--get-trace)
4998 (smie-config--guess-value, smie-config--guess): New functions.
4999 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
5000 text properties. Treat "string fence" syntax like string syntax.
5002 * progmodes/sh-script.el (sh-use-smie): Change default.
5003 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
5004 (sh-var-value): Simplify by CSE.
5005 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
5006 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
5008 (sh-guess-basic-offset): Use cl-incf.
5009 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
5011 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
5013 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
5016 2013-10-24 Glenn Morris <rgm@gnu.org>
5018 * Makefile.in (abs_top_srcdir): Remove.
5019 (update-subdirs): Use relative path to update-subdirs.
5021 2013-10-24 Eli Zaretskii <eliz@gnu.org>
5023 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
5024 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
5025 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
5026 Call unmsys--file-name before expand-file-name, not after it.
5028 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
5030 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
5031 (ert-test-skipped): New error.
5032 (ert-skip, ert-stats-skipped): New defuns.
5033 (ert--skip-unless): New macro.
5034 (ert-test-skipped): New struct.
5035 (ert--run-test-debugger, ert-test-result-type-p)
5036 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
5037 (ert--stats-set-test-and-result, ert-char-for-test-result)
5038 (ert-string-for-test-result, ert-run-tests-batch)
5039 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
5040 Handle skipped tests. (Bug#9803)
5042 2013-10-24 Glenn Morris <rgm@gnu.org>
5044 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
5046 * Makefile.in (abs_top_srcdir): New, set by configure.
5047 (update-subdirs): Correct build-aux location.
5049 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
5051 * vc/vc.el (vc-print-root-log): Always set `default-directory'
5052 value, whether we could auto-deduce `backend', or not.
5054 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
5055 with parameters" example. Simplify the "is it block or is it
5056 hash" check, but also make it more thorough.
5058 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
5060 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
5062 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
5067 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5070 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5072 * progmodes/compile.el (compilation-directory-matcher)
5073 (compilation-page-delimiter):
5074 Support GNU Make-4.0 directory quoting. (Bug#15678)
5076 2013-10-23 Leo Liu <sdl.web@gmail.com>
5078 * ido.el (ido-tidy): Handle read-only text.
5080 2013-10-23 Glenn Morris <rgm@gnu.org>
5082 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5083 (emacs, compile, compile-always):
5084 Quote entities that might contain whitespace.
5085 (custom-deps, finder-data, autoloads): Use abs_lisp.
5086 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5087 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5088 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5090 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5092 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5093 Use `following-char'.
5095 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5097 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5098 * progmodes/ruby-mode.el (ruby-smie-rules):
5099 Remove corresponding workaround. Fix indentation rule of ";" so it
5100 also applies when ";" is the parent.
5102 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5104 * frame.el (display-screens, display-pixel-height)
5105 (display-pixel-width, display-mm-width, display-backing-store)
5106 (display-save-under, display-planes, display-color-cells)
5107 (display-visual-class, display-monitor-attributes-list):
5108 Mention the optional ‘display’ argument in doc strings.
5110 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5112 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5113 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5115 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5117 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5118 TODO. Add "." after " @ ".
5119 (ruby-smie--at-dot-call): New function. Checks if point at method
5120 call with explicit target.
5121 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5122 to the method name tokens when it precedes them.
5123 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5124 (ruby-smie-rules): Add rule for indentation before and after "."
5127 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * textmodes/remember.el (remember-diary-extract-entries):
5132 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5135 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5137 * progmodes/ruby-mode.el (ruby-smie-grammar):
5138 Add (almost) all infix operators.
5139 (ruby-smie--implicit-semi-p): Add new operator chars.
5141 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5143 (ruby-smie--args-separator-p): Check that there's no newline
5144 between method call and its arguments.
5146 2013-10-20 Alan Mackenzie <acm@muc.de>
5148 Allow comma separated lists after Java "implements".
5150 * progmodes/cc-engine.el (c-backward-over-enum-header):
5152 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5153 from a "disallowed" list in enum fontification.
5155 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5157 * startup.el (default-frame-background-mode): Remove unused defvar.
5159 * progmodes/verilog-mode.el (verilog-mode): Don't set
5160 comment-indent-function globally.
5162 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5164 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5165 Move Info menu item creation to ns-win.el.
5167 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5170 * menu-bar.el: Move GNUstep specific menus...
5172 * term/ns-win.el (ns-initialize-window-system): ... to here.
5174 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * simple.el (newline): Only run post-self-insert-hook when
5177 called interactively.
5179 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5181 * icomplete.el (icomplete-with-completion-tables): Add :version.
5183 2013-10-19 Alan Mackenzie <acm@muc.de>
5185 Fix fontification bugs with constructors and const.
5187 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5188 CASE 2) Remove the check for the absence of a suffix construct
5189 after a function declaration with only types (no identifiers) in
5190 the parentheses. Also, accept a function declaration with just a
5191 type inside the parentheses, if this type can be positively
5192 recognised as such, or if a prefix keyword like "explicit" nails
5193 down the construct as a declaration.
5195 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5197 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5198 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5199 the problem whereby selecting a menu item that leads to a
5200 minibuffer prompt moves the cursor out of the minibuffer window,
5201 making it hard to type at the prompt. Suggested by Stefan Monnier
5202 <monnier@iro.umontreal.ca>.
5204 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5206 * menu-bar.el: Don't make Services menu.
5208 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5210 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5211 (ffap-alist): Use ffap-c++-mode for c++-mode.
5212 (ffap-c++-path): New variable.
5213 (ffap-c++-mode): New function.
5215 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5217 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5219 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5221 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5222 introduced on 2013-09-08, which results in an infinite loop
5223 requesting a password.
5225 2013-10-18 Glenn Morris <rgm@gnu.org>
5227 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5229 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5231 Sync with upstream verilog-mode revision 1a6ecec7.
5232 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5233 (verilog-mode-release-date): Remove.
5234 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5235 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5236 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5237 (verilog-auto-tieoff-ignore-regexp)
5238 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5239 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5240 (verilog-signals-with, verilog-dir-cache-preserving)
5241 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5243 (verilog-case-fold): New option, to control case folding in
5244 regexp searches, bug597.
5245 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5246 (verilog-string-match-fold, verilog-in-paren-count)
5247 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5248 (verilog-at-close-struct-p): New functions.
5249 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5250 (verilog-forward-sexp, verilog-set-auto-endcomments)
5251 (verilog-leap-to-case-head): Handle "unique0" case.
5252 (verilog-in-constraint-re): New constant.
5253 (verilog-keywords, verilog-type-font-keywords):
5254 Add some SystemVerilog 1800-2012 keywords.
5255 (verilog-label-be): Remove unimplemented argument, bug669.
5256 (verilog-batch-execute-func): When batch expanding clear
5257 create-lockfiles to prevent spurious user locks when a file ends
5259 (verilog-calculate-indent, verilog-calc-1)
5260 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5261 (verilog-do-indent): Fix indentation of nested constraints
5263 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5264 (verilog-auto-inst-param): Use verilog-string-match-fold.
5265 (verilog-read-inst-module-matcher):
5266 Fix AUTOINST on gate primitives with #1.
5267 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5268 Reads all user-defined typed variables.
5269 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5270 (verilog-signals-matching-regexp)
5271 (verilog-signals-not-matching-regexp, verilog-auto):
5272 Respect verilog-case-fold.
5273 (verilog-diff-report): Fix line count.
5274 (verilog-auto-assign-modport): Remove unused local `modi'.
5275 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5276 better handle multidimensional arrays.
5277 Fix packed array ports misadding bit index in AUTOINST, bug637.
5278 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5279 to not double-declare existing outputs and inputs, respectively.
5280 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5281 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5282 (verilog-sk-uvm-component): New skeleton.
5283 (verilog-submit-bug-report): Add verilog-case-fold,
5284 remove verilog-mode-release-date.
5286 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5288 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5291 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5293 * textmodes/remember.el (remember): Set buffer-offer-save in
5294 remember buffers (bug#13566).
5296 2013-10-18 Daniel Colascione <dancol@dancol.org>
5298 When evaluating forms in ielm, direct standard output to ielm
5299 buffer. Add new ielm-return-for-effect command. Remove trailing
5300 whitespace throughout.
5302 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5303 (ielm-return-for-effect): New command.
5304 (ielm-send-input): Accept optional `for-effect' parameter.
5305 (ielm-eval-input): Accept optional `for-effect' parameter.
5306 Bind `standard-output' to stream we create using
5307 `ielm-standard-output-impl'. Suppress printing result when
5309 (ielm-standard-output-impl): New function.
5310 (inferior-emacs-lisp-mode): Explain new features in documentation.
5312 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5316 * net/tramp.el (tramp-debug-message): Do not check for connection
5318 (tramp-message): Use "vector" connection property.
5320 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5321 (tramp-equal-remote, tramp-eshell-directory-change)
5322 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5323 (tramp-adb-handle-rename-file)
5324 * net/tramp-cmds.el (tramp-list-remote-buffers)
5325 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5326 * net/tramp-compat.el (tramp-compat-process-running-p)
5327 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5328 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5329 (tramp-gvfs-handle-rename-file)
5330 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5331 (tramp-set-file-uid-gid)
5332 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5333 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5336 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5337 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5338 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5339 (tramp-gw-open-network-stream): Suppress unrelated traces.
5341 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5342 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5343 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5344 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5345 connection property.
5347 * net/tramp-cache.el (top): Suppress traces when reading
5350 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5351 Refactor common code. Improve debug message.
5352 (tramp-maybe-open-connection)
5353 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5354 connection buffer too early.
5356 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5357 from `tramp-smb-actions-with-acl'.
5358 (tramp-smb-actions-set-acl): New defconst.
5359 (tramp-smb-handle-copy-directory)
5360 (tramp-smb-action-get-acl): New defun, renamed from
5361 `tramp-smb-action-with-acl'.
5362 (tramp-smb-action-set-acl): New defun.
5363 (tramp-smb-handle-set-file-acl): Rewrite.
5365 2013-10-17 Glenn Morris <rgm@gnu.org>
5367 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5369 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5371 * skeleton.el (skeleton-newline): Remove.
5372 (skeleton-internal-1): Use (insert "\n") instead.
5374 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5377 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5378 forward-sexp-function while we redo its job (bug#15613).
5380 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5382 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5383 represented by lists.
5385 2013-10-16 Glenn Morris <rgm@gnu.org>
5387 * tmm.el (tmm--history): New dynamic variable.
5388 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5390 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5392 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5393 (tramp-smb-errors): Add error messages.
5394 (tramp-smb-actions-with-acl): New defconst.
5395 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5396 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5397 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5398 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5399 (tramp-smb-get-stat-capability): Fix tests.
5401 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5403 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5406 2013-10-16 Glenn Morris <rgm@gnu.org>
5408 * ansi-color.el (ansi-color-drop-regexp):
5409 Add 1J, 1K, 2K. (Bug#15617)
5411 * files.el (hack-local-variables--warned-lexical): New.
5412 (hack-local-variables):
5413 Warn about misplaced lexical-binding. (Bug#15616)
5415 * net/eww.el (eww-render): Always set eww-current-url,
5416 and update header line. (Bug#15622)
5417 (eww-display-html): ... Rather than just doing it here.
5419 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5421 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5422 menu navigations commands.
5424 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5426 * progmodes/subword.el (subword-capitalize): Be careful when
5427 the search for [[:alpha:]] fails (bug#15580).
5429 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5431 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5432 to commands that scroll the menu.
5434 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5436 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5437 Handle methods ending with `?' and `!'.
5439 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5441 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5442 `japanese-cp932' to `cp932' to fix the problem where saving a
5443 source file written in Shift_JIS twice would end up having
5444 `coding: japanese-cp932' which Ruby could not recognize.
5445 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5446 in `ruby-encoding-map'.
5447 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5448 doesn't need to be explicitly declared in magic comment.
5449 (ruby-encoding-map): Add type declaration for better customize UI.
5451 2013-10-13 Glenn Morris <rgm@gnu.org>
5453 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5454 Occur buffers are read-only. http://bugs.debian.org/720775
5456 * emacs-lisp/authors.el (authors-fixed-entries):
5457 Comment out old alpha stuff.
5459 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5461 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5462 to `after-save-hook' instead of `before-save-hook'.
5463 (ruby-mode-set-encoding): Use the value of coding system used to
5464 write the file. Call `basic-save-buffer-1' after modifying the
5467 2013-10-13 Alan Mackenzie <acm@muc.de>
5469 Fix indentation/fontification of Java enum with
5470 "implements"/generic.
5472 * progmodes/cc-engine.el (c-backward-over-enum-header):
5473 Extracted from the three other places and enhanced to handle generics.
5474 (c-inside-bracelist-p): Uses new function above.
5475 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5477 (c-font-lock-enum-tail): Uses new function above.
5479 2013-10-13 Kenichi Handa <handa@gnu.org>
5481 * international/mule-cmds.el (select-safe-coding-system): Remove a
5482 superfluous condition in chekcing whether a coding system is safe
5485 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5487 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5489 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5491 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5493 2013-10-13 Glenn Morris <rgm@gnu.org>
5495 * menu-bar.el (menu-bar-update-buffers):
5496 Unify Buffers menu prompt string. (Bug#15576)
5498 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5500 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5502 (authors-fixed-entries): Use accented form of name.
5504 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5506 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5507 method calls (bug#15594).
5508 (ruby-smie--args-separator-p): New function.
5509 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5510 recognize paren-free method calls.
5512 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5513 internals of universal-argument.
5515 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5517 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5518 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5519 dropped menu on second mouse click on the menu bar.
5521 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5523 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5524 (explicit-shell-file-name): Declare.
5525 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5526 (sh-completion-at-point-function): New function.
5528 (sh-smie--keyword-p): Remove unused argument.
5529 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5531 (sh-set-shell): Always setup SMIE, even if we use the
5532 old indentation code.
5534 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5536 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5538 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5539 predicate would return nil are almost non-existent.
5540 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5542 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5543 cache also after commands that modify the buffer but don't move
5546 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * env.el (substitute-env-in-file-name): New function.
5549 (substitute-env-vars): Extend the meaning of the optional arg.
5551 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5553 * term/w32-win.el (dynamic-library-alist): Define separate lists
5554 of GIF DLLs for versions before and after 5.0.0 of giflib.
5557 2013-10-10 João Távora <joaotavora@gmail.com>
5559 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5560 not locked, use last revision and current source as
5561 defaults. (Bug#15569)
5563 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5565 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5568 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5570 * window.el (pop-to-buffer-same-window): Fix doc-string.
5573 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5577 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5579 * calendar/icalendar.el (icalendar-import-file):
5580 Fix interactive spec. (Bug#15482)
5582 2013-10-10 Glenn Morris <rgm@gnu.org>
5584 * desktop.el (desktop-save): Default to saving in .emacs.d,
5585 since PWD is no longer in desktop-path by default. (Bug#15319)
5587 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5588 now that text mode has a menu with the same entry.
5589 (menu-bar-text-mode-auto-fill): Remove now unused func.
5590 * textmodes/text-mode.el (text-mode-map):
5591 Use auto-fill help text from menu-bar.el.
5593 2013-10-10 John Anthony <john@jo.hnanthony.com>
5595 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5597 2013-10-09 Juri Linkov <juri@jurta.org>
5599 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5600 instead of this-command-keys. Add universal-argument-more and
5601 universal-argument-minus to the list of prefix commands. (Bug#15568)
5603 2013-10-09 Glenn Morris <rgm@gnu.org>
5605 * vc/vc-svn.el (vc-svn-create-repo):
5606 Expand paths in file://... url. (Bug#15446)
5608 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5610 (authors): Remove unused local variables.
5612 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5614 * profiler.el: Create a more coherent calltree from partial backtraces.
5615 (profiler-format): Hide the tail with `invisible' so that C-s can still
5616 find the hidden elements.
5617 (profiler-calltree-depth): Don't recurse so enthusiastically.
5618 (profiler-function-equal): New hash-table-test.
5619 (profiler-calltree-build-unified): New function.
5620 (profiler-calltree-build): Use it.
5621 (profiler-report-make-name-part): Indent the calltree less.
5622 (profiler-report-mode): Add visibility specs for profiler-format.
5623 (profiler-report-expand-entry, profiler-report-toggle-entry):
5624 Expand the whole subtree when provided with a prefix arg.
5626 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5628 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5630 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5631 hanging iuwu-mod token.
5632 (ruby-smie--forward-token): Do not include a dot after a token in
5634 (ruby-smie--backward-token): Likewise.
5636 2013-10-08 Juri Linkov <juri@jurta.org>
5638 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5639 to isearch-other-control-char.
5640 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5641 and isearch-post-command-hook to post-command-hook.
5642 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5643 and isearch-post-command-hook from post-command-hook.
5644 (isearch-unread-key-sequence)
5645 (isearch-reread-key-sequence-naturally)
5646 (isearch-lookup-scroll-key, isearch-other-control-char)
5647 (isearch-other-meta-char): Remove functions.
5648 (isearch-pre-command-hook, isearch-post-command-hook):
5649 New functions based on isearch-other-meta-char rewritten
5650 relying on the new behavior of overriding-terminal-local-map
5651 that does not replace the local keymaps any more. (Bug#15200)
5653 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5655 Support menus on text-mode terminals.
5656 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5659 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5661 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5662 Move here from mouse.el.
5663 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5665 (tty-menu-navigation-map): New map for TTY menu navigation.
5667 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5669 * frame.el (display-mouse-p): Report text-mode mouse as available
5671 (display-popup-menus-p): Report availability if mouse is
5672 available; don't condition on window-system.
5674 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5675 (tty-menu-selected-face): New faces.
5677 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5680 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5681 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5682 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5684 (lisp-mode-variables): New `elisp' argument.
5685 (emacs-lisp-mode): Use it.
5686 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5687 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5689 * indent.el: Use lexical-binding.
5690 (indent-region): Add progress reporter.
5691 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5693 (indent--next-tab-stop): New function to implement this behavior.
5694 (tab-to-tab-stop, move-to-tab-stop): Use it.
5696 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5698 * indent.el (indent-rigidly--current-indentation): New function.
5699 (indent-rigidly-map): New var.
5700 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5702 2013-10-08 Bastien Guerry <bzg@gnu.org>
5704 * register.el (insert-register): Fix 2013-10-07 change.
5706 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5708 * progmodes/perl-mode.el: Use lexical-binding.
5709 Remove redundant :group args.
5710 (perl-nochange): Change default to be closer to other major modes's
5712 (perl-indent-line): Don't consider text on current line as a
5713 valid beginning of function from which to indent.
5715 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5716 with more than one argument (bug#15538).
5718 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5720 * vc/pcvs.el: Use lexical-binding.
5721 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5722 environment of `eval'.
5723 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5724 than a list of expressions. Adjust callers.
5725 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5727 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5729 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5730 case of the dot in a chained method call being on the following line.
5732 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5734 * electric.el (electric-indent-inhibit): New var.
5735 (electric-indent-post-self-insert-function): Use it.
5736 * progmodes/python.el (python-mode): Set it.
5738 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5741 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5743 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5744 (css-mode): Use electric-indent-chars.
5746 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5747 (font-lock-beg, font-lock-end): Move before first use.
5748 (nxml-mode): Use syntax-propertize-function.
5749 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5750 (nxml-extend-after-change-region): Remove.
5751 * nxml/xmltok.el: Use lexical-binding.
5752 (xmltok-save): Use `declare'.
5753 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5754 * nxml/nxml-util.el: Use lexical-binding.
5755 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5757 * nxml/nxml-ns.el: Use lexical-binding.
5758 (nxml-ns-save): Use `declare'.
5759 (nxml-ns-prefixes-for): Avoid add-to-list.
5760 * nxml/rng-match.el: Use lexical-binding.
5761 (rng--ipattern): Use cl-defstruct.
5762 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5763 (rng-cons-group-after, rng-subst-group-after)
5764 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5765 Use closures instead of `(lambda...).
5767 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5769 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5772 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5773 Use `tramp-handle-insert-file-contents'.
5774 (tramp-gvfs-handle-insert-file-contents): Remove function.
5776 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5777 Use `save-restriction' in order to keep markers.
5779 * net/trampver.el: Update release number.
5781 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5783 * progmodes/compile.el (compilation-parse-errors):
5784 Use compilation--put-prop.
5785 (compilation--ensure-parse): Check compilation-multiline.
5787 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5789 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5792 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5794 * progmodes/ruby-mode.el: Fix recently added tests.
5795 (ruby-smie-grammar): Add - and +.
5796 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5797 (ruby-smie--backward-id): New functions.
5798 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5799 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5802 2013-10-07 Leo Liu <sdl.web@gmail.com>
5804 * register.el (register-preview-delay)
5805 (register-preview-functions): New variables.
5806 (register-read-with-preview, register-preview)
5807 (register-describe-oneline): New functions.
5808 (point-to-register, window-configuration-to-register)
5809 (frame-configuration-to-register, jump-to-register)
5810 (number-to-register, view-register, insert-register)
5811 (copy-to-register, append-to-register, prepend-to-register)
5812 (copy-rectangle-to-register): Use register-read-with-preview to
5813 read register. (Bug#15525)
5815 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5817 * net/network-stream.el (network-stream-open-starttls): Don't add
5818 --insecure if it's already present, because that gnutls-cli
5819 rejects getting that parameter twice.
5821 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5823 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5826 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5828 * newcomment.el (comment-use-global-state): Change default value
5829 to t, mark obsolete (Bug#15251).
5830 (comment-beginning): In addition to `comment-to-syntax', check the
5831 value of `comment-use-global-state'.
5833 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5835 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5836 (ruby-comment-column): Follow the global default, by default.
5837 (ruby-smie-grammar): Add assignment syntax.
5838 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5839 open-paren, a comma, or a \.
5840 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5841 and line continuations.
5842 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5843 followed by implicit semi-colons. Add rule for string concatenation
5844 and for indentation at BOB.
5845 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5847 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5848 calling next-sexp, since next-token may have skipped chars which
5849 next-sexp doesn't know should be skipped!
5851 2013-10-05 Leo Liu <sdl.web@gmail.com>
5853 * progmodes/octave.el (octave-send-region):
5854 Call compilation-forget-errors.
5856 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5858 * vc/vc-svn.el (vc-svn-find-admin-dir):
5859 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5860 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5861 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5862 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5864 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5866 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5868 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * subr.el (read-passwd): Hide chars even when called within a context
5871 where after-change-functions is disabled (bug#15501).
5872 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5873 until we removed ourself from overriding-terminal-local-map.
5875 2013-10-04 Leo Liu <sdl.web@gmail.com>
5877 * progmodes/octave.el (inferior-octave-mode):
5878 Call compilation-forget-errors.
5880 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5882 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5884 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5886 * net/secrets.el (secrets-create-collection): Add optional
5887 argument ALIAS. Use proper Label keyword. Append ALIAS as
5888 dbus-call-method argument. (Bug#15516)
5890 2013-10-04 Leo Liu <sdl.web@gmail.com>
5892 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5893 (inferior-octave-compilation-font-lock-keywords): New variables.
5894 (compilation-error-regexp-alist)
5895 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5896 (inferior-octave-mode): Use compilation-shell-minor-mode.
5898 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5900 * minibuffer.el (completion--replace): Be careful that `end' might be
5903 2013-10-03 Daiki Ueno <ueno@gnu.org>
5905 Add support for package signature checking.
5906 * emacs-lisp/package.el (url-http-file-exists-p)
5907 (epg-make-context, epg-context-set-home-directory)
5908 (epg-verify-string, epg-context-result-for)
5909 (epg-signature-status, epg-signature-to-string)
5910 (epg-check-configuration, epg-configuration)
5911 (epg-import-keys-from-file): Declare.
5912 (package-check-signature): New user option.
5913 (package-unsigned-archives): New user option.
5914 (package-desc): Add `signed' field.
5915 (package-load-descriptor): Set `signed' field if .signed file exists.
5916 (package--archive-file-exists-p): New function.
5917 (package--check-signature): New function.
5918 (package-install-from-archive): Check package signature.
5919 (package--download-one-archive): Check archive signature.
5920 (package-delete): Remove .signed file.
5921 (package-import-keyring): New command.
5922 (package-refresh-contents): Import default keyring.
5923 (package-desc-status): Add "unsigned" status.
5924 (describe-package-1, package-menu--print-info)
5925 (package-menu-mark-delete, package-menu--find-upgrades)
5926 (package-menu--status-predicate): Support "unsigned" status.
5928 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5930 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5931 the new compilation scheme using the new byte-codes.
5933 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5934 (byte-pophandler): New byte codes.
5935 (byte-goto-ops): Adjust accordingly.
5936 (byte-compile--use-old-handlers): New var.
5937 (byte-compile-catch): Use new byte codes depending on
5938 byte-compile--use-old-handlers.
5939 (byte-compile-condition-case--old): Rename from
5940 byte-compile-condition-case.
5941 (byte-compile-condition-case--new): New function.
5942 (byte-compile-condition-case): New function that dispatches depending
5943 on byte-compile--use-old-handlers.
5944 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5947 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5948 Optimize under `condition-case' and `catch' if
5949 byte-compile--use-old-handlers is nil.
5950 (disassemble-offset): Handle new bytecodes.
5952 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5954 * subr.el (error): Use `declare'.
5955 (decode-char, encode-char): Use advertised-calling-convention instead
5956 of the docstring to discourage use of the `restriction' arg.
5958 2013-10-03 Daiki Ueno <ueno@gnu.org>
5960 * epg.el (epg-verify-file): Add a comment saying that it does not
5961 notify verification error as a return value nor a signal.
5962 (epg-verify-string): Ditto.
5964 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5966 * progmodes/compile.el (compilation-start): Try globbing the arg to
5969 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5971 Sync with Tramp 2.2.8.
5973 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5974 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5975 * net/trampver.el: Update release number.
5977 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5979 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5980 and default-process-coding-system for darwin only.
5982 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5986 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5988 * vc/vc-git.el (vc-git-grep): Disable pager.
5990 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5992 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5993 Use :url instead of :homepage, as per
5994 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5996 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5997 non-nil, use `syntax-ppss' (Bug#15251).
5999 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6001 * progmodes/octave.el (inferior-octave-startup-file):
6002 Prefer ~/.emacs.d/init_octave.m.
6004 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
6006 * emacs-lisp/package.el (package-desc-from-define):
6007 Accept additional arguments as plist, convert them to an alist and store
6008 them in the `extras' slot.
6009 (package-generate-description-file): Convert extras alist back to
6010 plist and append to the `define-package' form arguments.
6011 (package--alist-to-plist): New function.
6012 (package--ac-desc): Add `extras' slot.
6013 (package--add-to-archive-contents): Check if the archive-contents
6014 vector is long enough, and if it is, pass its `extras' slot value
6015 to `package-desc-create'.
6016 (package-buffer-info): Call `lm-homepage', pass the returned value
6017 to `package-desc-from-define'.
6018 (describe-package-1): Render the homepage button (Bug#13291).
6020 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6021 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
6023 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
6025 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
6026 and default-process-coding-system to utf-8-unix (Bug#15402).
6028 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
6030 * subr.el (looking-back): Do not recommend using looking-back.
6032 2013-09-28 Alan Mackenzie <acm@muc.de>
6034 Fix indentation/fontification of Java enum with "implements".
6036 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
6037 regexp which matches "implements", etc., in Java.
6038 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
6039 specifier clauses coming after "enum".
6040 * progmodes/cc-fonts.el (c-font-lock-declarations)
6041 (c-font-lock-enum-tail): Check for extra specifier clauses coming
6044 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
6046 * faces.el (region): Change ns_selection_color to
6047 ns_selection_fg_color, add ns_selection_bg_color.
6049 2013-09-28 Leo Liu <sdl.web@gmail.com>
6051 * progmodes/octave.el (inferior-octave-completion-table)
6052 (inferior-octave-completion-at-point): Minor tweaks.
6054 * textmodes/ispell.el (ispell-lookup-words): Rename from
6055 lookup-words. (Bug#15460)
6056 (lookup-words): Obsolete.
6057 (ispell-complete-word, ispell-command-loop): All uses changed.
6059 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6061 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
6062 (octave-mode-menu): Add octave-send-buffer.
6063 (octave-send-buffer): New function.
6065 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6067 * progmodes/octave.el (octave-mode-map): Add key binding for
6069 (octave-mode-menu): Add octave-lookfor.
6070 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6072 (octave-lookfor): New function.
6074 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6076 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6077 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6079 (cl--loop-set-iterator-function): New function.
6080 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6081 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6082 Bind `it' with `let' instead of substituting it with `cl-subst'.
6083 (cl--unused-var-p): New function.
6084 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6085 Eliminate some unused variable warnings (bug#15326).
6087 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6089 * doc-view.el (doc-view-scale-reset): Rename from
6090 `doc-view-reset-zoom-level'.
6091 (doc-view-scale-adjust): New command.
6092 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6093 `doc-view-scale-adjust'.
6095 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6097 * doc-view.el (doc-view-reset-zoom-level): New command.
6098 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6099 zoom commands (bug#15466).
6101 2013-09-26 Kenichi Handa <handa@gnu.org>
6103 * international/quail.el (quail-help): Make it not a command.
6105 2013-09-26 Leo Liu <sdl.web@gmail.com>
6107 * minibuffer.el (completion-all-sorted-completions): Make args
6108 optional as they are.
6110 2013-09-25 Daniel Colascione <dancol@dancol.org>
6112 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6113 specs are and that they're not evaluated.
6115 2013-09-24 Sam Steingold <sds@gnu.org>
6117 * midnight.el (clean-buffer-list-kill-regexps)
6118 (clean-buffer-list-kill-buffer-names): Update for the new Man
6119 buffer naming which includes the object name.
6121 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6124 (eshell-parse-command, eshell-parse-pipeline): Use it since
6125 eshell-separate-commands requires a dynamic scoped var.
6126 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6128 2013-09-23 Leo Liu <sdl.web@gmail.com>
6130 * autoinsert.el (auto-insert-alist): Make the value of
6131 lexical-binding match its file setting.
6133 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6135 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6137 * autoarg.el (autoarg-kp-digit-argument):
6138 * electric.el (Electric-command-loop):
6139 * kmacro.el (kmacro-step-edit-insert):
6140 Do not set universal-argument-num-events.
6142 2013-09-22 Leo Liu <sdl.web@gmail.com>
6144 * files.el (interpreter-mode-alist): Add octave.
6146 2013-09-21 Alan Mackenzie <acm@muc.de>
6148 C++: fontify identifier in declaration following "public:" correctly.
6149 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6150 to match "public", etc.
6151 (c-decl-prefix-re): Add ":" into the C++ value.
6152 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6153 bit. Add a check for a ":" preceded by "public", etc.
6155 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6157 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6158 recognized by GDB 7.5 and later.
6160 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6162 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6164 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6166 * subr.el (internal--call-interactively): New const.
6167 (called-interactively-p): Use it (bug#3984).
6169 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6171 * vc/pcvs.el (cvs-mode-ignore):
6172 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6173 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6175 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6177 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6178 (eshell-ls-orig-insert-directory): Remove.
6179 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6180 (eshell-ls-use-in-dired): Use advice-add/remove.
6181 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6182 Add `orig-fun' arg for use in :around advice.
6183 Make it check (redundantly) eshell-ls-use-in-dired.
6185 2013-09-19 Glenn Morris <rgm@gnu.org>
6187 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6189 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6191 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6193 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6195 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6196 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6197 (tramp-get-remote-python): New defuns.
6198 (tramp-get-remote-uid-with-perl)
6199 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6200 contributed by yary <not.com@gmail.com> (tiny change).
6201 (tramp-get-remote-uid-with-python)
6202 (tramp-get-remote-gid-with-python): New defuns. Python code
6203 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6204 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6206 2013-09-19 Glenn Morris <rgm@gnu.org>
6208 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6210 * eshell/em-unix.el (eshell-remove-entries):
6211 Rename argument to avoid name-clash with global `top-level'.
6213 * eshell/esh-proc.el (eshell-kill-process-function):
6214 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6215 (eshell-reset-after-proc): Remove unused arg `proc'.
6217 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6218 (directory-files-and-attributes): Mark unused arg.
6220 * eshell/em-unix.el (eshell-remove-entries):
6221 Remove unused arg `path'. Update callers.
6223 * eshell/em-hist.el (eshell-hist-parse-arguments):
6224 Remove unused arg `silent'. Update callers.
6226 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6227 Fix (f)boundp mix-up.
6229 * eshell/em-smart.el (eshell-smart-scroll-window)
6230 (eshell-disable-after-change):
6231 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6233 2013-09-18 Alan Mackenzie <acm@muc.de>
6235 Fix fontification of type when followed by "const".
6236 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6237 "known" types from fontification.
6239 2013-09-18 Glenn Morris <rgm@gnu.org>
6241 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6242 (chart-face-list): Drop Emacsen without display-color-p.
6244 * net/eww.el (libxml-parse-html-region): Declare.
6245 (eww-display-html): Explicit error if no libxml2 support.
6247 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6249 * image.el (image-type-from-buffer, image-multi-frame-p):
6250 Remove --without-x warning/error.
6252 * mouse.el (mouse-yank-primary):
6253 * term.el (term-mouse-paste):
6254 Reorder to silence --without-x compilation.
6256 * mpc.el (doc-view-mode): Silence --without-x compilation.
6258 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6259 Silence --without-x compilation.
6261 * progmodes/gud.el (gud-find-file, gud-mode):
6262 Silence --without-x compilation.
6263 (tooltip-mode): Declare.
6265 * wdired.el (dired-backup-overwrite): Remove declaration.
6266 (wdired-mode-map): Add doc string.
6268 * custom.el (x-get-resource): Declare.
6270 * eshell/em-glob.el (ange-cache):
6271 * eshell/em-unix.el (ange-cache): Declare.
6273 * faces.el (x-display-list, x-open-connection, x-get-resource):
6276 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6277 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6280 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6282 * net/gnutls.el (gnutls-log-level): Declare.
6284 * net/shr.el (image-size, image-animate): Declare.
6286 * simple.el (font-info): Declare.
6288 * subr.el (x-popup-dialog): Declare.
6290 * term/common-win.el (x-select-enable-primary)
6291 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6294 * term/ns-win.el (x-handle-args): Declare.
6296 * term/x-win.el (x-select-enable-clipboard): Declare.
6298 * term/w32-win.el (create-default-fontset): Declare.
6300 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6303 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6304 (fit-frame-to-buffer): Explicit error if --without-x.
6305 (mouse-autoselect-window-select): Silence compiler.
6307 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6309 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6310 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6311 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6312 * eshell/esh-util.el (eshell-sublist):
6313 Remove unused local variables.
6315 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6317 * textmodes/two-column.el: Make 2C-split work for --without-x.
6318 (scroll-bar-columns): Autoload.
6319 (top-level): Require fringe when compiling.
6321 2013-09-18 Leo Liu <sdl.web@gmail.com>
6323 * subr.el (add-hook): Robustify to handle closure as well.
6325 2013-09-17 Glenn Morris <rgm@gnu.org>
6327 * simple.el (messages-buffer-mode-map): Unbind "g".
6329 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6331 * help-mode.el (help-mode-finish): Use derived-mode-p.
6332 Remove obsolete highlighting.
6334 * play/life.el (life-mode): Use define-derived-mode. Derive from
6336 (life): Let-bind inhibit-read-only.
6337 (life-setup): Avoid `setq'. Use `life-mode'.
6339 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6340 which should not be needed any more.
6341 (package-menu-refresh, package-menu-describe-package): Use user-error.
6343 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6344 (eshell-post-rewrite-command-hook): Make obsolete.
6345 (eshell-parse-command): Simplify.
6346 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6347 (eshell--cmd): Declare.
6348 (eshell-parse-pipeline): Remove unused var `final-p'.
6349 Pass a dynvar to eshell-post-rewrite-command-hook.
6350 Implement the new eshell-post-rewrite-command-function.
6351 (eshell-invoke-directly): Remove unused arg `input'.
6352 * eshell/esh-io.el (eshell-io-initialize):
6353 Use eshell-post-rewrite-command-function (bug#15399).
6354 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6355 adjust to new calling convention.
6356 (eshell-create-handles): Rename args to avoid clashing with dynvar
6359 2013-09-17 Glenn Morris <rgm@gnu.org>
6361 * simple.el (messages-buffer-mode): New major mode.
6362 (messages-buffer): New function.
6363 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6364 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6365 (ert-run-test): Use `messages-buffer' function.
6366 (ert--force-message-log-buffer-truncation): Ignore read-only.
6367 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6368 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6370 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6372 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6374 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6376 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * icomplete.el (icomplete-in-buffer): New var.
6379 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6380 vars and replace them with functions.
6381 (icomplete-minibuffer-setup): Adjust accordingly.
6382 (icomplete--completion-table, icomplete--completion-predicate)
6383 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6385 (icomplete-forward-completions, icomplete-backward-completions)
6386 (icomplete-simple-completing-p, icomplete-exhibit)
6387 (icomplete-completions): Use them.
6388 (icomplete--in-region-buffer): New var.
6389 (icomplete--in-region-setup): New function.
6390 (icomplete-mode): Use it.
6392 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6394 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6395 return args and options.
6396 (eshell-eval-using-options): Use the new return value of
6397 eshell--do-opts to set the options's vars in their scope.
6398 (eshell--set-option): Rename from eshell-set-option.
6400 (eshell--process-option): Rename from eshell-process-option.
6402 (eshell--process-args): Use an `opt-vals' alist to store the options's
6403 values during their processing and return them additionally to the
6406 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6408 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6409 continuation character an operator, as far as indentation is
6410 concerned (Bug#15369).
6412 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6414 * window.el (window--state-put-2): Don't process buffer state
6415 when buffer doesn't exist any more (Bug#15382).
6417 2013-09-15 Glenn Morris <rgm@gnu.org>
6419 * eshell/em-unix.el (eshell/rm):
6420 Make -f ignore missing files. (Bug#15373)
6422 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6423 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6424 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6426 2013-09-14 Glenn Morris <rgm@gnu.org>
6428 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6430 2013-09-13 Glenn Morris <rgm@gnu.org>
6432 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6433 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6435 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6437 * frame.el (x-focus-frame): Mark as declared in frame.c.
6439 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6441 * ls-lisp.el: Use advice-add.
6442 (original-insert-directory): Remove.
6443 (ls-lisp--insert-directory): Rename from insert-directory; add
6444 `orig-fun' argument.
6445 (insert-directory): Advise.
6447 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6449 * term.el (term-emulate-terminal): Decode the command string
6450 before passing it to term-command-hook. (Bug#15337)
6452 2013-09-13 Glenn Morris <rgm@gnu.org>
6454 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6456 * eshell/esh-ext.el (eshell-search-path): Declare.
6458 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6459 Otherwise an error occurs if eshell-dirs module not loaded.
6461 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6463 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6465 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6466 `tramp-check-proper-host'. Check for a valid method name.
6468 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6469 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6470 * net/tramp-sh.el (tramp-maybe-open-connection):
6471 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6473 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6474 also for hash values.
6476 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * term/ns-win.el (parameters): Don't declare as dynamic.
6479 (before-make-frame-hook): Don't add ineffective function.
6481 * eshell/*.el: Use lexical-binding (bug#15231).
6483 2013-09-12 Kenichi Handa <handa@gnu.org>
6485 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6487 2013-09-12 Glenn Morris <rgm@gnu.org>
6489 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6490 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6492 * subr.el (do-after-load-evaluation): Also give compiler warnings
6493 when obsolete files are used (except by obsolete files).
6495 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6496 in the status output, assume `filename' is the first. (Bug#15322)
6498 * vc/vc.el (vc-deduce-fileset): Doc fix.
6500 * calc/calc-help.el (Info-goto-node):
6501 * progmodes/cperl-mode.el (Info-find-node):
6502 * vc/ediff.el (Info-goto-node): Update declarations.
6504 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6506 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6507 (vc-bzr-pull): Require vc-dispatcher.
6508 * vc/vc-git.el (vc-compilation-mode): Declare.
6509 (vc-git-pull): Require vc-dispatcher.
6511 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6513 * progmodes/octave.el (help-button-action): Declare.
6515 * shell.el (shell-directory-tracker): Output error as a message
6516 rather than just returning it as a string.
6517 (shell-process-pushd): Remove useless use of message.
6519 * dframe.el (dframe-timer-fn):
6520 * files.el (dir-locals-read-from-file):
6521 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6523 * reveal.el (reveal-post-command):
6524 * saveplace.el (load-save-place-alist-from-file):
6525 * shell.el (shell-resync-dirs):
6526 * w32-common-fns.el (x-get-selection-value):
6527 * emacs-lisp/copyright.el (copyright-find-copyright):
6528 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6529 * emulation/tpu-edt.el (tpu-copy-keyfile):
6530 * play/bubbles.el (bubbles--mark-neighbourhood):
6531 * progmodes/executable.el
6532 (executable-make-buffer-file-executable-if-script-p):
6533 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6535 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6537 Cleanup Eshell to rely less on dynamic scoping.
6538 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6539 last-value, and ext-command here. Bind `args' closer to `body'.
6540 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6541 (eshell--args): Declare new dynamic var.
6542 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6543 last-value, and ext-command. Pass `args' to `body'.
6544 (eshell-process-args): Bind eshell--args.
6545 (eshell-set-option): Use eshell--args.
6546 * eshell/eshell.el (eshell): Use derived-mode-p.
6547 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6548 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6549 (eshell-glob-function): Declare.
6550 * eshell/esh-util.el: Require cl-lib.
6551 (eshell-read-hosts-file): Avoid add-to-list.
6552 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6554 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6556 (eshell/diff): Remove unused var `err'.
6557 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6559 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6560 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6562 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6563 Move declaration before first use.
6564 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6565 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6568 2013-09-12 Glenn Morris <rgm@gnu.org>
6570 * term/ns-win.el (global-map): Remove binding for ispell-next,
6571 deleted 1999-05-29. (Bug#15357)
6573 2013-09-11 Glenn Morris <rgm@gnu.org>
6575 * echistory.el (electric-command-history): Remove call to deleted func.
6577 * play/landmark.el (landmark-mode): Fix typos.
6579 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6580 Check cvs-sort-ignore-file is bound.
6582 * savehist.el: No need for cl when compiling on Emacs.
6584 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6588 (eshell-self-insert-command, eshell-send-invisible):
6589 Remove unused argument.
6590 (eshell-handle-control-codes): Remove unused var `orig'.
6591 Avoid delete-backward-char.
6593 * files.el (set-auto-mode): Simplify a bit further.
6595 2013-09-11 Glenn Morris <rgm@gnu.org>
6597 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6598 (set-auto-mode): Don't regexp-quote elements.
6599 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6600 * progmodes/cc-mode.el (interpreter-mode-alist):
6601 * progmodes/ruby-mode.el (interpreter-mode-alist):
6602 Revert previous change.
6604 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6606 * play/snake.el (snake-mode):
6607 * play/mpuz.el (mpuz-mode):
6608 * play/landmark.el (lm-mode):
6609 * play/blackbox.el (blackbox-mode):
6610 * play/5x5.el (5x5-mode):
6611 * obsolete/options.el (Edit-options-mode):
6612 * net/quickurl.el (quickurl-list-mode):
6613 * net/newst-treeview.el (newsticker-treeview-mode):
6614 * mail/rmailsum.el (rmail-summary-mode):
6615 * mail/mspools.el (mspools-mode):
6616 * locate.el (locate-mode):
6617 * ibuffer.el (ibuffer-mode):
6618 * emulation/ws-mode.el (wordstar-mode):
6619 * emacs-lisp/debug.el (debugger-mode):
6620 * array.el (array-mode):
6621 * net/eudc.el (eudc-mode): Use define-derived-mode.
6622 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6623 Move initialization into declaration.
6624 (mairix-searches-mode): Use define-derived-mode.
6625 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6626 (eudc-edit-hotlist): Use dolist.
6627 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6628 (Man-mode): Use define-derived-mode.
6629 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6630 (Info-edit-mode): Use define-derived-mode.
6631 (Info-cease-edit): Use Info-mode.
6632 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6634 (eshell-mode): Use define-derived-mode.
6635 * chistory.el (command-history-mode-map): Rename from
6636 command-history-map.
6637 (command-history-mode): Use define-derived-mode.
6638 (Command-history-setup): Remove function.
6639 * calc/calc.el (calc-trail-mode-map): New var.
6640 (calc-trail-mode): Use define-derived-mode.
6641 (calc-trail-buffer): Set calc-main-buffer manually.
6642 * bookmark.el (bookmark-insert-annotation): New function.
6643 (bookmark-edit-annotation): Use it.
6644 (bookmark-edit-annotation-mode): Make it a proper major mode.
6645 (bookmark-send-edited-annotation): Use derived-mode-p.
6646 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6647 closer to its ideal place. Use \' to match EOS.
6649 * profiler.el (profiler-calltree-find): Use function-equal.
6651 2013-09-10 Glenn Morris <rgm@gnu.org>
6653 * files.el (interpreter-mode-alist): Convert to regexps.
6654 (set-auto-mode): Adapt for this. (Bug#15306)
6655 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6656 Comment out unused variable.
6657 * progmodes/cc-mode.el (interpreter-mode-alist):
6658 * progmodes/python.el (interpreter-mode-alist):
6659 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6660 * progmodes/sh-script.el (sh-set-shell):
6661 No longer use interpreter-mode-alist to get list of shells.
6663 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6665 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * simple.el: Use set-temporary-overlay-map for universal-argument.
6668 (universal-argument-map): Don't use default-bindings (bug#15317).
6669 Bind switch-frame explicitly. Replace universal-argument-minus with
6670 a conditional binding.
6671 (universal-argument-num-events, saved-overriding-map): Remove.
6672 (restore-overriding-map): Remove.
6673 (universal-argument--mode): Rename from save&set-overriding-map,
6675 (universal-argument, universal-argument-more, negative-argument)
6676 (digit-argument): Adjust accordingly.
6677 (universal-argument-minus): Remove.
6678 (universal-argument-other-key): Remove.
6680 * subr.el (with-demoted-errors): Add `format' argument.
6682 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6684 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6685 `tramp-cleanup-connection'.
6687 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6688 parameters KEEP-DEBUG and KEEP-PASSWORD.
6690 * net/tramp.el (tramp-file-name-handler):
6691 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6692 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6693 (tramp-maybe-open-connection):
6694 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6695 Use `tramp-cleanup-connection'.
6697 * net/tramp-sh.el (tramp-maybe-open-connection):
6698 Catch 'uname-changed inside the progress reporter.
6700 2013-09-10 Glenn Morris <rgm@gnu.org>
6702 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6704 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6705 returns "alternate access method" in mode (eg "-rw-r--r--.").
6707 2013-09-08 Glenn Morris <rgm@gnu.org>
6709 * saveplace.el (load-save-place-alist-from-file):
6710 Demote errors. (Bug#15305)
6712 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6714 Improve compatibility with older Emacsen, and XEmacs.
6716 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6717 only if it is bound. It isn't for XEmacs.
6718 (with-tramp-progress-reporter): Do not let-bind `result'.
6719 This yields to scoping errors in XEmacs.
6720 (tramp-handle-make-auto-save-file-name): New function, moved from
6723 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6724 for `make-auto-save-file-name'.
6725 (tramp-adb--gnu-switches-to-ash):
6726 Use `tramp-compat-replace-regexp-in-string'.
6728 * net/tramp-cache.el (tramp-cache-print): Call
6729 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6731 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6732 bound. It isn't for XEmacs.
6734 * net/tramp-compat.el (tramp-compat-copy-file):
6735 Catch `wrong-number-of-arguments' error.
6736 (tramp-compat-replace-regexp-in-string): New defun.
6738 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6739 for `make-auto-save-file-name'.
6740 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6742 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6743 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6744 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6746 * net/tramp-gw.el (tramp-gw-open-network-stream):
6747 Use `tramp-compat-replace-regexp-in-string'.
6749 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6750 Call `tramp-handle-make-auto-save-file-name'.
6751 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6752 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6753 (tramp-sh-file-inotifywait-process-filter):
6754 Use `tramp-compat-replace-regexp-in-string'.
6755 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6757 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6758 for `make-auto-save-file-name'.
6759 (tramp-smb-handle-copy-directory):
6760 Call `tramp-compat-replace-regexp-in-string'.
6761 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6762 (tramp-smb-handle-copy-file): Improve error message.
6763 (tramp-smb-handle-rename-file): Rename directly only in case
6764 `newname' does not exist yet. This is a restriction of smbclient.
6765 (tramp-smb-maybe-open-connection): Rerun the function only when
6766 `auth-sources' is non-nil.
6768 2013-09-08 Kenichi Handa <handa@gnu.org>
6770 * international/characters.el: Set category "^" (Combining) for
6773 2013-09-07 Alan Mackenzie <acm@muc.de>
6775 Correctly fontify Java class constructors.
6776 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6778 (c-recognize-typeless-decls): Set the Java value to t.
6779 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6780 While handling a "(", add a check for, effectively, Java, and handle a
6781 "typeless" declaration there.
6783 2013-09-07 Roland Winkler <winkler@gnu.org>
6785 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6786 field subtitle for entry type book.
6788 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * minibuffer.el: Make minibuffer-complete call completion-in-region
6791 rather than other way around.
6792 (completion--some, completion-pcm--find-all-completions):
6793 Don't delay signals when debugging.
6794 (minibuffer-completion-contents): Beware fields within the
6795 minibuffer contents.
6796 (completion-all-sorted-completions): Use defvar-local.
6797 (completion--do-completion, completion--cache-all-sorted-completions)
6798 (completion-all-sorted-completions, minibuffer-force-complete):
6799 Add args `beg' and `end'.
6800 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6801 (minibuffer-complete): Use completion-in-region.
6802 (completion-complete-and-exit): New fun, extracted from
6803 minibuffer-complete-and-exit.
6804 (minibuffer-complete-and-exit): Use it.
6805 (completion--complete-and-exit): Rename from
6806 minibuffer--complete-and-exit.
6807 (completion-in-region--single-word): New function, extracted from
6808 minibuffer-complete-word.
6809 (minibuffer-complete-word): Use it.
6810 (display-completion-list): Make `common-substring' argument obsolete.
6811 (completion--in-region): Call completion--in-region-1 instead of
6812 minibuffer-complete.
6813 (completion-help-at-point): Pass boundaries to
6814 minibuffer-completion-help as args rather than via an overlay.
6815 (completion-pcm--string->pattern): Use `any-delim'.
6816 (completion-pcm--optimize-pattern): New function.
6817 (completion-pcm--pattern->regex): Handle `any-delim'.
6818 * icomplete.el (icomplete-forward-completions)
6819 (icomplete-backward-completions, icomplete-completions):
6820 Adjust calls to completion-all-sorted-completions and
6821 completion--cache-all-sorted-completions.
6822 (icomplete-with-completion-tables): Default to t.
6823 * emacs-lisp/crm.el (crm--current-element): Rename from
6824 crm--select-current-element. Don't put an overlay but return the
6826 (crm--completion-command): Take two new args to bind to the boundaries.
6827 (crm-completion-help): Adjust accordingly.
6828 (crm-complete): Use completion-in-region.
6829 (crm-complete-word): Use completion-in-region--single-word.
6830 (crm-complete-and-exit): Use completion-complete-and-exit.
6832 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6837 2013-09-06 Juri Linkov <juri@jurta.org>
6839 * info.el (Info-display-images-node): When image file doesn't exist
6840 display text version of the image if it's provided in the Info file.
6841 Otherwise, display the location of missing image from SRC attribute.
6842 Add help-echo text property from ALT attribute. (Bug#15279)
6844 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6846 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6847 (edit-abbrevs-mode): Use define-derived-mode.
6849 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6850 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6852 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6853 Use define-derived-mode.
6855 * epg.el (epg-start-encrypt): Minor CSE simplification.
6857 2013-09-06 William Xu <william.xwl@gmail.com>
6859 * arc-mode.el: Add support for 7za (bug#15264).
6860 (archive-7z-program): New var.
6861 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6862 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6863 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6865 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6869 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6870 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6871 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6872 (tramp-postfix-host-format, tramp-file-name-regexp)
6873 (tramp-completion-file-name-regexp)
6874 (tramp-completion-dissect-file-name)
6875 (tramp-handle-substitute-in-file-name): Remove 'url case.
6876 (tramp-file-name-regexp-url)
6877 (tramp-completion-file-name-regexp-url): Remove constants.
6879 2013-09-06 Glenn Morris <rgm@gnu.org>
6881 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6883 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6886 keywords" below "here-doc beginnings" (Bug#15270).
6888 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * subr.el (pop): Use `car-safe'.
6891 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6892 to detect unused `pop' return value.
6894 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6896 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6897 (python-fill-string): Remove unused var `marker'.
6898 (python-skeleton-add-menu-items): Remove unused var `items'.
6900 * international/mule-cmds.el: Require CL.
6901 (find-coding-systems-for-charsets): Avoid add-to-list.
6902 (sanitize-coding-system-list): New function, extracted from
6903 select-safe-coding-system-interactively.
6904 (select-safe-coding-system-interactively): Use it.
6905 (read-input-method-name): Accept symbols for `default'.
6907 * emacs-lisp/advice.el (defadvice): Add indent rule.
6909 2013-09-05 Daniel Hackney <dan@haxney.org>
6913 * net/browse-url.el:
6916 * net/eudcb-ldap.el:
6929 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6930 byte compiler. Remove some unused let-bound variables.
6932 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6934 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6935 a "ref-cell", since it gets better optimized (bug#14883).
6937 2013-09-05 Glenn Morris <rgm@gnu.org>
6939 * progmodes/cc-awk.el (c-forward-sws): Declare.
6941 2013-09-04 Glenn Morris <rgm@gnu.org>
6943 * generic-x.el [rul-generic-mode]: Require cc-mode.
6944 (c++-mode-syntax-table): Declare.
6945 (rul-generic-mode-syntax-table): Init in the defvar.
6947 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6949 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6950 (vc-do-command, vc-set-async-update):
6951 * vc/vc-mtn.el (vc-mtn-dir-status):
6952 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6953 (vc-hg-pull, vc-hg-merge-branch):
6954 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6955 (vc-git-merge-branch):
6956 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6957 (vc-cvs-dir-status-files):
6958 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6959 (vc-bzr-dir-status-files):
6960 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6961 * vc/vc-annotate.el: Use lexical-binding.
6962 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6963 (vc-sentinel-movepoint): Declare.
6964 (vc-annotate): Don't use `goto-line'.
6965 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6966 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6967 (vc-sentinel-movepoint): Declare.
6968 * vc/vc-svn.el: Use lexical-binding.
6969 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6971 * vc/vc-rcs.el: Use lexical-binding.
6973 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6974 `deleted'. Don't drop errors silently.
6976 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6978 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6980 * vc/vc.el (vc-ignore): Rewrite.
6981 (vc-default-ignore): New function.
6982 (vc-default-ignore-completion-table): Use find-ignore-file.
6984 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6985 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6986 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6987 Remove. Most code moved to vc.el.
6989 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6991 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6992 * net/tramp-smb.el (tramp-smb-get-file-entries):
6993 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6994 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6996 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6998 (eww-change-select): Remove unused var `properties'.
6999 (eww-make-unique-file-name): Remove unused var `base'.
7001 * finder.el (finder-compile-keywords): Don't mess with windows.
7003 * calculator.el (calculator-funcall): Fix typo in last change.
7005 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
7007 * emacs-lisp/package.el (package-activate-1): Don't let a missing
7008 <pkg>-autoloads.el file stop us.
7010 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
7011 warnings, and factor out common code.
7013 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
7015 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
7016 two-character operators and whether the character preceding them
7017 changes their meaning (Bug#15208).
7019 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7021 Format code sent to Python shell for robustness.
7022 * progmodes/python.el (python-shell-buffer-substring):
7024 (python-shell-send-region, python-shell-send-buffer): Use it.
7026 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
7028 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
7029 * net/tramp.el (tramp-user-error): ... here.
7030 (tramp-find-method, tramp-check-proper-host)
7031 (tramp-dissect-file-name, tramp-debug-message)
7032 (tramp-handle-shell-command):
7033 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7034 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
7036 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
7038 2013-09-02 Martin Rudalics <rudalics@gmx.at>
7040 * avoid.el (mouse-avoidance-point-position)
7041 (mouse-avoidance-too-close-p): Handle case where posn-at-point
7044 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7046 * progmodes/python.el (python-shell-completion-get-completions):
7047 Drop use of deleted `comint-last-prompt-overlay'.
7048 (python-nav-if-name-main): New command.
7050 2013-09-01 Glenn Morris <rgm@gnu.org>
7052 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7053 Avoid leading space in $wins. Otherwise the sed command used by
7054 eg compile-main ends up containing "/*.el". (Bug#15170)
7056 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
7058 2013-08-30 Glenn Morris <rgm@gnu.org>
7060 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7061 Fix is-this-a-directory logic. (Bug#15220)
7063 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * textmodes/css-mode.el: Use SMIE.
7066 (css-smie-grammar): New var.
7067 (css-smie--forward-token, css-smie--backward-token)
7068 (css-smie-rules): New functions.
7069 (css-mode): Use them.
7070 (css-navigation-syntax-table): Remove var.
7071 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7072 (css-indent-calculate, css-indent-line): Remove functions.
7074 Misc changes to reduce use of `(lambda...); and other cleanups.
7075 * cus-edit.el: Use lexical-binding.
7076 (customize-push-and-save, customize-apropos)
7077 (custom-buffer-create-internal): Use closures.
7078 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7079 * progmodes/ada-xref.el: Use setq.
7080 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7081 * dframe.el: Use lexical-binding.
7082 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7083 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7084 * descr-text.el: Use lexical-binding.
7085 (describe-text-widget, describe-text-sexp, describe-property-list):
7087 * comint.el (comint-history-isearch-push-state): Use a closure.
7088 * calculator.el: Use lexical-binding.
7089 (calculator-number-to-string): Make it work with lexical-binding.
7090 (calculator-funcall): Same and use cl-letf.
7092 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7093 (lisp--company-doc-string, lisp--company-location): New functions.
7094 (lisp-completion-at-point): Use them to improve Company support.
7096 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7097 params of lambda expressions.
7098 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7099 (ruby-smie--opening-pipe-p): New function.
7100 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7101 symbols and matched |...| for formal params.
7102 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7103 from being treated as hanging. Handle "rescue".
7105 2013-08-29 Glenn Morris <rgm@gnu.org>
7107 * progmodes/cc-engine.el (c-pull-open-brace):
7108 Move definition before use.
7110 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7112 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7113 are immutable. Don't use `unsafe' any more.
7114 (cl--defsubst-expand): Don't substitute at the same time as keeping
7115 a residual unused let-binding. Don't use `unsafe' any more.
7117 2013-08-29 Glenn Morris <rgm@gnu.org>
7119 * calendar/cal-china.el (calendar-chinese-year-cache):
7122 * nxml/nxml-util.el (nxml-debug-clear-inside):
7123 Use cl-loop rather than loop.
7125 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7127 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7129 2013-08-28 Glenn Morris <rgm@gnu.org>
7131 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7133 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7135 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7137 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7139 * simple.el (repeat-complex-command--called-interactively-skip):
7141 (repeat-complex-command): Use it (bug#14136).
7143 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7144 (c-define-abbrev-table): Add `doc' argument.
7145 (c-mode-abbrev-table, c++-mode-abbrev-table)
7146 (objc-mode-abbrev-table, java-mode-abbrev-table)
7147 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7148 (awk-mode-abbrev-table): Use it.
7149 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7150 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7151 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7152 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7153 Move initialization into the declaration; and remove any
7156 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7157 and dynamic let binding.
7159 * vc/smerge-mode.el: Remove redundant :group args.
7161 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7164 2013-08-28 Juri Linkov <juri@jurta.org>
7166 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7167 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7168 (isearch-other-meta-char): Handle an undefined shifted printing
7169 character by downshifting it. (Bug#15200)
7171 2013-08-28 Juri Linkov <juri@jurta.org>
7173 * isearch.el (isearch-search): Change regexp error message for
7174 non-regexp searches. (Bug#15166)
7176 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7178 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7179 for portability to hosts where /bin/sh has problems.
7181 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7185 2013-08-27 Juri Linkov <juri@jurta.org>
7187 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7188 in the keyboard macro. (Bug#15126)
7190 2013-08-27 Juri Linkov <juri@jurta.org>
7192 * isearch.el (isearch-quote-char): Comment out converting unibyte
7193 to multibyte, thus syncing with its `quoted-insert' counterpart.
7196 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7198 * window.el (display-buffer-use-some-window): Add missing
7199 argument in call of get-largest-window (Bug#15185).
7200 Reported by Stephen Leake.
7202 2013-08-27 Glenn Morris <rgm@gnu.org>
7204 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7206 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7209 from a matcher-function unless there's no more matches (bug#15161).
7211 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7213 * minibuffer.el: Revert change from 2013-08-20.
7215 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7216 with text property `tramp-default', if appropriate.
7217 (tramp-check-proper-host): New defun.
7218 (tramp-dissect-file-name): Do not check hostname. Revert change
7220 (tramp-backtrace): Make VEC-OR-PROC optional.
7222 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7223 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7224 * net/tramp-sh.el (tramp-maybe-open-connection):
7225 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7226 Apply `tramp-check-proper-host'.
7228 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7230 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7231 lambda expression in order to have `describe-variable' display it.
7233 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7235 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7236 BUF can be optional. (Bug#15186)
7238 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7240 * progmodes/flymake.el (flymake-get-real-file-name-function):
7241 Fix broken customization. (Bug#15184)
7243 2013-08-25 Alan Mackenzie <acm@muc.de>
7245 Improve indentation of bracelists defined by macros (without "=").
7247 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7248 expansion begins with "{", regard it as bracelist when it doesn't
7251 Parse C++ inher-intro when there's a template split over 2 lines.
7253 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7254 rigorously the search for "class" etc. followed by ":".
7256 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7257 random languages a regexp which never matches rather than nil.
7259 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7261 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7262 (c-awk-regexp-one-line-possibly-open-char-list-re)
7263 (c-awk-one-line-possibly-open-regexp-re)
7264 (c-awk-one-line-non-syn-ws*-re): Remove.
7265 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7266 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7267 (c-awk-space*-unclosed-regexp-/-re): New constants.
7268 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7269 aren't regexp delimiters.
7271 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7272 handling for a rare situation in AWK Mode involving unterminated
7275 2013-08-23 Glenn Morris <rgm@gnu.org>
7277 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7279 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7281 * files.el (create-file-buffer): If the result would begin with
7282 spaces, prepend a "|" instead of removing them. (Bug#15162)
7284 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7286 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7287 text-properties (bug#15155).
7289 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7291 (calc-keypad-redraw): Remove unused var `pad'.
7292 (calc-keypad-press): Remove unused var `menu'.
7294 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7296 * window.el (display-buffer-pop-up-frame):
7297 Call pop-up-frame-function with BUFFER current so `make-frame' will
7298 use it as the new frame's buffer (Bug#15133).
7300 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7302 * calendar/timeclock.el: Minor cleanups.
7303 (timeclock-ask-before-exiting, timeclock-use-display-time):
7305 (timeclock-modeline-display): Define as alias before the
7307 (timeclock-mode-line-display): Use define-minor-mode.
7308 (timeclock-day-list-template): Make it a function, add an argument.
7309 (timeclock-day-list-required, timeclock-day-list-length)
7310 (timeclock-day-list-debt, timeclock-day-list-span)
7311 (timeclock-day-list-break): Adjust calls accordingly.
7313 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7315 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7316 Use read--expression so that completion works again.
7318 2013-08-21 Sam Steingold <sds@gnu.org>
7320 Add rudimentary inferior shell interaction
7321 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7322 (sh-set-shell): Reset it.
7323 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7324 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7326 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7328 * align.el: Use lexical-binding.
7329 (align-region): Simplify accordingly.
7331 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7333 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7335 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7338 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7342 * net/tramp-cmds.el:
7344 * net/tramp-gvfs.el:
7346 * net/tramp-sh.el: Don't wrap external variable declarations by
7347 `eval-when-compile'.
7349 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7351 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7352 now that Emacs supports ImageMagick animations.
7354 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7356 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7357 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7359 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7361 * window.el (mouse-autoselect-window-select): Do autoselect when
7362 mouse pointer is on margin.
7364 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7366 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7368 2013-08-16 Glenn Morris <rgm@gnu.org>
7370 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7371 Handle "Remote Directory" response of some clients. (Bug#15058)
7373 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7374 Tweak warning. (Bug#14926)
7376 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7377 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7379 * image-mode.el (image-mode-map): Add menu items to reverse,
7380 increase, decrease, reset animation speed.
7381 (image--set-speed, image-increase-speed, image-decrease-speed)
7382 (image-reverse-speed, image-reset-speed): New functions.
7383 (image-mode-map): Add bindings for speed commands.
7385 * image.el (image-animate-get-speed, image-animate-set-speed):
7387 (image-animate-timeout): Respect image :speed property.
7389 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7391 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7392 previous line (bug#15101).
7393 (debugger-eval-expression, debugger-record-expression):
7394 Use read--expression (bug#15102).
7396 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7398 Remove byte compiler warnings, visible when compiling with
7399 `byte-compile-force-lexical-warnings' set to t.
7401 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7402 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7403 (tramp-handle-unhandled-file-name-directory)
7404 (tramp-handle-file-notify-add-watch, tramp-action-login)
7405 (tramp-action-succeed, tramp-action-permission-denied)
7406 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7409 * net/tramp-adb.el (tramp-adb-parse-device-names)
7410 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7411 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7412 (tramp-adb-handle-file-truename): Remove unused arguments.
7414 * net/tramp-cache.el (tramp-flush-directory-property)
7415 (tramp-flush-connection-property, tramp-list-connections)
7416 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7418 * net/tramp-compat.el (tramp-compat-make-temp-file):
7419 Rename FILENAME to F.
7421 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7422 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7423 (tramp-zeroconf-parse-workstation-device-names)
7424 (tramp-zeroconf-parse-webdav-device-names)
7425 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7427 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7428 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7430 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7432 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7433 (tramp-sh-handle-insert-file-contents-literally)
7434 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7436 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7437 Remove unused variables.
7439 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7440 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7441 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7443 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7444 Make them a defconst.
7445 (tramp-uuencode-region): Remove unused variable.
7447 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7449 * frameset.el (frameset--prop-setter): New function.
7450 (frameset-prop): Add gv-setter declaration.
7451 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7452 parameter was already set in FILTERED. Doc fix.
7453 (frameset--record-minibuffer-relationships): Allow saving a
7454 minibufferless frame without its corresponding minibuffer frame.
7455 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7456 frame, if the frame id matches.
7457 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7458 frames before orphaned ones.
7459 (frameset-restore): Warn about orphaned windows, instead of error out.
7461 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7463 * window.el (window-make-atom): Don't overwrite parameter
7465 (display-buffer-in-atom-window): Handle special case where we
7466 split an already atomic window.
7467 (window--major-non-side-window, display-buffer-in-side-window)
7468 (window--side-check): Ignore minibuffer window when walking
7470 (window-deletable-p): Return 'frame only if no other frame uses
7471 our minibuffer window.
7472 (record-window-buffer): Run buffer-list-update-hook.
7473 (split-window): Make sure window--check-frame won't destroy an
7474 existing atomic window in case the new window gets nested
7476 (display-buffer-at-bottom): Ignore minibuffer window when
7477 walking window tree. Don't split a side window.
7478 (pop-to-buffer): Don't set-buffer here, the select-window call
7480 (mouse-autoselect-window-select): Autoselect only if we are in the
7481 text portion of the window.
7483 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485 * net/shr.el (shr-parse-image-data): New function to grab both the
7486 data itself and the Content-Type.
7487 (shr-put-image): Use it.
7489 * net/eww.el (eww-display-image): Ditto.
7491 * image.el (image-content-type-suffixes): New variable.
7493 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7495 * progmodes/python.el (python-imenu--build-tree)
7496 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7498 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7500 * simple.el (backward-word): Mention the optional argument.
7502 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * frameset.el (frameset--make): Rename constructor from make-frameset.
7505 (frameset-p, frameset-valid-p): Don't autoload.
7506 (frameset-valid-p): Use normal accessors.
7508 2013-08-13 Glenn Morris <rgm@gnu.org>
7510 * progmodes/compile.el (compile-command): Tweak example in doc.
7511 * obsolete/scribe.el (scribe-mode):
7512 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7514 * mail/feedmail.el (feedmail-confirm-outgoing)
7515 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7517 * cus-start.el (truncate-partial-width-windows): Fix type.
7519 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7521 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7523 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7525 * emacs-lisp/timer.el (timer--time-setter): New function.
7526 (timer--time): Use it as gv-setter.
7528 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7529 setter is not a symbol.
7531 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7533 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7534 if sending fails. This makes debugging easier.
7536 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7538 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7539 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7540 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7542 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7544 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7546 2013-08-12 Glenn Morris <rgm@gnu.org>
7548 * format.el (format-annotate-function):
7549 Handle read-only text properties in the source. (Bug#14887)
7551 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7553 * net/eww.el (eww-display-html): Ignore coding system errors.
7554 One web site uses "utf-8lias" as the coding system.
7556 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7558 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7560 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7562 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7563 (tutorial--detailed-help): Remove unused local variables.
7564 (tutorial--save-tutorial-to): Use ignore-errors.
7565 (help-with-tutorial): Use looking-at-p.
7567 * view.el (view-buffer-other-window, view-buffer-other-frame):
7568 Mark unused arguments.
7570 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7571 (woman-select-symbol-fonts, woman, woman-find-file)
7572 (woman-insert-file-contents, woman-non-underline-faces):
7574 (woman1-unquote): Move declaration.
7576 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7577 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7578 argument. Remove unused local variable.
7579 (xml-parse-elem-type): Use string-match-p.
7580 (xml-substitute-numeric-entities): Use ignore-errors.
7582 * calculator.el (calculator): Mark unused argument.
7583 (calculator-paste, calculator-quit, calculator-integer-p):
7585 (calculator-string-to-number, calculator-decimal, calculator-exp)
7586 (calculator-op-or-exp): Use string-match-p.
7588 * dired.el (dired-buffer-more-recently-used-p): Declare.
7589 (dired-insert-set-properties, dired-insert-old-subdirs):
7592 * dired-aux.el (dired-compress): Use ignore-errors.
7593 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7594 (dired-do-async-shell-command, dired-do-shell-command)
7595 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7596 (dired-insert-subdir-validate): Use string-match-p.
7597 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7598 (dired-add-entry): Use string-match-p, looking-at-p.
7599 (dired-insert-subdir-newpos): Remove unused local variable.
7601 * filenotify.el (file-notify-callback): Remove unused local variable.
7603 * filesets.el (filesets-error): Mark unused argument.
7604 (filesets-which-command-p, filesets-filter-dir-names)
7605 (filesets-directory-files, filesets-get-external-viewer)
7606 (filesets-ingroup-get-data): Use string-match-p.
7608 * find-file.el (ff-other-file-name, ff-other-file-name)
7609 (ff-find-the-other-file, ff-cc-hh-converter):
7610 Remove unused local variables.
7611 (ff-get-file-name): Use string-match-p.
7612 (ff-all-dirs-under): Use ignore-errors.
7614 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7615 (follow-select-if-visible): Remove unused local variable.
7617 * forms.el (read-file-filter): Move declaration.
7618 (forms--make-format, forms--make-parser, forms-insert-record):
7619 Quote function with #'.
7620 (forms--update): Use string-match-p. Quote function with #'.
7622 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7623 (help-make-xrefs): Use looking-at-p.
7624 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7626 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7627 (ibuffer-confirm-operation-on): Use string-match-p.
7629 * msb.el (msb-item-handler, msb-dired-item-handler):
7630 Mark unused arguments.
7632 * ses.el (ses-decode-cell-symbol)
7633 (ses-kill-override): Remove unused local variable.
7634 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7635 (ses-load): Use ignore-errors, looking-at-p.
7636 (ses-jump-safe): Use ignore-errors.
7637 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7639 * tabify.el (untabify, tabify): Mark unused arguments.
7641 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7642 Mark unused argument.
7643 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7644 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7646 * emacs-lisp/timer.el (timer--time): Define setter with
7647 gv-define-setter to avoid deprecation warning.
7649 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7650 (*record-cmpl-statistics-p*): Remove (was commented out).
7651 (cmpl-statistics-block): Remove (body was commented out).
7652 All callers changed.
7653 (add-completions-from-buffer, load-completions-from-file):
7654 Remove unused variables.
7656 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7658 * filecache.el (file-cache-delete-file-list):
7659 Print message only when told so.
7660 (file-cache-files-matching): Use #' in mapconcat argument.
7662 * ffap.el (ffap-url-at-point): Fix reference to variable
7663 thing-at-point-default-mail-uri-scheme.
7665 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7667 * subr.el (define-error): New function.
7668 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7669 error-file-not-found and define with define-error.
7670 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7671 and define with define-error.
7672 * userlock.el (file-locked, file-supersession):
7673 * simple.el (mark-inactive):
7674 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7675 * progmodes/ada-mode.el (ada-mode-errors):
7676 * play/life.el (life-extinct):
7677 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7678 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7679 * nxml/rng-util.el (rng-error):
7680 * nxml/rng-uri.el (rng-uri-error):
7681 * nxml/rng-match.el (rng-compile-error):
7682 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7683 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7684 * nxml/nxml-rap.el (nxml-scan-error):
7685 * nxml/nxml-outln.el (nxml-outline-error):
7686 * net/soap-client.el (soap-error):
7687 * net/gnutls.el (gnutls-error):
7688 * net/ange-ftp.el (ftp-error):
7689 * mpc.el (mpc-proc-error):
7690 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7691 (json-number-format, json-string-escape, json-string-format)
7692 (json-key-format, json-object-format):
7693 * jka-compr.el (compression-error):
7694 * international/quail.el (quail-error):
7695 * international/kkc.el (kkc-error):
7696 * emacs-lisp/ert.el (ert-test-failed):
7697 * calc/calc.el (calc-error, inexact-result, math-overflow)
7699 * bookmark.el (bookmark-error-no-filename):
7700 * epg.el (epg-error): Define with define-error.
7702 * time.el (display-time-event-handler)
7703 (display-time-next-load-average): Don't call sit-for since it seems
7704 unnecessary (bug#15045).
7706 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7707 Use #' instead of ' to quote functions.
7708 (checkdoc-output-mode): Use setq-local.
7709 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7710 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7711 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7712 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7713 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7714 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7715 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7716 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7718 * ido.el (ido-completion-help): Fix up compiler warning.
7720 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7722 * frameset.el (frameset-p): Add autoload cookie.
7723 (frameset--jump-to-register): New function, based on code moved from
7725 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7727 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7728 (frameset-restore, frameset-save, frameset-session-filter-alist):
7729 Remove declarations.
7730 (register-alist): Doc fix.
7731 (frameset-to-register): Move to frameset.el.
7732 (jump-to-register, describe-register-1): Remove frameset-specific code.
7734 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7736 * allout-widgets.el (allout-widgets-pre-command-business)
7737 (allout-widgets-post-command-business)
7738 (allout-widgets-after-change-handler)
7739 (allout-decorate-item-and-context, allout-set-boundary-marker)
7740 (allout-body-modification-handler)
7741 (allout-graphics-modification-handler): Mark ignored arguments.
7742 (allout-widgets-post-command-business)
7743 (allout-widgets-exposure-change-processor)
7744 (allout-widgets-exposure-undo-processor)
7745 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7746 (allout-parse-item-at-point, allout-decorate-item-guides)
7747 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7748 * allout.el (epa-passphrase-callback-function): Declare.
7749 (allout-overlay-insert-in-front-handler)
7750 (allout-overlay-interior-modification-handler)
7751 (allout-isearch-end-handler, allout-chart-siblings)
7752 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7753 (allout-yank-processing, allout-process-exposed)
7754 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7755 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7756 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7757 (lisp-indent-defform): Mark ignored arguments.
7758 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7759 (calculate-lisp-indent): Remove unused variables.
7760 * international/characters.el (indian-2-column, arabic-2-column)
7761 (tibetan): Mark ignored arguments.
7762 (use-cjk-char-width-table): Mark ignored arguments.
7763 Remove unused variables.
7764 * international/fontset.el (build-default-fontset-data)
7765 (x-compose-font-name, create-fontset-from-fontset-spec):
7766 Mark ignored arguments.
7767 (fontset-plain-name): Remove unused variables.
7768 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7769 (keyboard-coding-system): Mark ignored arguments.
7770 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7771 * help.el (resize-temp-buffer-window):
7772 * window.el (display-buffer-in-major-side-window)
7773 (display-buffer-in-side-window, display-buffer-in-previous-window):
7774 Remove unused variables.
7775 * isearch.el (isearch-forward-symbol):
7776 * version.el (emacs-bzr-version-bzr):
7777 * international/mule-cmds.el (current-language-environment):
7778 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7780 * term/pc-win.el (x-list-fonts, x-display-planes)
7781 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7782 (x-server-version, x-display-screens, x-display-mm-height)
7783 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7784 (x-selection-owner-p, x-own-selection-internal)
7785 (x-disown-selection-internal, x-get-selection-internal)
7786 (msdos-initialize-window-system):
7787 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7788 * term/x-win.el (x-handle-no-bitmap-icon):
7789 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7790 (vc-default-find-file-hook, vc-default-extra-menu):
7791 Mark ignored arguments.
7793 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7795 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7796 break-condition in the context of the debugged code (bug#12685).
7798 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7801 Do not use an overlay to highlight the last prompt. (Bug#14744)
7802 (comint-mode): Make comint-last-prompt buffer local.
7803 (comint-last-prompt): New variable.
7804 (comint-last-prompt-overlay): Remove. Superseded by
7806 (comint-snapshot-last-prompt, comint-output-filter):
7807 Use comint-last-prompt.
7809 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7811 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7812 (frameset-save): Check validity of the resulting frameset.
7814 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7816 * ido.el (ido-record-command): Add doc string.
7818 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7820 * frameset.el (frameset): Do not disable creation of the default
7821 frameset-p predicate. Doc fix.
7822 (frameset-valid-p): New function, copied from the old predicate-p.
7823 Add additional checks.
7824 (frameset-restore): Check with frameset-valid-p.
7825 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7826 (frameset-name, frameset-description, frameset-properties)
7827 (frameset-states): Add docstring.
7828 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7829 (frameset-filter-alist): Doc fixes.
7831 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7833 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7835 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7837 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7838 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7839 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7840 (byte-compile-normal-call): Remove obsolescence check.
7842 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7844 * frameset.el (frameset-restore): Doc fix.
7846 * register.el (frameset-frame-id, frameset-frame-with-id)
7847 (frameset-p, frameset-restore, frameset-save): Declare.
7848 (register-alist): Document framesets.
7849 (frameset-session-filter-alist): Declare.
7850 (frameset-to-register): New function.
7851 (jump-to-register): Implement jumping to framesets. Doc fix.
7852 (describe-register-1): Describe framesets.
7854 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7856 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7858 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7859 Use lexical-binding.
7861 * frameset.el (frameset): Use type vector, not list (incompatible
7862 change). Do not declare a new constructor, use the default one.
7863 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7864 `name' and `description', respectively, and add read-only slot
7865 `timestamp'. Doc fixes.
7866 (frameset-copy, frameset-persistent-filter-alist)
7867 (frameset-filter-alist, frameset-switch-to-gui-p)
7868 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7869 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7870 (frameset-filter-iconified, frameset-keep-original-display-p):
7872 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7873 Rename from frameset-filter-(save|restore)-param. All callers changed.
7875 (frameset-p): Adapt to change to vector and be more thorough.
7876 Change arg name to OBJECT. Doc fix.
7877 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7878 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7879 All callers changed.
7880 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7881 All callers changed.
7882 (frameset--record-minibuffer-relationships): Rename from
7883 frameset--process-minibuffer-frames. All callers changed.
7884 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7885 Use new default constructor (again). Doc fix.
7886 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7887 All callers changed.
7888 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7889 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7891 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7892 PARAMETERS and WINDOW-STATE, respectively.
7893 (frameset-restore): Add new keyword argument PREDICATE.
7894 Reset frameset--target-display to nil. Doc fix.
7896 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7898 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7900 (bat-mode-syntax-table): Mark \n as end-of-comment.
7901 (bat-font-lock-keywords): Remove comment rule.
7903 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7904 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7906 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7907 (byte-compile-callargs-warn): Use `push'.
7908 (byte-compile-arglist-warn): Ignore higher-order "calls".
7909 (byte-compile-file-form-autoload): Use `pcase'.
7910 (byte-compile-function-form): If quoting a symbol, check that it exists.
7912 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7914 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7915 and add a few popular commands found in batch files.
7916 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7917 (dos-mode): Doc fixes.
7919 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7922 (dos-mode): Use setq-local. Add space after "rem".
7923 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7924 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7926 2013-08-07 Arni Magnusson <arnima@hafro.is>
7928 * progmodes/dos.el: New file.
7929 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7932 2013-08-06 Glenn Morris <rgm@gnu.org>
7934 * calendar/calendar.el: Add new faces, and day-header-array.
7935 (calendar-weekday-header, calendar-weekend-header)
7936 (calendar-month-header): New faces.
7937 (calendar-day-header-construct): New function.
7938 (calendar-day-header-width): Also :set calendar-day-header-array.
7939 (calendar-american-month-header, calendar-european-month-header)
7940 (calendar-iso-month-header): Use calendar- faces.
7941 (calendar-generate-month):
7942 Use calendar-day-header-array for day headers; apply faces to them.
7943 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7944 (calendar-abbrev-construct): Add optional maxlen argument.
7945 (calendar-day-name-array): Doc fix.
7946 (calendar-day-name-array, calendar-abbrev-length)
7947 (calendar-day-abbrev-array):
7948 Also :set calendar-day-header-array, and maybe redraw.
7949 (calendar-day-header-array): New option. (Bug#15007)
7950 (calendar-font-lock-keywords): Set to nil and make obsolete.
7951 (calendar-day-name): Add option to use header array.
7953 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7955 * net/shr.el (shr-render-td): Remove debugging.
7956 (shr-render-td): Make width computation consistent by defaulting
7957 all zero-width columns to 10 characters. This may not be optimal,
7958 but it's at least consistent.
7959 (shr-make-table-1): Redo last change to fix the real problem in
7962 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7964 * files.el (cache-long-line-scans):
7965 Make obsolete alias to `cache-long-scans'.
7967 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7969 * frameset.el (frameset, frameset-filter-alist)
7970 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7971 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7972 (frameset-compute-pos): Rename from frameset--compute-pos,
7974 (frameset-move-onscreen): Use frameset-compute-pos.
7975 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7977 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7978 Fix typos in docstrings.
7980 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7982 * frame.el (get-other-frame): Tiny cleanup.
7984 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7986 * vc/vc.el (vc-default-ignore-completion-table):
7987 Silence byte-compiler warning.
7989 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7990 slot, which can indeed be nil.
7991 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7992 Move entry for `left' from persistent to live filter alist.
7993 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7995 (frameset-filter-params): When restoring a frame, copy items added to
7996 `filtered', to avoid unwittingly modifying the original parameters.
7997 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7998 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
8000 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
8001 to use looking-at-p instead of looking-at. (Bug#15028)
8003 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8005 Revert introduction of isearch-filter-predicates (bug#14714).
8006 Rely on add-function instead.
8007 * isearch.el (isearch-filter-predicates): Rename it back to
8008 isearch-filter-predicate.
8009 (isearch-message-prefix): Use advice-function-mapc and advice
8010 properties to get the isearch-message-prefix.
8011 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
8012 instead of run-hook-with-args-until-failure.
8013 (isearch-filter-visible): Not obsolete any more.
8014 * loadup.el: Preload nadvice.
8015 * replace.el (perform-replace): Revert to funcall
8016 instead of run-hook-with-args-until-failure.
8017 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
8018 * dired-aux.el (dired-isearch-filenames-mode): Rename from
8019 dired-isearch-filenames-toggle; make it into a proper minor mode.
8020 Use add/remove-function.
8021 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
8022 Call the minor-mode rather than add/remove-hook.
8023 (dired-isearch-filter-filenames):
8024 Remove isearch-message-prefix property.
8025 * info.el (Info--search-loop): New function, extracted from Info-search.
8026 Funcall isearch-filter-predicate instead of
8027 run-hook-with-args-until-failure isearch-filter-predicates.
8028 (Info-search): Use it.
8029 (Info-mode): Use isearch-filter-predicate instead of
8030 isearch-filter-predicates.
8032 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8034 Do not call to `selected-window' where it is assumed by default.
8035 Affected functions are `window-minibuffer-p', `window-dedicated-p',
8036 `window-hscroll', `window-width', `window-height', `window-buffer',
8037 `window-frame', `window-start', `window-point', `next-window'
8038 and `window-display-table'.
8039 * abbrev.el (abbrev--default-expand):
8040 * bs.el (bs--show-with-configuration):
8041 * buff-menu.el (Buffer-menu-mouse-select):
8042 * calc/calc.el (calc):
8043 * calendar/calendar.el (calendar-generate-window):
8044 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
8046 * comint.el (send-invisible, comint-dynamic-complete-filename)
8047 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
8048 * completion.el (complete):
8049 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
8050 * disp-table.el (describe-current-display-table):
8051 * doc-view.el (doc-view-insert-image):
8052 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
8053 * ehelp.el (with-electric-help):
8054 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8055 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
8056 * emacs-lisp/helper.el (Helper-help-scroller):
8057 * emulation/cua-base.el (cua--post-command-handler-1):
8058 * eshell/esh-mode.el (eshell-output-filter):
8059 * ffap.el (ffap-gnus-wrapper):
8060 * help-macro.el (make-help-screen):
8061 * hilit-chg.el (highlight-compare-buffers):
8062 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
8063 * hl-line.el (global-hl-line-highlight):
8064 * icomplete.el (icomplete-simple-completing-p):
8065 * isearch.el (isearch-done):
8066 * jit-lock.el (jit-lock-stealth-fontify):
8067 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8068 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8069 * mpc.el (mpc-tagbrowser, mpc):
8070 * net/rcirc.el (rcirc-any-buffer):
8071 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8072 * play/landmark.el (landmark-max-width, landmark-max-height):
8073 * play/zone.el (zone):
8074 * progmodes/compile.el (compilation-goto-locus):
8075 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8076 * progmodes/etags.el (find-tag-other-window):
8077 * progmodes/fortran.el (fortran-column-ruler):
8078 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8079 * progmodes/verilog-mode.el (verilog-point-text):
8080 * reposition.el (reposition-window):
8081 * rot13.el (toggle-rot13-mode):
8082 * server.el (server-switch-buffer):
8083 * shell.el (shell-dynamic-complete-command)
8084 (shell-dynamic-complete-environment-variable):
8085 * simple.el (insert-buffer, set-selective-display)
8086 (delete-completion-window):
8087 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8088 (speedbar-recenter):
8089 * startup.el (fancy-splash-head):
8090 * textmodes/ispell.el (ispell-command-loop):
8091 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8092 * tutorial.el (help-with-tutorial):
8093 * vc/add-log.el (add-change-log-entry):
8094 * vc/compare-w.el (compare-windows):
8095 * vc/ediff-help.el (ediff-indent-help-message):
8096 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8097 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8098 (ediff-setup-control-frame):
8099 * vc/emerge.el (emerge-position-region):
8100 * vc/pcvs-util.el (cvs-bury-buffer):
8101 * window.el (walk-windows, mouse-autoselect-window-select):
8102 * winner.el (winner-set-conf, winner-undo): Related users changed.
8104 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8106 * frameset.el (frameset--set-id): Doc fix.
8107 (frameset-frame-id, frameset-frame-id-equal-p)
8108 (frameset-locate-frame-id): New functions.
8109 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8110 (frameset-restore): Use them.
8112 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8114 Do not call to `selected-frame' where it is assumed by default.
8115 Affected functions are `raise-frame', `redraw-frame',
8116 `frame-first-window', `frame-terminal' and `delete-frame'.
8117 * calendar/appt.el (appt-disp-window):
8118 * epg.el (epg-wait-for-completion):
8119 * follow.el (follow-delete-other-windows-and-split)
8120 (follow-avoid-tail-recenter):
8121 * international/mule.el (set-terminal-coding-system):
8122 * mail/rmail.el (rmail-mail-return):
8123 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8124 * progmodes/f90.el (f90-add-imenu-menu):
8125 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8126 * server.el (server-switch-buffer):
8127 * simple.el (delete-completion-window):
8129 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8130 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8131 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8132 * vc/ediff.el (ediff-documentation): Related users changed.
8133 * frame.el (selected-terminal): Remove the leftover.
8135 2013-08-05 Glenn Morris <rgm@gnu.org>
8137 * calendar/calendar.el (calendar-generate-month):
8138 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8139 (calendar-generate-month, calendar-font-lock-keywords):
8140 Fix for calendar-day-header-width > length of any day name.
8142 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8144 * desktop.el (desktop-clear): Use new name of sort predicate.
8146 * frameset.el (frameset): Add docstring. Move :version property to its
8148 (frameset-copy): Rename from copy-frameset.
8149 (frameset-p): Check more thoroughly.
8150 (frameset-prop): Do not check for :version, which is no longer a prop.
8151 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8152 Use new :never value instead of t.
8153 (frameset-filter-alist): Expand and clarify docstring.
8154 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8155 (frameset-filter-minibuffer, frameset-filter-save-param)
8156 (frameset-filter-restore-param, frameset-filter-iconified):
8157 Add pointer to docstring of frameset-filter-alist.
8158 (frameset-filter-params): Rename filter values to be more meaningful:
8159 :never instead of t, and reverse the meanings of :save and :restore.
8160 (frameset--process-minibuffer-frames): Clarify error message.
8161 (frameset-save): Avoid unnecessary and confusing call to framep.
8162 Use new BOA constructor for framesets.
8163 (frameset--reuse-list): Doc fix.
8164 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8165 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8166 (frameset-minibufferless-first-p): Doc fix.
8167 Rename from frameset-sort-frames-for-deletion.
8168 (frameset-restore): Doc fixes. Use new function names.
8169 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8171 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8173 * desktop.el (desktop-restore-forces-onscreen)
8174 (desktop-restore-reuses-frames): Document :keyword constant values.
8175 (desktop-filter-parameters-alist): Remove, now identical to
8176 frameset-filter-alist.
8177 (desktop--filter-tty*): Remove, moved to frameset.el.
8178 (desktop-save-frameset, desktop-restore-frameset):
8179 Do not pass :filters argument.
8181 * frameset.el (frameset-live-filter-alist)
8182 (frameset-persistent-filter-alist): New variables.
8183 (frameset-filter-alist): Use them. Add autoload cookie.
8184 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8185 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8186 `frameset--id' (it's supposed to be internal to frameset.el).
8187 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8188 (frameset--initial-params): New function.
8189 (frameset--get-frame): Use it. Doc fix.
8190 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8191 Accept :all, not 'all.
8192 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8193 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8194 with fbound symbols. Fix frame id matching, and remove matching ids if
8195 the frame being restored is deleted. Obey :delete.
8197 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8199 * subr.el (macrop): New function.
8200 (text-clone--maintaining): New var.
8201 (text-clone--maintain): Rename from text-clone-maintain. Use it
8202 instead of inhibit-modification-hooks.
8204 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8205 a proxy, so as handle autoloads and redefinitions of the target.
8206 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8208 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8209 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8210 (pcase--mutually-exclusive-p): New function.
8211 (pcase--split-consp): Use it.
8212 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8213 mutually exclusive with the current predicate.
8215 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8216 (edebug-macrop): Remove. Use `macrop' instead.
8217 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8219 * eshell/esh-cmd.el (eshell-macrop):
8220 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8222 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8225 (advice-mapc): New function, using it.
8226 (advice-function-member-p): New function.
8227 (advice--normalize): Store the cdr in advice--saved-rewrite since
8228 that's the part that will be changed.
8229 (advice--symbol-function): New function.
8230 (advice-remove): Handle removal before the function is defined.
8231 Adjust to new advice--saved-rewrite.
8232 (advice-member-p): Use advice-function-member-p and
8233 advice--symbol-function.
8235 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8237 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8238 (frameset-filter-minibuffer): Doc fix.
8239 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8240 (frameset--set-id, frameset--process-minibuffer-frames)
8241 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8242 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8244 * desktop.el (desktop-clear): Only delete frames when called
8245 interactively and desktop-restore-frames is non-nil. Doc fix.
8246 (desktop-read): Set desktop-saved-frameset to nil.
8248 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8250 * vc/vc.el (vc-ignore): Rewrite.
8251 (vc-default-ignore-completion-table, vc--read-lines)
8252 (vc--add-line, vc--remove-regexp): New functions.
8254 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8255 (vc-svn-ignore-completion-table): New function.
8257 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8258 (vc-hg-ignore-completion-table)
8259 (vc-hg-find-ignore-file): New functions.
8261 * vc/vc-git.el (vc-git-ignore): Rewrite.
8262 (vc-git-ignore-completion-table)
8263 (vc-git-find-ignore-file): New functions.
8265 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8267 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8268 (vc-bzr-ignore-completion-table)
8269 (vc-bzr-find-ignore-file): New functions.
8271 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8273 * frameset.el (frameset-prop): New function and setter.
8274 (frameset-save): Do not modify frame list passed by the caller.
8276 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8278 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8280 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8282 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8283 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8285 * custom.el (custom-initialize-default, custom-initialize-set)
8286 (custom-initialize-reset, custom-initialize-changed): Affect the
8287 toplevel-default-value (bug#6275, bug#14586).
8288 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8291 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8293 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8294 Add cl-def* expressions.
8296 * frameset.el (frameset-filter-params): Fix order of arguments.
8298 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8300 Move code related to saving frames to frameset.el.
8301 * desktop.el: Require frameset.
8302 (desktop-restore-frames): Doc fix.
8303 (desktop-restore-reuses-frames): Rename from
8304 desktop-restoring-reuses-frames.
8305 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8306 (desktop-clear): Clear frames too.
8307 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8308 (desktop--filter-tty*, desktop-save, desktop-read):
8309 Use frameset functions.
8310 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8311 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8312 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8313 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8314 (desktop--process-minibuffer-frames, desktop-save-frames)
8315 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8316 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8317 (desktop--sort-states, desktop-restoring-frames-p)
8318 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8319 (desktop-restoring-frameset-p, desktop-restore-frameset)
8320 (desktop--check-dont-save, desktop-save-frameset): New functions.
8321 (desktop--app-id): New constant.
8322 (desktop-first-buffer, desktop-buffer-ok-count)
8323 (desktop-buffer-fail-count): Move before first use.
8324 * frameset.el: New file.
8326 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8328 * files.el: Use lexical-binding.
8329 (dir-locals-read-from-file): Remove unused `err' variable.
8330 (hack-dir-local-variables--warned-coding): New var.
8331 (hack-dir-local-variables): Use it to avoid repeated warnings.
8332 (make-backup-file-name--default-function): New function.
8333 (make-backup-file-name-function): Use it as default.
8334 (buffer-stale--default-function): New function.
8335 (buffer-stale-function): Use it as default.
8336 (revert-buffer-insert-file-contents--default-function): New function.
8337 (revert-buffer-insert-file-contents-function): Use it as default.
8338 (insert-directory): Avoid add-to-list.
8340 * autorevert.el (auto-revert-handler): Simplify.
8341 Use buffer-stale--default-function.
8343 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8345 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8347 * whitespace.el (whitespace-ensure-local-variables): New function.
8348 (whitespace-cleanup-region): Call it.
8349 (whitespace-turn-on): Call it.
8351 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8353 Complete file name handlers.
8355 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8356 (tramp-handle-verify-visited-file-modtime)
8357 (tramp-handle-file-notify-rm-watch): New functions.
8358 (tramp-call-process): Do not bind `default-directory'.
8360 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8361 Order alphabetically.
8362 <access-file, add-name-to-file, dired-call-process>:
8363 <dired-compress-file, file-acl, file-notify-rm-watch>:
8364 <file-ownership-preserved-p, file-selinux-context>:
8365 <make-directory-internal, make-symbolic-link, set-file-acl>:
8366 <set-file-selinux-context, set-visited-file-modtime>:
8367 <verify-visited-file-modtime>: Add handler.
8368 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8370 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8371 <file-notify-add-watch, file-notify-rm-watch>:
8372 <set-file-times, set-visited-file-modtime>:
8373 <verify-visited-file-modtime>: Add handler.
8374 (with-tramp-gvfs-error-message)
8375 (tramp-gvfs-handle-set-visited-file-modtime)
8376 (tramp-gvfs-fuse-file-name): Remove.
8377 (tramp-gvfs-handle-file-notify-add-watch)
8378 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8379 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8381 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8382 Order alphabetically.
8383 <file-notify-rm-watch>: Use default Tramp handler.
8384 <executable-find>: Remove private handler.
8385 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8386 `default-directory'.
8387 (tramp-sh-handle-executable-find)
8388 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8389 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8390 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8391 Do not use `format' in `tramp-message'.
8393 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8394 <file-notify-rm-watch, set-visited-file-modtime>:
8395 <verify-visited-file-modtime>: Add handler.
8396 (tramp-smb-call-winexe): Do not bind `default-directory'.
8398 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8400 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8402 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8404 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8406 (log-view-diff-changeset): Same.
8407 (log-view-diff-common): Call backend command `previous-revision'
8408 to find out the previous revision, in both cases. Swap the
8409 variables `to' and `fr', so that `fr' usually refers to the
8410 earlier revision (Bug#14989).
8412 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8414 * ibuf-ext.el (ibuffer-filter-by-filename):
8415 Make it work with dired buffers too.
8417 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8419 * emacs-lisp/re-builder.el (reb-color-display-p):
8420 * files.el (save-buffers-kill-terminal):
8421 * net/browse-url.el (browse-url):
8422 * server.el (server-save-buffers-kill-terminal):
8423 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8424 Prefer nil to selected-frame for the first arg of frame-parameter.
8426 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8428 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8430 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8432 * minibuffer.el (completion--twq-all): Try and preserve each
8433 completion's case choice (bug#14907).
8435 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8437 * net/network-stream.el (open-network-stream): Mention the new
8438 :nogreeting parameter.
8439 (network-stream-open-starttls): Use the :nogreeting parameter
8442 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8444 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8445 more natural than popping.
8447 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8448 (shr-urlify): Highlight under mouse.
8450 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8452 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8454 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8456 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8459 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8460 point-min==1. Fix search string. Fix parentheses missing.
8462 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8463 assume point-min==1. Fix search string. Fix parentheses missing.
8465 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8467 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8470 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8472 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8473 initial frame is minibuffer-less. (Bug#14841)
8475 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8477 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8480 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8481 (tramp-maybe-open-connection): Use it.
8483 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8485 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8486 minimal set of parameters passed when creating a frame, because
8487 the minibuffer status of a frame cannot be changed later.
8489 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8491 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8492 replace-regexp-in-string and inadvertent omissions in previous change.
8493 (todo-filter-items): Ensure only file names are comma-separated in
8494 name of filtered items buffer.
8496 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8498 * desktop.el: Optionally force offscreen frames back onscreen.
8499 (desktop-restoring-reuses-frames): New option.
8500 (desktop--compute-pos, desktop--move-onscreen): New functions.
8501 (desktop--make-frame): Use desktop--move-onscreen.
8503 2013-07-27 Alan Mackenzie <acm@muc.de>
8505 Fontify a Java generic method as a function.
8506 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8509 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8511 * calendar/todo-mode.el: Add command to rename todo files.
8512 (todo-rename-file): New command.
8513 (todo-key-bindings-t): Add key binding for it. Change the
8514 bindings of todo-filter-regexp-items(-multifile) to use `x'
8515 instead of `r', since the latter is better suited to the new
8518 2013-07-27 Alan Mackenzie <acm@muc.de>
8520 Make Java try-with-resources statement parse properly.
8521 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8522 (c-block-stmt-1-2-key): New language constants/variables.
8523 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8524 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8525 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8526 with c-block-stmt-1-2-key.
8528 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8530 * desktop.el (desktop--make-frame): Apply most frame parameters after
8531 creating the frame to force (partially or totally) offscreen frames to
8532 be restored as such.
8534 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8536 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8539 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8542 `base' arg of backtrace-frame.
8544 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8546 * simple.el (list-processes): Doc fix.
8548 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8550 * desktop.el (desktop--select-frame):
8551 Try harder to reuse existing frames.
8553 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8556 (edebug-eval): Use backtrace-eval.
8557 (edebug--display, edebug--recursive-edit): Don't let-bind the
8558 edebug-outer-* vars that keep track of variables we locally let-bind.
8559 (edebug-outside-excursion): Don't restore outside values of locally
8561 (edebug--display): Use user-error.
8562 (cl-lexical-debug, cl-debug-env): Remove.
8564 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8566 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8567 are restored to be sure that they are visible before deleting any
8570 2013-07-26 Matthias Meulien <orontee@gmail.com>
8572 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8573 vc-print-root-log. (Bug#14948)
8575 2013-07-26 Richard Stallman <rms@gnu.org>
8577 Add aliases for encrypting mail.
8578 * epa.el (epa-mail-aliases): New option.
8579 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8580 Bind inhibit-read-only so read-only text doesn't ruin everything.
8581 (epa-mail-default-recipients): New subroutine broken out.
8582 Handle epa-mail-aliases.
8584 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8586 Add support for lexical variables to the debugger's `e' command.
8587 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8588 vars, except for debugger-outer-match-data.
8589 (debugger-frame-number): Move check for "on a function call" from
8590 callers into it. Add `skip-base' argument.
8591 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8592 (debugger-env-macro): Only reset the state stored in non-variables,
8593 i.e. current-buffer and match-data.
8594 (debugger-eval-expression): Rewrite using backtrace-eval.
8595 * subr.el (internal--called-interactively-p--get-frame): Remove.
8596 (called-interactively-p):
8597 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8598 `base' arg of backtrace-frame instead.
8600 2013-07-26 Glenn Morris <rgm@gnu.org>
8602 * align.el (align-regexp): Doc fix. (Bug#14857)
8603 (align-region): Explicit error if subexpression missing/does not match.
8605 * simple.el (global-visual-line-mode):
8606 Do not duplicate the mode lighter. (Bug#14858)
8608 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8610 * window.el (display-buffer): In display-buffer bind
8611 split-window-keep-point to t, bug#14829.
8613 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8615 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8616 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8617 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8618 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8620 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8621 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8623 2013-07-25 Glenn Morris <rgm@gnu.org>
8625 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8627 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8629 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8630 parameter to modify-frame-parameters if the value has not changed;
8631 this is a workaround for bug#14949.
8632 (desktop--make-frame): On cl-delete-if call, check parameter name,
8635 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8637 * vc/vc.el (vc-ignore): New function.
8639 * vc/vc-svn.el (vc-svn-ignore): New function.
8641 * vc/vc-hg.el (vc-hg-ignore): New function.
8643 * vc/vc-git.el (vc-git-ignore): New function.
8645 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8646 (vc-dir-ignore): New function.
8648 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8649 (cvs-append-to-ignore): Move here from pcvs.el.
8651 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8653 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8655 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8657 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8658 (desktop-restore-frames): Warn when deleting an existing frame failed.
8660 2013-07-24 Glenn Morris <rgm@gnu.org>
8662 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8664 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8666 * filenotify.el (file-notify-supported-p):
8667 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8670 * autorevert.el (auto-revert-use-notify)
8671 (auto-revert-notify-add-watch):
8672 * net/tramp.el (tramp-file-name-for-operation):
8673 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8675 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8676 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8677 Remove `file-notify-supported-p' entry.
8679 2013-07-24 Glenn Morris <rgm@gnu.org>
8681 * printing.el: Replace all uses of deleted ps-windows-system,
8682 ps-lp-system, ps-flatten-list with lpr- versions.
8684 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8686 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8687 checked with memq (bug#14935).
8689 * files.el (revert-buffer-function): Use a non-nil default.
8690 (revert-buffer-preserve-modes): Declare var to
8691 provide access to the `preserve-modes' argument.
8692 (revert-buffer): Let-bind it.
8693 (revert-buffer--default): New function, extracted from revert-buffer.
8695 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8697 * lpr.el: Signal print errors more prominently.
8698 (print-region-function): Don't default to nil.
8699 (lpr-print-region): New function, extracted from print-region-1.
8700 Check lpr's return value and signal an error in case of problem.
8701 (print-region-1): Use it.
8702 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8704 (ps-printer-name): Default to nil.
8705 (ps-printer-name-option): Default to lpr-printer-switch.
8706 (ps-print-region-function): Don't default to nil.
8707 (ps-postscript-code-directory): Simplify default.
8708 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8709 (ps-string-list, ps-eval-switch, ps-flatten-list)
8710 (ps-flatten-list-1): Remove.
8711 (ps-multibyte-buffer): Avoid setq.
8712 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8713 (print-region-function, ps-print-region-function): Don't set them here.
8715 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8717 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8718 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8719 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8720 (ido-decorations): Doc fix.
8722 * ansi-color.el: Fix old URL.
8724 2013-07-23 Michael R. Mauger <michael@mauger.com>
8726 * progmodes/sql.el: Version 3.3
8727 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8728 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8729 (sql-interactive-remove-continuation-prompt): Rewrite, use
8730 functions above. Fix continuation prompt and complete output line
8732 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8733 redirected output buffer.
8734 (sql-mode): Restore deleted code (Bug#13591).
8736 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8738 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8740 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8742 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8744 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8745 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8746 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8748 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8750 * desktop.el (desktop-clear): Simplify; remove useless checks
8751 against invalid buffer names.
8752 (desktop-list*): Use cl-list*.
8753 (desktop-buffer-info, desktop-create-buffer): Simplify.
8755 2013-07-23 Leo Liu <sdl.web@gmail.com>
8757 * bookmark.el (bookmark-make-record): Restore NAME as a default
8760 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8762 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8763 extracted from autoload--insert-text.
8764 (autoload--insert-text): Remove.
8765 (autoload--print-cookie-text): New function, extracted from
8766 autoload--insert-cookie-text.
8767 (autoload--insert-cookie-text): Remove.
8768 (autoload-generate-file-autoloads): Adjust calls accordingly.
8770 * winner.el (winner-hook-installed-p): Remove.
8771 (winner-mode): Simplify accordingly.
8773 * subr.el (add-to-list): Fix compiler-macro when `append' is
8774 not constant. Don't use `cl-member' for the base case.
8776 * progmodes/subword.el: Fix boundary case (bug#13758).
8777 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8779 (subword-backward-regexp): Make it a constant.
8780 (subword-forward-internal): Don't treat a trailing capital as the
8781 beginning of a word.
8783 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8785 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8786 global value of tabulated-list-revert-hook (bug#14930).
8788 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8790 * desktop.el: Require 'cl-lib.
8791 (desktop-before-saving-frames-functions): New hook.
8792 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8793 for frames being saved. Rename from desktop--save-minibuffer-frames.
8794 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8795 Do not save frames with non-nil `desktop-dont-save' parameter.
8796 Filter out deleted frames.
8797 (desktop--find-frame): Use cl-find-if.
8798 (desktop--select-frame): Use cl-(first|second|third) to access values
8800 (desktop--make-frame): Use cl-delete-if.
8801 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8802 (desktop-restore-frames): Use cl-(first|second|third) to access values
8803 of desktop-mini. Look for visible frame at the end, not while
8806 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8807 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8808 Use string-match-p, looking-at-p (bug#14927).
8810 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8812 * desktop.el (desktop-saved-frame-states):
8813 Rename from desktop--saved-states; all users changed.
8814 (desktop-save-frames): Rename from desktop--save-frames.
8815 Do not save state to desktop file.
8816 (desktop-save): Save desktop-saved-frame-states to desktop file
8818 (desktop-restoring-frames-p): New function.
8819 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8820 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8821 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8823 * desktop.el: Correctly restore iconified frames.
8824 (desktop--filter-iconified-position): New function.
8825 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8827 2013-07-20 Glenn Morris <rgm@gnu.org>
8829 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8830 Let `message' do the formatting.
8831 (def-gdb-preempt-display-buffer): Add explicit format.
8833 * image-dired.el (image-dired-track-original-file):
8834 Use with-current-buffer.
8835 (image-dired-track-thumbnail): Use with-current-buffer.
8836 Avoid changing point of wrong window.
8838 * image-dired.el (image-dired-track-original-file):
8839 Avoid changing point of wrong window. (Bug#14909)
8841 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8843 * progmodes/gdb-mi.el (gdb-done-or-error):
8844 Guard against "%" in gdb output. (Bug#14127)
8846 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8848 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8851 * international/mule.el (coding-system-iso-2022-flags): Fix last
8854 2013-07-20 Kenichi Handa <handa@gnu.org>
8856 * international/mule.el (coding-system-iso-2022-flags):
8857 Add `8-bit-level-4'. (Bug#8522)
8859 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8861 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8864 * net/eww.el (eww-process-text-input): Allow inputting when the
8865 point is at the start of the line, as the properties aren't
8868 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8871 2013-07-19 Richard Stallman <rms@gnu.org>
8873 * epa.el (epa-popup-info-window): Doc fix.
8875 * subr.el (split-string): New arg TRIM.
8877 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8879 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8880 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8882 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8884 * filenotify.el (file-notify--library): Rename from
8885 `file-notify-support'. Do not autoload. Adapt all uses.
8886 (file-notify-supported-p): New defun.
8888 * autorevert.el (auto-revert-use-notify):
8889 Use `file-notify-supported-p' instead of `file-notify-support'.
8891 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8893 * net/tramp.el (tramp-file-name-for-operation):
8894 Add `file-notify-supported-p'.
8896 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8898 (tramp-sh-file-name-handler-alist): Add it as handler for
8899 `file-notify-supported-p '.
8901 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8902 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8903 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8904 Add `ignore' as handler for `file-notify-*' functions.
8906 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8908 * simple.el (line-move-partial, line-move): Don't start vscroll or
8909 scroll-up if the current line is not taller than the window.
8912 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8915 highlight question marks in the method names as strings.
8916 (ruby-block-beg-keywords): Inline.
8917 (ruby-font-lock-keyword-beg-re): Extract from
8918 `ruby-font-lock-keywords'.
8920 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8922 * frame.el (blink-cursor-blinks): New defcustom.
8923 (blink-cursor-blinks-done): New defvar.
8924 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8925 (blink-cursor-timer-function): Check if number of blinks has been
8927 (blink-cursor-suspend, blink-cursor-check): New defuns.
8929 2013-07-15 Glenn Morris <rgm@gnu.org>
8931 * edmacro.el (edmacro-format-keys): Fix previous change.
8933 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8935 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8936 The hack didn't work outside English locales anyway.
8938 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8940 * simple.el (define-alternatives): Rename from alternatives-define,
8941 per RMS' suggestion.
8943 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8945 * desktop.el (desktop-restore-frames): Change default to t.
8946 (desktop-restore-in-current-display): Now offer more options.
8947 (desktop-restoring-reuses-frames): New customization option.
8948 (desktop--saved-states): Doc fix.
8949 (desktop-filter-parameters-alist): New variable, renamed and expanded
8950 from desktop--excluded-frame-parameters.
8951 (desktop--target-display): New variable.
8952 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8953 (desktop--filter-tty*, desktop--filter-*-color)
8954 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8955 (desktop--filter-save-desktop-parm)
8956 (desktop-restore-in-original-display-p): New functions.
8957 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8958 (desktop--save-minibuffer-frames): New function, inspired by a similar
8959 function from Martin Rudalics.
8960 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8961 (desktop--restore-in-this-display-p): Remove.
8962 (desktop--find-frame): Rename from desktop--find-frame-in-display
8963 and add predicate argument.
8964 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8965 (desktop--reuse-list): New variable.
8966 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8968 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8970 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8972 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8974 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8976 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8977 Highlight conversion methods on Kernel.
8979 2013-07-13 Alan Mackenzie <acm@muc.de>
8981 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8982 and comment it out. This out-commenting enables certain C++
8983 declarations to be parsed correctly.
8985 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8987 * international/mule.el (define-coding-system): Doc fix.
8989 * simple.el (default-font-height): Don't call font-info if the
8990 frame's default font didn't change since the frame was created.
8993 2013-07-13 Leo Liu <sdl.web@gmail.com>
8995 * ido.el (ido-read-file-name): Guard against non-symbol value.
8997 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8999 * progmodes/python.el (python-imenu--build-tree): Fix corner case
9002 2013-07-13 Leo Liu <sdl.web@gmail.com>
9004 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
9005 ido-set-matches call. (Bug#6852)
9007 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
9009 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
9010 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
9012 (ruby-font-lock-keywords): Distinguish calls to functions with
9013 module-like names from module references. Highlight character
9016 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
9018 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
9019 (gdb-send): Handle continued commands. (Bug#14847)
9021 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9023 * desktop.el (desktop--v2s): Remove unused local variable.
9024 (desktop-save-buffer): Make defvar-local; adjust docstring.
9025 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
9026 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
9028 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
9030 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
9032 2013-07-12 Eli Zaretskii <eliz@gnu.org>
9034 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
9037 2013-07-12 Glenn Morris <rgm@gnu.org>
9039 * doc-view.el: Require cl-lib at runtime too.
9040 (doc-view-remove-if): Remove.
9041 (doc-view-search-next-match, doc-view-search-previous-match):
9044 * edmacro.el: Require cl-lib at runtime too.
9045 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
9046 (edmacro-mismatch, edmacro-subseq): Remove.
9048 * shadowfile.el: Require cl-lib.
9049 (shadow-remove-if): Remove.
9050 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
9053 * wid-edit.el: Require cl-lib.
9054 (widget-choose): Use cl-remove-if.
9055 (widget-remove-if): Remove.
9057 * progmodes/ebrowse.el: Require cl-lib at runtime too.
9058 (ebrowse-delete-if-not): Remove.
9059 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
9060 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
9061 Use cl-delete-if-not.
9063 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
9065 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
9066 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9068 2013-07-12 Leo Liu <sdl.web@gmail.com>
9070 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9072 2013-07-11 Glenn Morris <rgm@gnu.org>
9074 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9075 (edebug-gensym-index, edebug-gensym):
9076 Remove reimplementation of cl-gensym.
9077 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9079 * thumbs.el: Require cl-lib at run-time too.
9080 (thumbs-gensym-counter, thumbs-gensym):
9081 Remove reimplementation of cl-gensym.
9082 (thumbs-temp-file): Use cl-gensym.
9084 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9085 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9086 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9087 (ert--union, ert--gensym-counter, ert--gensym-counter)
9088 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9089 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9090 (ert-make-test-unbound, ert--expand-should-1)
9091 (ert--expand-should, ert--should-error-handle-error)
9092 (should-error, ert--explain-equal-rec)
9093 (ert--plist-difference-explanation, ert-select-tests)
9094 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9095 Use cl-lib functions rather than reimplementations.
9097 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9099 * net/tramp.el (tramp-methods): Extend docstring.
9100 (tramp-connection-timeout): New defcustom.
9101 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9102 (with-tramp-progress-reporter): Simplify.
9103 (tramp-process-actions): Improve messages.
9105 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9106 * net/tramp-sh.el (tramp-maybe-open-connection):
9107 Use `tramp-connection-timeout'.
9108 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9111 2013-07-11 Leo Liu <sdl.web@gmail.com>
9113 * ido.el (ido-read-file-name): Conform to the requirements of
9114 read-file-name. (Bug#11861)
9115 (ido-read-directory-name): Conform to the requirements of
9116 read-directory-name.
9118 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9120 * subr.el (delay-warning): New function.
9122 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9124 * simple.el (default-line-height): New function.
9125 (line-move-partial, line-move): Use it instead of computing the
9127 (line-move-partial): Always compute ROWH. If the last line is
9128 partially-visible, but its text is completely visible, allow
9129 cursor to enter such a partially-visible line.
9131 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9133 Improve error messages. (Bug#14808)
9135 * net/tramp.el (tramp-current-connection): New defvar, moved from
9137 (tramp-message-show-progress-reporter-message): Remove, not
9139 (tramp-error-with-buffer): Show message in minibuffer.
9140 Discard input before waiting. Reset connection timestamp.
9141 (with-tramp-progress-reporter): Improve messages.
9142 (tramp-process-actions): Use progress reporter. Delete process in
9143 case of error. Improve messages.
9145 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9146 Call `tramp-error-with-buffer' with vector and buffer.
9147 (tramp-current-connection): Remove.
9148 (tramp-maybe-open-connection): The car of
9149 `tramp-current-connection' are the first 3 slots of the vector.
9151 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9153 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9154 inside continued strings.
9156 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9158 Timestamp fixes for undo (Bug#14824).
9159 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9161 2013-07-10 Leo Liu <sdl.web@gmail.com>
9163 * files.el (require-final-newline): Allow safe local value.
9166 2013-07-09 Leo Liu <sdl.web@gmail.com>
9168 * ido.el (ido-read-directory-name): Handle fallback.
9169 (ido-read-file-name): Update DIR to ido-current-directory.
9171 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9173 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9175 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9176 "autoload". Remove "warn lower camel case" section, previously
9177 commented out. Highlight negation char. Do not highlight the
9178 target in singleton method definitions.
9180 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9182 * faces.el (tty-setup-hook): Declare the hook.
9184 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9185 and detect when a guard/pred depends on local vars (bug#14773).
9186 (pcase--u1): Adjust caller.
9188 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9190 * simple.el (line-move-partial, line-move): Account for
9192 (line-move-partial): Avoid setting vscroll when the last
9193 partially-visible line in window is of default height.
9195 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9197 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9200 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9202 * subr.el (read-quoted-char): Remove unused local variable `char'.
9204 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9206 * ediff.el (ediff-version): Version update.
9207 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9208 (ediff-merge-with-ancestor-command, ediff-directories-command)
9209 (ediff-directories3-command, ediff-merge-directories-command)
9210 (ediff-merge-directories-with-ancestor-command): New functions.
9211 All are command-line interfaces to ediff: to facilitate calling
9212 Emacs with the appropriate ediff functions invoked.
9214 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9215 (viper-save-kill-buffer): Check if buffer is modified.
9217 * viper.el (viper-version): Version update.
9218 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9220 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9222 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9223 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9224 (viper-intercept-ESC-key): Simplify.
9225 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9226 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9227 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9228 (viper-setup-ESC-to-escape): New functions.
9229 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9230 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9232 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9234 * simple.el (default-font-height, window-screen-lines):
9236 (line-move, line-move-partial): Use them instead of
9237 frame-char-height and window-text-height. This makes scrolling
9238 text smoother when the buffer's default face uses a font that is
9239 different from the frame's default font.
9241 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9243 * files.el (write-file): Do not display confirm dialog for NS,
9244 it does its own dialog, which can't be canceled (Bug#14578).
9246 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9248 * simple.el (line-move-partial): Adjust the row returned by
9249 posn-at-point for the current window-vscroll. (Bug#14567)
9251 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9253 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9254 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9257 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9259 * window.el (window-state-put-stale-windows): New variable.
9260 (window--state-put-2): Save list of windows without matching buffer.
9261 (window-state-put): Remove "bufferless" windows if possible.
9263 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9265 * simple.el (alternatives-define): Remove leftover :group keyword.
9268 2013-07-06 Leo Liu <sdl.web@gmail.com>
9270 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9271 (ido-enable-virtual-buffers): New variable.
9272 (ido-buffer-internal, ido-toggle-virtual-buffers)
9273 (ido-make-buffer-list): Use it.
9274 (ido-exhibit): Support turning on and off virtual buffers
9277 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9279 * simple.el (alternatives-define): New macro.
9281 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9283 * subr.el (read-quoted-char): Use read-key.
9284 (sit-for): Let read-event decode tty input (bug#14782).
9286 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9288 * calendar/todo-mode.el: Add handling of file deletion, both by
9289 mode command and externally. Fix various related bugs.
9290 Clarify Commentary and improve some documentation strings and code.
9291 (todo-delete-file): New command.
9292 (todo-check-file): New function.
9293 (todo-show): Handle external deletion of the file we're trying to
9294 show (bug#14688). Replace called-interactively-p by an optional
9295 prefix argument to avoid problematic interaction with catch form
9296 when byte compiled (bug#14702).
9297 (todo-quit): Handle external deletion of the archive's todo file.
9298 Make sure the buffer that was visiting the archive file is still
9299 live before trying to bury it.
9300 (todo-category-completions): Handle external deletion of any
9301 category completion files.
9302 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9303 of todo files, in case of external deletion.
9304 (todo-add-file): Replace unnecessary setq by let-binding.
9305 (todo-find-archive): Check whether there are any archives.
9306 Replace unnecessary setq by let-binding.
9307 (todo-archive-done-item): Use find-file-noselect to get the
9308 archive buffer whether or not the archive already exists.
9309 Remove superfluous code. Use file size instead of buffer-file-name to
9310 check if the archive is new; if it is, update list of archives.
9311 (todo-default-todo-file): Allow nil to be a valid value for when
9312 there are no todo files.
9313 (todo-reevaluate-default-file-defcustom): Use corrected definition
9314 of todo-default-todo-file.
9315 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9316 (todo-delete-category, todo-show-categories-table)
9317 (todo-category-number): Clarify comment.
9318 (todo-filter-items): Clarify documentation string.
9319 (todo-show-current-file, todo-display-as-todo-file)
9320 (todo-reset-and-enable-done-separator): Tweak documentation string.
9321 (todo-done-separator): Make separator length window-width, since
9322 bug#2749 is now fixed.
9324 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9326 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9327 Support both "gvfs-monitor-dir" and "inotifywait".
9328 (tramp-sh-file-inotifywait-process-filter): Rename from
9329 `tramp-sh-file-notify-process-filter'.
9330 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9331 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9333 2013-07-05 Leo Liu <sdl.web@gmail.com>
9335 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9337 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9339 * frame.el (display-pixel-height, display-pixel-width)
9340 (display-mm-height, display-mm-width): Mention behavior on
9341 multi-monitor setups in docstrings.
9342 (w32-display-monitor-attributes-list): Declare function.
9343 (display-monitor-attributes-list): Use it.
9345 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9347 * filenotify.el: New package.
9349 * autorevert.el (top): Require filenotify.el.
9350 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9352 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9353 (auto-revert-notify-handler): Use `file-notify-*' functions.
9355 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9357 * net/tramp.el (tramp-file-name-for-operation):
9358 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9360 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9361 for `file-notify-add-watch' and `file-notify-rm-watch'.
9362 (tramp-process-sentinel): Improve trace.
9363 (tramp-sh-handle-file-notify-add-watch)
9364 (tramp-sh-file-notify-process-filter)
9365 (tramp-sh-handle-file-notify-rm-watch)
9366 (tramp-get-remote-inotifywait): New defuns.
9368 2013-07-03 Juri Linkov <juri@jurta.org>
9370 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9371 call of `occur-read-primary-args' to interactive spec.
9373 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9374 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9376 2013-07-03 Matthias Meulien <orontee@gmail.com>
9378 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9379 `Buffer-menu-multi-occur'. Add it to the menu.
9380 (Buffer-menu-mode): Document it in docstring.
9381 (Buffer-menu-multi-occur): New command. (Bug#14673)
9383 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9385 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9386 keywords and built-ins.
9388 2013-07-03 Glenn Morris <rgm@gnu.org>
9390 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9392 Make info-xref checks case-sensitive by default
9393 * info.el (Info-find-node, Info-find-in-tag-table)
9394 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9395 Add option for exact case matching of nodes.
9396 * info-xref.el (info-xref): New custom group.
9397 (info-xref-case-fold): New option.
9398 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9400 2013-07-03 Leo Liu <sdl.web@gmail.com>
9402 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9404 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9406 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9407 middle of block statement initially, lower the depth. Remove
9408 FIXME comment, not longer valid. Remove middle of block statement
9409 detection, no need to do that anymore since we've been using
9410 `ruby-parse-region' here.
9412 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9414 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9416 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9418 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9420 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9422 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9423 (desktop-restore-in-current-display): New customization option.
9424 (desktop--excluded-frame-parameters): Add `font'.
9425 (desktop--save-frames): Rename from desktop--save-windows.
9426 (desktop--restore-in-this-display-p): New function.
9427 (desktop--make-full-frame): Remove unwanted width/height from
9428 full(width|height) frames.
9429 (desktop--restore-frames): Rename from desktop--restore-windows.
9430 Obey desktop-restore-current-display. Do not delete old frames or
9431 select a new frame unless we were able to restore at least one frame.
9433 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9435 * files.el (find-file-noselect): Simplify conditional expression.
9437 * textmodes/remember.el (remember-append-to-file):
9438 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9440 Add `remember-notes' function to store random notes across Emacs
9442 * textmodes/remember.el (remember-data-file): Add :set callback to
9443 affect notes buffer (if any).
9444 (remember-notes): New command.
9445 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9446 New defcustoms for the `remember-notes' function.
9447 (remember-notes-save-and-bury-buffer): New command.
9448 (remember-notes-mode-map): New variable.
9449 (remember-mode): New minor mode.
9450 (remember-notes--kill-buffer-query): New function.
9451 * startup.el (initial-buffer-choice): Add notes to custom type.
9453 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9455 * bindings.el (right-char, left-char): Don't call sit-for, this is
9456 no longer needed. Use arithmetic comparison only for numerical
9459 * international/mule-cmds.el (select-safe-coding-system):
9460 Handle the case of FROM being a string correctly. (Bug#14755)
9462 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9465 progression on degenerate tables.
9466 (shr-rescale-image): ImageMagick animated images currently don't work.
9468 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9470 Some fixes and improvements for desktop frame restoration.
9471 It is still experimental and disabled by default.
9472 * desktop.el (desktop--save-windows): Put the selected frame at
9473 the head of the list.
9474 (desktop--make-full-frame): New function.
9475 (desktop--restore-windows): Try to re-select the frame that was
9476 selected upon saving. Do not abort if some frames fail to restore,
9477 just show an error message and continue. Set up maximized frames
9478 so they have default non-maximized dimensions.
9480 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9482 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9483 Don't start heredoc inside a string or comment.
9485 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9487 * bindings.el (visual-order-cursor-movement): New defcustom.
9488 (right-char, left-char): Provide visual-order cursor motion by
9489 calling move-point-visually. Update the doc strings.
9491 2013-06-28 Kenichi Handa <handa@gnu.org>
9493 * international/mule.el (define-coding-system): New coding system
9494 properties :inhibit-null-byte-detection,
9495 :inhibit-iso-escape-detection, and :prefer-utf-8.
9496 (set-buffer-file-coding-system): If :charset-list property of
9497 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9498 appropriate for setting.
9500 * international/mule-cmds.el (select-safe-coding-system):
9501 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9502 multibyte characters, return utf-8 (or one of its siblings).
9504 * international/mule-conf.el (prefer-utf-8): New coding system.
9505 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9508 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9510 * net/shr.el (shr-render-region): New function.
9512 * net/eww.el: Autoload `eww-browse-url'.
9514 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9516 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9517 Adapt to `package-desc-version' being a list.
9518 Use `package--ac-desc-version' to retrieve version from a package
9521 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9523 New experimental feature to save&restore window and frame setup.
9524 * desktop.el (desktop-save-windows): New defcustom.
9525 (desktop--saved-states): New var.
9526 (desktop--excluded-frame-parameters): New defconst.
9527 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9528 (desktop--restore-windows, desktop--save-windows): New functions.
9529 (desktop-save): Call `desktop--save-windows'.
9530 (desktop-read): Call `desktop--restore-windows'.
9532 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9534 * net/shr.el (add-face-text-property): Remove compat definition.
9536 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9538 * info.el (Info-try-follow-nearest-node): Move search for footnote
9539 above search for node name to prevent missing a footnote (bug#14717).
9541 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9543 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9545 2013-06-27 Leo Liu <sdl.web@gmail.com>
9547 * net/eww.el (eww-read-bookmarks): Check file size.
9549 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9551 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9552 advice--pending if newdef is nil or an autoload (bug#13820).
9553 (advice-mapc): New function.
9555 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9557 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9559 (eww-mode-map): Add a menu bar.
9560 (eww-add-bookmark): New command.
9561 (eww-bookmark-mode): New mode and commands.
9562 (eww-add-bookmark): Remove newlines from the title.
9563 (eww-bookmark-browse): Don't bug out if it's the only window.
9565 2013-06-26 Glenn Morris <rgm@gnu.org>
9567 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9568 (hfy-size): Handle ttys. (Bug#14668)
9570 * info-xref.el: Update for Texinfo 5 change in *note format.
9571 (info-xref-node-re, info-xref-note-re): New constants.
9572 (info-xref-check-buffer): Use info-xref-note-re.
9574 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9576 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9578 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9579 nil terminate the loop (bug#14718).
9581 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9583 * net/eww.el: Rework history traversal. When going forward/back,
9584 put these actions into the history, too, so that they can be
9586 (eww-render): Move the history reset to the correct buffer.
9588 2013-06-25 Juri Linkov <juri@jurta.org>
9590 * files-x.el (modify-dir-local-variable): Change the header comment
9591 in the file with directory local variables. (Bug#14692)
9593 * files-x.el (read-file-local-variable-value): Add `default'.
9596 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9598 * net/eww.el (eww-make-unique-file-name): Create a unique file
9599 name before saving to entering `y' accidentally asynchronously.
9601 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9603 * net/eww.el (eww-download): New command and keystroke.
9605 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9607 * net/eww.el (eww-copy-page-url): Change name of command.
9609 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9610 be more consistent with Info and dired.
9612 * net/eww.el (eww-mode-map): Ditto.
9614 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9616 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9617 packages from archives.
9618 (package-archive-contents): Change format; include obsolete packages.
9619 (package-desc): Use `dir' to mark builtin packages.
9620 (package--from-builtin): Set the `dir' field to `builtin'.
9621 (generated-autoload-file, version-control): Declare.
9622 (package-compute-transaction): Change first arg and return value to be
9623 lists of package-descs. Adjust to new package-archive-contents format.
9624 (package--add-to-archive-contents): Adjust to new
9625 package-archive-contents format.
9626 (package-download-transaction): Arg is now a list of package-descs.
9627 (package-install): If `pkg' is a package name, pass it as
9628 a requirement, so it is subject to the usual (e.g. disabled) checks.
9629 (describe-package): Accept package-desc as well.
9630 (describe-package-1): Describe a specific package-desc. Add links to
9631 other package-descs for the same package name.
9632 (package-menu-describe-package): Pass the actual package-desc.
9633 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9635 (package-desc-status): New function.
9636 (package-menu--refresh): New function, extracted
9637 from package-menu--generate.
9638 (package-menu--generate): Use it.
9639 (package-delete): Update package-alist.
9640 (package-menu-execute): Don't call package-initialize.
9642 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9643 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9644 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9645 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9646 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9647 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9649 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9651 * window.el (window--state-get-1): Workaround for bug#14527.
9652 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9654 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9656 * net/eww.el (eww-back-url): Implement the history by stashing all
9657 the data into a list.
9658 (eww-forward-url): Allow going forward in the history, too.
9660 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9662 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9663 for values and use read--expression for expressions (bug#14710).
9664 (read-file-local-variable): Avoid setq.
9665 (read-file-local-variable-mode): Use minor-mode-list.
9667 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9669 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9672 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9674 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9675 Update imenu-support when dialect changes.
9677 2013-06-25 Leo Liu <sdl.web@gmail.com>
9679 * ido.el (ido-read-internal): Allow forward slash on windows.
9681 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9683 * net/eww.el (eww): Start of strings is \\`, not ^.
9685 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9687 * net/shr.el (shr-browse-url): Fix interactive spec.
9689 * net/eww.el (eww): Add a trailing slash to domain names.
9691 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9693 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9695 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9697 * net/shr.el (shr-browse-url): Use an external browser if given a
9700 * net/eww.el (eww-external-browser): Move to shr.
9702 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9704 * net/eww.el (eww): Work more correctly for file: URLs.
9705 (eww-detect-charset): Allow quoted charsets.
9706 (eww-yank-page-url): New command and keystroke.
9708 2013-06-24 Daiki Ueno <ueno@gnu.org>
9710 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9711 file name of gpg executable.
9712 (epg-context-program): New function.
9713 (epg-context-home-directory): New function.
9714 (epg-context-set-program): New function.
9715 (epg-context-set-home-directory): New function.
9716 (epg--start): Use `epg-context-program' instead of
9718 (epg--list-keys-1): Likewise.
9720 2013-06-24 Leo Liu <sdl.web@gmail.com>
9722 * ido.el (ido-read-internal): Fix bug#14620.
9724 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9726 * faces.el (face-documentation): Simplify.
9727 (read-face-attribute, tty-find-type, x-resolve-font-name):
9728 Use `string-match-p'.
9729 (list-faces-display): Use `string-match-p'. Simplify.
9730 (face-spec-recalc): Check face to avoid face alias loops.
9731 (read-color): Use `string-match-p' and non-capturing parenthesis.
9733 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9735 * net/shr.el (shr-rescale-image): Use the new
9736 :max-width/:max-height functionality.
9738 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9740 * net/eww.el (eww-search-prefix): New variable.
9742 (eww-external-browser): New variable.
9743 (eww-mode-map): New keystroke.
9744 (eww-browse-with-external-browser): New command.
9746 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9748 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9750 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9751 Don't skip aligning the next header field when padding is 0;
9752 otherwise, field width is not respected unless the title is as
9755 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9757 * emacs-lisp/package.el (package-el-version): Remove.
9758 (package-process-define-package): Fix inf-loop.
9759 (package-install): Allow symbols as arguments again.
9761 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9763 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9764 add some more keyword-like methods.
9765 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9767 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9769 * bs.el (bs-buffer-show-mark): Make defvar-local.
9770 (bs-mode): Use setq-local.
9772 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9773 (emacs-lock--try-unlocking): Make defvar-local.
9775 2013-06-22 Glenn Morris <rgm@gnu.org>
9777 * play/cookie1.el (cookie-apropos): Minor simplification.
9779 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9781 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9783 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9784 `regexp-opt', it breaks the build during dumping.
9786 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9788 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9789 Highlight keyword-like methods on Kernel and Module with
9790 font-lock-builtin-face.
9791 (auto-mode-alist): Consolidate different entries into one regexp
9792 and add more *file-s.
9794 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9796 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9798 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9799 (diary-entry): Use it in the action of this button type instead of
9802 * calendar/todo-mode.el: New version.
9803 (todo-add-category): Append new category to end of file and give
9804 it the highest number, instead of putting it at the beginning and
9805 giving it 0. Incorporate noninteractive functionality.
9806 (todo-forward-category): Adapt to 1-based category numbering.
9807 Allow skipping over archived categories.
9808 (todo-backward-category): Derive from todo-forward-category.
9809 (todo-backward-item, todo-forward-item): Make noninteractive and
9810 delegate interactive part to new commands. Make sensitive to done items.
9811 (todo-categories): Make value an alist of category names and
9812 vectors of item counts.
9813 (todo-category-beg): Make a defconst.
9814 (todo-category-number): Use 1 instead of 0 as initial value.
9815 (todo-category-select): Make sensitive to overlays, optional item
9816 highlighting and done items.
9817 (todo-delete-item): Make sensitive to overlays and marked and done items.
9818 (todo-edit-item): Make sensitive to overlays and editing of
9819 date/time header optional. Add format checks.
9820 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9821 no-op if point is not on an item. Advertise using todo-edit-quit.
9822 (todo-edit-mode): Make sensitive to new format, font-locking, and
9823 multiple todo files.
9824 (todo-insert-item, todo-insert-item-here): Derive from
9825 todo-basic-insert-item and extend functionality.
9826 (todo-item-end, todo-item-start): Make sensitive to done items.
9827 (todo-item-string): Don't return text properties. Restore point.
9828 (todo-jump-to-category): Make sensitive to multiple todo files and
9829 todo archives. Use extended category completion.
9830 (todo-lower-item, todo-raise-item): Rename to *-priority and
9831 derive from todo-set-item-priority.
9832 (todo-mode): Derive from special-mode. Make sensitive to new
9833 format, font-locking and multiple todo files. Make read-only.
9834 (todo-mode-map): Don't suppress digit keys, so they can supply
9835 prefix arguments. Add many new key bindings.
9836 (todo-prefix): Insert as an overlay instead of file text.
9837 Change semantics from diary date expression to purely visual mark.
9838 (todo-print): Rename to todo-print-buffer. Make buffer display
9839 features printable. Remove option to restrict number of items
9840 printed. Add option to print to file.
9841 (todo-print-function): Rename to todo-print-buffer-function.
9842 (todo-quit): Extend to handle exiting new todo modes.
9843 (todo-remove-item): Make sensitive to overlays.
9844 (todo-save): Extend to buffers of filtered items.
9845 (todo-show): Make sensitive to done items, multiple todo files and
9846 new todo modes. Offer to convert legacy todo file before creating
9847 first new todo file.
9848 (todo-show-priorities): Rename to todo-top-priorities.
9849 Change semantics of value 0.
9850 (todo-top-priorities): Rename to todo-filter-top-priorities,
9851 derive from todo-filter-items and extend functionality.
9852 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9853 and extend functionality to other types of filtered items.
9854 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9855 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9856 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9857 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9858 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9859 (todo-edit-mode-hook, todo-entry-prefix-function)
9860 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9861 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9862 (todo-initials, todo-insert-threshold, todo-item-string-start)
9863 (todo-line-string, todo-menu, todo-mode-hook)
9864 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9865 (todo-print-priorities, todo-remove-separator)
9866 (todo-save-top-priorities-too, todo-string-count-lines)
9867 (todo-string-multiline-p, todo-time-string-format)
9868 (todo-tmp-buffer-name): Remove.
9869 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9870 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9871 (todo-edit-category-diary-inclusion)
9872 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9873 (todo-edit-file, todo-edit-item-date-day)
9874 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9875 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9876 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9877 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9878 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9879 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9880 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9881 (todo-filter-top-priorities-multifile, todo-find-archive)
9882 (todo-find-filtered-items-file, todo-go-to-source-item)
9883 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9884 (todo-jump-to-archive-category, todo-lower-category)
9885 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9886 (todo-move-category, todo-move-item, todo-next-button)
9887 (todo-next-item, todo-padded-string, todo-powerset)
9888 (todo-previous-button, todo-previous-item)
9889 (todo-print-buffer-to-file, todo-raise-category)
9890 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9891 (todo-set-category-number, todo-set-item-priority)
9892 (todo-set-top-priorities-in-category)
9893 (todo-set-top-priorities-in-file, todo-show-categories-table)
9894 (todo-sort-categories-alphabetically-or-numerically)
9895 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9896 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9897 (todo-toggle-item-header, todo-toggle-item-highlighting)
9898 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9899 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9900 (todo-unarchive-items, todo-unmark-category): New commands.
9901 (todo-absolute-file-name, todo-add-to-buffer-list)
9902 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9903 (todo-basic-insert-item, todo-category-completions)
9904 (todo-category-number, todo-category-string-matcher-1)
9905 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9906 (todo-check-format, todo-clear-matches)
9907 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9908 (todo-current-category, todo-date-string-matcher)
9909 (todo-define-insertion-command, todo-diary-expired-matcher)
9910 (todo-diary-goto-entry, todo-diary-item-p)
9911 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9912 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9913 (todo-done-item-section-p, todo-done-separator)
9914 (todo-done-string-matcher, todo-files, todo-filter-items)
9915 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9916 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9917 (todo-insert-category-line, todo-insert-item-from-calendar)
9918 (todo-insert-sort-button, todo-insert-with-overlays)
9919 (todo-insertion-command-name, todo-insertion-key-bindings)
9920 (todo-label-to-key, todo-longest-category-name-length)
9921 (todo-make-categories-list, todo-mode-external-set)
9922 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9923 (todo-modes-set-3, todo-multiple-filter-files)
9924 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9925 (todo-read-category, todo-read-date, todo-read-dayname)
9926 (todo-read-file-name, todo-read-time)
9927 (todo-reevaluate-category-completions-files-defcustom)
9928 (todo-reevaluate-default-file-defcustom)
9929 (todo-reevaluate-filelist-defcustoms)
9930 (todo-reevaluate-filter-files-defcustom)
9931 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9932 (todo-reset-done-separator, todo-reset-done-separator-string)
9933 (todo-reset-done-string, todo-reset-global-current-todo-file)
9934 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9935 (todo-reset-prefix, todo-set-categories)
9936 (todo-set-date-from-calendar, todo-set-show-current-file)
9937 (todo-set-top-priorities, todo-short-file-name)
9938 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9939 (todo-total-item-counts, todo-update-buffer-list)
9940 (todo-update-categories-display, todo-update-categories-sexp)
9941 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9943 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9945 (todo-categories, todo-display, todo-edit, todo-faces)
9946 (todo-filtered): New defgroups.
9947 (todo-archived-only, todo-button, todo-category-string, todo-date)
9948 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9949 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9950 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9951 (todo-add-item-if-new-category, todo-always-add-time-string)
9952 (todo-categories-align, todo-categories-archived-label)
9953 (todo-categories-category-label, todo-categories-diary-label)
9954 (todo-categories-done-label, todo-categories-number-separator)
9955 (todo-categories-todo-label, todo-categories-totals-label)
9956 (todo-category-completions-files, todo-completion-ignore-case)
9957 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9958 (todo-done-separator-string, todo-done-string)
9959 (todo-files-function, todo-filter-done-items, todo-filter-files)
9960 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9961 (todo-initial-category, todo-initial-file, todo-item-mark)
9962 (todo-legacy-date-time-regexp, todo-mode-line-function)
9963 (todo-nondiary-marker, todo-number-prefix)
9964 (todo-print-buffer-function, todo-show-current-file)
9965 (todo-show-done-only, todo-show-first, todo-show-with-done)
9966 (todo-skip-archived-categories, todo-top-priorities-overrides)
9967 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9968 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9970 (todo-category-done, todo-date-pattern, todo-date-string-start)
9971 (todo-diary-items-buffer, todo-done-string-start)
9972 (todo-filtered-items-buffer, todo-item-start)
9973 (todo-month-abbrev-array, todo-month-name-array)
9974 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9975 (todo-top-priorities-buffer): New defconsts.
9976 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9977 (todo-categories-with-marks, todo-category-string-face)
9978 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9979 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9980 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9981 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9982 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9983 (todo-font-lock-keywords, todo-global-current-todo-file)
9984 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9985 (todo-insertion-commands-args)
9986 (todo-insertion-commands-args-genlist)
9987 (todo-insertion-commands-names, todo-insertion-map)
9988 (todo-key-bindings-t, todo-key-bindings-t+a)
9989 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9990 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9991 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9992 (todo-visited): New variables.
9994 2013-06-21 Glenn Morris <rgm@gnu.org>
9996 * play/cookie1.el (cookie-apropos): Add optional display argument.
9997 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9998 (psychoanalyze-pinhead): Use cookie-doctor.
10000 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10002 * emacs-lisp/package.el (tar-get-file-descriptor)
10003 (tar--extract): Declare.
10005 2013-06-21 Eduard Wiebe <usenet@pusto.de>
10007 Extend flymake's warning predicate to be a function (bug#14217).
10008 * progmodes/flymake.el (flymake-warning-predicate): New.
10009 (flymake-parse-line): Use it.
10010 (flymake-warning-re): Make obsolete alias to
10011 `flymake-warning-predicate'.
10013 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * emacs-lisp/package.el (package-alist): Include obsolete packages.
10016 (package-obsolete-list): Remove.
10017 (package-activate): Remove min-version argument. Add `force' argument.
10018 Adjust to new package-alist format.
10019 (package-mark-obsolete): Remove.
10020 (package-unpack): Force reload of the package's autoloads.
10021 (package-installed-p): Check builtins if the installed package is not
10023 (package-initialize): Don't reset package-obsolete-list.
10024 Don't specify which package version to activate.
10025 (package-process-define-package, describe-package-1)
10026 (package-menu--generate): Adjust to new package-alist format.
10028 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10030 * allout-widgets.el (allout-widgets-mode-off)
10031 (allout-widgets-mode-on, allout-widgets-pre-command-business)
10032 (allout-widgets-post-command-business)
10033 (allout-widgets-after-copy-or-kill-function)
10034 (allout-widgets-after-undo-function, allout-test-range-overlaps)
10035 (allout-decorate-item-and-context)
10036 (allout-graphics-modification-handler): Fix typos in docstrings.
10037 (allout-get-or-create-parent-widget): Use `looking-at-p'.
10039 * cmuscheme.el (scheme-start-file): Doc fix.
10040 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
10041 (scheme-input-filter): Use `string-match-p'.
10043 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
10045 * dired-x.el: Use Dired consistently in docstrings.
10047 * dired.el: Use Dired consistently in docstrings.
10048 (dired-readin, dired-mode): Use `setq-local'.
10049 (dired-switches-alist): Make defvar-local.
10050 (dired-buffers-for-dir): Use `zerop'.
10051 (dired-safe-switches-p, dired-switches-escape-p)
10052 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
10053 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
10054 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
10055 (dired-goto-next-nontrivial-file): Use `string-match-p'.
10056 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
10057 (dired-toggle-marks, dired-mark-files-containing-regexp)
10058 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
10059 (dired-flag-auto-save-files, dired-flag-backup-files):
10060 Use `looking-at-p'.
10061 (dired-mark-files-regexp, dired-build-subdir-alist):
10062 Use `string-match-p', `looking-at-p'.
10064 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
10065 (direct-print-region-helper): Use `string-match-p'.
10067 2013-06-21 Leo Liu <sdl.web@gmail.com>
10069 * comint.el (comint-redirect-results-list-from-process):
10072 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10074 * net/eww.el (eww-update-header-line-format): Quote % characters.
10076 2013-06-21 Glenn Morris <rgm@gnu.org>
10078 * play/cookie1.el (cookie): New custom group.
10079 (cookie-file): New option.
10080 (cookie-check-file): New function.
10081 (cookie): Make it interactive. Make start and end messages optional.
10082 Interactively, display the result. Default to cookie-file.
10083 (cookie-insert): Default to cookie-file.
10084 (cookie-snarf): Make start and end messages optional.
10085 Default to cookie-file. Use with-temp-buffer.
10086 (cookie-read): Rename from read-cookie.
10087 Make start and end messages optional. Default to cookie-file.
10088 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10089 Do not autoload it.
10090 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10091 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10093 2013-06-21 Leo Liu <sdl.web@gmail.com>
10095 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10097 2013-06-21 Glenn Morris <rgm@gnu.org>
10099 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10101 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10102 Daniel Hackney <dan@haxney.org>
10104 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10105 Consolidate the single-file vs tarball code.
10106 (package-desc-suffix): New function.
10107 (package-desc-full-name): Don't bother inlining it.
10108 (package-load-descriptor): Return the new package-desc.
10109 (package-mark-obsolete): Remove unused arg `package'.
10110 (package-unpack): Make it work for single files as well.
10111 Make it update package-alist.
10112 (package--make-autoloads-and-stuff): Rename from
10113 package--make-autoloads-and-compile. Don't compile any more.
10114 (package--compile): New function.
10115 (package-generate-description-file): New function, extracted from
10116 package-unpack-single.
10117 (package-unpack-single): Remove.
10118 (package--with-work-buffer): Add indentation and debugging info.
10119 (package-download-single): Remove.
10120 (package-install-from-archive): Rename from package-download-tar, make
10121 it take a pkg-desc, and make it work for single files as well.
10122 (package-download-transaction): Simplify.
10123 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10124 external tar program.
10125 (package-install-from-buffer): Remove `pkg-desc' argument.
10126 Use package-tar-file-info for tar-mode buffers.
10127 (package-install-file): Simplify accordingly.
10128 (package-archive-base): Change to take a pkg-desc.
10129 * tar-mode.el (tar--check-descriptor): New function, extracted from
10130 tar-get-descriptor.
10131 (tar-get-descriptor): Use it.
10132 (tar-get-file-descriptor): New function.
10133 (tar--extract): New function, extracted from tar-extract.
10134 (tar--extract): Use it.
10135 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10136 case the summary uses non-ascii. Adjust to new calling convention of
10137 package-tar-file-info.
10139 2013-06-21 Leo Liu <sdl.web@gmail.com>
10141 * comint.el (comint-redirect-results-list-from-process):
10142 Fix random delay. (Bug#14681)
10144 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10146 * profiler.el (profiler-format-number): Use log, not log10.
10148 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10150 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10152 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10154 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10155 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10157 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10158 (AUTOGENEL): ... here.
10159 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10160 (cl--defsubst-expand): Use it.
10162 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10164 * subr.el (log10): Move here from C code, and declare as obsolete.
10165 All uses of (log10 X) replaced with (log X 10).
10167 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10169 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10170 Declare with `defvar-local'.
10171 (tabulated-list-use-header-line, tabulated-list-entries)
10172 (tabulated-list-padding, tabulated-list-printer)
10173 (tabulated-list-sort-key): Declare with `defvar-local'.
10174 (tabulated-list-init-header, tabulated-list-print-fake-header):
10177 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10179 * arc-mode.el (archive-mode): Add `archive-write-file' to
10180 `write-contents-functions' also for remote files. (Bug#14652)
10182 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10184 * cus-edit.el (custom-commands): Fix typos.
10185 (custom-display): Fix tooltip text.
10186 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10187 Fix typos in docstrings.
10188 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10189 (custom-unlispify-menu-entry, custom-magic-value-create)
10190 (custom-add-see-also, custom-group-value-create): Use ?\s.
10191 (custom-guess-type, customize-apropos, editable-field)
10192 (custom-face-value-create): Use `string-match-p'.
10193 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10195 * custom.el (custom-load-symbol): Use `string-match-p'.
10197 * ansi-color.el: Convert to lexical binding.
10198 (ansi-colors): Fix URL.
10199 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10200 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10201 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10203 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10205 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10207 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10209 2013-06-19 Tom Tromey <tromey@redhat.com>
10211 * net/eww.el (eww-top-url): Remove.
10212 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10213 (eww-render): Set new variables. Don't set eww-top-url.
10214 (eww-handle-link): Handle "prev", "home", and "contents".
10215 Downcase the rel text.
10216 (eww-top-url): Choose best top URL.
10218 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10220 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10221 relying in widget.el. Using widget.el leads to too many
10222 user interface inconsistencies.
10223 (eww-self-insert): Implement entering commands in text fields.
10224 (eww-process-text-input): New function to make text input field editing
10226 (eww-submit): Rewrite to use the new-style form methods.
10227 (eww-select-display): Display the correct selected item.
10228 (eww-change-select): Implement changing the select value.
10229 (eww-toggle-checkbox): Implement radio/checkboxes.
10230 (eww-update-field): Fix compilation error.
10231 (eww-tag-textarea): Implement <textarea>.
10233 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10234 we don't shadow mode-specific bindings.
10236 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10239 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10241 2013-06-19 Glenn Morris <rgm@gnu.org>
10243 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10245 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10247 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10250 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10252 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10254 * net/browse-url.el (browse-url-browser-function):
10255 `eww-browse-url' has the right calling signature, `eww' does not.
10257 2013-06-19 Glenn Morris <rgm@gnu.org>
10259 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10260 Only eval autoloaded macros.
10261 (byte-compile-autoload): Only give the macro warning for macros.
10263 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10264 (ps-underlined-faces): Declare.
10266 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10267 (speedbar-add-supported-extension): Declare.
10269 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10270 Don't include a date stamp in the header of the generated file;
10271 it leads to needless differences between output files.
10273 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10275 * net/secrets.el (secrets-struct-secret-content-type):
10276 Replace check of introspection data by a test call of "CreateItem".
10277 Some servers do not offer introspection.
10279 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * electric.el (electric-pair-mode): Improve interaction with
10282 electric-layout-mode.
10283 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10284 (electric-pair-syntax): Use text-mode-syntax-table in comments
10286 (electric-pair--insert): New function.
10287 (electric-pair-post-self-insert-function): Use it and
10288 electric--after-char-pos.
10290 2013-06-19 Leo Liu <sdl.web@gmail.com>
10292 * progmodes/octave.el (octave-help): Fix regexp.
10294 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10296 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10297 (shr-table-horizontal-line): Allow nil as a value, and change the
10299 (shr-insert-table-ruler): Respect the nil value.
10301 2013-06-18 Tom Tromey <tromey@barimba>
10303 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10305 (eww-open-file): New defun.
10306 (eww-render): Initialize new variables.
10307 (eww-display-html): Handle "link" and "a".
10308 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10309 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10310 (eww-back-url): Rename from eww-previous-url.
10311 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10314 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10316 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10317 Distinguish ternary operator tokens from slash symbol and slash
10320 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10322 Convert symbol prettification into minor mode and global minor mode.
10324 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10325 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10326 (prettify-symbols--keywords): Rename from
10327 `prog-prettify-symbols-alist' and make a local defvar.
10328 (prettify-symbols--compose-symbol): Rename from
10329 `prog--prettify-font-lock-compose-symbol'.
10330 (prettify-symbols--make-keywords): Rename from
10331 `prog-prettify-font-lock-symbols-keywords' and simplify.
10332 (prog-prettify-install): Remove.
10333 (prettify-symbols-mode): New minor mode, based on
10334 `prog-prettify-install'.
10335 (turn-on-prettify-symbols-mode): New function.
10336 (global-prettify-symbols-mode): New globalized minor mode.
10338 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10339 * progmodes/cfengine.el (cfengine3-mode):
10340 * progmodes/perl-mode.el (perl-mode): Don't call
10341 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10343 2013-06-18 Juri Linkov <juri@jurta.org>
10345 * files-x.el (modify-file-local-variable-message): New function.
10346 (modify-file-local-variable)
10347 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10348 and call `modify-file-local-variable-message' when it's non-nil.
10349 (add-file-local-variable, delete-file-local-variable)
10350 (add-file-local-variable-prop-line)
10351 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10352 and use it. (Bug#9820)
10354 2013-06-18 Juri Linkov <juri@jurta.org>
10356 * emulation/vi.el (vi-shell-op):
10357 * emulation/vip.el (vip-execute-com, ex-command):
10358 * emulation/viper-cmd.el (viper-exec-bang):
10359 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10360 the call of `shell-command-on-region'. (Bug#14637)
10362 * simple.el (shell-command-on-region): Doc fix.
10364 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10366 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10369 2013-06-18 Glenn Morris <rgm@gnu.org>
10371 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10373 * newcomment.el (comment-search-forward, comment-search-backward):
10374 Doc fix. (Bug#14376)
10376 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10378 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10379 (buffer-face-mode-invoke): Doc fix.
10381 2013-06-18 Matthias Meulien <orontee@gmail.com>
10383 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10384 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10386 2013-06-18 Glenn Morris <rgm@gnu.org>
10388 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10389 Replace obsolete function generic-make-keywords with its expansion.
10391 * progmodes/python.el (ffap-alist): Declare.
10393 * textmodes/reftex.el (bibtex-mode-map): Declare.
10395 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10398 (package-unpack, package-unpack-single): Return the pkg-dir.
10399 (package-download-transaction): Use it to update package-alist.
10401 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10403 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10406 2013-06-17 Juri Linkov <juri@jurta.org>
10408 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10410 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10412 * emacs-lisp/package.el (package-load-descriptor):
10413 Remove `with-syntax-table' call, `read' doesn't need it.
10414 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10416 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10418 * startup.el (command-line): Expand package name returned by
10419 `package--description-file' (bug#14639).
10421 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10423 * emacs-lisp/package.el (package-load-descriptor): Do not call
10424 `emacs-lisp-mode', just use its syntax table.
10426 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10428 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10429 `font-lock-extra-managed-props' if any prettifying keyword is added.
10430 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10431 (prog-mode): Use `setq-local'.
10433 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * international/characters.el (standard-case-table): Set syntax of ?»
10436 and ?« to punctuation.
10438 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10440 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10441 Save relevant match data before calling `syntax-ppss' (bug#14595).
10443 2013-06-15 Juri Linkov <juri@jurta.org>
10445 * files-x.el (modify-file-local-variable-prop-line): Add local
10446 variables to the end of the existing comment on the first line.
10447 Use `file-auto-mode-skip' to skip interpreter magic line,
10448 and also skip XML declaration.
10450 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * startup.el (package--builtin-versions): New var.
10453 (package-subdirectory-regexp): Remove.
10454 (package--description-file): Hard code its value instead.
10456 * emacs-lisp/package.el: Don't activate packages older than builtin.
10457 (package-obsolete-list): Rename from package-obsolete-alist, and make
10458 it into a simple list of package-desc.
10459 (package-strip-version): Remove.
10460 (package-built-in-p): Use package--builtin-versions.
10461 (package-mark-obsolete): Simplify.
10462 (package-process-define-package): Mark it obsolete if older than the
10464 (package-handle-response): Use line-end-position.
10465 (package-read-archive-contents, package--download-one-archive):
10467 (package--add-to-archive-contents): Skip if older than the builtin or
10469 (package-menu-describe-package): Fix last change.
10470 (package-list-unversioned): New var.
10471 (package-menu--generate): Use it.
10473 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10474 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10475 (autoload-builtin-package-versions): New variable.
10476 (autoload-generate-file-autoloads): Use them.
10477 Remove the list of autoloaded functions/macros from the
10478 (autoload...) comments.
10480 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10482 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10484 * simple.el (line-move-partial): Don't jump to the next screen
10485 line as soon as it becomes visible. Instead, continue enlarging
10486 the vscroll until the portion of a tall screen line that's left on
10487 display is about the height of the frame's default font.
10490 2013-06-15 Glenn Morris <rgm@gnu.org>
10492 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10493 compilation-error-regexp-alist void, or local while let-bound.
10495 * progmodes/make-mode.el (makefile-mode-syntax-table):
10496 Treat "=" as punctuation. (Bug#14614)
10498 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10500 * help-fns.el (describe-variable):
10501 Add extra line for permanent-local variables.
10503 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10505 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10506 Add export, import, library. (Bug#9164)
10507 (library): Set indent function.
10509 2013-06-14 Glenn Morris <rgm@gnu.org>
10511 * term/xterm.el (xterm--query):
10512 Stop after first matching handler. (Bug#14615)
10514 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10516 Add support for dired in saveplace.
10517 * dired.el (dired-initial-position-hook): New variable.
10518 (dired-initial-position): Call hook to place cursor position.
10519 * saveplace.el (save-place-to-alist): Add dired position.
10520 (save-place-dired-hook): New function.
10522 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10524 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10525 through a symbol rather than letrec.
10527 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10528 (package-desc): Add `dir' field.
10529 (package-desc-full-name): New function.
10530 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10531 (package-maybe-load-descriptor): Remove.
10532 (package-load-all-descriptors): Just call package-load-descriptor.
10533 (package--disabled-p): New function.
10534 (package-desc-vers, package-desc-doc): Remove aliases.
10535 (package--dir): Remove function.
10536 (package-activate): Check if a package is disabled.
10537 (package-process-define-package): New function, extracted from
10539 (define-package): Turn into a place holder.
10540 (package-unpack-single, package-tar-file-info):
10541 Use package--description-file.
10542 (package-compute-transaction): Use package--disabled-p.
10543 (package-download-transaction): Don't call
10544 package-maybe-load-descriptor since they're all loaded anyway.
10545 (package-install): Change argument to be a pkg-desc.
10546 (package-delete): Use a single pkg-desc argument.
10547 (describe-package-1): Use package-desc-dir instead of package--dir.
10548 Use package-desc property instead of package-symbol.
10549 (package-install-button-action): Adjust accordingly.
10550 (package--push): Rewrite.
10551 (package-menu--print-info): Adjust accordingly. Change the ID format
10553 (package-menu-describe-package, package-menu-get-status)
10554 (package-menu--find-upgrades, package-menu-mark-upgrades)
10555 (package-menu-execute, package-menu--name-predicate):
10556 Adjust accordingly.
10557 * startup.el (package--description-file): New function.
10558 (command-line): Use it.
10559 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10560 Use package-desc-version.
10562 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10563 (byte-compile-preprocess): Use it.
10564 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10565 can't quite recognize.
10566 (byte-compile-add-to-list): Remove.
10567 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10568 (cconv-closure-convert): Add assertion.
10570 * emacs-lisp/map-ynp.el: Use lexical-binding.
10571 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10572 Factor out some repeated code.
10574 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * subr.el (with-eval-after-load): New macro.
10577 (eval-after-load): Allow form to be a function.
10578 take advantage of lexical-binding.
10579 (do-after-load-evaluation): Use dolist and adjust to new format.
10580 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10582 2013-06-13 Juri Linkov <juri@jurta.org>
10584 * replace.el (perform-replace): Display "symbol " and other search
10585 modes from `isearch-message-prefix' in the *Help* buffer.
10587 * isearch.el (isearch-query-replace): Add " symbol" and other
10588 possible search modes from `isearch-message-prefix' to the prompt.
10589 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10590 when reading a regexp to collect.
10592 2013-06-13 Juri Linkov <juri@jurta.org>
10594 * isearch.el (word-search-regexp): Match whitespace if the search
10595 string begins or ends in whitespace. The LAX arg is applied to
10596 both ends of the search string. Use `regexp-quote' and explicit
10597 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10598 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10599 boundaries are replaced with symbol boundaries, and characters
10600 between symbols match non-word non-symbol syntax. (Bug#14602)
10602 2013-06-13 Juri Linkov <juri@jurta.org>
10604 * isearch.el (isearch-del-char): Don't exceed the length of
10605 `isearch-string' by the prefix arg. (Bug#14563)
10607 2013-06-13 Juri Linkov <juri@jurta.org>
10609 * isearch.el (isearch-yank-word, isearch-yank-line)
10610 (isearch-char-by-name, isearch-quote-char)
10611 (isearch-printing-char, isearch-process-search-char):
10612 Add optional count prefix arg. (Bug#14563)
10614 * international/isearch-x.el
10615 (isearch-process-search-multibyte-characters):
10616 Add optional count prefix arg.
10618 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10620 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10621 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10624 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10626 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10628 2013-06-13 Glenn Morris <rgm@gnu.org>
10630 * startup.el (tty-handle-args):
10631 Don't just discard "--" and anything after. (Bug#14608)
10633 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10635 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10637 Implement changes in Secret Service API. Make it backward compatible.
10638 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10639 (secrets-create-item): Use it. Prefix properties with interface.
10641 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10643 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10644 (term-emulate-terminal): Respect term-suppress-hard-newline.
10646 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10648 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10649 Only remove a `thumb-file' overlay. (Bug#14548)
10651 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10653 * mail/reporter.el (reporter-submit-bug-report):
10654 Handle missing package-name. (Bug#14600)
10656 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10658 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10659 (reftex-citation-prompt, reftex-default-bibliography)
10660 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10661 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10662 (reftex-bib-sort-author, reftex-bib-sort-year)
10663 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10664 (reftex-extract-bib-entries-from-thebibliography)
10665 (reftex-get-bibkey-default, reftex-get-bib-names)
10666 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10667 (reftex-format-bib-entry, reftex-parse-bibitem)
10668 (reftex-format-bibitem, reftex-do-citation)
10669 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10670 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10671 (reftex-insert-bib-matches, reftex-format-citation)
10672 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10673 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10674 existing comments into docstrings.
10676 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10678 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10680 2013-06-12 Andreas Schwab <schwab@suse.de>
10682 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10683 for auto-save files.
10685 2013-06-12 Glenn Morris <rgm@gnu.org>
10687 * ido.el (ido-delete-ignored-files): Remove.
10688 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10689 Go back to calling ido-ignore-item-p directly.
10691 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10693 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10695 * ido.el (ido-delete-ignored-files): New function,
10696 split from ido-make-file-list-1.
10697 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10698 (ido-make-file-list-1): Use ido-delete-ignored-files.
10700 2013-06-12 Leo Liu <sdl.web@gmail.com>
10702 * progmodes/octave.el (inferior-octave-startup)
10703 (inferior-octave-completion-table)
10704 (inferior-octave-track-window-width-change)
10705 (octave-eldoc-function-signatures, octave-help)
10706 (octave-find-definition): Use single quoted strings.
10707 (inferior-octave-startup-args): Change default value.
10708 (inferior-octave-startup): Do not hard code "-i" and
10709 "--no-line-editing".
10710 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10711 (inferior-octave-directory-tracker): Use it.
10712 (octave-goto-function-definition): Robustify.
10713 (octave-help): Support highlighting operators in 'See also'.
10714 (octave-find-definition): Find subfunctions only in Octave mode.
10716 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * help-fns.el (help-fns--compiler-macro): If the handler function is
10719 named, then put a link to it.
10720 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10721 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10722 (cl-typep): Use it.
10723 (cl-eval-when): Simplify debug spec.
10724 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10725 compiler-macro function instead of setting `compiler-macro-file'.
10727 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10729 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10730 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10732 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10733 Daniel Hackney <dan@haxney.org>
10735 First part of Daniel Hackney's patch to package.el.
10736 * emacs-lisp/package.el: Use defstruct.
10737 (package-desc): New, main struct.
10738 (package--bi-desc, package--ac-desc): New structs, used to describe the
10739 format in external files.
10740 (package-desc-vers): Replace with package-desc-version accessor.
10741 (package-desc-doc): Replace with package-desc-summary accessor.
10742 (package-activate-1): Remove `package' arg since the pkg-vec now
10744 (define-package): Use package-desc-from-define.
10745 (package-unpack-single): Change file-name arg to be a symbol.
10746 (package--add-to-archive-contents): Use package-desc-create and new
10747 accessor functions to package--ac-desc.
10748 (package-buffer-info, package-tar-file-info): Return a package-desc.
10749 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10750 arg to be a package-desc.
10751 (package-install-file): Adjust accordingly. Use \' to match EOS.
10752 (package--from-builtin): New function.
10753 (describe-package-1, package-menu--generate): Use it.
10754 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10755 (package-generate-autoloads): Idem and return the name of the file.
10756 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10757 Change pkg-info arg to be a package-desc.
10758 Use package-make-ac-desc.
10759 (package-upload-file): Use \' to match EOS.
10760 * finder.el (finder-compile-keywords): Use package-make-builtin.
10762 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * vc/vc.el (vc-deduce-fileset): Change error message.
10765 (vc-read-backend): New function.
10766 (vc-next-action): Use it.
10768 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10770 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10771 (prolog-font-lock-keywords): Use regexp-opt instead.
10772 Don't manually highlight strings.
10773 (prolog-mode-variables): Simplify comment-start-skip.
10774 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10776 * emacs-lisp/generic.el (generic--normalise-comments)
10777 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10778 (generic-mode-set-comments): Use them.
10779 (generic-bracket-support): Use setq-local.
10780 (generic-make-keywords-list): Declare obsolete.
10782 2013-06-11 Glenn Morris <rgm@gnu.org>
10784 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10785 Prettify after setting font-lock-defaults. (Bug#14574)
10787 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10789 * replace.el (query-replace, occur-read-regexp-defaults-function)
10791 * subr.el (declare-function, number-sequence, local-set-key)
10792 (substitute-key-definition, locate-user-emacs-file)
10793 (with-silent-modifications, split-string, eval-after-load):
10794 Fix typos, remove unneeded backslashes and reflow some docstrings.
10796 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10798 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10799 default for Elisp files.
10801 2013-06-11 Glenn Morris <rgm@gnu.org>
10803 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10804 although define-derived-mode was doing this anyway. (Bug#14583)
10806 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10808 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10809 Fix make-variable-buffer-local call to refer to the correct variable.
10811 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10813 * eshell/em-term.el (eshell-visual-commands)
10814 (eshell-visual-subcommands, eshell-visual-options):
10815 Add summary line to docstrings. Add cross-references.
10817 2013-06-10 Glenn Morris <rgm@gnu.org>
10819 * epa.el (epa-read-file-name): New function. (Bug#14510)
10820 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10822 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10824 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10825 output redirection to be ignored with visual commands.
10827 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10829 * eshell/em-term.el (eshell-visual-command-p): New function.
10830 (eshell-term-initialize): Move long lambda to separate function
10831 eshell-visual-command-p.
10832 * eshell/em-dirs.el (eshell-dirs-initialize):
10833 * eshell/em-script.el (eshell-script-initialize):
10834 Add missing #' to lambda.
10836 2013-06-08 Leo Liu <sdl.web@gmail.com>
10838 * progmodes/octave.el (octave-add-log-current-defun): New function.
10839 (octave-mode): Set add-log-current-defun-function.
10840 (octave-goto-function-definition): Do not move point if not found.
10841 (octave-find-definition): Enhance to try subfunctions first.
10843 2013-06-08 Glenn Morris <rgm@gnu.org>
10845 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10846 (byte-compile-backward-char, byte-compile-backward-word):
10847 Improve previous change, to handle non-explicit nil.
10849 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10851 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10852 (smie--opener/closer-at-point): New function.
10853 (smie--matching-block-data): Use it. Don't match from right after an
10854 opener or right before a closer. Obey smie-blink-matching-inners.
10855 Don't signal a mismatch for repeated inners like "switch..case..case".
10857 2013-06-07 Leo Liu <sdl.web@gmail.com>
10859 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10861 (octave-function-header-regexp): Fix. (Bug#14570)
10862 (octave-help-mode-finish-hook, octave-help-mode-finish):
10863 Remove. Just use temp-buffer-show-hook.
10865 * newcomment.el (comment-search-backward): Revert last change.
10868 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10870 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10872 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10873 through xargs, to avoid failure due to MS-Windows limitations on
10874 command-line length.
10876 2013-06-06 Glenn Morris <rgm@gnu.org>
10878 * font-lock.el (lisp-font-lock-keywords-2):
10879 Treat user-error like error.
10881 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10882 (byte-compile-backward-char, byte-compile-backward-word):
10883 Handle explicit nil arguments. (Bug#14565)
10885 2013-06-05 Alan Mackenzie <acm@muc.de>
10887 * isearch.el (isearch-allow-prefix): New user option.
10888 (isearch-other-meta-char): Don't exit isearch when a prefix
10889 argument is typed whilst `isearch-allow-prefix' is non-nil.
10892 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * autorevert.el (auto-revert-notify-handler): Use memq.
10895 Hide assertion failure.
10897 * skeleton.el: Use cl-lib.
10898 (skeleton-further-elements): Use defvar-local.
10899 (skeleton-insert): Use cl-progv.
10901 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10903 * progmodes/prog-mode.el (prog-prettify-symbols)
10904 (prog-prettify-install): Update docstrings.
10906 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10908 * simple.el: Move all the prog-mode code to prog-mode.el.
10909 * progmodes/prog-mode.el: New file.
10910 * loadup.el: Add prog-mode.el.
10912 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10914 * simple.el (prog-prettify-symbols): Add version.
10915 (prog-prettify-install): Add convenience function to prettify symbols.
10917 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10918 (perl--augmented-font-lock-keywords-1)
10919 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10920 variables and use it.
10922 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10923 (cfengine3-mode): Remove unneeded variable and use it.
10925 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10926 (lisp--augmented-font-lock-keywords-1)
10927 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10928 Remove unneeded variables and use it.
10930 2013-06-05 João Távora <joaotavora@gmail.com>
10932 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10933 to point when opening the connection. (Bug#14380)
10935 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * subr.el (load-history-regexp, load-history-filename-element)
10938 (eval-after-load, after-load-functions, do-after-load-evaluation)
10939 (eval-next-after-load, display-delayed-warnings)
10940 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10941 definition of save-match-data.
10942 (overriding-local-map): Remove accidental obsolescence declaration.
10944 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10946 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10948 Generalize symbol prettify support to prog-mode and implement it
10949 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10950 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10951 (prog--prettify-font-lock-compose-symbol)
10952 (prog-prettify-font-lock-symbols-keywords): New variables and
10953 functions to support symbol prettification.
10954 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10955 (lisp--augmented-font-lock-keywords-1)
10956 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10957 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10958 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10959 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10960 Implement prettify of -> => :: strings.
10961 * progmodes/perl-mode.el (perl-prettify-symbols)
10962 (perl--font-lock-compose-symbol)
10963 (perl--font-lock-symbols-keywords): Move to prog-mode.
10964 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10965 (perl-font-lock-keywords-1)
10966 (perl-font-lock-keywords-2): Remove explicit prettify support.
10967 (perl--augmented-font-lock-keywords)
10968 (perl--augmented-font-lock-keywords-1)
10969 (perl--augmented-font-lock-keywords-2, perl-mode):
10970 Implement prettify support.
10972 2013-06-05 Leo Liu <sdl.web@gmail.com>
10974 Re-implement SMIE matching block highlight using
10975 show-paren-data-function. (Bug#14395)
10976 * emacs-lisp/smie.el (smie-matching-block-highlight)
10977 (smie--highlight-matching-block-overlay)
10978 (smie--highlight-matching-block-lastpos)
10979 (smie-highlight-matching-block)
10980 (smie-highlight-matching-block-mode): Remove.
10981 (smie--matching-block-data-cache): New variable.
10982 (smie--matching-block-data): New function.
10983 (smie-setup): Use smie--matching-block-data for
10984 show-paren-data-function.
10986 * progmodes/octave.el (octave-mode-menu): Fix.
10987 (octave-find-definition): Skip garbage lines.
10989 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10991 Fix compilation error with simultaneous dynamic+lexical scoping.
10992 Add warning when a defvar appears after the first let-binding.
10993 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10994 (byte-compile-close-variables): Initialize it.
10995 (byte-compile--declare-var): New function.
10996 (byte-compile-file-form-defvar)
10997 (byte-compile-file-form-define-abbrev-table)
10998 (byte-compile-file-form-custom-declare-variable): Use it.
10999 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
11000 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
11001 (byte-compile-bind): Handle dynamic bindings that shadow
11003 (byte-compile-unbind): Make arg non-optional.
11004 (byte-compile-let): Simplify.
11005 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
11006 (cconv--analyse-function, cconv-analyse-form): Populate it.
11007 Protect byte-compile-bound-variables to limit the scope of defvars.
11008 (cconv-analyse-form): Add missing rule for (defvar <foo>).
11009 Remove unneeded rule for `declare'.
11011 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
11012 so as to avoid depending on cl-adjoin at run-time.
11013 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
11015 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
11016 (macroexp--warn-and-return): Use it.
11018 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11020 * subr.el: Convert to lexical binding.
11021 (overriding-local-map): Make obsolete.
11022 (add-to-list): Doc fix. Add compiler macro.
11023 (read-key): Swap values of local maps.
11025 2013-06-05 Leo Liu <sdl.web@gmail.com>
11027 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
11029 2013-06-04 Leo Liu <sdl.web@gmail.com>
11031 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
11032 (compilation-auto-jump): Suppress the "Mark set" message to give
11033 way to exit message.
11035 2013-06-04 Alan Mackenzie <acm@muc.de>
11037 Remove faulty optimisation from indentation calculation.
11038 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
11039 search limit based on 2000 characters back from indent-point.
11041 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11043 * eshell/em-term.el (cl-lib): Require `cl-lib'.
11045 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
11047 * emacs-lisp/lisp.el: Use lexical-binding.
11048 (lisp--local-variables-1, lisp--local-variables): New functions.
11049 (lisp--local-variables-completion-table): New var.
11050 (lisp-completion-at-point): Use it complete let-bound vars.
11052 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
11053 eagerly (bug#14422).
11055 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
11057 * autorevert.el (auto-revert-notify-enabled)
11058 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11059 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
11060 (auto-revert-notify-handler): Handle also gfilenotify.
11062 * subr.el (file-notify-handle-event): New defun. Replacing ...
11063 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
11066 2013-06-03 Juri Linkov <juri@jurta.org>
11068 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11069 `M-s h .'. (Bug#14427)
11071 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11072 command `hi-lock-face-symbol-at-point'.
11073 (hi-lock-face-symbol-at-point): New command.
11074 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11075 (hi-lock-menu): Add `highlight-symbol-at-point'.
11076 (hi-lock-mode): Doc fix.
11078 * isearch.el (isearch-forward-symbol-at-point): New command.
11079 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11080 (isearch-highlight-regexp): Add a regexp which matches
11081 words/symbols for word/symbol mode.
11083 * subr.el (find-tag-default-bounds): New function with the body
11084 mostly moved from `find-tag-default'.
11085 (find-tag-default): Move most code to `find-tag-default-bounds',
11086 call it and apply `buffer-substring-no-properties' afterwards.
11088 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11090 * eshell/em-term.el (eshell-term-initialize):
11091 Use `cl-intersection' rather than `intersection'.
11093 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11095 * vc/log-view.el: Doc fix.
11096 (log-view-mode-map): Copy keymap from `special-mode-map'.
11098 2013-06-02 Eric Ludlam <zappo@gnu.org>
11100 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11101 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11102 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11103 (eieio-unbound, eieio-default-superclass)
11104 (eieio--define-field-accessors, method-static, method-before)
11105 (method-primary, method-after, method-num-lists)
11106 (method-generic-before, method-generic-primary)
11107 (method-generic-after, method-num-slots)
11108 (eieio-specialized-key-to-generic-key)
11109 (eieio--check-type, class-v, class-p)
11110 (eieio-class-name, define-obsolete-function-alias)
11111 (eieio-class-parents-fast, eieio-class-children-fast)
11112 (same-class-fast-p, class-constructor, generic-p)
11113 (generic-primary-only-p, generic-primary-only-one-p)
11114 (class-option-assoc, class-option, eieio-object-p)
11115 (class-abstract-p, class-method-invocation-order)
11116 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11117 (eieio-class-un-autoload, eieio-defclass)
11118 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11119 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11120 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11121 (eieio-defgeneric-reset-generic-form)
11122 (eieio-defgeneric-form-primary-only)
11123 (eieio-defgeneric-reset-generic-form-primary-only)
11124 (eieio-defgeneric-form-primary-only-one)
11125 (eieio-defgeneric-reset-generic-form-primary-only-one)
11126 (eieio-unbind-method-implementations)
11127 (eieio--defmethod, eieio--typep)
11128 (eieio-perform-slot-validation, eieio-validate-slot-value)
11129 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11130 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11131 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11132 (eieio-slot-name-index, eieio-class-slot-name-index)
11133 (eieio-set-defaults, eieio-initarg-to-attribute)
11134 (eieio-attribute-to-initarg, eieio-c3-candidate)
11135 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11136 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11137 (eieio-class-precedence-list, eieio-generic-call-methodname)
11138 (eieio-generic-call-arglst, eieio-generic-call-key)
11139 (eieio-generic-call-next-method-list)
11140 (eieio-pre-method-execution-functions, eieio-generic-call)
11141 (eieio-generic-call-primary-only, eieiomt-method-list)
11142 (eieiomt-optimizing-obarray, eieiomt-install)
11143 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11144 (eieio-generic-form, eieio-defmethod, make-obsolete)
11145 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11146 (defclass): Remove `eval-and-compile' from macro.
11147 (call-next-method, shared-initialize): Instead of using
11148 `scoped-class' variable, use new eieio--scoped-class, and
11149 eieio--with-scoped-class.
11150 (initialize-instance): Rename local variable 'scoped-class' to
11151 'this-class' to remove ambiguitity from old global.
11153 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11155 (eieio--scoped-class-stack): New variable.
11156 (eieio--scoped-class): New fcn.
11157 (eieio--with-scoped-class): New scoping macro.
11158 (eieio-defclass): Use pushnew instead of add-to-list.
11159 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11160 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11161 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11162 `scoped-class' variable, use new eieio--scoped-class, and
11163 eieio--with-scoped-class.
11165 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11167 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11169 * eshell/esh-ext.el (eshell-external-command): Pass args to
11170 `eshell-find-interpreter'.
11171 (eshell-find-interpreter): Add new second parameter ARGS.
11173 * eshell/em-script.el (eshell-script-initialize): Add second arg
11174 to the function added as MATCH to `eshell-interpreter-alist'.
11176 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11177 the function added as MATCH to `eshell-interpreter-alist'.
11179 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11180 (eshell-visual-options): New defcustom.
11181 (eshell-escape-control-x): Adapt docstring.
11182 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11183 `eshell-visual-options' in addition to `eshell-visual-commands'.
11184 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11186 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11188 * progmodes/python.el (python-indent-block-enders): Add break,
11189 continue and raise keywords.
11191 2013-06-01 Glenn Morris <rgm@gnu.org>
11193 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11195 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11196 * progmodes/cc-cmds.el (delete-forward-p):
11197 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11198 * progmodes/cc-engine.el (buffer-syntactic-context):
11199 * progmodes/cc-fonts.el (face-property-instance):
11200 * progmodes/cc-mode.el (set-keymap-parents):
11201 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11202 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11203 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11204 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11205 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11207 * progmodes/cc-vars.el (other): Emacs has this widget since
11208 at least 21.1, so don't (re)define it.
11210 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11211 Replace the obsolete alias pcomplete-arg-quote-list.
11213 2013-06-01 Leo Liu <sdl.web@gmail.com>
11215 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11216 punctuation syntax.
11217 (inferior-octave-minimal-columns)
11218 (inferior-octave-last-column-width): New variables.
11219 (inferior-octave-track-window-width-change): New function.
11220 (inferior-octave-mode): Adjust column width so that Octave output,
11221 for example from 'ls', can fit into the window nicely.
11223 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11225 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11226 Highlight expansions inside regexp literals.
11228 2013-05-31 Glenn Morris <rgm@gnu.org>
11230 * obsolete/sym-comp.el (symbol-complete):
11231 Replace obsolete completion-annotate-function.
11233 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11235 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11237 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11238 New function, checks if point is inside a literal that allows
11239 expression expansion.
11240 (ruby-syntax-propertize-expansion): Use it.
11241 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11244 2013-05-30 Juri Linkov <juri@jurta.org>
11246 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11248 (isearch-invisible): New variable.
11249 (isearch-forward): Doc fix.
11250 (isearch-mode): Set `isearch-invisible'
11251 to the value of `search-invisible'.
11252 (isearch-toggle-case-fold): Doc fix.
11253 (isearch-toggle-invisible): New command.
11254 (isearch-query-replace): Let-bind `search-invisible'
11255 to the value of `isearch-invisible'.
11256 (isearch-search): Use `isearch-invisible' instead of
11257 `search-invisible'. Let-bind `search-invisible'
11258 to the value of `isearch-invisible'. (Bug#11378)
11260 2013-05-30 Juri Linkov <juri@jurta.org>
11262 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11263 call when `query-flag' is nil and `search-invisible' is non-nil.
11266 2013-05-30 Glenn Morris <rgm@gnu.org>
11268 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11270 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11271 (cc-require): Suppress spurious "noruntime" warnings.
11272 (cc-require-when-compile): Use fboundp, for sake of compiler.
11274 * progmodes/cc-mode.el: Move load of cc-vars before that of
11275 cc-langs (which in turn loads cc-vars), to quieten compiler.
11277 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11279 * paren.el: Simplify the code.
11280 (show-paren-mode): Always start the timer.
11281 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11282 (show-paren--overlay, show-paren--overlay-1): Rename from
11283 show-paren-overlay and show-paren-overlay-1, and initialize to an
11284 overlay rather than to nil.
11285 (show-paren-function): Misc cleanup and simplifications.
11287 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11289 * paren.el (show-paren-data-function): New hook.
11290 (show-paren--default): New function, extracted from show-paren-function.
11291 (show-paren-function): Use show-paren-data-function.
11293 2013-05-30 Glenn Morris <rgm@gnu.org>
11295 * ielm.el (ielm-map, ielm-complete-symbol):
11296 Use completion-at-point rather than obsolete functions.
11297 (inferior-emacs-lisp-mode): Doc fix.
11298 Set completion-at-point-functions, rather than
11299 comint-dynamic-complete-functions.
11301 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11302 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11303 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11305 * image.el (image-animated-p): Tweak definition.
11307 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11308 (rlogin-process-connection-type): Tweak default. Add set-after.
11309 (rlogin-host): Doc fix.
11310 (rlogin): Tweak prompt.
11311 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11313 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11314 * progmodes/tcl.el (inferior-tcl-mode-map):
11315 Use completion-at-point rather than obsolete alias.
11317 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11319 * minibuffer.el (read-file-name-completion-ignore-case):
11320 Move before completion--in-region, for eager macro expansion.
11322 2013-05-29 Juri Linkov <juri@jurta.org>
11324 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11325 for total count of matching lines. Add `global-matches' for total
11326 count of matches. Rename `matches' to `lines' for count of
11327 matching lines. Add `matches' for count of matches.
11328 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11329 to `prev-line' for line number of prev match endpt.
11330 Increment `matches' for every match. Print the number of
11331 matching lines in the header.
11332 (occur-context-lines): Rename `lines' to `curr-line'.
11333 Rename `prev-lines' to `prev-line'. (Bug#14017)
11335 2013-05-29 Juri Linkov <juri@jurta.org>
11337 * replace.el (perform-replace): Add `skip-read-only-count',
11338 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11339 Increment them for corresponding conditions and report the number
11340 of skipped occurrences in the final message. (Bug#11746)
11341 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11342 (replace-string, replace-regexp): Doc fix.
11344 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11346 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11348 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11349 prog-mode-map (bug#14504).
11351 2013-05-29 Leo Liu <sdl.web@gmail.com>
11353 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11354 (octave-help): Small simplification.
11356 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11357 off the highlight first.
11359 2013-05-29 Glenn Morris <rgm@gnu.org>
11361 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11362 Handle idlwave-last-system-routine-info-cons-cell being nil.
11364 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11365 (idlwave-write-paths): Simplify via with-temp-buffer.
11367 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11368 * emulation/cua-rect.el: Also load cua-base at run time.
11370 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11371 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11372 (cperl-imenu-on-info): Require imenu.
11374 2013-05-28 Alan Mackenzie <acm@muc.de>
11376 Handle "capitalised keywords" correctly.
11377 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11379 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11381 * eshell/em-unix.el: Add -r option to cp.
11383 2013-05-28 Glenn Morris <rgm@gnu.org>
11385 * vc/vc-arch.el (vc-exec-after): Declare.
11386 (vc-switches): Autoload.
11387 * vc/vc-bzr.el: No need to require vc when compiling.
11388 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11389 (vc-resynch-buffer, vc-dir-refresh): Declare.
11390 (vc-setup-buffer, vc-switches): Autoload.
11391 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11392 (vc-resynch-buffer): Declare.
11393 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11394 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11395 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11396 (grep-read-regexp, grep-read-files, grep-expand-template)
11397 (vc-dir-refresh): Declare.
11398 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11399 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11400 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11401 * vc/vc-mtn.el (vc-exec-after): Declare.
11402 (vc-switches): Autoload.
11403 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11404 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11405 (vc-file-tree-walk): Declare.
11406 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11407 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11408 (vc-tag-precondition, vc-rename-master): Autoload.
11409 * vc/vc-svn.el (vc-exec-after): Declare.
11410 (vc-switches, vc-setup-buffer): Autoload.
11411 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11413 (vc-resynch-buffer): Declare.
11415 * obsolete/fast-lock.el (byte-compile-warnings):
11416 Don't warn about obsolete features in this obsolete file.
11418 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11419 Move definition before use.
11421 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11422 (dun-unix-verbs): Remove dun-zippy.
11423 (dun-zippy): Remove function.
11425 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11427 2013-05-27 Juri Linkov <juri@jurta.org>
11429 * replace.el (replace-search): New function with code moved out
11430 from `perform-replace'.
11431 (replace-highlight, replace-dehighlight): Move function definitions
11432 up closer to `replace-search'. (Bug#11746)
11434 2013-05-27 Juri Linkov <juri@jurta.org>
11436 * replace.el (perform-replace): Ignore invisible matches.
11437 In addition to checking `query-replace-skip-read-only', also
11438 filter out matches by calling `run-hook-with-args-until-failure'
11439 on `isearch-filter-predicates', and also check `search-invisible'
11440 for t or call `isearch-range-invisible'.
11441 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11443 2013-05-27 Juri Linkov <juri@jurta.org>
11445 * isearch.el (isearch-filter-predicates): Rename from
11446 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11447 (isearch-message-prefix): Display text from the property
11448 `isearch-message-prefix' of the currently active filters.
11449 (isearch-search): Don't compare `isearch-filter-predicate' with
11450 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11451 on `isearch-filter-predicates'. Also check `search-invisible' for t
11452 or call `isearch-range-invisible'.
11453 (isearch-filter-visible): Make obsolete.
11454 (isearch-lazy-highlight-search):
11455 Call `run-hook-with-args-until-failure' on
11456 `isearch-filter-predicates' and use `isearch-range-invisible'.
11458 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11459 `isearch-filter-predicates' instead of `funcall'ing
11460 `isearch-filter-predicate'.
11461 (Info-mode): Set `Info-isearch-filter' to
11462 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11464 * dired-aux.el (dired-isearch-filter-predicate-orig):
11466 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11467 (dired-isearch-filenames-end): Add and remove
11468 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11469 instead of changing the value of `isearch-filter-predicate'.
11470 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11471 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11472 Put property `isearch-message-prefix' to "filename " on
11473 `dired-isearch-filter-filenames'.
11475 * wdired.el (wdired-change-to-wdired-mode):
11476 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11477 locally instead of changing `isearch-filter-predicate'.
11478 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11480 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11482 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11483 return the commit hash (Bug#14459). Also set the
11484 `vc-git-detached' property.
11485 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11486 (vc-git-mode-line-string): Use the same help-echo format whether
11487 in detached mode or not, because we know the actual revision now.
11488 When in detached mode, shorten the revision to 7 chars.
11490 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11492 * emacs-lisp/easy-mmode.el (define-minor-mode):
11493 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11494 mode hook and provide a docstring.
11496 2013-05-27 Alan Mackenzie <acm@muc.de>
11498 Remove spurious syntax-table text properties inserted by C-y.
11499 * progmodes/cc-mode.el (c-after-change): Also clear hard
11500 syntax-table property with value nil.
11502 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11504 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11505 when reading the events; the buffer layout shall not be changed.
11507 2013-05-27 Leo Liu <sdl.web@gmail.com>
11509 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11511 (inferior-octave-directory-tracker): Automatically re-sync
11513 (octave-help): Improve handling of 'See also'.
11515 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11517 * doc-view.el: Minor naming convention tweaks.
11518 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11520 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11521 even if there's no `display' property yet (bug#14435).
11523 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11525 * subr.el (unmsys--file-name): Rename from reveal-filename.
11527 * Makefile.in (custom-deps, finder-data, autoloads)
11528 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11529 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11530 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11532 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11535 error-completion on the first 2 args of condition-case (bug#14446).
11538 2013-05-25 Leo Liu <sdl.web@gmail.com>
11540 * comint.el (comint-previous-matching-input): Do not flood the
11541 *Messages* buffer with trivial messages.
11543 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11545 * progmodes/flymake.el (flymake-nop): Don't return a string.
11546 (flymake-set-at): Fix typo.
11548 * simple.el (read--expression): New function, extracted from
11549 eval-expression. Set completion-at-point-functions (bug#14465).
11550 (eval-expression, eval-minibuffer): Use it.
11552 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11554 * progmodes/flymake.el (flymake-save-buffer-in-file)
11555 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11556 (flymake-selected-frame, flymake-log, flymake-ins-after)
11557 (flymake-set-at, flymake-get-buildfile-from-cache)
11558 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11559 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11560 Refine the doc string.
11561 (flymake-get-file-name-mode-and-masks): Reformat.
11562 (flymake-get-real-file-name-function): Fix a minor bug.
11564 2013-05-24 Juri Linkov <juri@jurta.org>
11566 * progmodes/grep.el (grep-mode-font-lock-keywords):
11567 Support =linenumber= format used by git-grep for lines with
11568 function names. (Bug#13549)
11570 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11573 0 after a semi-colon; it works better for smie-auto-fill.
11574 (octave--indent-new-comment-line): New function.
11575 (octave-indent-new-comment-line): Use it (indirectly).
11576 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11577 modify comment-line-break-function.
11579 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11580 (smie-setup): Use add-function to set it.
11582 2013-05-24 Sam Steingold <sds@gnu.org>
11584 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11585 argument (before the `interactive' argument).
11587 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11589 * image-mode.el (image-mode-winprops): Add winprops to
11590 image-mode-winprops-alist before running
11591 image-mode-new-window-functions.
11592 * doc-view.el (doc-view-new-window-function): Don't delay
11593 doc-view-goto-page via timers (bug#14435).
11595 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11597 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11598 (doc-view-desktop-save-buffer): New function.
11599 (doc-view-restore-desktop-buffer): New function.
11600 (desktop-buffer-mode-handlers):
11601 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11603 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11604 `desktop-save-buffer' function.
11606 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11608 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11609 (tramp-gvfs-file-name-handler): Raise a user error when
11610 `tramp-gvfs-enabled' is nil.
11611 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11612 Do not raise a user error when loading package. (Bug#14447)
11614 * net/xesam.el: Move to obsolete/.
11616 2013-05-24 Glenn Morris <rgm@gnu.org>
11618 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11620 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11622 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11623 (Info-find-node, Man-getpage-in-background): Declare.
11625 * mail/unrmail.el (unrmail):
11626 Replace obsolete detect-coding-with-priority.
11628 * net/socks.el (socks-split-string): Use this rather than split-string.
11629 (socks-nslookup-host): Update for above change.
11630 (dynamic-choice, s5-dynamic-choice-match)
11631 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11632 Comment out unused code.
11634 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11635 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11636 (gud-tooltip-echo-area): Make obsolete.
11637 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11639 * progmodes/js.el (js--optimize-arglist): Declare.
11641 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11643 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11644 (ediff-window-C): Declare.
11646 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11647 Tweak requires to silence compiler.
11649 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11650 (he-search-string, he-tried-table, he-expand-list)
11651 (he-init-string, he-string-member, he-substitute-string)
11652 (he-reset-string): Declare.
11654 * obsolete/options.el (list-options): Use custom-variable-p,
11655 rather than obsolete alias.
11657 2013-05-23 Sam Steingold <sds@gnu.org>
11659 * simple.el (shell-command-on-region): Pass the `replace' argument
11660 down to `call-process-region' to comply with the doc as reported on
11661 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11663 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11665 * emacs-lisp/smie.el (smie-indent-forward-token)
11666 (smie-indent-backward-token): Handle string tokens (bug#14381).
11668 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11670 * ielm.el (ielm-menu): New menu.
11671 (inferior-emacs-lisp-mode): Set comment-start.
11673 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11675 * textmodes/reftex.el (reftex-ref-style-toggle):
11676 Fix deactivate action.
11678 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11679 Add cleveref macros.
11681 * textmodes/reftex-parse.el
11682 (reftex-locate-bibliography-files): Accept options for
11683 bibliography commands.
11684 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11685 Add addbibresource. Basic Biblatex support.
11687 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11689 * net/tramp-gvfs.el (top):
11690 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11691 when loading package. (Bug#14447)
11693 2013-05-23 Glenn Morris <rgm@gnu.org>
11695 * progmodes/js.el: No need to load comint when compiling.
11696 (ring-insert, comint-send-string, comint-send-input)
11697 (comint-last-input-end, ido-chop): Declare.
11699 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11700 * vc/ediff-mult.el: Adjust requires.
11701 (ediff-directories-internal, ediff-directory-revisions-internal)
11702 (ediff-patch-file-internal): Declare.
11703 * vc/ediff-ptch.el: Adjust requires.
11704 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11705 (ediff-find-file): Autoload.
11706 * vc/ediff-util.el: No need to load ediff when compiling.
11707 (ediff-regions-internal): Declare.
11708 * vc/ediff-wind.el: Adjust requires.
11709 (ediff-compute-toolbar-width): Define when compiling.
11710 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11711 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11712 (dired-get-filename, dired-get-marked-files)
11713 (ediff-last-dir-patch, ediff-patch-default-directory)
11714 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11715 (ediff-patch-buffer-internal): Declare.
11717 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11718 (ispell-process, ispell-buffer-local-words, lm-summary)
11719 (lm-section-start, lm-section-end): Declare.
11720 (checkdoc-ispell-init): Simplify.
11722 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11723 (he-string-member, he-reset-string, he-substitute-string): Declare.
11725 * eshell/em-ls.el: Adjust requires.
11726 (eshell-glob-regexp): Declare.
11727 * eshell/em-tramp.el: Adjust requires.
11728 (eshell-parse-command): Autoload.
11729 * eshell/em-xtra.el: Adjust requires.
11730 (eshell-parse-command): Autoload.
11731 * eshell/esh-ext.el: Adjust requires.
11732 (eshell-parse-command, eshell-close-handles): Autoload.
11733 * eshell/esh-io.el: Adjust requires.
11734 (eshell-output-filter): Autoload.
11735 * eshell/esh-util.el: No need to load tramp when compiling.
11736 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11738 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11739 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11740 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11741 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11742 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11743 * eshell/esh-opt.el, eshell/esh-proc.el:
11744 * eshell/esh-var.el: Adjust requires.
11745 * eshell/eshell.el: Do not require esh-util twice.
11746 (eshell-add-input-to-history): Declare.
11747 (eshell-command): Check history module is active before using it.
11749 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11751 2013-05-22 Leo Liu <sdl.web@gmail.com>
11753 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11755 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11757 * autorevert.el (auto-revert-notify-add-watch)
11758 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11759 it indicates changes in file modification time.
11761 2013-05-22 Glenn Morris <rgm@gnu.org>
11763 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11764 Always delete the autoloaded function from the noruntime and
11765 unresolved functions lists.
11767 * allout.el: No need to load epa, epg, overlay when compiling.
11768 (epg-context-set-passphrase-callback, epg-list-keys)
11769 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11770 (epg-key-user-id-list): Declare.
11772 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11773 (viper-set-parsing-style-toggling-macro)
11774 (viper-set-emacs-state-searchstyle-macros):
11775 Use called-interactively-p on Emacs.
11776 (viper-looking-back): Make it an obsolete alias. Update callers.
11777 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11778 Use looking-back rather than viper-looking-back.
11779 (viper-tmp-insert-at-eob, viper-enlarge-region)
11780 (viper-read-string-with-history, viper-register-to-point)
11781 (viper-append-to-register, viper-change-state-to-vi)
11782 (viper-backward-char-carefully, viper-forward-char-carefully)
11783 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11784 (viper-change-state-to-emacs): Declare.
11785 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11786 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11787 * emulation/viper-mous.el: Do not load viper-cmd.
11788 (viper-backward-char-carefully, viper-forward-char-carefully)
11789 (viper-forward-word, viper-adjust-window): Declare.
11791 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11793 * progmodes/idlw-help.el (idlwave-help-fontify):
11794 Use called-interactively-p.
11796 * term/w32console.el (w32-get-console-codepage)
11797 (w32-get-console-output-codepage): Declare.
11799 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11800 Remove unnecessary declarations.
11801 (dframe-message): Doc fix.
11803 * info.el (dframe-select-attached-frame, dframe-current-frame):
11806 * speedbar.el (speedbar-message): Make it an obsolete alias.
11807 Update all callers.
11808 (speedbar-with-attached-buffer)
11809 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11810 (speedbar-with-writable): Use backquote.
11811 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11812 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11813 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11814 rather than speedbar- aliases.
11815 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11816 (speedbar-make-specialized-keymap, speedbar-insert-button)
11817 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11818 (speedbar-do-function-pointer): Declare.
11819 (rmail-speedbar-button, rmail-speedbar-find-file)
11820 (rmail-speedbar-move-message):
11821 Use dframe-with-attached-buffer rather than speedbar- alias.
11822 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11823 (dframe-message, speedbar-make-specialized-keymap)
11824 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11825 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11826 (speedbar-insert-button, dframe-select-attached-frame)
11827 (dframe-maybee-jump-to-attached-frame)
11828 (speedbar-change-initial-expansion-list)
11829 (speedbar-previously-used-expansion-list-name): Declare.
11830 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11831 Use dframe-message, dframe-with-attached-buffer rather than
11833 (gud-sentinel): Silence compiler.
11834 * progmodes/vhdl-mode.el (speedbar-refresh)
11835 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11836 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11837 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11838 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11839 (speedbar-file-lists, speedbar-make-tag-line)
11840 (speedbar-line-directory, speedbar-goto-this-file)
11841 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11842 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11843 (speedbar-make-button, speedbar-reset-scanners)
11844 (speedbar-files-item-info, speedbar-line-text)
11845 (speedbar-find-file-in-frame, speedbar-set-timer)
11846 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11847 (speedbar-with-writable): Do not (re)define it.
11848 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11849 rather than speedbar- alias.
11851 2013-05-21 Leo Liu <sdl.web@gmail.com>
11853 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11855 (octave-mode): Tweak fill-nobreak-predicate.
11856 (inferior-octave-startup): Check process to avoid infinite loop.
11857 (inferior-octave): Pop to buffer first to show abornmal process
11860 2013-05-21 Glenn Morris <rgm@gnu.org>
11862 * printing.el (pr-menu-bar): Define when compiling.
11864 2013-05-21 Leo Liu <sdl.web@gmail.com>
11866 * progmodes/octave.el (octave-auto-fill): Remove.
11867 (octave-indent-new-comment-line): Improve.
11868 (octave-mode): Use auto fill mode through
11869 comment-line-break-function and fill-nobreak-predicate.
11870 (octave-goto-function-definition): Support DEFUN_DLD.
11871 (octave-beginning-of-defun): Small tweak.
11872 (octave-help): Show parent directory.
11874 2013-05-21 Glenn Morris <rgm@gnu.org>
11876 * files.el (dired-unmark):
11877 * progmodes/gud.el (gdb-input): Update declarations.
11879 * calculator.el (electric, ehelp): No need to load when compiling.
11880 (Electric-command-loop, electric-describe-mode): Declare.
11882 * doc-view.el (doc-view-current-converter-processes): Move before use.
11884 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11885 Move MODE-set-explicitly definition before use.
11887 * international/mule-diag.el (mule-diag):
11888 Don't use obsolete window-system-version.
11890 * mail/feedmail.el (smtpmail): No need to load when compiling.
11891 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11893 * mail/mail-utils.el (rfc822): No need to load when compiling.
11894 (rfc822-addresses): Autoload it.
11895 (mail-strip-quoted-names): Trivial simplification.
11897 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11898 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11900 * net/snmp-mode.el (tempo): Don't duplicate requires.
11902 * progmodes/prolog.el (info): No need to load when compiling.
11903 (comint): Require before shell requires it.
11904 (Info-goto-node): Autoload it.
11905 (Info-follow-nearest-node): Declare.
11906 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11908 * textmodes/artist.el (picture-mode-exit): Declare.
11910 * textmodes/reftex-parse.el (reftex-parse-from-file):
11911 Trivial rewrite so the compiler can parse it better.
11913 2013-05-20 Leo Liu <sdl.web@gmail.com>
11915 * progmodes/octave.el (octave-help-mode-map)
11916 (octave-help-mode-finish-hook): New variables.
11917 (octave-help-mode, octave-help-mode-finish): New functions.
11918 (octave-help): Use octave-help-mode.
11920 2013-05-20 Glenn Morris <rgm@gnu.org>
11922 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11924 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11926 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11927 start at point, so that expansion starting right after opening
11928 slash in a regexp is recognized.
11929 (ruby-syntax-before-regexp-re): New defvar, extracted from
11930 ruby-syntax-propertize-function. Since the value of this regexp
11931 is looked up at runtime now, we should be able to turn
11932 `ruby-syntax-methods-before-regexp' into a defcustom later.
11933 (ruby-syntax-propertize-function): Split regexp matching into two
11934 parts, for opening and closing slashes. That allows us to skip
11935 over string interpolations and support multiline regexps.
11936 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11937 for them, which calls `ruby-syntax-propertize-expansion'.
11938 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11939 call to `ruby-syntax-propertize-function'.
11940 (ruby-syntax-propertize-expansion): Extracted from
11941 `ruby-syntax-propertize-expansions'. Handles one expansion.
11942 (ruby-syntax-propertize-percent-literal): Leave point right after
11943 the percent symbol, so that the expression expansion rule can
11944 propertize the contents.
11945 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11947 (ruby-syntax-propertize-expansions): Remove.
11949 2013-05-18 Juri Linkov <juri@jurta.org>
11951 * man.el (Man-default-man-entry): Remove `-' from the end
11952 of the default value. (Bug#14400)
11954 2013-05-18 Glenn Morris <rgm@gnu.org>
11956 * comint.el (comint-password-prompt-regexp):
11957 Allow "password for XXX" where XXX contains colons (eg https://...).
11959 2013-05-18 Leo Liu <sdl.web@gmail.com>
11961 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11962 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11963 (octave-source-directories): Don't check process.
11964 (octave-source-directories, octave-find-definition): Doc fix.
11966 2013-05-18 Glenn Morris <rgm@gnu.org>
11968 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11969 Remove backspace/delete bindings. (Bug#14392)
11971 * cus-dep.el (custom-make-dependencies): Sort the output.
11972 (custom-versions-load-alist): Convert comment to doc.
11974 2013-05-17 Leo Liu <sdl.web@gmail.com>
11976 * newcomment.el (comment-search-backward): Stricter in finding
11977 comment start. (Bug#14303)
11979 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11980 (octave-comment-start-skip): Properly anchored.
11982 2013-05-17 Leo Liu <sdl.web@gmail.com>
11984 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11985 Clean up when turned off. (Bug#14395)
11986 (smie--highlight-matching-block-overlay): No longer buffer-local.
11987 (smie-highlight-matching-block): Adjust.
11989 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11991 Doc string fix for "nanoseconds" (Bug#14406).
11992 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11993 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11995 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11997 * calc/calc-units.el (math-extract-units): Preserve powers
12000 2013-05-17 Leo Liu <sdl.web@gmail.com>
12002 * subr.el (delete-consecutive-dups): New function.
12003 * ido.el (ido-set-matches-1): Use it.
12004 * progmodes/octave.el (inferior-octave-completion-table): Use it.
12005 * ido.el (ido-remove-consecutive-dups): Remove.
12007 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12009 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
12010 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
12011 regexp-opt's `words'.
12013 2013-05-16 Leo Liu <sdl.web@gmail.com>
12015 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
12016 (smie--highlight-matching-block-overlay)
12017 (smie--highlight-matching-block-lastpos)
12018 (smie--highlight-matching-block-timer): New variables.
12019 (smie-highlight-matching-block): New function.
12020 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
12021 (smie-setup): Conditionally enable smie-blink-matching-open.
12023 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
12025 Sync with upstream verilog-mode r840.
12026 * progmodes/verilog-mode.el (verilog-mode-version)
12027 (verilog-mode-release-date): Update.
12028 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
12029 (verilog-sig-tieoff): Fix string error on
12030 AUTORESET with colon define, bug594. Reported by Andrew Hou.
12031 (verilog-read-decls): Fix parameters confusing
12032 AUTOINST interfaces, bug565. Reported by Leith Johnson.
12034 2013-05-16 Eli Zaretskii <eliz@gnu.org>
12036 * subr.el (reveal-filename): New function.
12038 * loadup.el: Compute Emacs executable versions on MS-Windows,
12039 where executables have the .exe extension. Add a hard link
12040 emacs-XX.YY.ZZ.exe on MS-Windows.
12042 * Makefile.in (XARGS_LIMIT): New variable.
12043 (custom-deps, finder-data, autoloads)
12044 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
12045 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
12046 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
12047 (compile-main): Limit xargs according to $(XARGS_LIMIT).
12049 2013-05-16 Leo Liu <sdl.web@gmail.com>
12051 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
12052 (octave-mode-menu, octave-mode-map): Remove its uses.
12054 2013-05-16 Reto Zimmermann <reto@gnu.org>
12056 Sync with upstream vhdl mode v3.34.2.
12057 * progmodes/vhdl-mode.el: Use `push' throughout.
12058 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
12059 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
12060 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
12061 (vhdl-actual-generic-name): New option to derive actual generic name.
12062 (vhdl-port-paste-signals): Replace formal by actual generics.
12063 (vhdl-beautify): New name for old group vhdl-align. Update users.
12064 (vhdl-beautify-options): New option.
12065 (vhdl-last-input-event): New compat alias. Use throughout.
12066 (vhdl-goto-line): Replace user level function `goto-line'.
12067 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12068 vhdl-fix-statement-buffer.
12069 (vhdl-create-mode-menu): Add some entries.
12070 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12071 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12072 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12073 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12074 to force statements on one line.
12075 (vhdl-remove-trailing-spaces-region):
12076 New, split from vhdl-remove-trailing-spaces.
12077 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12078 Respect vhdl-beautify-options.
12079 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12080 (vhdl-update-sensitivity-list): Not add with index if exists without.
12081 Not include array index with signal. Ignore keywords in comments.
12082 (vhdl-get-visible-signals): Regexp tweaks.
12083 (vhdl-template-component-inst): Handle empty library.
12084 (vhdl-template-type): Add template for 'enum' type.
12085 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12086 Use vhdl-replace-string.
12087 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12088 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12089 (vhdl-speedbar-initialize): Update for above name change.
12090 (vhdl-compose-wire-components): Fix in handling of constants.
12091 (vhdl-error-regexp-emacs-alist): New variable.
12092 (vhdl-error-regexp-add-emacs): New function;
12093 adds support for new compile.el (Emacs 22+)
12094 (vhdl-generate-makefile-1): Change target order for single lib. units.
12095 Allow use of absolute file names.
12097 2013-05-16 Leo Liu <sdl.web@gmail.com>
12099 * simple.el (prog-indent-sexp): Indent enclosing defun.
12101 2013-05-15 Glenn Morris <rgm@gnu.org>
12103 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12104 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12105 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12106 (whitespace-highlight): Move to whitespace group.
12108 * comint.el (comint-source):
12109 * pcmpl-linux.el (pcmpl-linux):
12110 * shell.el (shell-faces):
12111 * eshell/esh-opt.el (eshell-opt):
12112 * international/ccl.el (ccl): Remove empty custom groups.
12114 * completion.el (dynamic-completion-mode):
12115 * jit-lock.el (jit-lock-debug-mode):
12116 * minibuffer.el (completion-in-region-mode):
12117 * type-break.el (type-break-mode-line-message-mode)
12118 (type-break-query-mode):
12119 * emulation/tpu-edt.el (tpu-edt-mode):
12120 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12121 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12122 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12124 * term/xterm.el (xterm): Change parent group to terminals.
12126 * master.el (master): Remove empty custom group.
12127 (master-mode): Remove unused :group argument.
12128 * textmodes/refill.el (refill): Remove empty custom group.
12129 (refill-mode): Remove unused :group argument.
12131 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12133 * cus-dep.el: Provide a feature.
12134 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12135 Don't mistakenly ignore files whose basenames match a basename
12136 from preloaded-file-list (eg cedet/ede/simple.el).
12137 Add a fallback method for getting :group.
12139 2013-05-15 Juri Linkov <juri@jurta.org>
12141 * isearch.el (isearch-char-by-name): Rename from
12142 `isearch-insert-char-by-name'. Doc fix.
12143 (isearch-forward): Mention `isearch-char-by-name' in
12144 the docstring. (Bug#13348)
12146 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12147 `exit-minibuffer' instead of
12148 `isearch-nonincremental-exit-minibuffer'.
12149 (isearch-edit-string): Remove mention of
12150 `isearch-nonincremental-exit-minibuffer' from docstring.
12151 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12152 (isearch-forward-exit-minibuffer)
12153 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12155 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12157 * loadup.el: Just use unversioned DOC.
12159 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12160 literals as extending to EOB.
12161 (nxml-last-fontify-end): Remove unused variable.
12162 (nxml-after-change1): Use with-silent-modifications.
12163 (nxml-extend-after-change-region): Simplify.
12164 (nxml-extend-after-change-region1): Remove function.
12165 (nxml-after-change1): Don't adjust for dependent regions.
12166 (nxml-fontify-matcher): Simplify.
12167 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12168 (xmltok-add-dependent): Remove function.
12169 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12170 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12171 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12172 unclosed <[[, <?, comment, and other literals as extending to EOB.
12173 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12174 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12176 (rng-do-some-validation-1): Don't mark dependent regions.
12177 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12178 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12179 (nxml-clear-dependent-regions): Remove functions.
12180 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12181 (nxml-ensure-scan-up-to-date):
12182 Don't clear&mark dependent regions.
12184 2013-05-15 Leo Liu <sdl.web@gmail.com>
12186 * progmodes/octave.el (octave-goto-function-definition):
12187 Improve and fix callers.
12189 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12191 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12192 the setter (bug#14387).
12194 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12195 surrounding group (bug#14402).
12197 2013-05-14 Juri Linkov <juri@jurta.org>
12199 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12202 2013-05-14 Glenn Morris <rgm@gnu.org>
12204 * progmodes/f90.el (f90-imenu-generic-expression):
12205 Fix typo in 2013-05-08 change. (Bug#14402)
12207 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12209 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12210 Remove signals for which replies are never received.
12212 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12214 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12215 (gdb-handler-alist, gdb-handler-number): Remove variables.
12216 (gdb-handler-list): New variable.
12217 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12218 (gdb-pending-handler-p, gdb-handle-reply)
12219 (gdb-remove-all-pending-triggers): New functions.
12220 (gdb-discard-unordered-replies): New defcustom.
12221 (gdb-handler): New defstruct.
12222 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12223 instead of gdb-pending-triggers. Update docstring.
12224 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12225 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12226 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12227 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12228 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12229 (gdb-frame-handler): Pending triggers are now automatically managed.
12230 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12232 (gdb-input): Automatically handles pending triggers. Update docstring.
12233 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12234 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12236 (gdb-done-or-error): Now use gdb-handle-reply.
12238 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12240 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12243 2013-05-14 Glenn Morris <rgm@gnu.org>
12245 * subr.el (user-emacs-directory-warning): New option.
12246 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12248 2013-05-14 Leo Liu <sdl.web@gmail.com>
12250 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12252 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12253 (octave-font-lock-texinfo-comment): Fix invalid search bound
12254 error: wrong side of point.
12256 2013-05-14 Glenn Morris <rgm@gnu.org>
12258 * progmodes/flymake.el (flymake-xml-program): New option.
12259 (flymake-xml-init): Use it.
12261 * term/xterm.el: Provide a feature.
12263 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12265 2013-05-13 Glenn Morris <rgm@gnu.org>
12267 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12268 Add compat aliases as a hack workaround. (Bug#14384)
12270 2013-05-13 Leo Liu <sdl.web@gmail.com>
12272 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12274 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12276 (octave-comment-start-skip): Include %!.
12277 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12279 2013-05-12 Leo Liu <sdl.web@gmail.com>
12281 * progmodes/octave.el (inferior-octave-startup): Store the value
12282 of __octave_srcdir__ for octave-source-directories.
12283 (inferior-octave-check-process): New function refactored out of
12284 inferior-octave-send-list-and-digest.
12285 (octave-source-directories)
12286 (octave-find-definition-filename-function): New variables.
12287 (octave-source-directories)
12288 (octave-find-definition-default-filename): New functions.
12289 (octave-find-definition): Improve to find functions implemented in C++.
12291 2013-05-12 Glenn Morris <rgm@gnu.org>
12293 * calendar/diary-lib.el (diary-outlook-format-1):
12294 Don't include dayname in the output. (Bug#14349)
12296 2013-05-11 Glenn Morris <rgm@gnu.org>
12298 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12300 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12301 Treat cc-provide like provide.
12303 2013-05-11 Kevin Ryde <user42@zip.com.au>
12305 * cus-dep.el (custom-make-dependencies):
12306 Use generated-autoload-load-name for the sake of files such
12307 such cedet/semantic/bovine/c.el, where the base file name
12308 is not in load-path. (Bug#5277)
12310 2013-05-11 Glenn Morris <rgm@gnu.org>
12312 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12315 2013-05-11 Leo Liu <sdl.web@gmail.com>
12317 * progmodes/octave.el (octave-indent-comment): Improve.
12318 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12319 (octave-eldoc-function-signatures, octave-eldoc-function):
12321 (octave-mode, inferior-octave-mode): Add eldoc support.
12323 2013-05-11 Richard Stallman <rms@gnu.org>
12325 * epa.el (epa-decrypt-file): Take output file name as argument
12326 and read it using `interactive'.
12328 2013-05-11 Leo Liu <sdl.web@gmail.com>
12330 * progmodes/octave.el (octave-beginning-of-line)
12331 (octave-end-of-line): Check before using up-list because it jumps
12332 out of more syntactic contructs since moving to smie.
12333 (octave-indent-comment): New function.
12334 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12335 (octave-begin-keywords, octave-end-keywords)
12336 (octave-reserved-words, octave-smie-bnf-table)
12337 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12339 2013-05-11 Glenn Morris <rgm@gnu.org>
12341 * faces.el (internal-face-x-get-resource):
12342 * frame.el (ns-display-monitor-attributes-list):
12343 * calc/calc-aent.el (math-to-radians-2):
12344 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12347 * calc/calc-menu.el: Make it loadable in isolation.
12349 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12350 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12351 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12352 (eudc-bbdb-query-internal): Require 'bbdb.
12354 * lpr.el (lpr-headers-switches):
12355 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12357 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12359 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12361 * term.el (term-set-escape-char): Make it idempotent.
12363 2013-05-10 Leo Liu <sdl.web@gmail.com>
12365 * progmodes/octave.el (inferior-octave-completion-table):
12366 No longer a function and all uses changed. Use cache to speed up
12367 completion due to bug#11906.
12368 (octave-beginning-of-defun): Re-write to be more general.
12370 2013-05-10 Glenn Morris <rgm@gnu.org>
12372 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12374 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12376 * comint.el (comint-redirect-send-command-to-process): Use :around
12377 rather than :override for comint-redirect-filter.
12378 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12379 Call it instead of comint-redirect-original-filter-function (which
12380 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12382 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12384 * frame.el (display-monitor-attributes-list): Add NS case.
12385 (ns-display-monitor-attributes-list): Declare.
12387 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12389 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12391 2013-05-09 Glenn Morris <rgm@gnu.org>
12393 * international/fontset.el (vertical-centering-font-regexp):
12394 Set standard-value.
12396 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12398 * bookmark.el (bookmark-search-delay):
12399 * cus-start.el (vertical-centering-font-regexp):
12400 * ps-mule.el (ps-mule-font-info-database-default):
12401 * ps-print.el (ps-default-fg, ps-default-bg):
12402 * type-break.el (type-break-good-break-interval):
12403 * whitespace.el (whitespace-indentation-regexp)
12404 (whitespace-space-after-tab-regexp):
12405 * emacs-lisp/testcover.el (testcover-1value-functions)
12406 (testcover-noreturn-functions, testcover-progn-functions)
12407 (testcover-prog1-functions):
12408 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12409 * eshell/em-glob.el (eshell-glob-translate-alist):
12410 * play/tetris.el (tetris-tty-colors):
12411 * progmodes/cpp.el (cpp-face-default-list):
12412 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12413 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12414 (idlwave-help-browser-generic-args):
12415 * progmodes/make-mode.el (makefile-special-targets-list):
12416 * progmodes/python.el (python-shell-virtualenv-path):
12417 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12418 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12419 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12420 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12421 * textmodes/reftex-vars.el (reftex-format-label-function):
12422 * textmodes/remember.el (remember-diary-file): Fix custom types.
12424 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12427 2013-05-09 Leo Liu <sdl.web@gmail.com>
12429 * progmodes/octave.el (inferior-octave-completion-at-point):
12430 Restore file completion. (Bug#14300)
12431 (inferior-octave-startup): Fix incorrect highlighting for the
12434 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * progmodes/ruby-mode.el: First cut at SMIE support.
12437 (ruby-use-smie): New var.
12438 (ruby-smie-grammar): New constant.
12439 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12440 (ruby-smie--forward-token, ruby-smie--backward-token)
12441 (ruby-smie-rules): New functions.
12442 (ruby-mode-variables): Setup SMIE if applicable.
12444 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12446 * simple.el (line-move-visual): Signal beginning/end of buffer
12447 only if vertical-motion moved less than it was requested. Avoids
12448 silly incorrect error messages when there are display strings with
12449 multiple newlines at EOL.
12451 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12453 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12454 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12455 (prolog-char-quote-workaround):
12456 * progmodes/cperl-mode.el (cperl-under-as-char):
12457 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12459 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12461 (vhdl-mode-syntax-table-init): Remove.
12463 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12466 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12468 (ld-script-font-lock-keywords):
12469 Change regexps to use things like \_< and \_>.
12471 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12472 Change all regexps to use things like \_< and \_>.
12474 * progmodes/autoconf.el (autoconf-definition-regexp)
12475 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12476 Handle a _ with symbol syntax.
12477 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12479 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12480 Consolidate declaration.
12481 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12483 (ada-create-syntax-table): Remove.
12484 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12485 already has the right syntax nowadays.
12486 (ada-goto-next-word): Don't change the syntax of "_".
12488 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12491 2013-05-08 Sam Steingold <sds@gnu.org>
12493 * thingatpt.el (thing-at-point): Accept optional second argument
12494 NO-PROPERTIES to strip the text properties from the return value.
12495 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12496 to `thing-at-point' instead of stripping the properties ourselves.
12497 Also, when `thing-at-point' fails to find a url, prepend "http://"
12498 to the filename at point on the assumption that the user is
12499 pointing at something like gnu.org/gnu.
12501 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12503 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12504 * faces.el (crm-separator):
12505 Silence byte-compiler.
12507 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12508 (tool-bar-map): Remove unneeded defvars.
12510 2013-05-08 Leo Liu <sdl.web@gmail.com>
12512 Re-work a fix for bug#10994 based on Le Wang's patch.
12513 * ido.el (ido-remove-consecutive-dups): New helper.
12514 (ido-completing-read): Use it.
12515 (ido-chop): Revert fix for bug#10994.
12517 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12519 * cus-edit.el (custom-save-variables):
12520 Pretty-print long values. (Bug#14187)
12522 2013-05-08 Glenn Morris <rgm@gnu.org>
12524 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12525 (m4-mode-syntax-table): Init in the defvar.
12526 (m4-mode-abbrev-table): Let define-derived-mode define it.
12528 2013-05-08 Tom Tromey <tromey@redhat.com>
12530 * progmodes/m4-mode.el (m4-mode-syntax-table):
12531 Do not treat "_" as word constituent. (Bug#14167)
12533 2013-05-07 Glenn Morris <rgm@gnu.org>
12535 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12536 Remove explicit eshell-isearch-cancel-map.
12538 * progmodes/f90.el (f90-smart-end-names): New option.
12539 (f90-smart-end): Doc fix.
12540 (f90-end-block-optional-name): New constant.
12541 (f90-block-match): Respect f90-smart-end-names.
12543 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12546 about implicit semi-colons (bug#14218).
12548 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12550 * frame.el (display-monitor-attributes-list)
12551 (frame-monitor-attributes): New functions.
12553 2013-05-06 Leo Liu <sdl.web@gmail.com>
12555 * progmodes/octave.el (octave-syntax-propertize-function): Change
12556 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12557 (octave-font-lock-keywords): Use octave-operator-regexp.
12558 (octave-completion-at-point): Rename from
12559 octave-completion-at-point-function.
12560 (inferior-octave-directory-tracker): Robustify.
12561 (octave-text-functions): Remove and fix its uses. No such things
12564 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12566 * emacs-lisp/trace.el (trace--display-buffer): New function.
12567 (trace-make-advice): Use it.
12569 2013-05-06 Juri Linkov <juri@jurta.org>
12571 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12572 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12574 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12575 in the help string. (Bug#12985)
12577 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12579 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12581 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * progmodes/perl-mode.el: Add support for here documents.
12584 (perl-syntax-propertize-function): Match here-doc markers.
12585 (perl-syntax-propertize-special-constructs): Find their end.
12586 (perl-imenu-generic-expression): Use [:alnum:].
12588 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12589 (advice--add-function): Refresh the advice if already present
12592 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12594 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12596 2013-05-06 Glenn Morris <rgm@gnu.org>
12598 * w32-fns.el (w32-charset-info-alist): Declare.
12600 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12601 of its defcustom properties.
12602 (eshell-cmpl-initialize): No need to load pcomplete.
12604 * generic-x.el: No need to require comint when compiling.
12606 * net/eudc-export.el: Make it loadable without bbdb.
12607 (top-level): Use require rather than load-library.
12608 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12609 (eudc-batch-export-records-to-bbdb)
12610 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12613 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12616 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12617 some tweaks, instead.
12619 2013-05-05 Leo Liu <sdl.web@gmail.com>
12621 * progmodes/octave.el (octave-font-lock-keywords)
12622 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12623 (inferior-octave-send-list-and-digest): Improve error message.
12624 (octave-mode, inferior-octave-mode): Use setq-local.
12625 (octave-help): Set info-lookup-mode.
12627 2013-05-05 Richard Stallman <rms@gnu.org>
12629 * vc/compare-w.el (compare-windows-whitespace):
12630 Treat no-break space as whitespace.
12632 * mail/rmailsum.el (rmail-summary-rmail-update):
12633 Detect empty summary and don't change selected message.
12634 (rmail-summary-goto-msg): Likewise.
12636 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12637 Doc fixes, rename args.
12639 2013-05-05 Alan Mackenzie <acm@muc.de>
12641 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12643 2013-05-05 Juri Linkov <juri@jurta.org>
12645 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12646 to not add the length of the summary segment to the return value.
12649 2013-05-05 Leo Liu <sdl.web@gmail.com>
12651 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12652 (inferior-octave-output-filter): Remove.
12653 (octave-send-region, inferior-octave-startup): Fix callers.
12654 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12655 (octave-binary-file-extensions): New user variable.
12656 (octave-find-definition): Confirm if opening binary files.
12657 (octave-help-file): Use octave-find-definition to get the binary
12659 (octave-help): Adjust for octave-help-file change.
12661 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12663 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12664 Merge the two entries that handle function definitions.
12665 (pascal--syntax-propertize): New const.
12666 (pascal-mode): Use it. Use setq-local.
12668 2013-05-04 Glenn Morris <rgm@gnu.org>
12670 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12671 (diary-from-outlook): Respect diary-from-outlook-function.
12673 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12675 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12676 Move the declaration from C.
12677 (read-minibuffer, eval-minibuffer): Move from C.
12678 (completion-setup-function): Avoid minibuffer-completion-contents.
12680 2013-05-03 Leo Liu <sdl.web@gmail.com>
12682 * progmodes/octave.el (octave-font-lock-keywords): Do not
12683 dehighlight 'end' in comments or strings.
12684 (octave-completing-read, octave-goto-function-definition):
12686 (octave-help-buffer): New user variable.
12687 (octave-help-file, octave-help-function): New button types.
12688 (octave-help): New command and bind it to C-h ;.
12689 (octave-find-definition): New command and bind it to M-.
12690 (user-error): Alias to error if not defined.
12692 2013-05-02 Leo Liu <sdl.web@gmail.com>
12694 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12696 (octave-font-lock-keywords): Include [ and {.
12698 2013-05-02 Leo Liu <sdl.web@gmail.com>
12700 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12701 (inferior-octave): Remove calling comint-mode and return the buffer.
12702 (inferior-octave-startup): Cosmetic changes.
12704 2013-05-02 Leo Liu <sdl.web@gmail.com>
12706 * progmodes/octave.el (octave-syntax-propertize-function):
12707 Include the case when ' is at line beginning. (Bug#14336)
12709 2013-05-02 Glenn Morris <rgm@gnu.org>
12711 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12712 * desktop.el (vc-dir-mode): Just autoload it here.
12714 2013-05-02 Alan Mackenzie <acm@muc.de>
12716 Eliminate variable c-standard-font-lock-fontify-region-function.
12717 * progmodes/cc-mode.el
12718 (c-standard-font-lock-fontify-region-function): Remove.
12719 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12721 2013-05-01 Leo Liu <sdl.web@gmail.com>
12723 * progmodes/octave.el: Compatible with older emacs-24 releases.
12724 (inferior-octave-has-built-in-variables): Remove. Built-in
12725 variables were removed from Octave in 2007.
12726 (inferior-octave-startup): Fix uses.
12727 (comint-line-beginning-position): Remove compatibility code for
12730 2013-05-01 Juri Linkov <juri@jurta.org>
12732 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12734 2013-05-01 Juri Linkov <juri@jurta.org>
12736 * comint.el (comint-previous-matching-input): Don't print message
12737 "History item: %d" when `isearch-mode' is active.
12738 (comint-history-isearch-message): Print message "History item: %d"
12739 when `comint-input-ring-index' is not empty and this function is
12740 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12742 2013-05-01 Leo Liu <sdl.web@gmail.com>
12744 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12745 definitions. Use completion-at-point to insert keywords.
12746 (octave-abbrev-start): Remove.
12747 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12749 2013-04-30 Leo Liu <sdl.web@gmail.com>
12751 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12754 2013-04-30 Alan Mackenzie <acm@muc.de>
12756 Handle arbitrarily long C++ member initialisation lists.
12757 * progmodes/cc-engine.el (c-back-over-member-initializers):
12759 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12760 (most) member init lists.
12762 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12764 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12767 2013-04-30 Leo Liu <sdl.web@gmail.com>
12769 * progmodes/octave.el (octave-variables): Remove. No builtin
12770 variables any more. All converted to functions.
12771 (octave-font-lock-keywords, octave-completion-at-point-function):
12773 (octave-font-lock-texinfo-comment): New user variable.
12774 (octave-texinfo-font-lock-keywords): New variable for texinfo
12776 (octave-function-comment-block): New face.
12777 (octave-font-lock-texinfo-comment): New function.
12778 (octave-mode): Font lock texinfo comment block.
12780 2013-04-29 Leo Liu <sdl.web@gmail.com>
12782 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12783 indexing expression.
12784 (octave-continuation-string): Do not use \.
12785 (inferior-octave-complete-impossible): Remove.
12786 (inferior-octave-completion-table)
12787 (inferior-octave-completion-at-point): Remove its uses.
12788 (inferior-octave-startup): completion_matches was introduced to
12789 Octave in 1996 so safe to assume it.
12790 (octave-function-file-comment): Improve to follow how Octave does it.
12791 (octave-update-function-file-comment): Tweak.
12793 2013-04-29 Leo Liu <sdl.web@gmail.com>
12795 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12796 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12797 (octave-function-file-comment): Fix typo.
12798 (octave-sync-function-file-names): Use read-char-choice.
12800 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12802 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12803 to t for the less important warnings.
12805 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12807 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12809 2013-04-27 Glenn Morris <rgm@gnu.org>
12811 * vc/log-view.el (log-view-current-entry):
12812 Treat "---" separator lines as part of the following rev. (Bug#14169)
12814 2013-04-27 Juri Linkov <juri@jurta.org>
12816 * subr.el (read-number): Doc fix about using it by interactive
12817 code letter `n'. (Bug#14254)
12819 2013-04-27 Juri Linkov <juri@jurta.org>
12821 * desktop.el (desktop-auto-save-timeout): New option.
12822 (desktop-file-checksum): New variable.
12823 (desktop-save): Add optional arg `auto-save' and don't auto-save
12824 if nothing changed.
12825 (desktop-auto-save-timer): New variable.
12826 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12827 (after-init-hook): Call `desktop-auto-save-set-timer'.
12828 Suggested by Reuben Thomas <rrt@sc3d.org> in
12829 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12831 2013-04-27 Leo Liu <sdl.web@gmail.com>
12833 * progmodes/octave.el (octave-function-file-p)
12834 (octave-skip-comment-forward, octave-function-file-comment)
12835 (octave-update-function-file-comment): New functions.
12836 (octave-mode-map): Bind C-c ; to
12837 octave-update-function-file-comment.
12838 (octave-mode-menu): Add octave-update-function-file-comment.
12839 (octave-mode, inferior-octave-mode): Fix doc-string.
12840 (octave-insert-defun): Conform to Octave's coding convention.
12843 * files.el (basic-save-buffer): Don't let errors in
12844 before-save-hook prevent saving buffer.
12846 2013-04-20 Roland Winkler <winkler@gnu.org>
12848 * faces.el (read-face-name): Use completing-read if arg multiple
12851 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12853 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12854 displayed, move point to after the totals line.
12855 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12858 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12860 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12861 Add current dir to the load-path.
12862 (package-generate-autoloads): Don't rely on
12863 autoload-ensure-default-file.
12865 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12867 * textmodes/remember.el (remember-store-in-files): Document that
12868 the file name format is passed to `format-time-string'.
12870 2013-04-26 Leo Liu <sdl.web@gmail.com>
12872 * progmodes/octave.el (octave-sync-function-file-names): New function.
12873 (octave-mode): Use it in before-save-hook.
12875 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12877 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12880 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12881 \n and comment, even if it's not an implicit ; (bug#14218).
12883 2013-04-26 Glenn Morris <rgm@gnu.org>
12885 * subr.el (read-number): Once more use `read' rather than
12886 `string-to-number', to trap non-numeric input. (Bug#14254)
12888 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12890 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12891 Use `syntax-multiline' text property consistently instead of
12892 `font-lock-multiline'. (Bug#14237)
12894 2013-04-26 Glenn Morris <rgm@gnu.org>
12896 * emacs-lisp/shadow.el (list-load-path-shadows):
12897 No longer necessary to check for duplicate simple.el, since
12898 2012-07-07 change to init_lread to not include installation lisp
12899 directories in load-path when running uninstalled. (Bug#14270)
12901 2013-04-26 Leo Liu <sdl.web@gmail.com>
12903 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12904 (octave-mode, inferior-octave-mode): Use setq-local.
12905 (octave-not-in-string-or-comment-p): Rename to
12906 octave-in-string-or-comment-p.
12907 (octave-in-comment-p, octave-in-string-p)
12908 (octave-in-string-or-comment-p): Replace defsubst with defun.
12910 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12912 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12914 2013-04-25 Bastien Guerry <bzg@gnu.org>
12916 * textmodes/remember.el (remember-data-directory)
12917 (remember-directory-file-name-format): Fix custom types.
12919 2013-04-25 Leo Liu <sdl.web@gmail.com>
12921 * progmodes/octave.el (octave-completion-at-point-function):
12922 Make use of inferior octave process.
12923 (octave-initialize-completions): Remove.
12924 (inferior-octave-completion-table): New function.
12925 (inferior-octave-completion-at-point): Use it.
12926 (octave-completion-alist): Remove.
12928 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12930 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12931 (opascal-mode-syntax-table): New var.
12932 (opascal-literal-kind, opascal-is-literal-end)
12933 (opascal-literal-token-at): Rewrite.
12934 (opascal--literal-start-re, opascal-font-lock-keywords)
12935 (opascal--syntax-propertize): New constants.
12936 (opascal-font-lock-defaults): Adjust.
12937 (opascal-mode): Use them. Set comment-<foo> variables as well.
12938 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12939 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12940 (delphi-other-face, opascal-other-face): Remove face variables.
12941 (opascal-save-state): Remove macro.
12942 (opascal-fontifying-progress-step): Remove constant.
12943 (opascal--ignore-changes): Remove var.
12944 (opascal-set-token-property, opascal-parse-next-literal)
12945 (opascal-is-stable-literal, opascal-complete-literal)
12946 (opascal-is-literal-start, opascal-face-of)
12947 (opascal-parse-region, opascal-parse-region-until-stable)
12948 (opascal-fontify-region, opascal-after-change)
12949 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12950 (opascal-debug-parse-region, opascal-debug-parse-window)
12951 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12952 (opascal-debug-fontify-buffer): Remove.
12953 (opascal-debug-mode-map): Adjust accordingly.
12955 2013-04-25 Leo Liu <sdl.web@gmail.com>
12957 Merge octave-mod.el and octave-inf.el into octave.el with some
12959 * progmodes/octave.el: New file renamed from octave-mod.el.
12960 * progmodes/octave-inf.el: Merged into octave.el.
12961 * progmodes/octave-mod.el: Renamed to octave.el.
12963 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12965 * textmodes/reftex-vars.el
12966 (reftex-label-ignored-macros-and-environments): New defcustom.
12968 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12970 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12972 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12973 (smie-indent-keyword): Improve the check to ensure that the next
12974 comment is really on the same line.
12975 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12977 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12978 semi-colons if the line is not otherwise empty (bug#14218).
12980 2013-04-25 Glenn Morris <rgm@gnu.org>
12982 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12984 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12986 * progmodes/opascal.el (opascal-set-token-property): Rename from
12987 opascal-set-text-properties and only set `token' (bug#14134).
12988 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12989 (opascal-literal-text-properties): Remove.
12990 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12993 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12995 * textmodes/remember.el (remember-handler-functions): Add an
12996 option for a new handler `remember-store-in-files'.
12997 (remember-data-directory, remember-directory-file-name-format):
12999 (remember-store-in-files): New function to store remember notes
13000 as separate files within a directory.
13002 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
13004 * progmodes/compile.el (compilation-next-error-function):
13005 Pass "formats" to compilation-find-file (bug#11777).
13007 2013-04-24 Glenn Morris <rgm@gnu.org>
13009 * vc/vc-bzr.el (vc-bzr-print-log):
13010 * vc/vc-hg.el (vc-hg-print-log):
13011 * vc/vc-svn.el (vc-svn-print-log):
13012 Fix START-REVISION with LIMIT != 1. (Bug#14168)
13014 * vc/vc-bzr.el (vc-bzr-print-log):
13015 * vc/vc-cvs.el (vc-cvs-print-log):
13016 * vc/vc-git.el (vc-git-print-log):
13017 * vc/vc-hg.el (vc-hg-print-log):
13018 * vc/vc-mtn.el (vc-mtn-print-log):
13019 * vc/vc-rcs.el (vc-rcs-print-log):
13020 * vc/vc-sccs.el (vc-sccs-print-log):
13021 * vc/vc-svn.el (vc-svn-print-log):
13022 * vc/vc.el (vc-print-log-internal): Doc fixes.
13024 2013-04-23 Glenn Morris <rgm@gnu.org>
13026 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
13027 Remove venerable code attempting to avoid substitute-command-keys.
13029 2013-04-23 Tassilo Horn <tsdh@gnu.org>
13031 * textmodes/reftex-vars.el (reftex-label-regexps):
13032 Call `reftex-compile-variables' after changes to this variable.
13034 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
13037 Use lexical-binding.
13038 (jit-lock-force-redisplay): Use markers, check buffer's continued
13039 existence and beware narrowed buffers.
13040 (jit-lock-fontify-now): Adjust call accordingly.
13042 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
13045 to avoid misleading the user.
13047 2013-04-22 Leo Liu <sdl.web@gmail.com>
13049 * info-look.el: Prefer latex2e.info. (Bug#14240)
13051 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
13053 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
13055 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
13056 * net/tramp.el (tramp-call-process): ... here.
13057 (tramp-set-completion-function, tramp-parse-putty):
13058 * net/tramp-adb.el (tramp-adb-execute-adb-command):
13059 * net/tramp-gvfs.el (tramp-gvfs-send-command):
13060 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
13061 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
13062 (tramp-call-local-coding-command): Use `tramp-call-process'
13063 instead of `tramp-compat-call-process'.
13065 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
13066 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
13067 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13068 (tramp-find-inline-compress): Improve traces.
13069 (tramp-maybe-send-script): Check for Perl binary.
13070 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13072 2013-04-22 Daiki Ueno <ueno@gnu.org>
13074 * epg.el (epg-context-pinentry-mode): New function.
13075 (epg-context-set-pinentry-mode): New function.
13076 (epg--start): Pass --pinentry-mode option to gpg command.
13078 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13080 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13081 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13082 `completion-at-point'. (Bug#13774)
13084 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13085 default key binding for `describe-distribution' has been moved to
13086 `C-h C-o'. (Bug#13970)
13088 2013-04-21 Glenn Morris <rgm@gnu.org>
13090 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13092 (vc-print-log): Clarify interactive prompt.
13094 2013-04-20 Glenn Morris <rgm@gnu.org>
13096 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13097 No longer include timestamp etc information.
13099 2013-04-20 Roland Winkler <winkler@gnu.org>
13101 * faces.el (read-face-name): Bug fix, return just one face if arg
13102 multiple is nil. (Bug#14209)
13104 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13106 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13107 (remove-function): Autoload.
13109 * comint.el (comint-redirect-original-filter-function): Remove.
13110 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13111 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13112 (vc-cvs-annotate-command):
13113 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13114 * progmodes/prolog.el (prolog-consult-compile):
13115 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13116 Use add/remove-function instead.
13117 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13118 (gud-tooltip-process-output, gud-tooltip-tips):
13119 Use add/remove-function instead.
13120 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13121 (scheme-interaction-mode, exit-scheme-interaction-mode):
13122 Use add/remove-function instead.
13124 * vc/vc-dispatcher.el: Use lexical-binding.
13125 (vc--process-sentinel): Rename from vc-process-sentinel.
13126 Change last arg to be the code to run. Don't use vc-previous-sentinel
13127 and vc-sentinel-commands any more.
13128 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13129 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13131 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13133 * progmodes/sh-script.el (sh-imenu-generic-expression):
13134 Handle function names with a single character. (Bug#14111)
13136 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13138 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13139 for subroutines defined in an eval (bug#14182).
13141 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13143 * bookmark.el (bookmark-completing-read): Improve handling of empty
13144 string (bug#14176).
13146 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13148 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13150 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13152 New faster Imenu implementation (bug#14058).
13153 * progmodes/python.el:
13154 (python-imenu-prev-index-position):
13155 (python-imenu-format-item-label-function)
13156 (python-imenu-format-parent-item-label-function)
13157 (python-imenu-format-parent-item-jump-label-function):
13159 (python-imenu-format-item-label)
13160 (python-imenu-format-parent-item-label)
13161 (python-imenu-format-parent-item-jump-label)
13162 (python-imenu--put-parent, python-imenu--build-tree)
13163 (python-imenu-create-index, python-imenu-create-flat-index)
13164 (python-util-popn): New functions.
13165 (python-mode): Set imenu-create-index-function to
13166 python-imenu-create-index.
13168 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13170 * winner.el (winner-active-region): Use region-active-p, activate-mark
13171 and deactivate-mark (bug#14225).
13173 * simple.el (deactivate-mark): Don't inline it.
13175 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13177 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13179 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13181 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13182 file extensions from the archive-mode entry in order to prefer
13183 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13185 2013-04-18 Leo Liu <sdl.web@gmail.com>
13187 * bindings.el (help-event-list): Add ?\?.
13189 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13191 * subr.el (with-wrapper-hook): Declare obsolete.
13192 * simple.el (filter-buffer-substring-function): New hook.
13193 (filter-buffer-substring): Use it.
13194 (filter-buffer-substring-functions): Mark obsolete.
13195 * minibuffer.el (completion-in-region-function): New hook.
13196 (completion-in-region): Use it.
13197 (completion-in-region-functions): Mark obsolete.
13198 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13199 * abbrev.el (abbrev-expand-function): New hook.
13200 (expand-abbrev): Use it.
13201 (abbrev-expand-functions): Mark obsolete.
13202 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13203 and :filter-return.
13205 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13207 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13208 and do not care about match data.
13210 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13212 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13213 completion tables when completing error conditions and
13214 `declare' arguments.
13215 (lisp-complete-symbol, field-complete): Mark as obsolete.
13216 (check-parens): Unmatched parens are user errors.
13217 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13219 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13221 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13222 command changed buffer (ie. `flyspell-pre-buffer' is not current
13223 buffer), which prevents making decisions based on invalid value of
13224 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13225 cause an error when `flyspell-pre-point' was nil after switching
13227 (flyspell-post-command-hook): No longer needs to change buffers when
13228 checking pre-word. While at it remove unnecessary progn.
13230 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13232 * textmodes/ispell.el (ispell-add-per-file-word-list):
13233 Fix `flyspell-correct-word-before-point' error when accepting
13234 words and `coment-padding' is an integer by using
13235 `comment-normalize-vars' (Bug #14214).
13237 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13239 New defun movement commands.
13240 * progmodes/python.el (python-nav--syntactically)
13241 (python-nav--forward-defun, python-nav-backward-defun)
13242 (python-nav-forward-defun): New functions.
13244 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13246 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13247 (python-syntax-context): Use named compiler-macro for backwards
13248 compatibility with Emacs 24.x.
13250 2013-04-17 Leo Liu <sdl.web@gmail.com>
13252 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13253 octave-hide-process-buffer.
13255 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13257 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13260 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13262 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13263 Fix adjustment of offset when receiving incomplete responses from GDB
13266 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13268 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13269 python-mode-abbrev-table.
13270 (python-skeleton-define): Adjust accordingly.
13271 (python-mode-abbrev-table): New table that inherits from it so that
13272 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13274 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13275 (abbrev-symbol): Use it.
13276 (abbrev--before-point): Use it since we already handle inheritance.
13278 2013-04-16 Leo Liu <sdl.web@gmail.com>
13280 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13281 binding to info-lookup-symbol.
13283 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13285 * minibuffer.el (completion--twq-all):
13286 * term/ns-win.el (ns-initialize-window-system):
13287 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13289 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13291 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13294 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13296 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13298 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13299 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13301 (ruby-end-of-defun): Remove the unused arg, change the docstring
13302 to reflect that this function is only used as the value of
13303 `end-of-defun-function'.
13304 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13305 to reflect an earlier change that beginning/end-of-defun functions
13306 jump between methods in a class definition, as well as top-level
13309 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13311 * minibuffer.el (minibuffer-complete): Don't just scroll
13312 a *Completions* that's been iconified.
13313 (minibuffer-force-complete): Make sure repetitions do cycle when going
13314 through completion-in-region -> minibuffer-complete.
13316 2013-04-15 Alan Mackenzie <acm@muc.de>
13318 Correct the placement of c-cpp-delimiters when there're #s not at
13321 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13322 place a submatch around the #.
13323 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13324 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13327 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13329 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13330 (advice--member-p): New arg `name'.
13331 (advice--add-function, advice-member-p): Use it (bug#14202).
13333 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13335 Reformulate java imenu-generic-expression.
13336 The old expression contained ill formed regexps.
13338 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13339 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13340 (cc-imenu-java-method-arg-regexp): New defconsts.
13341 (cc-imenu-java-build-type-args-regex): New defun.
13342 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13343 handling of spaces in the regexp.
13345 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13347 * textmodes/ispell.el (ispell-command-loop): Remove
13348 flyspell highlight of a word when ispell accepts it (bug #14178).
13350 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13352 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13353 uses code from the previous `ange-ftp-run-real-handler'.
13354 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13355 only in case that function exist. This is needed for proper
13356 unloading of Tramp.
13358 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13360 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13362 * textmodes/reftex.el (reftex-compile-variables): Use it.
13364 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13366 * files.el (normal-mode): Only use default major-mode if no other mode
13369 * emacs-lisp/trace.el (trace-values): New function.
13371 * files.el: Allow : in local variables (bug#14089).
13372 (hack-local-variable-regexp): New var.
13373 (hack-local-variables-prop-line, hack-local-variables): Use it.
13375 2013-04-13 Roland Winkler <winkler@gnu.org>
13377 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13378 data before it gets modified by bibtex-beginning-of-entry.
13380 2013-04-13 Roland Winkler <winkler@gnu.org>
13382 * textmodes/bibtex.el (bibtex-url): Doc fix.
13384 2013-04-13 Roland Winkler <winkler@gnu.org>
13386 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13387 does not visit a BibTeX file, exclude it from the list of buffers
13388 returned by bibtex-initialize.
13390 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13392 * window.el (split-window): Remove interactive form, since as a
13393 command this function is a special case of split-window-below.
13394 Correct doc string.
13396 2013-04-12 Roland Winkler <winkler@gnu.org>
13398 * faces.el (read-face-name): Do not override value of arg default.
13399 Allow single faces and strings as default values. Remove those
13400 elements from return value that are not faces.
13401 (describe-face): Simplify.
13402 (face-at-point): New optional args thing and multiple so that this
13403 function can provide the same functionality previously provided by
13405 (make-face-bold, make-face-unbold, make-face-italic)
13406 (make-face-unitalic, make-face-bold-italic, invert-face)
13407 (modify-face, read-face-and-attribute): Use face-at-point.
13409 * cus-edit.el (customize-face, customize-face-other-window)
13410 * cus-theme.el (custom-theme-add-face)
13411 * face-remap.el (buffer-face-set)
13412 * facemenu.el (facemenu-set-face): Use face-at-point.
13414 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13416 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13418 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13420 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13421 off leading { and trailing } from field values.
13423 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13425 * emacs-lisp/timer.el (timer--check): New function.
13426 (timer--time, timer-set-function, timer-event-handler): Use it.
13427 (timer-set-idle-time): Simplify.
13428 (timer--activate): CSE.
13429 (timer-event-handler): Give more info in error message.
13430 (internal-timer-start-idle): New function, moved from C.
13432 * mpc.el (mpc-proc): Add `restart' argument.
13433 (mpc-proc-cmd): Use it.
13434 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13435 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13438 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13440 * progmodes/sh-script.el: Implement `sh-mode' own
13441 `add-log-current-defun-function' (bug#14112).
13442 (sh-current-defun-name): New function.
13443 (sh-mode): Use the function.
13445 2013-04-09 Bastien Guerry <bzg@gnu.org>
13447 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13449 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13451 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13453 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13456 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13458 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13461 2013-04-07 Leo Liu <sdl.web@gmail.com>
13463 * pcmpl-x.el: New file.
13465 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13467 Do not set x-display-name until X connection is established.
13468 This is needed to prevent from weird situation described at
13469 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13470 * frame.el (make-frame): Set x-display-name after call to
13471 window system initialization function, not before.
13472 * term/x-win.el (x-initialize-window-system): Add optional
13473 display argument and use it.
13474 * term/w32-win.el (w32-initialize-window-system):
13475 * term/ns-win.el (ns-initialize-window-system):
13476 * term/pc-win.el (msdos-initialize-window-system):
13477 Add compatible optional display argument.
13479 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13481 * files.el (normal-backup-enable-predicate): On MS-Windows and
13482 MS-DOS compare truenames of temporary-file-directory and of the
13483 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13484 don't fail comparison by compare-strings. Also, compare file
13485 names case-insensitively on MS-Windows and MS-DOS.
13487 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13489 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13490 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13492 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13494 * whitespace.el (whitespace-color-on, whitespace-color-off):
13495 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13497 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13499 * ispell.el (ispell-set-spellchecker-params):
13500 Really set `ispell-args' for all equivs.
13502 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * ido.el (ido-completions): Use extra elements of ido-decorations
13506 (ido-decorations): Update docstring.
13508 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13510 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13511 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13512 nil during initialization, in order not to miss changes since the
13513 file was opened. (Bug#14140)
13515 2013-04-05 Leo Liu <sdl.web@gmail.com>
13517 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13519 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13521 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13523 2013-04-04 Glenn Morris <rgm@gnu.org>
13525 * electric.el (electric-pair-inhibit-predicate): Add :version.
13527 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13530 when a package is required several times (bug#14082).
13532 2013-04-04 Roland Winkler <winkler@gnu.org>
13534 * faces.el (read-face-name): Behave as promised by the docstring.
13535 Assume that arg default is a list of faces.
13536 (describe-face): Call read-face-name with list of default faces.
13538 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13540 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13541 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13542 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13544 (bookmark-exit-hook-internal): Save even if list is empty.
13546 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13548 * emacs-lisp/package.el (package-pinned-packages): New var.
13549 (package--add-to-archive-contents): Obey it (bug#14118).
13551 2013-04-03 Alan Mackenzie <acm@muc.de>
13553 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13554 Also adapt to the new values of element 7 of a parse state.
13556 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13557 parameter `not-in-delimiter'. Handle being inside comment opener.
13558 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13559 character in case we're typing a '*' after a '/'.
13560 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13561 instead by passing the parameter to c-state-pp-to-literal.
13563 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13564 for elt. 7 of a parse state.
13566 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13568 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13569 * international/latin1-disp.el, international/mule-util.el:
13570 * language/cyril-util.el, language/european.el, language/ind-util.el:
13571 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13572 * language/tibetan.el, language/viet-util.el:
13573 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13575 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13577 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13578 (electric-pair-post-self-insert-function): Use it.
13579 (electric-pair-default-inhibit): New function, extracted from
13580 electric-pair-post-self-insert-function.
13582 2013-03-31 Roland Winkler <winkler@gnu.org>
13584 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13586 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13588 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13590 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13592 Un-indent after "pass" and "return" statements (Bug#13888)
13593 * progmodes/python.el (python-indent-block-enders): New var.
13594 (python-indent-calculate-indentation): Use it.
13596 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13598 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13599 defun. Defining it as defalias could introduce too eager
13600 byte-compiler optimization. (Bug#14030)
13602 2013-03-30 Chong Yidong <cyd@gnu.org>
13604 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13606 2013-03-30 Leo Liu <sdl.web@gmail.com>
13608 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13609 (kmacro-execute-from-register): Pass the keyboard macro to
13610 kmacro-call-macro or repeating won't work correctly.
13612 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13614 * progmodes/subword.el: Back to using `forward-symbol'.
13616 * subr.el (forward-whitespace, forward-symbol)
13617 (forward-same-syntax): Move from thingatpt.el.
13619 2013-03-29 Leo Liu <sdl.web@gmail.com>
13621 * kmacro.el (kmacro-to-register): New command.
13622 (kmacro-execute-from-register): New function.
13623 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13625 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * mpc.el: Use defvar-local and setq-local.
13628 (mpc--proc-connect): Connection failures are not bugs.
13629 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13630 (mpc-volume-map): Bind to the up-events.
13632 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13634 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13635 instead of `forward-symbol'.
13637 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13639 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13640 (edebug--recursive-edit): Use it.
13641 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13642 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13644 2013-03-28 Leo Liu <sdl.web@gmail.com>
13646 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13648 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13650 * facemenu.el (list-colors-callback): New defvar.
13651 (list-colors-redisplay): New function.
13652 (list-colors-display): Install list-colors-redisplay as the
13653 revert-buffer-function. (Bug#14063)
13655 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13657 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13658 and suffixes don't overlap (bug#14061).
13660 * case-table.el: Use lexical-binding.
13661 (case-table-get-table): New function.
13662 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13664 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13666 * progmodes/subword.el: Add `superword-mode' to do word motion
13667 over symbol_words (parallels and leverages `subword-mode' which
13668 does word motion inside MixedCaseWords).
13670 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13672 * eshell/em-unix.el: Move su and sudo to...
13673 * eshell/em-tramp.el: ...Eshell tramp module.
13675 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13677 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13678 Change return value to be a sexp. Delay `get-buffer' to after
13679 restoring the desktop (bug#13951).
13681 2013-03-26 Leo Liu <sdl.web@gmail.com>
13683 * register.el: Move semantic tag handling back to
13684 cedet/semantic/senator.el. (Bug#14052)
13686 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13688 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13689 into the prompt either (bug#13963).
13691 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13693 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13694 part of "(error-foo)".
13696 2013-03-24 Juri Linkov <juri@jurta.org>
13698 * replace.el (list-matching-lines-prefix-face): New defcustom.
13699 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13700 `occur-engine' if `face-differs-from-default-p' returns t.
13701 (occur-engine): Add `,' inside backquote construct to evaluate
13702 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13703 Pass `prefix-face' to the functions `occur-context-lines' and
13704 `occur-engine-add-prefix'.
13705 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13706 `prefix-face' and propertize the prefix with `prefix-face'.
13709 2013-03-24 Leo Liu <sdl.web@gmail.com>
13711 * nxml/rng-valid.el (rng-validate-while-idle)
13712 (rng-validate-quick-while-idle): Guard against deleted buffer.
13715 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13716 is the last entry in kill-buffer-hook.
13718 * files.el (kill-buffer-hook): Doc fix.
13720 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13722 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13723 Make it safe-local.
13725 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13727 2013-03-23 Leo Liu <sdl.web@gmail.com>
13729 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13732 * nxml/rng-valid.el (rng-validate-mode)
13733 (rng-after-change-function, rng-do-some-validation):
13734 * nxml/rng-maint.el (rng-validate-buffer):
13735 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13736 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13737 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13738 (nxml-extend-after-change-region): Use with-silent-modifications.
13740 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13743 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13744 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13745 timer-idle-list. (Bug#13999)
13747 2013-03-23 Juri Linkov <juri@jurta.org>
13749 * info.el (info-index-match): New face.
13750 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13751 main pattern and add text properties with the new face to matches
13752 in index entries relative to the beginning of the index entry.
13755 2013-03-21 Eric Ludlam <zappo@gnu.org>
13757 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13758 Inhibit read only while inserting objects.
13760 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13762 * progmodes/cfengine.el: Update docs to mention
13763 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13764 symbol motion. Remove "_" from the word syntax.
13766 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13768 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13769 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13771 2013-03-20 Juri Linkov <juri@jurta.org>
13773 * info.el (Info-next-reference-or-link)
13774 (Info-prev-reference-or-link): New functions.
13775 (Info-next-reference, Info-prev-reference): Use them.
13776 (Info-try-follow-nearest-node): Handle footnote navigation.
13777 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13779 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13781 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13782 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13784 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13786 Suppress unnecessary non-ASCII chatter during build process.
13787 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13788 (batch-skkdic-convert): Suppress most of the chatter.
13789 It's not needed so much now that machines are faster,
13790 and its non-ASCII component was confusing; see Dmitry Gutov in
13791 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13793 2013-03-20 Leo Liu <sdl.web@gmail.com>
13795 * ido.el (ido-chop): Fix bug#10994.
13797 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13799 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13801 (whitespace-color-on, whitespace-color-off):
13802 Use `font-lock-fontify-buffer' (Bug#13817).
13804 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13806 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13807 remapping in mode-line.
13808 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13810 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13812 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13813 value for `whitespace-line' face (Bug#13875).
13814 (whitespace-font-lock-keywords): Change description.
13815 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13816 the constructed keywords instead.
13817 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13819 2013-03-19 Leo Liu <sdl.web@gmail.com>
13821 * progmodes/compile.el (compilation-display-error): New command.
13822 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13825 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13827 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13829 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13831 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13833 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13835 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13837 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13838 * net/tramp-gvfs.el (top):
13839 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13840 (tramp-handle-shell-command): Use it.
13841 (tramp-dissect-file-name): Raise an error when hostname is a
13842 method name, and neither method nor user is specified.
13844 * net/trampver.el: Update release number.
13846 2013-03-18 Leo Liu <sdl.web@gmail.com>
13848 Make sure eldoc can be turned off properly.
13849 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13851 (eldoc-display-message-p): Revert last change.
13852 (eldoc-display-message-no-interference-p)
13853 (eldoc-print-current-symbol-info): Tweak.
13855 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13857 * doc-view.el (doc-view-new-window-function): Check the new window
13858 overlay's display property instead the char property of the
13859 buffer's first char. Use `with-selected-window' instead of
13860 `save-window-excursion' with `select-window'.
13861 (doc-view-document->bitmap): Check the current doc-view overlay's
13862 display property instead the char property of the buffer's first char.
13864 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13866 Automate the build of ja-dic.el (Bug#13984).
13867 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13868 from the input, rather than assume that it's been done for us by the
13869 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13870 the current date into a ja-dic.el comment, as that complicates
13871 regression testing.
13873 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13875 * whitespace.el: Fix double evaluation.
13876 (whitespace-space, whitespace-hspace, whitespace-tab)
13877 (whitespace-newline, whitespace-trailing, whitespace-line)
13878 (whitespace-space-before-tab, whitespace-indentation)
13879 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13881 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13882 (whitespace-color-on): Use a single font-lock-add-keywords call.
13883 Fix double-evaluation of face variables.
13885 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13887 * net/tramp-adb.el (tramp-adb-parse-device-names):
13888 Use `start-process' instead of `call-process'. Otherwise, the
13889 function might be blocked under MS Windows. (Bug#13299)
13891 2013-03-17 Leo Liu <sdl.web@gmail.com>
13893 Extend eldoc to display info in the mode-line. (Bug#13978)
13894 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13895 (eldoc-mode-line-string): New variable.
13896 (eldoc-minibuffer-message): New function.
13897 (eldoc-message-function): New variable.
13898 (eldoc-message): Use it.
13899 (eldoc-display-message-p)
13900 (eldoc-display-message-no-interference-p):
13901 Support eldoc-post-insert-mode.
13903 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13904 (eval-expression): Run it.
13906 2013-03-17 Roland Winkler <winkler@gnu.org>
13908 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13909 strings in the list of return values.
13911 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13913 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13914 radix before checking for HMS forms.
13916 2013-03-16 Leo Liu <sdl.web@gmail.com>
13918 * progmodes/scheme.el: Add indentation and font-locking for λ.
13921 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13923 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13924 token before point (bug#13942).
13926 2013-03-16 Leo Liu <sdl.web@gmail.com>
13928 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13930 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13932 * startup.el (command-line-normalize-file-name): Fix handling of
13933 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13934 <xfq.free@gmail.com> in
13935 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13937 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13939 Sync with Tramp 2.2.7.
13941 * net/trampver.el: Update release number.
13943 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13945 * doc-view.el: Fix bug#13887.
13946 (doc-view-insert-image): Don't modify overlay associated to
13947 non-live windows, and implement horizontal centering of image in
13948 case it's smaller than the window.
13949 (doc-view-new-window-function): Force redisplay of new windows on
13952 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13954 * saveplace.el (save-place-alist-to-file): Don't sort
13955 `save-place-alist', just pretty-print it (bug#13882).
13957 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13959 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13960 Check whether `default-file-name-coding-system' is bound.
13961 It isn't in XEmacs.
13963 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13965 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13966 backquotes for `obsolete' (bug#13929).
13968 * international/mule.el (find-auto-coding): Include file name in
13969 obsolescence warning (bug#13922).
13971 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13973 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13974 for CFEngine 3-specific indentation.
13975 (cfengine3-indent-line): Use it. Fix up category regex.
13976 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13978 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13980 * type-break.el (type-break-file-name):
13981 * textmodes/remember.el (remember-data-file):
13982 * strokes.el (strokes-file):
13983 * shadowfile.el (shadow-initialize):
13984 * saveplace.el (save-place-file):
13985 * ps-bdf.el (bdf-cache-file):
13986 * progmodes/idlwave.el (idlwave-config-directory):
13987 * net/quickurl.el (quickurl-url-file):
13988 * international/kkc.el (kkc-init-file-name):
13989 * ido.el (ido-save-directory-list-file):
13990 * emulation/viper.el (viper-custom-file-name):
13991 * emulation/vip.el (vip-startup-file):
13992 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13993 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13995 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13997 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13998 * language/thai-word.el: Switch to UTF-8.
14000 See ChangeLog.16 for earlier changes.
14002 ;; Local Variables:
14006 Copyright (C) 2011-2014 Free Software Foundation, Inc.
14008 This file is part of GNU Emacs.
14010 GNU Emacs is free software: you can redistribute it and/or modify
14011 it under the terms of the GNU General Public License as published by
14012 the Free Software Foundation, either version 3 of the License, or
14013 (at your option) any later version.
14015 GNU Emacs is distributed in the hope that it will be useful,
14016 but WITHOUT ANY WARRANTY; without even the implied warranty of
14017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14018 GNU General Public License for more details.
14020 You should have received a copy of the GNU General Public License
14021 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.