1 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
5 2014-03-12 Martin Rudalics <rudalics@gmx.at>
7 * window.el (fit-frame-to-buffer): Get maximum width from
8 display's width instead of height.
10 2014-03-12 Glenn Morris <rgm@gnu.org>
12 * desktop.el (desktop-restore-frames)
13 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
14 (desktop-restore-reuses-frames): Doc tweaks.
16 * electric.el (electric-indent-mode): Doc fix.
18 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
20 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
21 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
22 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
23 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
24 (cvs-dired-use-hook): Fix docstring typos.
25 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
28 * vc/pcvs-defs.el (cvs-auto-remove-handled)
29 (cvs-auto-remove-directories, cvs-default-ignore-marks)
30 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
31 (cvs-execute-single-dir): Fix docstring typos.
33 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
34 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
36 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
38 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
41 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
43 * frameset.el (frameset--jump-to-register): Add autoload; it could be
44 called from jump-to-register after unloading the frameset package.
46 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
48 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
49 (bug#16975). Deactivate the mark before setting it to nil.
50 (activate-mark): Do nothing if region is already active.
52 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
54 * frameset.el (frameset--target-display): Remove definition; declare.
55 (frameset-save, frameset-restore): Let-bind frameset--target-display.
57 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
59 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
60 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
61 when the advice is pending.
62 (advice-remove): Remove this marker when not needed any more.
64 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
66 * frameset.el: Separate options for reusing frames and cleaning up.
67 (frameset--reuse-list): Remove definition; declare.
68 (frameset--action-map): Declare.
69 (frameset--find-frame-if): Doc fix.
70 (frameset--restore-frame): Cache frame action.
71 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
72 how to clean up the frame list after restoring. Remove cleaning
73 options from REUSE-FRAMES. Change all keyword values to symbols.
74 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
76 * desktop.el (desktop-restore-forces-onscreen)
77 (desktop-restore-reuses-frames): Use non-keyword values.
78 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
80 2014-03-10 Glenn Morris <rgm@gnu.org>
82 * files.el (find-file): Doc fix: update info node name.
84 * emacs-lisp/advice.el (ad-add-advice, defadvice):
85 Doc fix: remove references to deleted info nodes.
87 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
89 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
90 Do not add `nil' to the environment, when there's no remote `locale'.
91 (tramp-find-inline-encoding): Check, that the remote host has
92 installed perl, before sending scripts.
94 2014-03-10 Leo Liu <sdl.web@gmail.com>
96 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
97 Clear eldoc-last-message. (Bug#16920)
99 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
101 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
104 2014-03-09 Juri Linkov <juri@jurta.org>
106 * ansi-color.el (ansi-color-names-vector): Copy default colors
107 from `xterm-standard-colors' that look well on the default white
108 background (and also on the black background) to avoid illegible
109 color combinations like yellow-on-white and white-on-white.
110 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
112 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
114 * frameset.el (frameset-restore): When no frame is visible, do not
115 generate a list of frames, just make visible the selected one.
117 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
119 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
120 it only contains the repository root. (Bug#16897)
122 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
124 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
125 only when `remote-file-name-inhibit-cache' is nil.
126 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
128 2014-03-06 Martin Rudalics <rudalics@gmx.at>
130 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
132 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
133 fit-frame-to-buffer variable. Fix doc-string.
134 (fit-window-to-buffer): Set ONLY argument in call of
135 fit-frame-to-buffer. Fix doc-string.
137 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
139 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
140 (tramp-action-password): Clear password cache if needed.
141 (tramp-read-passwd): Do not clear password cache.
143 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
144 cache unless it is the first password request.
146 2014-03-06 Glenn Morris <rgm@gnu.org>
148 * simple.el (newline): Doc tweak.
150 * emacs-lisp/shadow.el (load-path-shadows-find):
151 Ignore dir-locals. (Bug#12357)
153 2014-03-05 Glenn Morris <rgm@gnu.org>
155 * files.el (interpreter-mode-alist):
156 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
158 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
160 * frameset.el (frameset--initial-params): Filter out null entries.
162 2014-03-05 Martin Rudalics <rudalics@gmx.at>
164 * window.el (window-min-height, window-min-width):
166 (window-body-size): Add PIXELWISE argument to make it consistent
169 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
171 * finder.el (finder-mode-map, finder-mode-syntax-table):
172 Revert part of 2014-02-28 change.
174 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
176 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
177 (eww-setup-buffer): Clear next/prev/etc more reliably.
178 (eww-textarea-map): [tab] doesn't work on tty.
179 Reported by Mario Lang.
181 * net/shr.el (shr-map): Ditto.
183 2014-03-04 Glenn Morris <rgm@gnu.org>
185 * minibuffer.el (completion-hilit-commonality):
186 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
188 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
190 * hilit-chg.el (hilit-chg-unload-function): New function.
191 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
192 (hilit-chg-map-changes): Prefer cardinal number to digit.
193 (hilit-chg-display-changes): Reflow docstring.
194 (highlight-changes-rotate-faces): Remove superfluous backslash.
196 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
198 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
199 `tramp-send-command-and-check'.
201 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
203 * hexl.el (hexl-address-region, hexl-ascii-region)
204 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
205 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
206 (hexl-forward-word, hexl-previous-line, hexl-next-line):
207 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
208 (hexl-mode): Doc fix.
209 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
210 (hexl-mode-ruler): Fix typos in docstrings.
212 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
213 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
214 Remove superfluous backslashes.
215 (strokes-last-stroke, strokes-global-map, strokes-mode):
217 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
218 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
219 (strokes-distance-squared, strokes-global-set-stroke)
220 (strokes-global-set-stroke-string): Doc fixes.
221 (strokes-help): Fix typos; reflow docstring.
223 2014-03-04 Martin Rudalics <rudalics@gmx.at>
225 * window.el (window-in-direction): Fix doc-string.
227 2014-03-04 Glenn Morris <rgm@gnu.org>
229 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
230 Explicit error if no grammar.
231 (smie-config-save): Doc fix. Fix quote typo.
233 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
235 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
236 electric-indent-mode-hook if we obey electric-indent-mode.
237 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
238 decide whether we obey electric-indent-mode.
239 (c-change-set-fl-decl-start, c-extend-after-change-region):
241 (c-electric-indent-mode-hook): Assume we do want to obey
242 electric-indent-mode.
244 * electric.el (electric-indent-mode-has-been-called): Remove.
245 (electric-indent-mode): Fix accordingly.
247 * files.el (hack-local-variables): Mention file name in warning.
249 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
251 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
253 * binding.el: Add comment describing why C-d binds to `delete-char'.
254 * simple.el (delete-forward-char): Mark as interactive-only.
256 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
258 * icomplete.el (icomplete-completions):
259 Follow-up to 2014-03-01 change.
261 * icomplete.el: Miscellaneous doc fixes.
262 Use Icomplete everywhere instead of icomplete for consistency.
263 (icomplete-max-delay-chars): Fix typo.
264 (icomplete-mode): Use \[].
265 (icomplete-tidy, icomplete-exhibit): Reflow.
266 (icomplete-minibuffer-setup-hook, icomplete-completions):
267 Remove superfluous backlashes.
269 * ido.el: Miscellaneous doc fixes.
270 Use Ido everywhere instead of ido or `ido' for consistency.
271 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
272 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
273 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
274 (ido-separator): Extract obsolescence info from docstring and declare
275 with make-obsolete-variable.
276 (ido-minibuffer-setup-hook): Simplify example.
277 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
278 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
279 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
280 (ido-everywhere): Reflow docstring.
281 (ido-toggle-vc): Doc fix.
282 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
283 of long list of keybindings.
285 2014-03-03 Glenn Morris <rgm@gnu.org>
287 * frame.el (display-pixel-height, display-pixel-width)
288 (display-mm-dimensions-alist, display-mm-height)
289 (display-mm-width): Doc tweaks.
291 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
293 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
294 case of undo in region.
296 2014-03-02 Martin Rudalics <rudalics@gmx.at>
298 * window.el (fit-window-to-buffer): Fix argument in window-size
299 call when window is horizontally combined.
301 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
303 * icomplete.el (icomplete-completions): Use string-width.
304 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
306 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
308 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
309 Highlight regexp options. (Bug#16914)
311 2014-03-01 Martin Rudalics <rudalics@gmx.at>
313 * window.el (window--max-delta-1): Round down when calculating
314 how many lines/columns we can get from a window.
316 2014-03-01 Glenn Morris <rgm@gnu.org>
318 * isearch.el (search-invisible): Doc fix.
320 * minibuffer.el (completion-hilit-commonality):
321 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
322 * comint.el (comint-dynamic-list-completions): Doc fix.
323 * comint.el (comint-dynamic-list-completions):
324 * filecache.el (file-cache-minibuffer-complete):
325 * tempo.el (tempo-display-completions):
326 * eshell/em-hist.el (eshell-list-history):
327 Replace use of obsolete argument of display-completion-list.
329 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
331 * icomplete.el (icomplete-completions):
332 Revert back to using "..." when ?… cannot be displayed.
334 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
336 * finder.el (finder-unload-function): New function.
338 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
340 * dframe.el (dframe-detach):
341 * find-dired.el (find-dired, find-name-dired):
342 * finder.el (finder-mode-map, finder-mode-syntax-table)
343 (finder-headmark, finder-select, finder-mouse-select):
346 2014-02-28 Martin Rudalics <rudalics@gmx.at>
348 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
349 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
350 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
351 Fix doc-string based on a suggestion by Nicolas Richard
352 <theonewiththeevillook@yahoo.fr>.
353 * help.el (with-help-window): Fix doc-string.
355 2014-02-28 Ivan Kanis <ivan@kanis.fr>
357 * net/shr.el (shr-image-animate): New option.
358 (shr-put-image): Respect shr-image-animate.
360 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
362 * net/tramp-adb.el (tramp-adb-parse-device-names):
363 Use `accept-process-output'.
364 (tramp-adb-handle-file-truename): Cache the localname only.
365 (tramp-adb-handle-make-directory)
366 (tramp-adb-handle-delete-directory): Flush file properties correctly.
367 (tramp-adb-handle-set-file-modes): Do not raise an error when file
368 modes cannot be changed.
370 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
371 file properties of symlinks.
373 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
375 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
376 required/optional fields to match development biblatex. (Bug#16781)
378 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
380 * saveplace.el (toggle-save-place):
381 Fix argument handling. (Bug#16673)
383 2014-02-28 Glenn Morris <rgm@gnu.org>
385 * minibuffer.el (completions-first-difference)
386 (completions-common-part, completion-hilit-commonality): Doc fixes.
388 2014-02-28 Karl Berry <karl@gnu.org>
390 * info.el (Info-mode-map): Add H for describe-mode,
391 to synchronize with standalone Info.
393 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
395 * progmodes/sql.el (sql-interactive-mode):
396 Avoid setting global comint-input-ring-separator. (Bug#16814)
398 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
400 * net/dbus.el (dbus--init-bus): Declare function.
401 (dbus-path-local, dbus-interface-local): New defconst.
402 (dbus-init-bus): Use them.
403 (dbus-return-values-table): Extend doc.
404 (dbus-handle-bus-disconnect): Extend error message.
406 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
408 * subr.el (y-or-n-p): Fix double space issue in message.
410 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
412 * net/tramp.el (tramp-call-process): Improve trace message.
413 (tramp-handle-insert-file-contents): Trace error case.
415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
416 <insert-directory>: Use `tramp-handle-insert-directory'.
417 (tramp-adb-handle-insert-directory): Remove function.
418 (tramp-adb-send-command-and-check): New defun, replacing
419 `tramp-adb-command-exit-status'. Change all callees.
420 (tramp-adb-handle-file-attributes)
421 (tramp-adb-handle-directory-files-and-attributes): Use it.
422 (tramp-adb-ls-output-name-less-p):
423 Use `directory-listing-before-filename-regexp'.
424 (tramp-adb-handle-delete-directory): Flush also file properties of
425 the truename of directory.
426 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
427 (tramp-adb-handle-file-local-copy): Make the local copy readable.
428 (tramp-adb-handle-write-region): Implement APPEND.
429 (tramp-adb-handle-rename-file): Make it more robust. Flush file
430 properties correctly.
431 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
432 variables. Check for connected devices only when needed.
434 2014-02-27 Glenn Morris <rgm@gnu.org>
436 * minibuffer.el (completion-table-dynamic)
437 (completion-table-with-cache): Doc fixes.
439 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
440 (completing-read-multiple): Doc fixes.
442 2014-02-27 Daniel Colascione <dancol@dancol.org>
444 * minibuffer.el (completion--nth-completion): Fix indentation.
446 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
447 explicit tramp path is empty.
449 2014-02-27 Glenn Morris <rgm@gnu.org>
451 * emacs-lisp/crm.el (completing-read-multiple):
452 Empower help-enable-auto-load.
454 2014-02-26 Glenn Morris <rgm@gnu.org>
456 * startup.el (command-line): Don't init the tty in daemon mode.
458 Avoid calling tty-setup-hook twice, eg if a term file
459 explicitly calls tty-run-terminal-initialization. (Bug#16859)
460 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
461 (tty-create-frame-with-faces): Use it.
462 * startup.el (command-line): Pass run-hook argument
463 to tty-run-terminal-initialization.
465 * dired.el (dired-restore-desktop-buffer): Demote errors;
466 eg in case a glob match fails. (Bug#16884)
468 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
470 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
471 error from `read-from-string'. (Bug#16850)
473 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
474 result of `completing-read' in the interactive form. (Bug#16854)
476 2014-02-25 Glenn Morris <rgm@gnu.org>
478 * image.el (image-animate, image-animate-timeout):
479 Stop animating images in dead buffers. (Bug#16878)
481 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
483 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
485 * startup.el (term-setup-hook): Doc fix. Make obsolete.
486 * term/sun.el (sun-raw-prefix-hooks):
487 Use tty-setup-hook instead of term-setup-hook.
488 (terminal-init-sun): Construct message from bytecomp plist.
489 * term/wyse50.el (enable-arrow-keys): Doc fix.
491 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
493 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
496 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
498 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
500 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
502 * minibuffer.el (completion--try-word-completion):
503 Fix error when completing M-x commands (bug#16808).
505 2014-02-24 Leo Liu <sdl.web@gmail.com>
507 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
509 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
511 * apropos.el (apropos-print): Avoid formatting error when
512 apropos-do-all and apropos-compact-layout are both t.
514 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
516 * apropos.el (apropos-property, apropos-all-words-regexp)
517 (apropos-true-hit, apropos-variable, apropos-print):
518 Fix docstring typos, and remove obsolete comment.
520 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
522 * net/tramp-sh.el (tramp-sh-handle-file-truename):
523 Preserve trailing "/". (Bug#16851)
525 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
527 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
528 after `=>' (bug#16811).
529 (ruby-smie-rules): Handle the inconsistent second element of the
530 list returned by `smie-indent--parent'.
531 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
534 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
536 * elec-pair.el (electric-pair-text-syntax-table)
537 (electric-pair-syntax-info, electric-pair--syntax-ppss)
538 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
539 (electric-pair--looking-at-unterminated-string-p): Doc fix.
540 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
542 2014-02-22 Glenn Morris <rgm@gnu.org>
544 * imenu.el (imenu--generic-function): Doc fix.
546 * register.el (frame-configuration-to-register): Make obsolete.
548 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
550 * desktop.el (desktop-save-buffer-p): Do not fail when
551 desktop-files-not-to-save is nil. Return t for true result
554 2014-02-22 Daniel Colascione <dancol@dancol.org>
556 * net/secrets.el (secrets-create-item, secrets-search-items):
557 Check that attribute values are strings, avoiding the construction
558 of invalid dbus messages.
560 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
562 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
563 defun-declarations-alist.
565 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
567 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
570 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
572 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
573 (whitespace-newline, whitespace-trailing, whitespace-line)
574 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
575 (whitespace-space-after-tab): Fix typo in docstrings.
577 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
579 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
581 * electric.el (electric-indent-functions-without-reindent):
582 Add `yaml-indent-line'.
584 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
586 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
587 It has done nothing for years; should be removed after the release.
589 * simple.el (choose-completion): Fix docstring typo.
590 (read-quoted-char-radix): Remove unneeded * in docstring.
591 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
592 Don't escape parentheses unnecessarily in docstrings.
594 2014-02-21 Martin Rudalics <rudalics@gmx.at>
596 Fix handling of window-min-height/-width (Bug#16738).
597 * window.el (window--dump-window, window--dump-frame):
599 (window--min-size-1): Account for window dividers.
600 When window-resize-pixelwise is nil, delay rounding till after the
601 sum of the window components has been calculated.
602 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
603 nil make sure at least one text line and two text columns remain
605 (window-resize): Signal an error when window-resize-apply fails.
606 (window--resize-child-windows): Fix calculation of by how many
607 pixels a window can still be shrunk via window-new-normal.
608 (adjust-window-trailing-edge): Call window--resizable with
609 correct TRAIL argument.
611 (with-temp-buffer-window): Don't evaluate BODY within
612 with-current-buffer (Bug#16816).
614 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
616 * net/tramp.el (tramp-check-cached-permissions):
617 Call `file-attributes' with `suffix' being a symbol but a string.
619 2014-02-21 Daniel Colascione <dancol@dancol.org>
621 * net/dbus.el (dbus-init-bus-1): Declare new subr.
622 (dbus-init-bus): New function: call into dbus-init-bus-1
623 and installs a handler for the disconnect signal.
624 (dbus-call-method): Rewrite to look for result in cons.
625 (dbus-call-method-handler): Store result in cons.
626 (dbus-check-event): Recognize events with nil sender as valid.
627 (dbus-handle-bus-disconnect): New function. React to bus
628 disconnection signal by synthesizing dbus error for each
629 pending synchronous or asynchronous call.
630 (dbus-notice-synchronous-call-errors): New function.
631 (dbus-handle-event): Raise errors directly only when `dbus-debug'
632 is true, not all the time.
634 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
636 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
637 Remove obsolescence declarations, these variables do not exist anymore.
639 * savehist.el (savehist-save-minibuffer-history)
640 (savehist-additional-variables, savehist-file, savehist-mode-hook)
641 (savehist-save-hook, savehist-coding-system, savehist-loaded)
642 (savehist-load, savehist-install, savehist-autosave): Fix typos;
643 mostly, refer to "Savehist mode" when talking about the mode,
644 and not the function.
646 * saveplace.el (save-place): Remove redundant info in docstring.
647 (save-place-forget-unreadable-files, toggle-save-place)
648 (save-place-forget-unreadable-files, save-place-dired-hook):
649 Fix typos and remove unneeded backslashes.
651 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
653 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
654 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
656 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
657 <insert-directory>: Use `tramp-handle-insert-directory'.
658 (tramp-gvfs-handle-insert-directory): Remove function.
660 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
661 Call `tramp-handle-insert-directory'.
663 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
665 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
666 before the start of buffer/region (bug#16799).
668 2014-02-20 Glenn Morris <rgm@gnu.org>
670 * isearch.el (search-invisible): Doc fix.
672 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
674 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
677 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
679 * frameset.el (frameset-restore): Delay removing an old frame's
680 duplicate id until the new frame has been correctly created.
682 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
684 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
685 (tramp-check-cached-permissions): Call `file-attributes' if the
688 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
689 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
692 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
693 (tramp-gvfs-maybe-open-connection): Set always connection
694 properties, even if target is mounted already.
696 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
697 Set tramp-autoload cookie.
698 (tramp-get-remote-touch): New defun.
699 (tramp-sh-handle-set-file-times): Use it.
700 (tramp-sh-handle-directory-files-and-attributes):
701 Use `tramp-handle-directory-files-and-attributes' if neither stat
702 nor perl are available on the remote host.
704 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
705 "/". Write long listing only when "l" belongs to the switches.
707 * net/trampver.el: Update release number.
709 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
711 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
713 2014-02-19 Martin Rudalics <rudalics@gmx.at>
715 * window.el (window-state-put): Allow WINDOW to refer to an
716 internal window (Bug#16793).
718 2014-02-19 Glenn Morris <rgm@gnu.org>
720 * textmodes/remember.el: Move provide statement to end.
721 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
722 (remember-notes): Doc fixes.
724 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
726 * delsel.el (delete-char): Restore incorrectly erased property
729 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
731 * frameset.el (frameset--restore-frame): When a frame is being reused
732 and its root window is not alive, delete all the frame's windows before
733 restoring the window state. This works around the issue in bug#16793.
735 2014-02-18 Glenn Morris <rgm@gnu.org>
737 * textmodes/remember.el (remember-data-directory)
738 (remember-directory-file-name-format, remember-store-in-files)
739 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
740 (remember-notes-save-and-bury-buffer)
741 (remember-notes--kill-buffer-query): Doc fixes.
743 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
745 2014-02-17 Alan Mackenzie <acm@muc.de>
747 Connect electric-indent-mode up with CC Mode. Bug #15478.
748 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
749 to electric-indent-{,local-}-mode.
750 (c-basic-common-init): Set electric-indent-inhibit.
751 Initialise c-electric-flag from electric-indent-mode.
752 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
753 New hook functions which propagate electric-indent-mode to CC mode.
755 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
756 hit, toggle electric-indent-local-mode.
758 * electric.el (electric-indent-mode-has-been-called):
761 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
763 * frameset.el (frameset-cfg-id): New function.
764 (frameset--reuse-frame, frameset-restore): Use it.
765 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
767 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
769 * ido.el (ido-file-internal): Remove unused var `d'.
770 Use \` for to match BoS. Fit within 80n columns.
772 2014-02-17 Daniel Colascione <dancol@dancol.org>
774 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
775 dbus-call-method check for completion using a busy-wait loop with
778 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
780 Sync with Tramp 2.2.9.
782 * net/trampver.el: Update release number.
784 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
786 * ido.el (ido-file-internal): Don't add the name of an existing
787 directory twice. (Bug#16747)
789 2014-02-16 Glenn Morris <rgm@gnu.org>
791 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
792 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
794 2014-02-15 Michael R. Mauger <michael@mauger.com>
796 * progmodes/sql.el: Version 3.4
797 (sql-oracle-options): New default value ("-L").
798 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
799 (sql-placeholders-filter): Correct placeholder pattern.
800 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
801 (sql-login-delay): New variable.
802 (sql-product-interactive): Use it.
804 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
806 * frameset.el (frameset--jump-to-register): Check that buffer is live
809 2014-02-15 Glenn Morris <rgm@gnu.org>
811 * info.el (info-initialize): Revert 2014-01-10 change.
813 2014-02-14 Glenn Morris <rgm@gnu.org>
815 * replace.el (map-query-replace-regexp)
816 (read-regexp-defaults-function, read-regexp): Doc fixes.
818 * dired.el (dired-read-regexp):
819 * faces.el (list-faces-display):
820 * misearch.el (multi-isearch-read-matching-buffers)
821 (multi-isearch-read-matching-files):
822 * play/cookie1.el (cookie-apropos):
823 * progmodes/grep.el (grep-read-regexp): Doc fixes.
825 * textmodes/remember.el (remember): Use frameset-to-register
826 rather than frame-configuration-to-register.
828 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
830 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
831 incorrect keybinding.
833 2014-02-13 Daniel Colascione <dancol@dancol.org>
835 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
836 when adding overlays so that line numbers from compiler match line
839 2014-02-13 Glenn Morris <rgm@gnu.org>
841 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
843 * jit-lock.el (jit-lock-mode): Doc fix.
845 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
847 * apropos.el (apropos-read-pattern): When the user passes an empty
848 string, give a more helpful error message than "Wrong type
849 argument: stringp, nil".
851 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
853 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
855 2014-02-13 Glenn Morris <rgm@gnu.org>
857 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
859 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
861 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
862 shift-select commands.
864 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
866 * progmodes/js.el (js-indent-line): Don't widen.
867 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
869 2014-02-12 Glenn Morris <rgm@gnu.org>
871 * icomplete.el (icomplete): Add info-link to defgroup.
872 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
873 (icomplete-minibuffer-map, icomplete-mode)
874 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
876 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
877 (package-menu-filter): Rename from package-menu-filter-interactive.
880 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
882 * frameset.el (frameset--jump-to-register): Select the required
883 window and buffer before restoring position (bug#16696).
885 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
887 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
889 2014-02-10 Glenn Morris <rgm@gnu.org>
891 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
893 2014-02-10 Eli Zaretskii <eliz@gnu.org>
895 * w32-common-fns.el (x-get-selection): Doc fix.
896 * select.el (x-get-selection): Doc fix. (Bug#15109)
898 * face-remap.el (face-remap-add-relative)
899 (face-remap-remove-relative, face-remap-reset-base)
900 (face-remap-set-base): Call force-mode-line-update to redisplay
901 the current buffer due to potential change in faces. (Bug#16709)
903 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
905 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
906 script more robustly.
908 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
910 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
912 * simple.el (choose-completion): Doc fix (bug#14160).
914 * subr.el (event-start): Say what a nil EVENT value means.
916 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
919 * progmodes/grep.el (find-program): Doc fix (bug#14289).
921 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
923 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
925 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
926 predicate function (bug#15455).
928 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
930 * ielm.el (inferior-emacs-lisp-mode): Instead of
931 `comment-use-global-state', set `comment-use-syntax'.
933 2014-02-10 Glenn Morris <rgm@gnu.org>
935 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
937 2014-02-09 Alan Mackenzie <acm@muc.de>
939 Fix c-invalidate-state-cache on narrowed buffers.
940 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
941 Widen when setting and clearing the CPP delimiter properties.
943 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
945 * help.el (describe-bindings): Doc fix (bug#9888).
947 * files.el (save-buffer): Use ARG as the parameter name for
948 consistency (bug#10346).
949 (save-buffer): Clarify the 0 argument (bug#10346).
951 * cus-edit.el (customize-apropos): Fix error string.
952 (custom-buffer-create): Doc fix (bug#11122).
953 (custom-sort-items): Doc fix (bug#11121).
955 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
957 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
958 (icomplete-simple-completing-p): Mention the previous variable.
960 * font-lock.el (font-lock-value-in-major-mode): Clarify the
961 meaning of the parameter (bug#12282).
963 * files.el (find-file-noselect): Clarify prompt when changing
964 readedness (bug#13261).
965 (locate-file): Suffixes aren't returned, so don't say that they
967 (backup-inhibited): Doc clarification (bug#12525).
969 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
970 before we actually start to delete things (bug#16331).
972 * subr.el (event-start): Doc fix (bug#14228).
975 2014-02-09 Glenn Morris <rgm@gnu.org>
977 * emacs-lisp/warnings.el (lwarn):
978 Empower help-enable-auto-load. (Bug#15940)
980 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
982 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
985 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
987 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
988 Insert output at end of buffer. (Bug#16120)
990 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
992 * simple.el (choose-completion-string-functions): Document new
993 calling convention (bug#14153).
994 (execute-extended-command): Clarify doc string (bug#13373).
996 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
998 * find-dired.el (find-name-dired): Doc fix (bug#14290).
999 (find-grep-dired): Doc fix (bug#14288).
1001 2014-02-08 Juri Linkov <juri@jurta.org>
1003 * isearch.el (isearch-quote-char): Check character validity
1004 like in `quoted-insert' (bug#16677).
1006 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
1008 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
1010 * isearch.el (isearch-hide-immediately): Doc clarification
1013 * simple.el (line-move): Document utility function used many
1014 places in the Emacs sources (bug#14843).
1016 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
1017 (dired-prev-marked-file): Doc fix (bug#14855).
1018 (dired-up-directory): Doc fix (bug#14848).
1020 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
1022 * files.el (file-relative-name): Doc fix (bug#15159).
1024 * fringe.el (fringe-styles): Doc fix (bug#15239).
1026 * isearch.el (isearch-filter-predicate): Documentation typo fix
1029 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
1031 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
1033 * replace.el (replace-match-maybe-edit): Doc clarification
1036 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
1038 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
1040 2014-02-08 Glenn Morris <rgm@gnu.org>
1042 * help-fns.el (describe-variable):
1043 Check {file,dir}-local-variables-alist, and buffer-file-name,
1044 in the correct buffer.
1046 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
1048 * help-fns.el (describe-variable): Fix the case where
1049 a value is directory-local with no dir-locals file. (Bug#16635)
1051 2014-02-08 Glenn Morris <rgm@gnu.org>
1053 * abbrev.el (edit-abbrevs-mode):
1054 Derive from fundamental-mode. (Bug#16682)
1056 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
1058 * simple.el (quoted-insert): Check character validity (bug#16677).
1060 2014-02-07 Juri Linkov <juri@jurta.org>
1062 * desktop.el (desktop-read): Claim the lock when the owner is not
1063 the current process. (Bug#16157)
1065 2014-02-07 Juri Linkov <juri@jurta.org>
1067 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1068 to "\\` ". (Bug#16651)
1070 2014-02-07 Juri Linkov <juri@jurta.org>
1072 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1073 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1074 (desktop-auto-save-cancel-timer): New function with some code from
1075 `desktop-auto-save-set-timer'.
1076 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1077 Instead of setting `desktop-save-mode' to nil, call
1078 `desktop-save-mode' with arg 0. (Bug#16630)
1080 2014-02-07 Glenn Morris <rgm@gnu.org>
1082 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1083 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1084 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1086 * obsolete/iswitchb.el: Move to obsolete/.
1087 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1088 since obsolete/ is not scanned for autoloads.
1089 * emacs-lisp/authors.el (authors-valid-file-names):
1092 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1093 Disable now non-functional find-file-hook.
1095 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1097 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1098 instead of ";" in order to avoid additional prompts. Let heredoc
1099 scripts read from tty. (Bug#16582)
1100 (tramp-send-command): No special handling of heredocs, it isn't
1103 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1105 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1106 with a space (bug#16664). Limit the symbols considered to the ones
1107 that are bound or fbound (bug#16646).
1109 2014-02-06 Glenn Morris <rgm@gnu.org>
1111 * epa.el (epa-mail-aliases): Doc fix.
1113 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1115 * emacs-lisp/lisp.el (lisp-completion-at-point):
1116 Use `completion-table-merge' instead of `completion-table-in-turn'
1119 * minibuffer.el (completion-table-merge): New function.
1121 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1123 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1124 (tramp-sh-handle-set-file-acl)
1125 (tramp-sh-handle-start-file-process)
1126 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1127 (tramp-find-executable, tramp-send-command): Use it.
1129 2014-02-05 Glenn Morris <rgm@gnu.org>
1131 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1133 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1135 * progmodes/python.el (python-shell-send-string)
1136 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1138 2014-02-04 Anders Lindgren <andlind@gmail.com>
1140 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1141 the names (bug#16620).
1143 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1145 * faces.el (window-divider): New default value. Rewrite doc-string.
1146 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1148 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1151 `protected' and `public' can also be called without arguments.
1153 2014-02-03 Glenn Morris <rgm@gnu.org>
1155 * register.el (window-configuration-to-register)
1156 (frame-configuration-to-register): Unadvertise unused argument.
1157 * frameset.el (frameset-to-register): Remove unused argument.
1159 * frameset.el (frameset-to-register):
1160 * kmacro.el (kmacro-to-register):
1161 * register.el (increment-register):
1162 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1163 (calc-append-to-register, calc-prepend-to-register):
1164 * play/gametree.el (gametree-layout-to-register)
1165 (gametree-apply-register-layout):
1166 * textmodes/picture.el (picture-clear-rectangle-to-register)
1167 (picture-yank-rectangle-from-register):
1168 * vc/emerge.el (emerge-combine-versions-register):
1169 Use register-read-with-preview to read registers.
1171 2014-02-03 João Távora <joaotavora@gmail.com>
1173 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1174 when at beginning of (possibly narrowed) buffer.
1176 2014-02-02 Daniel Colascione <dancol@dancol.org>
1178 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1179 Also try to display local help from just before point.
1181 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1183 c-parse-state. Don't "append-lower-brace-pair" in certain
1184 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1185 recognised as a comment.
1187 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1188 as well as normal comment starter.
1189 (c-parse-state-get-strategy): Extra return possibility
1191 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1192 return value list to indicate replacement of a brace-pair cons
1194 (c-parse-state-1): With 'back-and-forward, only call
1195 c-append-lower-brace-pair-to state-cache when cons-separated.
1197 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1199 * term/ns-win.el (ns-suspend-error): New function.
1200 (ns-initialize-window-system): Add ns-suspend-error to
1201 suspend-hook (Bug#16612).
1203 2014-02-02 Daniel Colascione <dancol@dancol.org>
1205 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1206 Make loading cc-mode silent.
1208 2014-02-02 Daniel Colascione <dancol@dancol.org>
1210 * comint.el (comint-prompt-read-only): Change doc to suggest
1213 2014-02-02 Glenn Morris <rgm@gnu.org>
1215 * register.el (register-read-with-preview, point-to-register)
1216 (window-configuration-to-register, frame-configuration-to-register)
1217 (jump-to-register, number-to-register, view-register, insert-register)
1218 (copy-to-register, append-to-register, prepend-to-register)
1219 (copy-rectangle-to-register): Doc fixes.
1221 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1224 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1225 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1226 * help-fns.el (describe-function-1): Use it.
1228 2014-02-02 Glenn Morris <rgm@gnu.org>
1230 * register.el (register-preview-default): New function,
1231 split from register-preview.
1232 (register-preview-function): Rename from register-preview-functions,
1234 (register-preview): Use register-preview-function.
1235 (register-read-with-preview): Error on non-character event. (Bug#16595)
1237 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1239 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1240 `:' before binary operators (bug#16609). Don't check for `:'
1241 before `[' and `(', or their syntax status. A percent literal
1242 can't end with either.
1243 (ruby-font-lock-keywords): For built-ins that require arguments,
1244 check that they're followed by something that looks like argument
1247 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1249 * subr.el (butlast): Document what an omitted N means (bug#13437).
1252 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1254 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1255 depth shallower (bug#16587).
1256 (shr-tag-svg): Respect `shr-inhibit-images'.
1257 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1259 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1261 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1262 (ruby-smie-grammar): Make "." right-associative. Make its priority
1263 lower than the ternary and all binary operators.
1264 (ruby-smie-rules): Indent "(" relative to the first non-"."
1265 parent, or the first "." parent at indentation.
1266 Use `ruby-align-chained-calls' for indentation of "." tokens.
1269 2014-01-31 Juri Linkov <juri@jurta.org>
1271 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1272 from `make-hash-table'.
1274 * textmodes/ispell.el (ispell-init-process): Change message format
1275 to be consistent with other messages.
1277 2014-01-31 Glenn Morris <rgm@gnu.org>
1279 * delsel.el (delete-selection-mode): Doc fix.
1281 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1282 (trace-function-background): Doc fixes.
1284 * ido.el (ido-use-virtual-buffers): Doc fix.
1285 Reset :version, since the default value has not changed.
1287 * register.el (register-preview-delay, register-read-with-preview):
1290 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1291 do not mess with mail-buffer position (fixes 2009-11-03 change).
1292 * progmodes/cc-mode.el (c-submit-bug-report):
1293 Check auto-fill-mode is bound. (Bug#16592)
1295 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1297 * startup.el (fancy-splash-image-file): New function,
1298 split from fancy-splash-head.
1299 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1300 so that we are both using the same image. (Bug#16574)
1302 2014-01-30 Glenn Morris <rgm@gnu.org>
1304 * simple.el (eval-expression): Doc fix.
1306 * hexl.el (hexl-mode-hook):
1307 * ielm.el (ielm-mode-hook):
1308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1309 (lisp-interaction-mode-hook):
1310 * progmodes/cfengine.e (cfengine3-documentation-function):
1311 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1313 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1315 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1316 is a symbol (bug#16584).
1318 2014-01-30 Glenn Morris <rgm@gnu.org>
1320 * help.el (help-for-help-internal): Add "P" to text.
1322 2014-01-29 Glenn Morris <rgm@gnu.org>
1324 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1326 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1328 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1331 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1333 * progmodes/hideif.el: Extend to full CPP expression syntax.
1334 (hif-token-alist): Add missing tokens.
1335 (hif-token-regexp): Add support for float/octal/hex immediates.
1336 (hif-string-literal-regexp): New const.
1337 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1338 (hif-exprlist): New function.
1339 (hif-parse-if-exp): Use it.
1340 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1341 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1342 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1343 (hif-logxor, hif-comma): New functions.
1345 2014-01-28 Glenn Morris <rgm@gnu.org>
1347 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1349 * indent.el (tab-stop-list): Doc fix. Add :version.
1351 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1352 (cvs-append-to-ignore): Add compatibility alias.
1354 2014-01-27 Glenn Morris <rgm@gnu.org>
1356 * dired.el (dired-hide-details-mode): Don't autoload it,
1357 since it cannot be used outside Dired buffers anyway.
1359 * emulation/cua-base.el (cua-mode): Doc fix.
1361 * dired.el (dired-hide-details-hide-symlink-targets)
1362 (dired-hide-details-hide-information-lines)
1363 (dired-hide-details-mode): Doc fixes.
1365 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1366 * strokes.el (strokes-file): Doc fix. Bump :version.
1367 (strokes-help): Doc fix.
1368 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1369 * emulation/viper.el (viper): Doc fix for custom group.
1370 (top-level): Remove oh-so-no-longer-relevant text about vip.
1371 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1373 * ido.el (ido-save-directory-list-file):
1374 * saveplace.el (save-place-file):
1375 * calendar/timeclock.el (timeclock-file):
1376 * net/quickurl.el (quickurl-url-file):
1377 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1378 * progmodes/idlwave.el (idlwave-config-directory):
1379 * textmodes/remember.el (remember-data-file):
1382 2014-01-26 Glenn Morris <rgm@gnu.org>
1384 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1385 Doc fix. Make obsolete.
1386 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1388 * sort.el (delete-duplicate-lines): Doc fix.
1390 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1392 * progmodes/ada-mode.el (ada):
1393 * woman.el (woman): Link to info manual and Commentary section.
1395 * progmodes/flymake.el (flymake):
1396 * nxml/nxml-mode.el (nxml):
1398 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1399 * htmlfontify.el (htmlfontify):
1402 * ido.el (ido): Link to info manual.
1404 2014-01-25 Leo Liu <sdl.web@gmail.com>
1406 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1408 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1410 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1413 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1415 * net/eww.el (eww-download-callback):
1416 Fix reference to eww-download-directory.
1418 * emacs-lisp/bytecomp.el (byte-compile-file):
1419 Remove unused local variable `file-name'.
1421 2014-01-24 Glenn Morris <rgm@gnu.org>
1423 * woman.el (woman-default-faces, woman-monochrome-faces):
1424 Fix obsolescence specification.
1426 * subr.el (with-demoted-errors): Doc fix.
1428 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1431 (cl--macroexp-fboundp): New function.
1432 (cl--make-type-test): Use it.
1434 2014-01-23 Glenn Morris <rgm@gnu.org>
1436 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1437 * simple.el (eval-expression): Doc fixes.
1439 2014-01-22 Glenn Morris <rgm@gnu.org>
1441 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1443 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1445 * emacs-lisp/package.el: Write files silently.
1446 (package-autoload-ensure-default-file, package--write-file-no-coding)
1447 (package-generate-description-file, package--download-one-archive)
1448 (package-install-from-archive): Tell `write-region' to stay quiet.
1449 (package-menu-mode, package-menu--print-info): Omit the Archive column
1450 if there's only one archive.
1451 (package-all-keywords, package--has-keyword-p): Remove dead code.
1453 2014-01-22 Glenn Morris <rgm@gnu.org>
1455 * version.el (emacs-bzr-version-bzr): Fix typo.
1457 * version.el (emacs-repository-get-version):
1458 Check either .bzr or .git, but not both.
1459 Make the git case actually use the DIR argument, and return nil
1460 rather than the empty string.
1461 Avoid error if .git exists but the git executable is not found.
1463 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1465 Fixes in window size functions around Bug#16430 and Bug#16470.
1466 * window.el (window-total-size, window-size): New argument ROUND.
1467 (window--min-delta-1, window-min-delta, window--max-delta-1):
1468 Be more conservative when calculating the numbers of lines or
1469 columns a window can shrink (Bug#16430).
1470 (fit-window-to-buffer): Simplify code.
1471 * term.el (term-window-width): Call window-body-width again.
1473 2014-01-22 Glenn Morris <rgm@gnu.org>
1475 * image.el (image-format-suffixes): Doc fix.
1477 * international/quail.el (quail-define-package): Doc fix.
1479 * emacs-lisp/authors.el (authors-valid-file-names)
1480 (authors-renamed-files-alist): Additions.
1482 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1483 reverts 2014-01-09 change. (Bug#16422)
1485 * calc/calc-embed.el (thing-at-point-looking-at):
1486 * emacs-lisp/map-ynp.el (x-popup-dialog):
1487 * obsolete/lmenu.el (x-popup-dialog):
1488 * emacs-lisp/package.el (url-recreate-url):
1489 * mail/mailclient.el (clipboard-kill-ring-save):
1490 * subr.el (x-popup-dialog): Update declaration.
1491 * mail/rmail.el (rmail-mime-message-p):
1492 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1494 2014-01-21 Daniel Colascione <dancol@dancol.org>
1496 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1497 Correctly detect when we're inside an arithmetic expansion form
1498 containing nested parenthesis.
1499 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1500 to detect cases where we shouldn't expand "<<" to a heredoc
1503 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1506 (eldoc--message-command-p): New function.
1507 (eldoc-display-message-p): Use it.
1508 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1509 message is not automatically erased for us.
1510 (eldoc-print-current-symbol-info): Erase previous message, if any.
1512 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1514 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1515 specify it's an interactive function.
1517 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1518 Fix regex used for scanning for citation keys which failed for
1519 citations with optional arguments.
1521 2014-01-21 Leo Liu <sdl.web@gmail.com>
1523 * simple.el (read--expression): Don't enable eldoc-mode.
1525 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1527 * simple.el (move-beginning-of-line): Make sure we don't move forward
1530 2014-01-20 Juri Linkov <juri@jurta.org>
1532 * saveplace.el (toggle-save-place, save-place-to-alist)
1533 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1534 'dired-mode) before checking for dired-directory. (Bug#16477)
1536 2014-01-20 Juri Linkov <juri@jurta.org>
1538 * indent.el (indent-line-to): Use backward-to-indentation
1539 instead of back-to-indentation. (Bug#16461)
1541 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1543 Revert some of the CANNOT_DUMP fix (Bug#16494).
1544 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1545 but fixing this can wait until after the next release.
1546 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1548 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1550 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1551 Use `password-word-equivalents'.
1552 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1553 to t. (Bug#5664, Bug#13124)
1555 2014-01-19 Alan Mackenzie <acm@muc.de>
1557 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1559 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1560 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1561 * progmodes/cc-mode.el (c-before-change, c-after-change)
1562 (c-font-lock-fontify-region): Bind it here.
1564 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1566 * term.el (term-window-width): Call window-text-width instead of
1567 window-width (Bug#16470).
1569 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1571 * simple.el (password-word-equivalents): Remove duplicates.
1572 Sort, to make this easier next time.
1573 Downcase. Omit ": " after "jelszó".
1575 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1577 * term/common-win.el (saved-region-selection): Defvar it.
1578 (x-select-text): Set saved-region-selection (Bug#16382).
1580 2014-01-18 Glenn Morris <rgm@gnu.org>
1582 * emacs-lisp/authors.el (authors-aliases)
1583 (authors-renamed-files-alist): Add some entries.
1585 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1587 * net/tramp.el (tramp-password-prompt-regexp):
1588 Use `password-word-equivalents' if available.
1589 (tramp-action-password, tramp-process-one-action)
1590 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1592 2014-01-17 Chong Yidong <cyd@gnu.org>
1594 * simple.el (password-word-equivalents): New defcustom.
1595 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1597 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1600 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1602 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1603 (ruby-align-to-stmt-keywords): Change the default value.
1604 Use `ruby-alignable-keywords' to generate the possible customization
1606 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1607 keywords, check against the value of `ruby-alignable-keywords'
1608 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1610 2014-01-17 Glenn Morris <rgm@gnu.org>
1612 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1614 Make M-x authors return zero *Authors Errors* from current logs.
1615 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1616 (authors-ignored-files): Add some entries, remove others.
1617 (authors-ambiguous-files, authors-valid-file-names):
1619 (authors-renamed-files-alist): Add, remove, and adjust entries.
1620 (authors-renamed-files-regexps): Add some entries.
1621 Remove some very broad ones. Make some entries `lax'.
1622 (authors-lax-changelogs): New constant.
1623 (authors-disambiguate-file-name): Treat top-level specially.
1624 (authors-lax-changelog-p): New function.
1625 (authors-canonical-file-name): Check file as written against
1626 authors-valid-file-names. Do not special-case etc/.
1627 Handle `lax' logs and authors-renamed-files-regexps elements.
1629 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1631 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1632 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1635 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1637 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1638 Assume we're already in the proper buffer.
1639 Inspired by Anders Lindgren <andlind@gmail.com>.
1640 (follow-post-command-hook): Call it from the right buffer.
1641 (follow-comint-scroll-to-bottom): Adjust call.
1642 (follow-all-followers): Use get-buffer-window-list.
1644 2014-01-15 Daniel Colascione <dancol@dancol.org>
1646 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1647 `buffer-file-name' in interactive-form so that we don't leave
1648 pathless file names in `file-name-history'.
1650 2014-01-15 Juri Linkov <juri@jurta.org>
1652 * indent.el (indent-rigidly): Set deactivate-mark to nil
1653 in transient indentation mode. (Bug#16438)
1655 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1657 * emacs-lisp/package.el (package-desc-keywords): New function
1659 (describe-package-1, package-all-keywords)
1660 (package--has-keyword-p): Use it.
1662 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1664 * simple.el (define-alternatives): When creating the
1665 COMMAND-alternatives variable, assign COMMAND as its definition
1666 name so that `describe-variable' can relocate it.
1668 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1670 * font-lock.el (font-lock-keywords): Fix typo in docstring
1673 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1675 * ispell.el (ispell-region): Reset `in-comment' for new line
1676 instead of wrongly reset `add-coment' (bug#13577).
1678 2014-01-14 Daiki Ueno <ueno@gnu.org>
1680 * epa-file.el (epa-file-write-region): Encode the region according
1681 to `buffer-file-format'. Problem reported at:
1682 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1684 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1687 so it applies in the right buffer (bug#16410).
1689 2014-01-13 Daniel Colascione <dancol@dancol.org>
1691 * textmodes/rst.el (rst-define-key): Provide deprecated
1692 keybindings through named functions instead of anonymous ones so
1693 that "??" doesn't appear in describe-mode output.
1695 2014-01-13 Bastien Guerry <bzg@gnu.org>
1697 * simple.el (define-alternatives): Call the selected command
1698 interactively. When setting `COMMAND--implementation' for the
1699 first time, tell the user how to chose another implementation.
1700 Enhance the docstring.
1702 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1704 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1705 (log-edit--match-first-line): New function.
1706 (log-edit-font-lock-keywords): Use it.
1707 (log-edit-mode): Make jit-lock-defer-multiline work.
1709 2014-01-13 Bastien Guerry <bzg@gnu.org>
1711 * rect.el (rectangle-mark-mode): When the region is not active,
1712 display a message saying that the mark as been set and that
1713 rectangle mode is in use.
1714 (rectangle--highlight-for-redisplay): Only put an overlay with a
1715 visible vertical bar when (display-graphic-p) is non-nil.
1716 This partially fixes Bug#16403.
1718 2014-01-13 Juri Linkov <juri@jurta.org>
1720 * info.el (Info-find-file): Go to DIR before displaying the error
1721 about a nonexistent file if no previous Info file is visited.
1722 Use `user-error' instead of `error' for "Info file %s does not exist".
1723 (Info-find-node-2): In case of a nonexistent node in unwind forms
1724 go to the Top node if there is no previous node to revert to.
1727 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1729 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1730 * window.el (fit-frame-to-buffer): Fix doc-string.
1731 Respect window-min-height/-width. Fit pixelwise when
1732 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1733 when avoiding that frame goes partially off-screen.
1734 (fit-window-to-buffer): Respect window-min-height/-width
1737 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1740 after an empty line.
1742 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * net/shr.el (shr-render-region): Autoload.
1746 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1748 * net/eww.el (eww-download-directory): Rename from
1749 `eww-download-path' (Bug#16419).
1751 2014-01-12 Leo Liu <sdl.web@gmail.com>
1753 * dired-x.el (dired-mode-map): Fix last change.
1755 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1757 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1760 * emacs-lisp/generic.el (generic--normalize-comments):
1761 Rename from generic--normalise-comments. All uses changed.
1762 * play/bubbles.el (bubbles--neighborhood-score)
1763 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1764 (bubbles--neighborhood-available)
1765 (bubbles--update-neighborhood-score):
1766 Rename from names with 'neighbourhood'. All uses changed.
1768 2014-01-12 Leo Liu <sdl.web@gmail.com>
1770 Re-implement the feature of showing eldoc info after editing.
1771 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1772 (eldoc-edit-message-commands): New function.
1773 (eldoc-print-after-edit): New variable.
1774 (eldoc-pre-command-refresh-echo-area): Emit message only by
1775 eldoc-message-commands.
1776 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1777 if eldoc-print-after-edit is set. (Bug#16346)
1778 * simple.el (read--expression): Enable eldoc-mode.
1779 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1781 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1782 Eric S. Raymond <esr@thyrsus.com>
1784 * version.el (emacs-repository-get-version): Enhance so the
1785 function works correctly in either a Bazaar or Git repo.
1787 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1789 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1790 Goes with removal of the joke manpages from /etc.
1792 2014-01-10 Kenichi Handa <handa@gnu.org>
1794 * mail/rmail.el (rmail-get-coding-system):
1795 Check rmail-get-coding-function before "funcall"ing it.
1797 2014-01-10 Glenn Morris <rgm@gnu.org>
1799 * emacs-lisp/authors.el (authors-fixed-entries):
1800 Update for files that no longer exist.
1802 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1804 * version.el (emacs-bzr-get-version): Restore compatibilty with
1807 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1809 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1812 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1814 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1816 2014-01-10 Chong Yidong <cyd@gnu.org>
1818 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1820 2014-01-10 Anders Lindgren <andlind@gmail.com>
1822 * follow.el (follow-cache-command-list): Include right-char and
1825 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1828 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1829 * woman.el (woman-mark-horizontal-position):
1830 Rename from woman-mark-horizonal-position. Use changed.
1832 2014-01-10 Glenn Morris <rgm@gnu.org>
1834 * info.el (info-initialize): If running uninstalled, ensure our
1835 own info files are always found first, even if INFOPATH is set.
1837 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1839 2014-01-09 David Engster <deng@randomsample.de>
1841 * emacs-lisp/eieio-custom.el:
1842 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1843 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1844 * emacs-lisp/eieio.el: Regenerate autoloads.
1846 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1848 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1849 following renames. (Bug#8756)
1851 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1855 (activate-mark): Add `no-tmm' argument.
1856 (set-mark, push-mark-command): Use it instead of running
1857 activate-mark-hook by hand.
1859 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1861 In preparation for the move to git, sanitize out some
1862 Bazaar-specific names.
1864 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1866 * version.el (emacs-bzr-version): Name changed to
1867 emacs-repository-version. Obsolete-variable alias made.
1868 * loadup.el: Follow through on this name change.
1869 * mail/emacsbug.el (report-emacs-bug): Factor out any
1870 assumption about the version control system in use.
1872 2014-01-08 David Engster <deng@randomsample.de>
1874 * help-fns.el (help-fns-describe-function-functions):
1875 New variable to call functions for augmenting help buffers.
1876 (describe-function-1): Remove explicit calls to
1877 `help-fns--compiler-macro', `help-fns--parent-mode' and
1878 `help-fns--obsolete'. Put them in above new variable instead, and
1879 call them through `run-hook-with-args'.
1880 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1881 `eieio-describe-class'. Not meant for interactive use anymore,
1882 but to augment existing help buffers. Remove optional second
1883 argument. Create proper button for file location.
1884 Rewrite function to use `insert' instead of `princ' and `prin1' where
1886 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1887 (eieio-method-def, eieio-class-def): Move further up.
1888 (describe-method, describe-generic, eieio-describe-method):
1890 (eieio-help-constructor, eieio-help-generic): Rename from
1891 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1892 Rewrite to use `insert' in the current buffer and use proper help
1894 (eieio-help-find-method-definition)
1895 (eieio-help-find-class-definition): Also accept symbols as
1897 (eieio-help-mode-augmentation-maybee): Remove.
1898 (eieio-describe-class-sb): Use `describe-function'.
1899 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1900 Add `eieio-help-generic' and `eieio-help-constructor'.
1902 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1905 * language/china-util.el (hz-ascii-designation):
1906 Rename from hz-ascii-designnation.
1907 (hz-ascii-designation): Rename from hz-ascii-designnation.
1910 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1915 2014-01-08 Bastien Guerry <bzg@gnu.org>
1917 * emacs-lisp/package.el (package-delete):
1918 Correctly delete the package from package-alist.
1920 2014-01-08 Daiki Ueno <ueno@gnu.org>
1922 * emacs-lisp/package.el (url-recreate-url): Declare.
1923 (url-http-target-url): Declare.
1924 (package-handle-response): Include requested URL in the error message.
1925 (package--check-signature): Don't re-signal errors from
1926 package--with-work-buffer. Suggested by Stefan Monnier.
1928 2014-01-07 Bastien Guerry <bzg@gnu.org>
1930 * minibuffer.el (completion--try-word-completion): When both a
1931 hyphen and a space are possible candidates for the character
1932 following a word, display both candidates. (Bug#15980)
1934 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1936 * window.el (balance-windows-2): While rounding don't give a
1937 window more than the remainder. Bug#16351, bug#16383.
1939 2014-01-07 Glenn Morris <rgm@gnu.org>
1941 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1942 (menu-bar-help-menu): Use view-external-packages instead.
1944 2014-01-07 Bastien Guerry <bzg@gnu.org>
1946 * emacs-lisp/package.el (package-delete): Also delete the package
1947 name from `package-alist', not its description only.
1949 2014-01-07 Glenn Morris <rgm@gnu.org>
1951 * help.el (view-external-packages):
1952 * menu-bar.el (menu-bar-help-extra-packages):
1953 Visit efaq.info rather than etc/MORE.STUFF.
1955 2014-01-07 Juri Linkov <juri@jurta.org>
1957 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1958 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1960 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1961 that shadows RET. (Bug#16342)
1963 2014-01-07 Chong Yidong <cyd@gnu.org>
1965 * isearch.el (isearch-yank-char, isearch-yank-word)
1966 (isearch-yank-line): Doc fix.
1968 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1971 * emacs-lisp/elint.el (elint-find-builtins):
1972 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1973 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1974 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1975 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1976 * apropos.el (apropos-safe-documentation):
1977 * subr.el (symbol-file): Remove redundant fboundp.
1978 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1980 2014-01-06 Bastien Guerry <bzg@gnu.org>
1982 * hl-line.el (global-hl-line-overlay): Make a local variable.
1983 (global-hl-line-overlays): New variable to store all overlays.
1984 (global-hl-line-mode): Don't delete overlays from the current
1985 buffer when `global-hl-line-sticky-flag' is non-nil.
1986 (global-hl-line-highlight): Add new overlays to
1987 `global-hl-line-overlays'.
1988 (global-hl-line-unhighlight-all): New function to delete all
1989 overlays when turning off `global-hl-line-mode'.
1990 This fixes Bug#16183.
1992 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * subr.el (set-transient-map): Fix nested case and docstring.
1996 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1998 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
2001 2014-01-06 Daniel Colascione <dancol@dancol.org>
2003 Fix defun navigation in vc log view.
2005 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
2006 like `beginning-of-defun'.
2007 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
2008 log-view-end-of-defun to log-view-end-of-defun-1. Replace
2009 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
2010 (log-view-extract-comment): Call `log-view-current-entry' directly
2011 instead of relying on broken `log-view-beginning-of-defun' behavior.
2013 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
2016 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
2017 * emacs-lisp/debug.el (cancel-debug-on-entry):
2018 * epg.el (epg-error-to-string):
2019 * files.el (recover-file):
2020 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2021 * mail/emacsbug.el (report-emacs-bug-hook):
2022 * mail/sendmail.el (mail-recover):
2023 * ses.el (ses-yank-resize):
2024 * term/ns-win.el (ns-print-buffer):
2025 Spelling fixes in diagnostics, mostly for "canceled" with one L.
2026 * epg.el (epg-key-capability-alist): Rename from misspelled version.
2028 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
2030 2014-01-06 Leo Liu <sdl.web@gmail.com>
2032 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
2033 to avoid shadowing global key. (Bug#16354)
2035 2014-01-06 Daniel Colascione <dancol@dancol.org>
2037 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
2040 2014-01-05 Martin Rudalics <rudalics@gmx.at>
2042 * window.el (balance-windows): Add mising t to fix Bug#16351.
2044 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2046 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
2048 (shr-insert): If we have a word that's longer than `shr-width',
2049 break after it anyway. Otherwise we'll do no breaking once we get
2052 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2054 * net/eww.el (eww): Support single/double quote for search.
2055 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
2056 (eww-history-quit): Delete and use quit-window.
2057 (eww-history-kill): Delete, because it doesn't work well and
2059 (eww-history-mode-map): Delete some keys and add easy-menu.
2061 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2063 Fix misspelling of 'chinese' in rx (Bug#16237).
2064 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2067 Change subword regexps back to vars (Bug#16296).
2068 * progmodes/subword.el (subword-forward-regexp)
2069 (subword-backward-regexp): Change these back to variables.
2071 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2073 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2074 syntax-begin-function (bug#16247).
2076 2014-01-03 Chong Yidong <cyd@gnu.org>
2078 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2079 (advice--docstring): Delete variable.
2080 (advice--make-1): Leave the docstring empty.
2081 (advice-add): Use function-documentation for advised docstring.
2083 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2084 Ignore function-documentation property when getting documentation.
2085 (ad-activate-advised-definition): Use function-documentation
2086 generate the docstring.
2087 (ad-make-advised-definition): Don't call
2088 ad-make-advised-definition-docstring.
2089 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2092 * progmodes/sql.el (sql-help): Use function-documentation instead
2093 of dynamic-docstring-function property. No need to autoload now.
2094 (sql--help-docstring): New variable.
2095 (sql--make-help-docstring): Use it.
2097 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2099 * ielm.el (ielm-tab): Retarget.
2100 (ielm-map): Use ielm-tab for tab.
2101 (ielm-complete-filename): Use comint-filename-completion.
2102 (ielm-complete-symbol): Remove.
2103 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2104 remove ielm-tab from completion-at-point-functions (bug#16224).
2106 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2107 Beware signals raised by predicates (bug#16201).
2109 2014-01-02 Richard Stallman <rms@gnu.org>
2111 * dired-aux.el (dired-do-print): Handle printer-name.
2113 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2114 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2115 (rmail-epa-decrypt): Turn off mime processing.
2117 * mail/rmail.el (rmail-make-in-reply-to-field):
2118 Add parens in message-id.
2120 * mail/rmail.el (rmail-get-coding-function): Variable.
2121 (rmail-get-coding-system): Use it.
2123 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2125 * international/mule-conf.el: Unify the charset indian-is13194.
2126 (indian-is13194): Specify unify-map.
2128 2013-12-31 Leo Liu <sdl.web@gmail.com>
2130 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2132 2013-12-30 Daniel Colascione <dancol@dancol.org>
2134 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2135 of printing a useless when we resume from sleep.
2137 * progmodes/sh-script.el
2138 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2139 in indentation code. (Bug#16233)
2141 2013-12-28 João Távora <joaotavora@gmail.com>
2143 * elec-pair.el (electric-pair-post-self-insert-function):
2144 Don't open extra newlines at beginning of buffer. (Bug#16272)
2146 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2148 * frame.el (window-system-for-display): Don't allow to create a
2149 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2151 2013-12-28 Glenn Morris <rgm@gnu.org>
2153 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2156 * apropos.el (apropos-match-face):
2157 * calculator.el (calculator-displayer):
2158 * dabbrev.el (dabbrev-search-these-buffers-only):
2159 * face-remap.el (buffer-face-mode-face):
2160 * simple.el (yank-handled-properties):
2161 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2162 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2163 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2164 (hashcash-double-spend-database):
2165 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2166 (ruby-deep-indent-paren-style):
2167 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2168 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2169 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2170 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2171 Specify custom types.
2173 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2174 * bookmark.el (bookmark-bmenu-use-header-line):
2175 * doc-view.el (doc-view-scale-internally):
2176 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2177 * register.el (register-preview-delay):
2178 * net/shr.el (shr-bullet):
2179 * progmodes/cfengine.el (cfengine-cf-promises)
2180 (cfengine-parameters-indent):
2181 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2182 * textmodes/reftex-vars.el (reftex-label-regexps):
2183 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2185 * net/tls.el (tls-certtool-program): Fix default value.
2187 * desktop.el (desktop-restore-in-current-display):
2188 * newcomment.el (comment-empty-lines):
2189 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2190 (idlwave-pad-keyword):
2191 * progmodes/tcl.el (tcl-tab-always-indent):
2192 * textmodes/reftex-vars.el (reftex-index-default-tag):
2193 * elec-pair.el (electric-pair-skip-whitespace):
2194 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2196 * emacs-lisp/authors.el (authors-ignored-files)
2197 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2199 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2201 * shell.el (shell-dynamic-complete-command): Doc fix.
2202 (shell--command-completion-data): Shell completion now matches
2203 executable filenames from the current buffer's directory, on
2204 systems in which this behavior is the default (windows-nt, ms-dos).
2206 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2208 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2210 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2212 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2215 * electric.el: Move all electric-pair-* to elec-pair.el.
2216 * elec-pair.el: New file, split from electric.el.
2218 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2220 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2221 indentation level is larger than the width, because that will
2223 (shr-insert): Fill repeatedly long texts, so that Japanese is
2224 formatted correctly (bug#16263).
2225 (shr-find-fill-point): Off by one error in comparison with the
2228 2013-12-26 João Távora <joaotavora@gmail.com>
2230 * electric.el (electric-pair-mode): More flexible engine for skip-
2231 and inhibit predicates, new options for pairing-related functionality.
2232 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2233 if that keeps or improves their balance in buffers.
2234 (electric-pair-delete-adjacent-pairs): Delete the pair when
2235 backspacing over adjacent matched delimiters.
2236 (electric-pair-open-extra-newline): Open extra newline when
2237 inserting newlines between adjacent matched delimiters.
2238 (electric--sort-post-self-insertion-hook):
2239 Sort post-self-insert-hook according to priority values when
2240 minor-modes are activated.
2241 * simple.el (newline-and-indent): Call newline with interactive
2243 (blink-paren-post-self-insert-function): Set priority to 100.
2244 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2245 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2246 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2247 electric-pair-open-newline-between-pairs to nil.
2249 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2251 * progmodes/python.el: Use lexical-binding.
2252 (python-nav-beginning-of-defun): Stop searching ASAP.
2254 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2256 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2257 Fix interactive spec. Doc fix. (Bug#15754)
2259 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2261 * emacs-lisp/byte-run.el (eval-when-compile):
2262 * progmodes/cc-defs.el (cc-eval-when-compile):
2263 Fix edebug spec (bug#16184).
2265 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2267 * net/shr.el (shr-visit-file): Remove debugging function.
2268 (shr-insert): Don't infloop if we can't find a good place to break
2269 the line (bug#16256).
2271 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2273 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2274 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2275 python-nav-lisp-forward-sexp-safe.
2276 (python-nav--forward-sexp): New argument SAFE allows switching
2277 forward sexp movement behavior for parens.
2278 (python-nav-forward-sexp): Throw errors on unterminated parens
2280 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2281 (python-nav-backward-sexp-safe): New functions.
2282 (python-shell-buffer-substring):
2283 Use `python-nav-forward-sexp-safe'.
2285 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2287 * net/shr.el (shr-find-fill-point): Don't break lines before a
2289 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2290 (shr-find-fill-point): Remove the special checks for the quotation
2291 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2293 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2295 * net/eww.el (eww-form-textarea): Use a different face for
2296 textareas than text input since they have different keymaps
2299 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2301 * progmodes/python.el (python-nav-beginning-of-statement):
2302 Speed up (Bug#15295).
2304 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2306 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2307 the window configuration.
2309 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2311 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2312 we run on MS-Windows or MS-DOS.
2314 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2316 * window.el (balance-windows-area): Call window-size instead of
2317 window-height and window-width. Bug#16241.
2319 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2321 * net/eww.el (eww-bookmark-quit): Remove.
2322 (eww-bookmark-browse): Restore the window configuration when you
2323 choose a bookmark (bug#16144).
2325 2013-12-24 Daniel Colascione <dancol@dancol.org>
2327 * icomplete.el: Remove redundant :group arguments to `defcustom'
2329 (icomplete-show-matches-on-no-input): New customizable variable.
2330 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2331 we have something to show.
2332 (icomplete-exhibit): Compute completions even if we have no user input.
2334 2013-12-23 Daniel Colascione <dancol@dancol.org>
2336 * icomplete.el: Move `provide' to end of file.
2338 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2340 * net/gnutls.el (gnutls-verify-error): Add version tag.
2342 2013-12-23 Chong Yidong <cyd@gnu.org>
2344 * subr.el (set-transient-map): Rename from
2345 set-temporary-overlay-map. Doc fix.
2347 * face-remap.el (text-scale-adjust):
2348 * indent.el (indent-rigidly):
2349 * kmacro.el (kmacro-call-macro):
2350 * minibuffer.el (minibuffer-force-complete):
2351 * repeat.el (repeat):
2352 * simple.el (universal-argument--mode):
2353 * calendar/todo-mode.el (todo-insert-item--next-param):
2354 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2356 * indent.el (indent-rigidly): Use substitute-command-keys.
2358 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2360 * net/eww.el (eww-tag-select): Add text-property to jump to next
2362 (eww): Add non-supported ftp error.
2364 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2366 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2367 comments. Handle electric indent after typing `?' and `!'.
2369 2013-12-22 Chong Yidong <cyd@gnu.org>
2371 * faces.el (face-spec-recalc): If the theme specs are not
2372 applicable to a frame, fall back on the defface spec.
2373 This prevents themes from obliterating faces on low-color terminals.
2375 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2377 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2378 after `{'. We need it after block openers, and it doesn't seem
2379 to hurt after hash openers.
2381 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2383 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2384 extracted from `ruby-smie-rules'.
2385 (ruby--electric-indent-chars): New variable.
2386 (ruby--electric-indent-p): New function.
2387 (ruby-mode): Use `electric-indent-functions' instead of
2388 `electric-indent-chars'.
2390 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2392 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2394 (ruby-smie-rules): Indent plus one level after `=>'.
2396 2013-12-21 Richard Stallman <rms@gnu.org>
2398 * simple.el (newline): Doc fix.
2400 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2402 * net/eww.el (eww-list-histories, eww-list-histories)
2403 (eww-history-browse, eww-history-quit, eww-history-kill)
2404 (eww-history-mode-map, eww-history-mode): New command and
2405 functions to list browser histories.
2406 (eww-form-text): Support text form with disabled
2407 and readonly attributes.
2408 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2410 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2412 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2413 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2414 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2415 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2417 (eww-bookmark-mode-map): Add menu.
2418 (eww-render, eww-mode): Use `setq-local'.
2419 (eww-tool-bar-map): New variable.
2420 (eww-mode): Set `tool-bar-map'.
2421 (eww-view-source): Check for `html-mode' with `fboundp'.
2423 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2425 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2426 elements with text inside. Also remove debugging.
2428 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2430 * cus-start.el (all): Add ns-use-srgb-colorspace.
2432 2013-12-21 Chong Yidong <cyd@gnu.org>
2434 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2435 undefined. Thus, theme settings for undefined faces do not take
2436 effect until the faces are defined with defface, the same as with
2439 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2440 (face-spec-reset-face): Don't assign extra properties in temacs.
2441 (face-spec-recalc): Apply X resources too.
2443 2013-12-21 Chong Yidong <cyd@gnu.org>
2445 * faces.el (face-spec-set):
2446 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2447 * custom.el (defface): Doc fixes (Bug#16203).
2449 * indent.el (indent-rigidly-map): Add docstring, and move commands
2450 into named functions.
2451 (indent-rigidly-left, indent-rigidly-right)
2452 (indent-rigidly-left-to-tab-stop)
2453 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2454 indentation direction based on bidi direction, and accumulate
2455 sequential commands in a single undo boundary.
2456 (indent-rigidly--pop-undo): New utility function.
2458 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2460 * faces.el (read-face-name): Require crm.el when using crm-separator.
2462 2013-12-20 Daniel Colascione <dancol@dancol.org>
2464 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2465 so that we don't reflow comments into the shebang line.
2467 2013-12-20 Juri Linkov <juri@jurta.org>
2469 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2470 a position when `dired-directory' is non-nil. Check integer
2471 positions with `integerp'.
2472 (toggle-save-place, save-places-to-alist): Add check for
2474 (save-place-find-file-hook): Check integer positions with
2476 (save-place-dired-hook): Use `dired-goto-file' when
2477 `dired-filename' is found in the assoc list. Check integer
2478 positions with `integerp'.
2479 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2481 * dired.el (dired-initial-position-hook): Rename back from
2482 `dired-initial-point-hook'.
2483 (dired-initial-position): Rename `dired-initial-point-hook' to
2484 `dired-initial-position-hook'.
2485 (dired-file-name-at-point): Doc fix. (Bug#15329)
2487 2013-12-20 Juri Linkov <juri@jurta.org>
2489 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2490 (read-regexp-suggestions): New function.
2491 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2492 Use `read-regexp-suggestions'. Add non-empty default to history
2494 (occur-read-regexp-defaults-function): Remove function.
2495 (occur-read-primary-args): Use `regexp-history-last' instead of
2496 `occur-read-regexp-defaults-function'.
2498 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2499 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2500 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2501 `hi-lock-read-regexp-defaults-function'. Doc fix.
2502 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2503 with `find-tag-default-as-symbol-regexp'. Doc fix.
2504 (hi-lock-read-regexp-defaults): Remove function.
2505 (hi-lock-regexp-okay): Add check for null.
2507 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2508 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2510 * subr.el (find-tag-default-as-symbol-regexp): New function.
2511 (find-tag-default-as-regexp): Move symbol regexp formatting to
2512 `find-tag-default-as-symbol-regexp'.
2514 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2516 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2519 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2521 * calendar/todo-mode.el: New implementation of item insertion
2522 commands and key bindings.
2523 (todo-key-prompt): New face.
2524 (todo-insert-item): New command.
2525 (todo-insert-item--parameters): New defconst, replacing defvar
2526 todo-insertion-commands-args-genlist.
2527 (todo-insert-item--param-key-alist): New defconst, replacing
2528 defvar todo-insertion-commands-arg-key-list.
2529 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2530 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2531 (todo-insert-item--next-param): New functions.
2532 (todo-insert-item--args, todo-insert-item--argleft)
2533 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2535 (todo-key-bindings-t): Change binding of "i" from
2536 todo-insertion-map to todo-insert-item.
2537 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2538 (todo-insertion-command-name, todo-insertion-commands-names)
2539 (todo-define-insertion-command, todo-insertion-commands)
2540 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2542 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2544 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2545 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2547 (todo-move-category): Allow choosing a non-existing todo file to
2548 move the category to, and create that file.
2549 (todo-default-priority): New user option.
2550 (todo-set-item-priority): Use it.
2551 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2552 (desktop-restore-file-buffer): Declare.
2553 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2554 (todo-modes-set-2): Locally set desktop-save-buffer to
2555 todo-desktop-save-buffer.
2556 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2557 (auto-mode-alist): Add autoload cookie.
2559 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2561 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2562 helpers.el was a poor choice of name.
2563 (string-remove-prefix): New function.
2564 (string-remove-suffix): New function.
2566 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2568 Fix assignment for new window total sizes.
2569 * window.el (window--pixel-to-size): Remove function.
2570 (window--pixel-to-total-1, window--pixel-to-total):
2571 Fix calculation of new total sizes.
2573 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2575 * comint.el (comint-output-filter): Fix rear-nonsticky property
2576 placement (Bug#16010).
2578 2013-12-20 Chong Yidong <cyd@gnu.org>
2580 * faces.el (read-color): Minor fix for completion function.
2582 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2584 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2585 New option. (Bug#16182)
2586 (ruby-smie--indent-to-stmt-p): Use it.
2587 (ruby-smie-rules): Revert the logic in the handling of `when'.
2588 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2589 (ruby-deep-arglist, ruby-deep-indent-paren)
2590 (ruby-deep-indent-paren-style): Update docstrings to note that the
2591 vars don't have any effect with SMIE.
2593 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2595 * calc/calc.el (calc-enter, calc-pop): Use the variable
2596 `calc-context-sensitive-enter'.
2598 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2600 * net/shr.el (shr-insert): Protect against infloops in degenerate
2603 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2605 * progmodes/octave.el (octave): Add link to manual and octave
2607 (octave-mode-menu): Link to octave-mode manual.
2609 2013-12-20 Leo Liu <sdl.web@gmail.com>
2611 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2612 insertion using skeleton-end-newline. (Bug#16138)
2614 2013-12-20 Juri Linkov <juri@jurta.org>
2616 * replace.el (occur-engine): Use `add-face-text-property'
2617 to add the face property to matches and titles. (Bug#14645)
2619 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2620 the palette of other hi-lock colors.
2621 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2623 2013-12-19 Juri Linkov <juri@jurta.org>
2625 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2626 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2627 (minibuffer-history-symbol): Move variable declaration closer to
2630 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2633 2013-12-19 Juri Linkov <juri@jurta.org>
2635 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2637 (log-edit-hook): Add it to :options. (Bug#16170)
2639 2013-12-19 Juri Linkov <juri@jurta.org>
2641 * simple.el (eval-expression-print-format): Don't check for
2642 command names and the last command. Always display additional
2643 formats of the integer result in the echo area, and insert them
2644 to the current buffer only with a zero prefix arg.
2645 Display character when char-displayable-p is non-nil.
2646 (eval-expression): With a zero prefix arg, set `print-length' and
2647 `print-level' to nil, and insert the integer values from
2648 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2650 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2651 `eval-last-sexp-arg-internal'. Doc fix.
2652 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2653 `eval-last-sexp-print-value'. Doc fix.
2654 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2655 Set `print-length' and `print-level' to nil when arg is zero.
2656 (eval-last-sexp): Doc fix.
2657 (eval-defun-2): Print the integer values from
2658 `eval-expression-print-format' at the end.
2660 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2661 values from `eval-expression-print-format' at the end.
2663 * ielm.el (ielm-eval-input): Print the integer
2664 values from `eval-expression-print-format' at the end.
2666 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2668 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2669 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2671 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2674 (hl-line-highlight, global-hl-line-highlight): Use it.
2675 (hl-line-overlay): Use defvar-local.
2677 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2679 * term/ns-win.el: Require dnd.
2680 (global-map): Remove drag items.
2681 (ns-insert-text, ns-set-foreground-at-mouse)
2682 (ns-set-background-at-mouse):
2683 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2684 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2687 2013-12-19 Glenn Morris <rgm@gnu.org>
2689 * emacs-lisp/ert.el (ert-select-tests):
2690 Fix string/symbol mixup. (Bug#16121)
2692 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2694 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2695 keywords to their parent.
2697 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2699 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2700 first arg to be a string (fixed dead code), or an operator symbol.
2701 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2703 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2704 did nothing. Don't respond to `(:after ".")', it will be called
2705 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2706 change anything. Only return indentation for binary operators
2707 when they are hanging. De-dent opening paren when its parent is
2708 `.', otherwise it looks bad when the dot is not at bol or eol
2711 2013-12-19 Juri Linkov <juri@jurta.org>
2713 * replace.el (query-replace-read-args): Split a non-negative arg
2714 and a negative arg into separate elements.
2715 (query-replace, query-replace-regexp, replace-string)
2716 (replace-regexp): Add arg `backward'. Doc fix.
2717 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2718 move point to the beginning of the match.
2719 (replace-search, replace-highlight): Use new arg `backward'
2720 to set the value of `isearch-forward'.
2721 (perform-replace): Add arg `backward' and use it to perform
2722 replacement backward. (Bug#14979)
2724 * isearch.el (isearch-query-replace): Use a negative prefix arg
2725 to call `perform-replace' with a non-nil arg `backward'.
2727 2013-12-18 Juri Linkov <juri@jurta.org>
2729 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2730 to the default list. Move `log-edit-show-files' to the end.
2731 Add more available functions to options.
2732 (log-edit): Move default specific settings to
2733 `log-edit-insert-message-template'. Don't move point.
2734 (log-edit-insert-message-template): New function.
2735 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2738 2013-12-18 Juri Linkov <juri@jurta.org>
2740 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2741 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2743 2013-12-18 Leo Liu <sdl.web@gmail.com>
2745 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2748 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2750 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2751 formats for displaying file sizes when the -s switch is given.
2752 Instead, compute a separate format for displaying the size in
2753 blocks, which is displayed in addition to the "regular" size.
2754 When -h is given in addition to -s, produce size in blocks in
2755 human-readable form as well. (Bug#16179)
2757 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2759 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2760 Reference tables with ~\ref{...} instead of only \ref{...}.
2762 2013-12-18 Chong Yidong <cyd@gnu.org>
2764 * cus-edit.el (custom-magic-alist): Fix "themed" description
2767 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2768 is non-nil, do not create a new entry in the symbol's theme-value
2769 or theme-face property; update theme-settings only (Bug#14664).
2770 (custom-available-themes): Doc fix.
2772 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2775 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2777 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2779 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2782 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2784 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2786 2013-12-18 Glenn Morris <rgm@gnu.org>
2788 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2789 * cus-start.el (load-prefer-newer): New option.
2791 2013-12-18 Le Wang <l26wang@gmail.com>
2793 * comint.el (comint-previous-matching-input-from-input):
2794 Retain point (Bug#13404).
2796 2013-12-18 Chong Yidong <cyd@gnu.org>
2798 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2800 2013-12-18 Glenn Morris <rgm@gnu.org>
2802 * mail/emacsbug.el (report-emacs-bug):
2803 Only mention enable-multibyte-characters if non-standard.
2805 2013-12-17 Juri Linkov <juri@jurta.org>
2807 * arc-mode.el (archive-extract-by-file): Check if directory exists
2808 before deletion to not show irrelevant errors if it doesn't exist.
2810 2013-12-17 Juri Linkov <juri@jurta.org>
2812 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2815 * net/eww.el (browse-web): Add alias to `eww'.
2816 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2817 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2819 * net/browse-url.el (browse-url-browser-function): Move `eww'
2820 closer to similar functions.
2822 * startup.el (fancy-startup-screen, fancy-about-screen):
2823 Set browse-url-browser-function to eww-browse-url locally.
2826 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2828 * window.el (window--pixel-to-total): Remove unused `mini' var.
2829 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2830 (split-window): Remove unused `new' var.
2831 (window--display-buffer): Remove unused `frame' and `delta' vars.
2832 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2835 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2837 * dired.el (dired-mark-pop-up):
2838 * register.el (register-preview): Don't bind
2839 split-height-threshold here since it's now done in
2840 display-buffer-below-selected.
2842 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2844 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2845 xterm-rgb-convert-to-16bit.
2846 (rxvt-register-default-colors): Standardize with
2847 xterm-register-default-colors (Bug#14078).
2849 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2851 * simple.el (kill-region): Pass mark first, then point, so that
2852 kill-append works right (Bug#12819).
2853 (copy-region-as-kill, kill-ring-save): Likewise.
2855 2013-12-17 Leo Liu <sdl.web@gmail.com>
2857 * net/rcirc.el (rcirc-add-face):
2858 * eshell/em-prompt.el (eshell-emit-prompt):
2859 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2862 2013-12-17 Chong Yidong <cyd@gnu.org>
2864 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2865 Suggested by Xue Fuqiao.
2867 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2869 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2871 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2873 * net/shr.el (shr-insert-document): Remove unused var
2874 `shr-preliminary-table-render'.
2875 (shr-rescale-image): Remove unused arg `force'.
2876 (shr-put-image): Update calls accordingly.
2877 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2879 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2881 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2882 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2883 :close-all, to see which indentation method to use (Bug#16116).
2884 (smie-rules-function): Document the method :close-all.
2886 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2888 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2890 * net/eww.el (eww-display-html): If we can't find the anchor we're
2891 looking for, then go to point-min.
2893 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2895 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2896 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2897 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2898 Expand dir too, in case it's relative.
2900 2013-12-16 Juri Linkov <juri@jurta.org>
2902 * desktop.el (desktop-auto-save-timeout): Change default to
2903 `auto-save-timeout'. Doc fix.
2904 (desktop-save): Skip the timestamp in desktop-saved-frameset
2905 when checking for auto-save changes.
2906 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2907 `desktop-auto-save' is called repeatedly by the idle timer.
2908 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2909 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2912 2013-12-16 Juri Linkov <juri@jurta.org>
2914 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2916 (isearch-pre-command-hook): Check `this-command' for symbolp.
2918 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2922 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2924 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2925 (cfengine3--current-function): Bring in the current-function
2926 functionality from `cfengine3--current-word'.
2927 (cfengine3-completion-function): Bring in the
2928 bounds-of-current-word functionality from
2929 `cfengine3--current-word'.
2931 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2933 * window.el (display-buffer-below-selected):
2934 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2936 2013-12-16 Leo Liu <sdl.web@gmail.com>
2938 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2939 Remove NOMSG arg and all uses changed.
2941 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2943 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2944 (cua--deactivate-rectangle): Don't deactivate the mark.
2945 (cua-set-rectangle-mark): Don't set mark-active since
2946 cua--activate-rectangle already does it for us.
2947 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2948 non-rectangular region.
2950 * emulation/cua-base.el (cua-repeat-replace-region):
2951 Use with-current-buffer.
2953 * net/gnutls.el: Use cl-lib.
2954 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2956 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2958 * emacs-lisp/package.el (package-built-in-p): Support both
2959 built-in and the package.el converted package descriptions.
2960 (package-show-package-list): Allow keywords.
2961 (package-keyword-button-action): Use it instead of
2962 `finder-list-matches'.
2963 (package-menu-filter-interactive): Interactive filtering (by
2965 (package-menu--generate): Support keywords and change keymappings
2966 and headers when they are given.
2967 (package--has-keyword-p): Helper function.
2968 (package-menu--refresh): Use it.
2969 (package--mapc): Helper function.
2970 (package-all-keywords): Use it.
2971 (package-menu-mode-map): Set up menu items and keybindings to
2972 provide a filtering UI.
2974 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2976 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2977 the behavior when a certificate fails validation. Defaults to
2978 old behavior: never abort, just warn.
2979 (gnutls-negotiate): Use it.
2981 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2983 * window.el (display-buffer-below-selected): Never split window
2984 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2986 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2988 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2989 (package-buffer-info): Use it (bug#15108).
2991 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2993 * icomplete.el (icomplete-completions): Make sure the prefix is already
2994 displayed elsewhere before hiding it (bug#16219).
2996 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2998 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2999 open-paren tokens when preceded by a open-paren, too.
3000 (ruby-smie-rules): Handle virtual indentation after open-paren
3001 tokens specially. If there is code between it and eol, return the
3002 column where is starts (Bug#16118).
3004 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3006 * progmodes/cfengine.el: Fix `add-hook' doc.
3007 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
3008 (cfengine3--current-word): Fix parameters.
3009 (cfengine3-make-syntax-cache): Simplify further.
3010 (cfengine3-completion-function, cfengine3--current-function):
3011 Use `assq' for symbols.
3012 (cfengine3--current-function): Fix `cfengine3--current-word' call.
3014 2013-12-13 Glenn Morris <rgm@gnu.org>
3016 * loadup.el (load-path): Warn if site-load or site-init changes it.
3017 No more need to reset it when bootstrapping.
3019 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
3021 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
3022 locations for cf-promises.
3023 (cfengine-mode-syntax-functions-regex): New caching variable.
3024 (cfengine3-fallback-syntax): Fallback syntax for cases where
3025 cf-promises doesn't run.
3026 (cfengine3--current-word): Reimplement using
3027 `cfengine-mode-syntax-functions-regex'.
3028 (cfengine3-completion-function, cfengine3--current-function):
3029 Use `cfengine3-make-syntax-cache' directly.
3030 (cfengine3-clear-syntax-cache): New function.
3031 (cfengine3-make-syntax-cache): Simplify and create
3032 `cfengine-mode-syntax-functions-regex' on demand.
3033 (cfengine3-format-function-docstring): Don't call
3034 `cfengine3-make-syntax-cache' explicitly.
3036 2013-12-13 Martin Rudalics <rudalics@gmx.at>
3038 Fix windmove-find-other-window broken after pixelwise resizing
3040 * windmove.el (windmove-other-window-loc): Revert change from
3042 (windmove-find-other-window): Call window-in-direction.
3043 * window.el (window-in-direction): New arguments SIGN, WRAP and
3044 MINI to emulate original windmove-find-other-window behavior.
3046 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
3048 * simple.el (blink-matching--overlay): New variable.
3049 (blink-matching-open): Instead of moving point, highlight the
3050 matching paren with an overlay
3051 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
3053 * faces.el (paren-showing-faces, show-paren-match)
3054 (show-paren-mismatch): Move from paren.el.
3056 2013-12-13 Leo Liu <sdl.web@gmail.com>
3058 * indent.el (indent-region): Disable progress reporter in
3059 minibuffer. (Bug#16108)
3061 * bindings.el (visual-order-cursor-movement): Fix version.
3063 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3065 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3066 Also match after beginning of line.
3067 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3068 files. Thanks to Russell Sim. (Bug#15378)
3070 2013-12-13 Juri Linkov <juri@jurta.org>
3072 * simple.el <Keypad support>: Remove key bindings duplicated
3073 with bindings.el. (Bug#14397)
3075 2013-12-13 Juri Linkov <juri@jurta.org>
3077 * comint.el (comint-mode-map): Replace `delete-char' with
3078 `delete-forward-char'. (Bug#16109)
3080 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3082 * progmodes/python.el (python-indent-calculate-indentation):
3083 Fix de-denters cornercase. (Bug#15731)
3085 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3088 (advice--make): Pay attention to `depth'.
3089 (advice--make-1): Don't autoload commands eagerly.
3090 * emacs-lisp/elp.el (elp-instrument-function):
3091 * emacs-lisp/trace.el (trace-function-internal):
3092 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3094 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3096 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3098 * term/w32-win.el (w32-handle-dropped-file):
3099 * startup.el (normal-top-level):
3100 * net/browse-url.el (browse-url-file-url):
3101 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3102 decode file names using 'utf-8' rather than
3103 file-name-coding-system.
3105 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3107 * progmodes/python.el (python-indent-context)
3108 (python-indent-calculate-indentation): Fix auto-identation
3109 behavior for comment blocks. (Bug#15916)
3111 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3113 * progmodes/python.el (python-indent-calculate-indentation):
3114 When determining indentation, don't treat "return", "pass", etc., as
3115 operators when they are just string constituents. (Bug#15812)
3117 2013-12-12 Juri Linkov <juri@jurta.org>
3119 * uniquify.el (uniquify-buffer-name-style): Change default to
3120 `post-forward-angle-brackets'.
3122 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3123 `uniquify'. Change default to `post-forward-angle-brackets'.
3125 2013-12-11 Glenn Morris <rgm@gnu.org>
3127 * emacs-lisp/package.el (finder-list-matches):
3128 Autoload rather than falsely declaring.
3130 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3132 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3133 (eww-mode-map): Use them.
3135 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3137 * window.el (display-buffer-in-side-window): Fix doc-string
3140 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3142 * vc/vc-git.el: Silence byte-compiler warnings.
3143 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3144 (log-edit-set-header): Declare.
3146 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3148 * Makefile.in (custom-deps, finder-data): Run output file names
3149 through unmsys--file-name. (Bug#16099)
3151 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3154 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3156 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3157 instead of deleting the selection "by hand" (bug#16098).
3158 Rely on insert-for-yank to yank rectangles.
3159 (cua-highlight-region-shift-only): Mark obsolete.
3160 (cua-mode): Don't enable/disable transient-mark-mode,
3161 shift-select-mode (cua-mode works both with and without them), and
3162 pc-selection-mode (obsolete).
3163 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3164 (cua--deactivate-rectangle): Deactivate it.
3166 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3167 (delete-selection-helper): Make sure yank starts at the top of the
3169 (minibuffer-keyboard-quit): Use region-active-p.
3171 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3173 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3174 to `delete' (bug#16109).
3176 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3178 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3179 info manual and show keybindings and set `:group' keyword.
3181 2013-12-11 Juri Linkov <juri@jurta.org>
3183 * delsel.el (delete-active-region): Let-bind `this-command'
3184 to prevent `kill-region' from changing its original value.
3185 (delete-selection-helper): Handle `overwrite-mode' for the type
3186 `kill' exactly the same way as for the type `t'.
3187 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3188 Support more commands. (Bug#13312)
3190 2013-12-11 Juri Linkov <juri@jurta.org>
3192 * bindings.el: Map kp keys to non-kp keys systematically
3193 with basic modifiers control, meta and shift. (Bug#14397)
3195 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3197 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3198 "Close browser" menu items. Fix wrong function of "List
3201 2013-12-11 Juri Linkov <juri@jurta.org>
3203 * misearch.el (multi-isearch-buffers): Set the value of
3204 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3205 arg of isearch-forward to t.
3206 (multi-isearch-buffers-regexp): Set the value of
3207 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3208 arg of isearch-forward-regexp to t.
3209 (multi-isearch-files): Set the value of
3210 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3211 arg of isearch-forward to t.
3212 (multi-isearch-files-regexp): Set the value of
3213 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3214 arg of isearch-forward-regexp to t. (Bug#16035)
3216 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3217 arg of isearch-forward to t.
3218 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3219 arg of isearch-forward-regexp to t.
3220 (dired-isearch-filter-filenames): Remove unnecessary check for
3221 `dired-isearch-filenames'.
3223 * comint.el (comint-history-isearch-backward):
3224 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3225 (comint-history-isearch-backward-regexp):
3226 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3228 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3230 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3231 unmsys--file-name. (Bug#16099)
3233 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3235 * emacs-lisp/package.el (package-keyword-button-action):
3236 Remove finder.el require dependency.
3238 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3240 * emacs-lisp/package.el: Require finder.el.
3241 (describe-package-1): Add keyword buttons.
3242 (package-make-button): New convenience function.
3243 (package-keyword-button-action): Keyword button action using
3244 `finder-list-matches'.
3246 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3248 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3251 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3253 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3256 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3258 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3259 after the end of a percent literal.
3261 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3263 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3264 Handle caret-delimited strings (Bug#16079).
3266 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3268 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3269 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3270 `ruby-parse-partial' (Bug#16078).
3272 2013-12-09 Leo Liu <sdl.web@gmail.com>
3274 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3276 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3278 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3279 (js-switch-indent-offset): New option.
3280 (js--proper-indentation): Use it. And handle the case when
3281 "default" is actually a key in an object literal.
3282 (js--same-line): New function.
3283 (js--multi-line-declaration-indentation): Use it.
3284 (js--indent-in-array-comp, js--array-comp-indentation):
3286 (js--proper-indentation): Use them, to handle array comprehension
3289 2013-12-08 Leo Liu <sdl.web@gmail.com>
3291 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3292 (flymake-make-overlay): Remove arg MOUSE-FACE.
3293 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3295 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3299 (redisplay-highlight-region-function): Use it.
3301 * emulation/cua-base.el (cua--explicit-region-start)
3302 (cua--last-region-shifted): Remove.
3303 (cua--deactivate): Use deactivate-mark.
3304 (cua--pre-command-handler-1): Don't handle shift-selection.
3305 (cua--post-command-handler-1): Don't change transient-mark-mode.
3306 (cua--select-keymaps): Use region-active-p rather than
3307 cua--explicit-region-start or cua--last-region-shifted.
3308 (cua-mode): Enable shift-select-mode.
3310 2013-12-08 Leo Liu <sdl.web@gmail.com>
3312 * progmodes/flymake.el (flymake-popup-current-error-menu):
3313 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3314 (flymake-posn-at-point-as-event, flymake-popup-menu)
3315 (flymake-make-emacs-menu): Remove. (Bug#16077)
3317 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3319 * rect.el (rectangle-mark-mode): Activate mark even if
3320 transient-mark-mode is off (bug#16066).
3321 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3322 is > mark and at bolp.
3324 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3325 (region-extract-function): Use it.
3326 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3327 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3329 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3330 kill-ring-save, kill-region, delete-char, delete-forward-char.
3331 Ignore self-insert-iso.
3333 * emulation/cua-gmrk.el (cua--init-global-mark):
3334 Ignore `self-insert-iso'.
3336 * emulation/cua-base.el (cua--prefix-copy-handler)
3337 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3338 checking cua--rectangle.
3339 (cua-delete-region): Use region-extract-function.
3340 (cua-replace-region): Delete function.
3341 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3342 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3343 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3344 (cua--init-keymaps): Don't remap delete-selection commands.
3345 (cua-mode): Use delete-selection-mode instead of rolling our own
3348 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3349 Obey region-extract-function.
3351 Make registers and delete-selection-mode work on rectangles.
3352 * register.el (describe-register-1): Don't modify the register's value.
3353 (copy-to-register): Obey region-extract-function.
3354 * delsel.el (delete-active-region): Obey region-extract-function.
3356 2013-12-08 Leo Liu <sdl.web@gmail.com>
3358 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3359 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3360 (flymake-compilation-prevents-syntax-check)
3361 (flymake-start-syntax-check-on-newline)
3362 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3363 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3364 (flymake-xml-program, flymake-master-file-dirs)
3365 (flymake-master-file-count-limit)
3366 (flymake-allowed-file-name-masks): Relocate.
3367 (flymake-makehash, flymake-float-time)
3368 (flymake-replace-regexp-in-string, flymake-split-string)
3369 (flymake-get-temp-dir): Remove.
3370 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3371 (flymake-current-row, flymake-selected-frame)
3372 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3373 related functions. (Bug#16077)
3375 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3377 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3379 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3381 * help-fns.el (describe-function-1): Use new advice-* functions
3382 rather than old ad-* functions. Fix function type description and
3383 source links for advised functions and subrs.
3385 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3387 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3389 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3391 * progmodes/compile.el (compilation-start):
3392 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3394 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3395 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3397 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3399 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3400 Touch up the last change.
3402 2013-12-06 Leo Liu <sdl.web@gmail.com>
3404 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3405 (inferior-octave-startup): Always use "octave> " for prompt.
3406 (octave-goto-function-definition)
3407 (octave-sync-function-file-names)
3408 (octave-find-definition-default-filename): Remove redundant backquotes.
3410 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3412 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3414 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3415 where appropriate already.
3416 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3417 end of method names (Bug#15874).
3419 2013-12-06 Juri Linkov <juri@jurta.org>
3421 * isearch.el (isearch--saved-overriding-local-map):
3422 New internal variable.
3423 (isearch-mode): Set it to the initial value of
3424 `overriding-terminal-local-map'.
3425 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3426 with `isearch--saved-overriding-local-map'. (Bug#16035)
3428 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3430 * progmodes/octave.el (inferior-octave-completion-table):
3431 Turn back into function, use `completion-table-with-cache'
3432 (Bug#11906). Update all references.
3434 * minibuffer.el (completion-table-with-cache): New function.
3436 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3438 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3440 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3442 * net/eww.el (eww-current-source): New variable to store page
3444 (eww-display-html, eww-mode, eww-save-history)
3445 (eww-restore-history): Use it.
3446 (eww-view-source): New command to view page source.
3447 Opportunistically uses `html-mode' to highlight the buffer.
3448 (eww-mode-map): Install it.
3450 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3452 * net/dbus.el (dbus-unregister-service)
3453 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3455 (dbus-unregister-service): Skip :serial entries in
3456 `dbus-registered-objects-table'.
3457 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3459 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3461 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3462 around keywords with extra `split-string' argument.
3464 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3466 * windmove.el (windmove-other-window-loc): Handle navigation
3467 between windows (excluding the minibuffer window - Bug#16017).
3469 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3471 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3472 in D-Bus type syntax.
3473 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3474 preserve unibyte strings. (Bug#16048)
3476 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3478 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3479 Call force-mode-line-update is the proper buffer (bug#16042).
3481 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3483 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3484 `log-edit-remember-comment', make argument optional. Adjust all
3486 (log-edit-mode): Add `log-edit-remember-comment' to
3487 `kill-buffer-hook' locally.
3488 (log-edit-kill-buffer): Don't remember comment explicitly since
3489 the buffer is killed anyway.
3491 2013-12-04 Juri Linkov <juri@jurta.org>
3493 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3494 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3496 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3498 * notifications.el (notifications-close-notification): Call the
3499 D-Bus method with ID being a `:uint32'. (Bug#16030)
3501 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3503 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3505 2013-12-03 Juri Linkov <juri@jurta.org>
3507 * progmodes/compile.el (compilation-start): Rename window alist
3508 entry `no-display-ok' to `allow-no-window'.
3510 * simple.el (shell-command): Add window alist entry
3511 `allow-no-window' to `display-buffer'.
3512 (async-shell-command): Doc fix.
3514 * window.el (display-buffer-no-window): New action function.
3515 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3517 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3519 * vc/log-edit.el (log-edit-set-header): Extract from
3520 `log-edit-toggle-header'.
3521 (log-edit-extract-headers): Separate the summary, when extracted
3522 from header, from the rest of the message with an empty line.
3524 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3525 line, if present, to the Summary header.
3527 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3529 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3530 in current-buffer (bug#16029).
3532 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3534 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3535 (debugger-mode-map): Bind it.
3536 (debugger--backtrace-base): New function.
3537 (debugger-eval-expression): Use it.
3538 (debugger-frame-number): Skip local vars when present.
3539 (debugger--locals-visible-p, debugger--insert-locals)
3540 (debugger--show-locals, debugger--hide-locals): New functions.
3542 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3544 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3546 (tramp-get-remote-locale): New defun.
3547 (tramp-open-connection-setup-interactive-shell): Use it.
3549 2013-12-02 Leo Liu <sdl.web@gmail.com>
3551 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3553 * progmodes/sh-script.el (sh-shell-process):
3554 * progmodes/octave.el (inferior-octave-process-live-p):
3555 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3556 (gdb-inferior-io-sentinel):
3557 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3559 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3561 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3562 `save-selected-window' to `log-edit-hide-buf'. This makes
3563 `log-edit-show-files' idempotent.
3564 (log-edit-show-files): Mark the new window as dedicated.
3566 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3568 * vc/log-edit.el (log-edit-mode-map): Add binding for
3569 `log-edit-kill-biffer'.
3570 (log-edit-hide-buf): Add a FIXME comment.
3571 (log-edit-add-new-comment): New function, extracted from
3573 (log-edit-done, log-edit-add-to-changelog): Use it.
3574 (log-edit-kill-buffer): New command.
3576 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3578 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3579 instead of killing the buffer.
3581 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3583 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3585 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3587 * net/eww.el (eww-form-checkbox-selected-symbol)
3588 (eww-form-checkbox-symbol): New customizable variable.
3589 (eww-form-checkbox, eww-toggle-checkbox):
3590 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3592 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3593 (shr--get-media-pref, shr--extract-best-source): New function.
3594 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3595 no :src tag was specified.
3597 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3598 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3599 Use \\` to match beginning of string instead of ^.
3600 (eww-browse-with-external-browser): Provide optional URL parameter.
3601 (eww-render): Set `eww-current-title' back to "".
3603 * net/shr.el (shr-tag-video): Display content for video if no
3604 poster is available.
3605 (shr-tag-audio): Add support for <audio> tag.
3607 * net/eww.el (eww-text-input-types): New const.
3608 (eww-process-text-input): Treat input types in
3609 `eww-text-input-types' as text.
3611 * net/shr.el (shr-tag-table): Fix comment typo.
3613 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3615 * net/eww.el (eww-follow-link): New command to avoid reloading
3616 pages when we follow #target links (bug#15243).
3617 (eww-quit): Special mode buffers shouldn't query before exiting.
3619 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3621 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3624 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3626 * net/eww.el (eww-restore-history): Update the window title after
3627 moving in the history.
3628 (eww-current-dom): New variable used to save the current DOM.
3630 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3632 * vc/log-edit.el (log-edit-mode-map): Add binding for
3633 `log-edit-beginning-of-line'.
3634 (log-edit-setup-add-author): New user option.
3635 (log-edit-beginning-of-line): New command.
3636 (log-edit): Move major mode call above the contents setup so that
3637 the local variable values are already applied.
3638 (log-edit): Only insert "Author: " when
3639 `log-edit-setup-add-author' is non-nil.
3640 (log-edit): When SETUP is non-nil, position point after ": "
3641 instead of point-min.
3643 2013-12-01 Glenn Morris <rgm@gnu.org>
3645 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3647 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3649 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3650 redisplay to make sure the initial frame gets a chance to become
3651 visible. (Bug#16014)
3653 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3655 Support resizing frames and windows pixelwise.
3656 * cus-start.el (frame-resize-pixelwise)
3657 (window-resize-pixelwise): New entries.
3658 * emacs-lisp/debug.el (debug): Use window-total-height instead
3659 of window-total-size.
3660 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3661 * help.el (describe-bindings-internal): Use help-buffer as
3662 argument for with-help-window.
3663 (temp-buffer-max-width): New option.
3664 (resize-temp-buffer-window, help-window-setup)
3665 (with-help-window): Rewrite.
3666 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3668 * window.el (frame-char-size, window-min-pixel-height)
3669 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3670 (window-min-pixel-width, window-safe-min-pixel-size)
3671 (window-combination-p, window-safe-min-size)
3672 (window-resizable-p, window--size-to-pixel)
3673 (window--pixel-to-size, window--resize-apply-p): New functions.
3674 (window-safe-min-height): Fix doc-string.
3675 (window-size, window-min-size, window--min-size-1)
3676 (window-sizable, window-sizable-p, window--min-delta-1)
3677 (window-min-delta, window--max-delta-1, window-max-delta)
3678 (window--resizable, window--resizable-p, window-resizable)
3679 (window-full-height-p, window-full-width-p, window-at-side-p)
3680 (window--in-direction-2, window-in-direction)
3681 (window--resize-reset-1, window--resize-mini-window)
3682 (window-resize, window-resize-no-error)
3683 (window--resize-child-windows-normal)
3684 (window--resize-child-windows, window--resize-siblings)
3685 (window--resize-this-window, window--resize-root-window)
3686 (window--resize-root-window-vertically)
3687 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3688 (maximize-window, minimize-window, delete-window)
3689 (quit-restore-window, window-split-min-size, split-window)
3690 (balance-windows-2, balance-windows)
3691 (balance-windows-area-adjust, balance-windows-area)
3692 (window--state-get-1, window-state-get, window--state-put-1)
3693 (window--state-put-2, window-state-put)
3694 (display-buffer-record-window, window--display-buffer):
3695 Make functions handle pixelwise sizing of windows.
3696 (display-buffer--action-function-custom-type)
3697 (display-buffer-fallback-action):
3698 Add display-buffer-in-previous-window.
3699 (display-buffer-use-some-window): Resize window to height it had
3701 (fit-window-to-buffer-horizontally): New option.
3702 (fit-frame-to-buffer): Describe new values.
3703 (fit-frame-to-buffer-bottom-margin): Replace with
3704 fit-frame-to-buffer-margins.
3705 (window--sanitize-margin): New function.
3706 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3707 using window-text-pixel-size.
3709 2013-11-30 Glenn Morris <rgm@gnu.org>
3711 * emacs-lisp/bytecomp.el (byte-compile-form):
3712 Make the `interactive-only' warning like the `obsolete' one.
3713 * comint.el (comint-run):
3714 * files.el (insert-file-literally, insert-file):
3715 * replace.el (replace-string, replace-regexp):
3716 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3717 (goto-line, insert-buffer, next-line, previous-line):
3718 Tweak `interactive-only' spec.
3720 Stop keeping (most) generated cedet grammar files in the repository.
3721 * Makefile.in (semantic): New.
3722 (compile-main): Depend on semantic.
3724 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3726 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3727 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3729 * uniquify.el (uniquify-buffer-name-style): Change default.
3731 * loadup.el: Preload "uniquify".
3733 * time.el (display-time-update): Update all mode lines (bug#15999).
3735 * electric.el (electric-indent-mode): Enable by default.
3736 * loadup.el: Preload "electric".
3738 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3740 * emacs-lisp/helpers.el (string-empty-p): New function.
3741 (string-blank-p): New function.
3743 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3745 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3748 2013-11-29 Andreas Politz <politza@fh-trier.de>
3749 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3750 allow non-lambda lists as functions.
3751 (imenu--in-alist): Don't recurse into non-subalists.
3752 (imenu): Don't pass function itself as an argument (Bug#14029).
3754 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * progmodes/python.el (python-mode-map): Remove binding for ":".
3757 (python-indent-electric-colon): Remove command.
3758 (python-indent-post-self-insert-function): Integrate the previous code
3759 of python-indent-electric-colon. Make it conditional on
3760 electric-indent-mode.
3761 (python-mode): Add ?: to electric-indent-chars.
3762 Move python-indent-post-self-insert-function to the end of
3763 post-self-insert-hook.
3765 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * doc-view.el (doc-view-goto-page): Update mode-line.
3769 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3771 2013-11-27 Glenn Morris <rgm@gnu.org>
3773 * international/charprop.el, international/uni-bidi.el:
3774 * international/uni-category.el, international/uni-combining.el:
3775 * international/uni-comment.el, international/uni-decimal.el:
3776 * international/uni-decomposition.el, international/uni-digit.el:
3777 * international/uni-lowercase.el, international/uni-mirrored.el:
3778 * international/uni-name.el, international/uni-numeric.el:
3779 * international/uni-old-name.el, international/uni-titlecase.el:
3780 * international/uni-uppercase.el:
3781 Remove generated files from VCS repository.
3783 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3785 * filenotify.el (file-notify-add-watch): Don't special-case
3786 w32notify when computing the directory to watch.
3788 2013-11-27 Glenn Morris <rgm@gnu.org>
3790 Make bootstrap without generated uni-*.el files possible again.
3791 * loadup.el: Update command-line-args checking for unidata-gen.
3792 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3793 * composite.el, international/characters.el:
3794 Handle unicode tables being undefined.
3796 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3797 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3798 (compile-main): Depend on leim rule.
3800 * loadup.el: Move leim-list.el to leim/ subdirectory.
3801 * startup.el (normal-top-level): No more leim directory.
3802 * international/ja-dic-cnv.el (skkdic-convert):
3803 Disable version-control and autoloads in output files.
3804 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3805 Disable version-control and autoloads in output files.
3806 * leim/quail: Move here from ../leim.
3807 * leim/quail/hangul.el (hangul-input-method-activate):
3808 Add autoload cookie.
3809 (generated-autoload-load-name): Set file-local value.
3810 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3811 (generated-autoload-load-name): Set file-local value.
3813 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3815 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3816 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3817 (eww-quit): Ask confirmation before quitting eww.
3819 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3821 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3822 reading output from Diff on MS-Windows and MS-DOS.
3824 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3826 * emacs-lisp/helpers.el (string-reverse): New function.
3828 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3830 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3831 names on MS Windows, like "/[::1]:".
3833 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3836 2013-11-26 Glenn Morris <rgm@gnu.org>
3838 * progmodes/python.el (python-indent-guess-indent-offset):
3839 Avoid corner-case error. (Bug#15975)
3841 Preload leim-list.el. (Bug#4789)
3842 * loadup.el: Load leim-list.el when found.
3843 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3845 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3847 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3849 * emacs-lisp/helpers.el (string-join): New function.
3851 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3853 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3854 Mark as obsolete and replace it with a symbol property.
3855 (byte-compile-form): Use new 'interactive-only property.
3856 * comint.el, files.el, replace.el, simple.el:
3857 Apply new 'interactive-only properly.
3859 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3861 * window.el (display-buffer-at-bottom): Make sure that
3862 split-window-sensibly creates the new window on bottom
3865 2013-11-23 David Kastrup <dak@gnu.org>
3867 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3868 on the conflict markers when available.
3869 (smerge--get-marker): New function.
3870 (smerge-end-re, smerge-base-re): Add subgroup.
3872 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * frame.el (handle-focus-in, handle-focus-out): Add missing
3877 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3879 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3880 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3882 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3885 (gomoku--last-pos): New var.
3886 (gomoku--intangible-chars): New const.
3887 (gomoku--intangible): New function.
3888 (gomoku-mode): Use it. Derive from special-mode.
3889 (gomoku-move-up): Adjust line count.
3890 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3891 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3892 Simplify accordingly.
3894 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3895 Remove blink-cursor code.
3896 (blink-cursor-timer-function, blink-cursor-suspend):
3897 Don't special-case GUIs.
3898 (blink-cursor-mode): Use focus-in/out-hook.
3900 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3902 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3903 work when annotation is invisible (Bug#13886).
3905 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3907 * json.el (json-alist-p): Only return non-nil if the alist has
3908 simple keys (Bug#13518).
3910 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3912 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3913 when control-statement is the first statement in a buffer (Bug#15956).
3915 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3917 * imenu.el (imenu-generic-skip-comments-and-strings):
3918 New option (Bug#15560).
3919 (imenu--generic-function): Use it.
3921 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3923 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3926 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3928 * emacs-lisp/helpers.el: Add some string helpers.
3929 (string-trim-left): Removes leading whitespace.
3930 (string-trim-right): Removes trailing whitespace.
3931 (string-trim): Removes leading and trailing whitespace.
3933 * subr.el (string-suffix-p): New function.
3935 2013-11-23 Glenn Morris <rgm@gnu.org>
3937 * progmodes/python.el (python-shell-send-file):
3938 Add option to delete file when done. (Bug#15647)
3939 (python-shell-send-string, python-shell-send-region): Use it.
3941 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3943 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3944 to set buffer-read-only to t, never to nil. (Bug#15938)
3946 * textmodes/tex-mode.el (latex-noindent-environments):
3947 Add safe-local-variable property. (Bug#15936)
3949 2013-11-23 Glenn Morris <rgm@gnu.org>
3951 * textmodes/enriched.el (enriched-mode): Doc fix.
3952 * emacs-lisp/authors.el (authors-renamed-files-alist):
3953 Add enriched.doc -> enriched.txt.
3955 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3957 2013-11-22 Leo Liu <sdl.web@gmail.com>
3959 * progmodes/octave.el (inferior-octave-startup): Spit out error
3962 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3964 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3967 (ruby-encoding-magic-comment-style): Add :version.
3969 2013-11-22 Leo Liu <sdl.web@gmail.com>
3971 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3973 (octave-help-mode): Adapt to change to help-mode-finish to use
3974 derived-mode-p on 2013-09-17.
3975 (inferior-octave-prompt): Also match octave-gui.
3976 (octave-kill-process): Don't ask twice. (Bug#10564)
3978 2013-11-22 Leo Liu <sdl.web@gmail.com>
3980 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3981 (inferior-octave-startup, inferior-octave-check-process)
3982 (inferior-octave-track-window-width-change)
3983 (octave-completion-at-point, octave-eldoc-function): Use it.
3984 (octave-kill-process): Provide confirmation. (Bug#10564)
3986 2013-11-21 Leo Liu <sdl.web@gmail.com>
3988 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3989 Fix obsolete variable comment-use-global-state.
3991 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3993 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3994 Add `octave-source-file'.
3995 (octave-source-file): New function. (Bug#15935)
3997 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3999 * net/eww.el (eww-local-regex): New variable.
4000 (eww): Use it to detect localhost and similar.
4002 2013-11-21 Leo Liu <sdl.web@gmail.com>
4004 Add completion for command `ag'.
4005 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
4006 (pcomplete/ag): New function.
4007 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
4009 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
4013 (make-obsolete): Remove interactive spec.
4015 2013-11-21 Glenn Morris <rgm@gnu.org>
4017 * startup.el (command-line-1): Use path-separator with -L.
4019 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
4021 * emacs-lisp/package.el (describe-package-1): Add package archive
4024 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
4026 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
4027 Change default to "# encoding: %s" to differentiate it from the
4028 default Ruby encoding comment template.
4030 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
4032 * ses.el (ses-mode): Doc fix. (Bug#14748)
4034 2013-11-20 Leo Liu <sdl.web@gmail.com>
4036 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
4038 2013-11-19 Dan Nicolaescu <dann@gnu.org>
4040 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
4041 when rebase or bisect are in progress.
4043 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
4045 * filenotify.el (file-notify-add-watch): Doc fix.
4047 2013-11-19 Leo Liu <sdl.web@gmail.com>
4049 * obsolete/rcompile.el: Mark obsolete.
4051 * progmodes/compile.el (compilation-start)
4052 (compilation-goto-locus, compilation-find-file):
4053 Pass no-display-ok and handle nil value from display-buffer.
4056 * window.el (display-buffer-alist, display-buffer): Document the
4057 new parameter no-display-ok. Return either a window or nil
4058 but never a non-window value.
4060 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * electric.el (electric-indent-mode-map): Remove.
4063 (electric-indent-mode): Change the global-map instead (bug#15915).
4065 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4068 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4070 * emacs-lisp/nadvice.el (remove-function): Align with
4071 add-function's behavior.
4073 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4074 (gdb--string-regexp): New constant.
4075 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4076 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4077 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4079 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4080 Adjust use accordingly.
4081 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4083 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4085 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4086 interpolation curlies (Bug#15914).
4088 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4090 * calc/calc.el (calc-context-sensitive-enter): New variable.
4091 (calc-enter): Use `calc-context-sensitive-enter'.
4093 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4095 * progmodes/cfengine.el: Version bump.
4096 (cfengine-cf-promises): New defcustom to locate cf-promises.
4097 (cfengine3-vartypes): Add new "data" type.
4098 (cfengine3--current-word): New function to get current name-like
4100 (cfengine3--current-function): New function to look up a CFEngine
4101 function's definition.
4102 (cfengine3-format-function-docstring): New function.
4103 (cfengine3-make-syntax-cache): New function.
4104 (cfengine3-documentation-function): New function: ElDoc glue.
4105 (cfengine3-completion-function): New function: completion glue.
4106 (cfengine3-mode): Set `compile-command',
4107 `eldoc-documentation-function', and add to
4108 `completion-at-point-functions'.
4110 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4112 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4113 `tramp-current-connection'.
4115 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4117 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4118 nil/self/true/false with "end of symbol".
4120 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4122 * subr.el (version-regexp-alist): Fix a typo.
4124 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4126 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4127 "en_US.utf8" and "LC_CTYPE" to "".
4128 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4129 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4131 2013-11-15 Leo Liu <sdl.web@gmail.com>
4133 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4135 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * progmodes/gud.el (ctl-x-map):
4138 Remove C-x SPC binding. (Bug#12342)
4139 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4141 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4143 * subr.el (version-regexp-alist):
4144 Recognize hg, svn and darcs versions as snapshot versions.
4146 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4147 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4148 (ruby--encoding-comment-required-p): Extract from
4149 `ruby-mode-set-encoding'.
4150 (ruby-mode-set-encoding): Add the ability to always insert an
4151 utf-8 encoding comment. Fix and simplify coding comment update
4154 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4156 * net/tramp-gvfs.el (top): Run init code only when
4157 `tramp-gvfs-enabled' is not nil.
4158 (tramp-gvfs-enabled): Check also :system bus.
4160 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4162 Sync with upstream verilog-mode revision 78e66ba.
4163 * progmodes/verilog-mode.el (verilog-end-of-defun)
4164 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4165 (verilog-get-end-of-defun): Remove unused argument.
4166 (verilog-comment-depth): Remove unused local `e'.
4167 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4168 Don't pass arg to verilog-get-end-of-defun.
4170 2013-11-14 Glenn Morris <rgm@gnu.org>
4172 * obsolete/assoc.el (aget): Prefix dynamic variable.
4174 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4176 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * widget.el, hfy-cmap.el: Remove bogus package version number.
4180 2013-11-13 Glenn Morris <rgm@gnu.org>
4182 * replace.el (replace-eval-replacement):
4183 Try to give more helpful error message. (Bug#15836)
4185 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4186 (archive-7z-update): Avoid custom type mismatches.
4188 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4190 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4192 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4193 address can be empty.
4195 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4196 Accept nil SWITCHES.
4197 (tramp-gvfs-handle-write-region): Implement APPEND.
4199 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4201 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4202 binary "|" operator and closing block args delimiter.
4203 Remove FIXME comment referring to Ruby 1.8-only syntax.
4204 (ruby-smie--implicit-semi-p): Not after "|" operator.
4205 (ruby-smie--closing-pipe-p): New function.
4206 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4207 (ruby-smie-rules): Indent after "|".
4209 2013-11-12 Glenn Morris <rgm@gnu.org>
4211 * ps-print.el (ps-face-attribute-list):
4212 Handle anonymous faces. (Bug#15827)
4214 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4216 * window.el (display-buffer-other-frame): Fix doc-string.
4219 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4223 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4226 (tramp-sh-handle-file-local-copy): Don't write a message when
4227 saving temporary files.
4229 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4230 both directories are remote.
4231 (tramp-smb-handle-directory-files): Do not return double entries.
4232 Do not expand full file names.
4233 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4234 (tramp-smb-handle-write-region): Implement APPEND.
4235 (tramp-smb-get-stat-capability): Fix a stupid bug.
4237 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4239 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4241 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4243 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4244 throwing error over malformed let/let* (bug#15814).
4246 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4248 * iswitchb.el (iswitchb-mode): Mark obsolete.
4250 2013-11-11 Glenn Morris <rgm@gnu.org>
4252 * international/uni-bidi.el, international/uni-category.el:
4253 * international/uni-name.el, international/uni-numeric.el:
4254 Regenerate for Unicode 6.3.0.
4256 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4258 * net/tramp.el (tramp-methods):
4259 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4260 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4262 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4264 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4265 Force highlighting text after Summary keyword in doc face for rpm.
4267 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4269 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4270 available and the word has no wildcards, append one to the grep pattern.
4271 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4272 (ispell-complete-word): Call `ispell-lookup-words' with the value
4273 independent of `ispell-look-p'.
4275 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4277 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4279 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4282 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4284 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4285 (ruby-font-lock-keywords): Use backquote.
4287 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4289 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4290 (ruby-smie--backward-token): Only consider full-string matches.
4292 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4294 * faces.el (describe-face): Add distant-foreground.
4296 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4298 * progmodes/ruby-mode.el: Improve encoding comment handling.
4299 (ruby-encoding-magic-comment-style): New option.
4300 (ruby-custom-encoding-magic-comment-template): New option.
4301 (ruby--insert-coding-comment, ruby--detect-encoding):
4302 New functions extracted from `ruby-mode-set-encoding'.
4303 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4304 to control the style of the auto-inserted encoding comment.
4306 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4308 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4309 Use `smie-backward-sexp' with token argument.
4311 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4313 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4314 Remove instrumentation code.
4316 2013-11-08 Glenn Morris <rgm@gnu.org>
4318 * progmodes/autoconf.el (autoconf-mode):
4319 Tweak comment-start-skip. (Bug#15822)
4321 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4324 at bobp (bug#15826).
4325 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4327 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4329 * man.el (Man-start-calling): New macro, extracted from
4330 Man-getpage-in-background.
4331 (Man-getpage-in-background): Use it.
4332 (Man-update-manpage): New command.
4333 (Man-mode-map): Bind it.
4335 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4337 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4338 of "and", "or", "&&" and "||".
4339 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4340 argument. Prohibit opening curly brace because it could only be a
4341 block opener in that position.
4342 (ruby-smie--forward-token, ruby-smie--backward-token):
4343 Separate "|" from "&" or "*" going after it. That can happen in block
4345 (ruby-smie--indent-to-stmt): New function, seeks the end of
4346 previous statement or beginning of buffer.
4347 (ruby-smie-rules): Use it.
4348 (ruby-smie-rules): Check if there's a ":" before a curly block
4349 opener candidate; if there is, it's a hash.
4351 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4354 (cl--block-wrapper): Fix last accidental change.
4356 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4358 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4359 Instrument, in order to hunt failure on hydra.
4361 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4363 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4364 malformed bindings form (bug#15814).
4366 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4368 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4369 "." compared to " @ ". This incidentally fixes some indentation
4371 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4372 (ruby-smie-grammar): New tokens: "and" and "or".
4373 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4374 Exclude "and" and "or". Remove "do" in order to work around token
4376 (ruby-smie-rules): Add all infix tokens. Handle the case of
4377 beginning-of-buffer.
4379 2013-11-06 Glenn Morris <rgm@gnu.org>
4381 * Makefile.in (setwins_almost, setwins_for_subdirs):
4382 Avoid accidental matches.
4384 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * menu-bar.el (popup-menu): Use key-binding.
4388 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4390 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4391 menus, support also the menus produced by minor modes.
4394 2013-11-06 Leo Liu <sdl.web@gmail.com>
4396 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4397 DISTANCE to bound the search. All uses changed. (Bug#15808)
4399 2013-11-06 Glenn Morris <rgm@gnu.org>
4401 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4402 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4403 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4405 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * electric.el (electric-indent-just-newline): New command.
4408 (electric-indent-mode-map): New keymap.
4409 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4410 Re-add :group which weren't redundant.
4412 * electric.el (electric-indent-local-mode): New minor mode.
4413 (electric-indent-functions-without-reindent): New var.
4414 (electric-indent-post-self-insert-function): Use it.
4415 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4417 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4419 * international/quail.el (quail-help): Be more explicit about the
4420 meaning of the labels shown on the keys. (Bug#15800)
4422 * startup.el (normal-top-level): Load the subdirs.el files before
4423 setting the locale environment. (Bug#15805)
4425 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4428 via arguments so as to get the right ones (bug#15418).
4430 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4432 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4434 Fix problems found while writing a test suite.
4436 * net/tramp-compat.el (tramp-compat-load): New defun.
4437 * net/tramp.el (tramp-handle-load): Use it.
4439 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4440 "(numberp ok-if-already-exists)" correctly.
4442 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4444 * international/characters.el (glyphless-char-display-control):
4447 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4449 * progmodes/python.el (python-mode):
4450 * progmodes/scheme.el (scheme-mode):
4451 * progmodes/prolog.el (prolog-mode):
4452 * progmodes/ruby-mode.el (ruby-mode):
4453 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4454 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4456 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * rect.el (rectangle--highlight-for-redisplay):
4459 * emacs-lisp/smie.el (smie--next-indent-change):
4460 Use buffer-chars-modified-tick.
4462 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4464 * electric.el (electric-indent-post-self-insert-function):
4465 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4467 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4469 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4471 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4473 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4476 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4480 * progmodes/python.el: Fix up last change.
4481 (python-shell--save-temp-file): New function.
4482 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4483 `string' comes from the current buffer.
4484 (python-shell-send-string-no-output): Remove `msg' arg.
4485 (python--use-fake-loc): New var.
4486 (python-shell-buffer-substring): Obey it. Try to compensate for the
4487 extra coding line added by python-shell--save-temp-file.
4488 (python-shell-send-region): Use python-shell--save-temp-file and
4489 python-shell-send-file directly. Add `nomain' argument.
4490 (python-shell-send-buffer): Use python-shell-send-region.
4491 (python-electric-pair-string-delimiter): New function.
4492 (python-mode): Use it.
4494 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4496 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4497 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4498 environment and decoding all of the default-directory's to here
4500 (command-line): Decode also argv[0].
4502 * loadup.el: Error out if default-directory is a multibyte string
4503 when we are dumping.
4505 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4507 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4509 * emacs-lisp/package.el (package-menu-mode)
4510 (package-menu--print-info, package-menu--archive-predicate):
4511 Add Archive column to package list.
4513 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4515 Fix problems found while writing a test suite.
4517 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4518 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4519 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4520 to nil when running original file name handler. Otherwise,
4521 there are problems with constructs like "$$FOO".
4523 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4526 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4528 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4530 * subr.el (version<, version<=, version=):
4531 Update docstrings with information for snapshot versions.
4533 * helpers.el: New library for misc helper functions.
4534 (hash-table-keys): New function returning a list of hash keys.
4535 (hash-table-values): New function returning a list of hash values.
4537 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4539 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4540 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4542 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4544 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4545 checking whether point is after a 1-letter word.
4547 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4549 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4550 Don't infloop when expanding region over `multiline' syntax-type that
4551 begins a line (bug#15778).
4553 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4556 Make it into a proper minor mode.
4557 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4558 (rectangle-mark-mode-map): New keymap.
4559 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4561 2013-11-04 Glenn Morris <rgm@gnu.org>
4563 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4565 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4567 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4568 (ruby-smie-rules): Use smie-rule-parent instead.
4570 * emacs-lisp/smie.el (smie-rule-parent): Always call
4571 smie-indent-virtual rather than only for hanging tokens.
4572 (smie--next-indent-change): New helper command.
4574 2013-11-03 Glenn Morris <rgm@gnu.org>
4576 * Makefile.in (abs_srcdir): Remove.
4577 (emacs): Unset EMACSLOADPATH.
4579 2013-11-02 Glenn Morris <rgm@gnu.org>
4581 * Makefile.in (EMACS): Use a relative filename.
4582 (abs_top_builddir): Remove.
4583 (custom-deps, finder-data, autoloads): Use --chdir.
4585 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4587 Use relative filenames in TAGS files.
4588 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4589 (lisptagsfiles4, TAGS): Use relative file names.
4590 (TAGS-LISP): Remove.
4591 (maintainer-clean): No more TAGS-LISP file.
4593 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4594 (lisptagsfiles4): Use absolute filenames again.
4595 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4596 Remove all *loaddefs files, not just the first. Remove esh-groups.
4597 (maintainer-clean): Delete TAGS, TAGS-LISP.
4599 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4601 * emacs-lisp/package.el (package-version-join):
4602 Recognize snapshot versions.
4604 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4606 * subr.el (version-regexp-alist): Add support for snapshot versions.
4608 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4610 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4611 New function, replacement for `smie-rule-parent' for when we want to
4612 skip over our direct parent if it's an assignment token..
4613 (ruby-smie-rules): Use it.
4615 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4617 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4618 unconditionally. Remove now unnecessary forward declarations.
4619 Remove XEmacs-specific setup.
4620 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4621 (ruby-font-lock-syntactic-keywords)
4622 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4623 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4624 (ruby-here-doc-end-syntax): Remove.
4625 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4626 defined as function.
4628 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4630 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4632 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4634 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4635 table and abbrev table, `define-derived-mode' does that for us
4638 2013-11-01 Glenn Morris <rgm@gnu.org>
4640 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4641 files is atomic for some time, so no parallel compilation issues).
4643 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4645 * faces.el (face-x-resources): Add :distant-foreground.
4646 (region): Use :distant-foreground for gtk and ns.
4648 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4650 Allow multiple bibliographies when BibLaTeX is used rather than
4652 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4653 (reftex-locate-bibliography-files): Us it.
4655 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4657 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4658 allow comments in pbm files.
4660 * term/w32-win.el (dynamic-library-alist): Support newer versions
4661 of libjpeg starting with v7: look only for the DLL from the
4662 version against which Emacs was built.
4663 Support versions of libpng beyond 1.4.x.
4664 Support libtiff v4.x.
4666 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4668 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4669 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4671 (ruby-deep-arglist): Add property :type.
4673 2013-10-31 Glenn Morris <rgm@gnu.org>
4675 * Makefile.in (custom-deps, finder-data): No need to setq the target
4676 variables, we are in the right directory and the defaults work fine.
4678 2013-10-30 Glenn Morris <rgm@gnu.org>
4680 * Makefile.in (autoloads): Do not use abs_lisp.
4682 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4683 `newline' does not respect `standard-output', so use `princ'.
4685 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4687 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4688 * buff-menu.el (Buffer-menu--unmark): New function.
4689 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4691 2013-10-30 Glenn Morris <rgm@gnu.org>
4693 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4695 * emacs-lisp/package.el (lm-homepage): Declare.
4697 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4700 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4702 * Makefile.in (finder-data, autoloads, update-subdirs)
4703 (compile-main, compile-clean, compile-always, bootstrap-clean):
4704 Check return value of cd.
4705 (compile-calc): Remove.
4707 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4709 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4711 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4712 (byte-compile-and-folded): New function.
4713 (=, <, >, <=, >=): Use it.
4715 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4716 (path-separator, null-device, buffer-file-coding-system)
4717 (lpr-headers-switches): Check system-type before modifying them.
4718 (find-buffer-file-type-coding-system): Mark obsolete.
4719 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4720 find-file-not-found-set-buffer-file-coding-system.
4721 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4722 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4723 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4724 (w32-direct-print-region-helper, w32-direct-print-region-function)
4725 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4726 * startup.el (normal-top-level-add-subdirs-to-load-path):
4727 * ps-print.el (ps-print-region-function):
4728 * lpr.el (print-region-function): Use new name.
4730 * subr.el (custom-declare-variable-early): Remove function.
4731 (custom-declare-variable-list): Remove var.
4732 (error, user-error): Remove `while' loop.
4733 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4734 (user-emacs-directory-warning, locate-user-emacs-file):
4736 * simple.el (read-quoted-char-radix, read-quoted-char):
4737 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4739 * custom.el (custom-declare-variable-list): Don't process
4740 custom-declare-variable-list.
4742 * progmodes/python.el (python-shell-get-buffer): New function.
4743 (python-shell-get-process): Use it.
4744 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4745 Python which encoding was used. Don't split-string since we only care
4746 about the first line. Return the temp-file, if applicable.
4747 (python-shell-send-region): Tell compile.el how to turn locations in
4748 the temp-file into locations in the source buffer.
4750 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * subr.el (undefined): Add missing behavior from the C code for
4755 * rect.el: Use lexical-binding. Add new rectangular region support.
4756 (rectangle-mark): New command.
4757 (rectangle--region): New var.
4758 (deactivate-mark-hook): Reset rectangle--region.
4759 (rectangle--extract-region, rectangle--insert-for-yank)
4760 (rectangle--highlight-for-redisplay)
4761 (rectangle--unhighlight-for-redisplay): New functions.
4762 (region-extract-function, redisplay-unhighlight-region-function)
4763 (redisplay-highlight-region-function): Use them to handle
4765 * simple.el (region-extract-function): New var.
4766 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4767 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4768 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4769 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4770 (redisplay-unhighlight-region-function)
4771 (redisplay-highlight-region-function): New vars.
4772 (redisplay--update-region-highlight): New function.
4773 (pre-redisplay-function): Use it.
4774 (exchange-point-and-mark): Don't deactivate the mark before
4775 reactivate-it anyway.
4776 * comint.el (comint-kill-region): Remove yank-handler argument.
4777 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4778 (delete-char): Remove property, since it's now part of their
4780 (self-insert-iso): Remove property since this command doesn't exist.
4782 * emacs-lisp/package.el (package--download-one-archive)
4783 (describe-package-1): Don't query the user about final newline.
4785 2013-10-29 Daniel Colascione <dancol@dancol.org>
4787 * net/tramp.el (tramp-methods): Document new functionality.
4788 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4789 tramp-hostname-checker if method provides one instead of scanning
4790 argument list for "%h" to decide hostname acceptability.
4792 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4794 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4795 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4796 Handle COPY-CONTENTS. (Bug#15737)
4798 2013-10-28 Daiki Ueno <ueno@gnu.org>
4801 (epa-file-cache-passphrase-for-symmetric-encryption):
4802 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4804 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4806 * image.el (defimage, image-load-path): Doc fixes.
4808 2013-10-27 Alan Mackenzie <acm@muc.de>
4810 Indent statements in macros following "##" correctly.
4811 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4812 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4814 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4816 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4818 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4820 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4821 after `=' is probably a new expression.
4823 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4825 * man.el (man-imenu-title): New option.
4826 (Man-mode-map): Add menu. (Bug#15722)
4827 (Man-mode): Add imenu to menu.
4829 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4831 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4832 specific in what the first arg can be: a non-keyword word,
4833 string/regexp/percent literal opener, opening paren, or unary
4834 operator followed directly by word.
4836 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4838 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4839 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4840 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4841 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4842 Remove vars, they do not apply any more.
4843 (prolog-mode-abbrev-table): Remove redundant declaration.
4844 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4845 (prolog-use-smie): Remove.
4846 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4847 supported by prolog-electric-if-then-else-flag.
4848 (prolog-mode-variables, prolog-menu): Use setq-local.
4849 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4850 Remove binding to `Backspace' since this key doesn't exist anyway.
4851 Remove bindings for electric self-inserting keys.
4852 (prog-mode): Assume it's defined.
4853 (prolog-post-self-insert): New function.
4854 (prolog-mode): Use it.
4855 (prolog-indent-line, prolog-indent-level)
4856 (prolog-find-indent-of-matching-paren)
4857 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4858 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4859 (prolog-goto-next-paren, prolog-in-string-or-comment)
4860 (prolog-tokenize, prolog-inside-mline-comment)
4861 (prolog-find-start-of-mline-comment): Remove functions.
4862 (prolog-find-unmatched-paren, prolog-clause-end)
4863 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4864 (prolog-electric--if-then-else): Rename from
4865 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4866 (prolog-tokenize-searchkey): Remove const.
4867 (prolog-clause-info): Use forward-sexp.
4868 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4869 (prolog-electric-if-then-else): Remove commands.
4870 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4871 for use in post-self-insert-hook.
4872 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4873 for use in post-self-insert-hook.
4874 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4875 for use in post-self-insert-hook.
4876 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4877 adapt it for use in post-self-insert-hook.
4879 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4881 * emacs-lisp/ert.el (ert-run-tests-interactively):
4882 Use `completing-read'. (Bug#9756)
4884 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4886 * simple.el (line-move): Call line-move-1 instead of
4887 line-move-visual when the current window hscroll is zero, but
4888 temporary-goal-column indicates we will need to hscroll as result
4889 of the movement. (Bug#15712)
4891 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4893 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4894 capitalization. Use :visible instead of :active.
4895 Fix `ruby-indent-exp' reference. Add menu items for the generic
4896 commands that are used with SMIE.
4897 (ruby-do-end-to-brace): Insert space after `{'.
4899 2013-10-25 John Anthony <john@jo.hnanthony.com>
4901 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4903 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4905 2013-10-25 Glenn Morris <rgm@gnu.org>
4907 * vc/vc.el (vc-print-log): Don't use a working revision unless
4908 one was explicitly specified. (Bug#15322)
4910 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * subr.el (add-to-list): Preserve return value in compiler-macro
4915 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4917 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4918 result. Ask user to retry using '-all' flag. (Bug#15701)
4920 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4922 * emacs-lisp/smie.el: New smie-config system.
4923 (smie-config): New defcustom.
4924 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4925 (smie-config-guess, smie-config-save): New commands.
4926 (smie-config--mode-local, smie-config--buffer-local)
4927 (smie-config--trace, smie-config--modefuns): New vars.
4928 (smie-config--advice, smie-config--mode-hook)
4929 (smie-config--setter, smie-config-local, smie-config--get-trace)
4930 (smie-config--guess-value, smie-config--guess): New functions.
4931 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4932 text properties. Treat "string fence" syntax like string syntax.
4934 * progmodes/sh-script.el (sh-use-smie): Change default.
4935 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4936 (sh-var-value): Simplify by CSE.
4937 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4938 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4940 (sh-guess-basic-offset): Use cl-incf.
4941 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4943 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4945 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4948 2013-10-24 Glenn Morris <rgm@gnu.org>
4950 * Makefile.in (abs_top_srcdir): Remove.
4951 (update-subdirs): Use relative path to update-subdirs.
4953 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4955 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4956 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4957 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4958 Call unmsys--file-name before expand-file-name, not after it.
4960 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4962 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4963 (ert-test-skipped): New error.
4964 (ert-skip, ert-stats-skipped): New defuns.
4965 (ert--skip-unless): New macro.
4966 (ert-test-skipped): New struct.
4967 (ert--run-test-debugger, ert-test-result-type-p)
4968 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4969 (ert--stats-set-test-and-result, ert-char-for-test-result)
4970 (ert-string-for-test-result, ert-run-tests-batch)
4971 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4972 Handle skipped tests. (Bug#9803)
4974 2013-10-24 Glenn Morris <rgm@gnu.org>
4976 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4978 * Makefile.in (abs_top_srcdir): New, set by configure.
4979 (update-subdirs): Correct build-aux location.
4981 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4983 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4984 value, whether we could auto-deduce `backend', or not.
4986 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4987 with parameters" example. Simplify the "is it block or is it
4988 hash" check, but also make it more thorough.
4990 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4992 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4994 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4999 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
5002 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
5004 * progmodes/compile.el (compilation-directory-matcher)
5005 (compilation-page-delimiter):
5006 Support GNU Make-4.0 directory quoting. (Bug#15678)
5008 2013-10-23 Leo Liu <sdl.web@gmail.com>
5010 * ido.el (ido-tidy): Handle read-only text.
5012 2013-10-23 Glenn Morris <rgm@gnu.org>
5014 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
5015 (emacs, compile, compile-always):
5016 Quote entities that might contain whitespace.
5017 (custom-deps, finder-data, autoloads): Use abs_lisp.
5018 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5019 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5020 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
5022 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
5024 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
5025 Use `following-char'.
5027 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5029 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
5030 * progmodes/ruby-mode.el (ruby-smie-rules):
5031 Remove corresponding workaround. Fix indentation rule of ";" so it
5032 also applies when ";" is the parent.
5034 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
5036 * frame.el (display-screens, display-pixel-height)
5037 (display-pixel-width, display-mm-width, display-backing-store)
5038 (display-save-under, display-planes, display-color-cells)
5039 (display-visual-class, display-monitor-attributes-list):
5040 Mention the optional ‘display’ argument in doc strings.
5042 2013-10-22 Michael Gauland <mikelygee@amuri.net>
5044 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
5045 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
5047 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5049 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
5050 TODO. Add "." after " @ ".
5051 (ruby-smie--at-dot-call): New function. Checks if point at method
5052 call with explicit target.
5053 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
5054 to the method name tokens when it precedes them.
5055 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
5056 (ruby-smie-rules): Add rule for indentation before and after "."
5059 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * textmodes/remember.el (remember-diary-extract-entries):
5064 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5067 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5069 * progmodes/ruby-mode.el (ruby-smie-grammar):
5070 Add (almost) all infix operators.
5071 (ruby-smie--implicit-semi-p): Add new operator chars.
5073 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5075 (ruby-smie--args-separator-p): Check that there's no newline
5076 between method call and its arguments.
5078 2013-10-20 Alan Mackenzie <acm@muc.de>
5080 Allow comma separated lists after Java "implements".
5082 * progmodes/cc-engine.el (c-backward-over-enum-header):
5084 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5085 from a "disallowed" list in enum fontification.
5087 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5089 * startup.el (default-frame-background-mode): Remove unused defvar.
5091 * progmodes/verilog-mode.el (verilog-mode): Don't set
5092 comment-indent-function globally.
5094 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5096 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5097 Move Info menu item creation to ns-win.el.
5099 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5102 * menu-bar.el: Move GNUstep specific menus...
5104 * term/ns-win.el (ns-initialize-window-system): ... to here.
5106 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5108 * simple.el (newline): Only run post-self-insert-hook when
5109 called interactively.
5111 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5113 * icomplete.el (icomplete-with-completion-tables): Add :version.
5115 2013-10-19 Alan Mackenzie <acm@muc.de>
5117 Fix fontification bugs with constructors and const.
5119 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5120 CASE 2) Remove the check for the absence of a suffix construct
5121 after a function declaration with only types (no identifiers) in
5122 the parentheses. Also, accept a function declaration with just a
5123 type inside the parentheses, if this type can be positively
5124 recognised as such, or if a prefix keyword like "explicit" nails
5125 down the construct as a declaration.
5127 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5129 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5130 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5131 the problem whereby selecting a menu item that leads to a
5132 minibuffer prompt moves the cursor out of the minibuffer window,
5133 making it hard to type at the prompt. Suggested by Stefan Monnier
5134 <monnier@iro.umontreal.ca>.
5136 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5138 * menu-bar.el: Don't make Services menu.
5140 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5142 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5143 (ffap-alist): Use ffap-c++-mode for c++-mode.
5144 (ffap-c++-path): New variable.
5145 (ffap-c++-mode): New function.
5147 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5149 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5151 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5153 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5154 introduced on 2013-09-08, which results in an infinite loop
5155 requesting a password.
5157 2013-10-18 Glenn Morris <rgm@gnu.org>
5159 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5161 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5163 Sync with upstream verilog-mode revision 1a6ecec7.
5164 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5165 (verilog-mode-release-date): Remove.
5166 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5167 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5168 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5169 (verilog-auto-tieoff-ignore-regexp)
5170 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5171 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5172 (verilog-signals-with, verilog-dir-cache-preserving)
5173 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5175 (verilog-case-fold): New option, to control case folding in
5176 regexp searches, bug597.
5177 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5178 (verilog-string-match-fold, verilog-in-paren-count)
5179 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5180 (verilog-at-close-struct-p): New functions.
5181 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5182 (verilog-forward-sexp, verilog-set-auto-endcomments)
5183 (verilog-leap-to-case-head): Handle "unique0" case.
5184 (verilog-in-constraint-re): New constant.
5185 (verilog-keywords, verilog-type-font-keywords):
5186 Add some SystemVerilog 1800-2012 keywords.
5187 (verilog-label-be): Remove unimplemented argument, bug669.
5188 (verilog-batch-execute-func): When batch expanding clear
5189 create-lockfiles to prevent spurious user locks when a file ends
5191 (verilog-calculate-indent, verilog-calc-1)
5192 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5193 (verilog-do-indent): Fix indentation of nested constraints
5195 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5196 (verilog-auto-inst-param): Use verilog-string-match-fold.
5197 (verilog-read-inst-module-matcher):
5198 Fix AUTOINST on gate primitives with #1.
5199 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5200 Reads all user-defined typed variables.
5201 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5202 (verilog-signals-matching-regexp)
5203 (verilog-signals-not-matching-regexp, verilog-auto):
5204 Respect verilog-case-fold.
5205 (verilog-diff-report): Fix line count.
5206 (verilog-auto-assign-modport): Remove unused local `modi'.
5207 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5208 better handle multidimensional arrays.
5209 Fix packed array ports misadding bit index in AUTOINST, bug637.
5210 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5211 to not double-declare existing outputs and inputs, respectively.
5212 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5213 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5214 (verilog-sk-uvm-component): New skeleton.
5215 (verilog-submit-bug-report): Add verilog-case-fold,
5216 remove verilog-mode-release-date.
5218 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5220 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5223 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5225 * textmodes/remember.el (remember): Set buffer-offer-save in
5226 remember buffers (bug#13566).
5228 2013-10-18 Daniel Colascione <dancol@dancol.org>
5230 When evaluating forms in ielm, direct standard output to ielm
5231 buffer. Add new ielm-return-for-effect command. Remove trailing
5232 whitespace throughout.
5234 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5235 (ielm-return-for-effect): New command.
5236 (ielm-send-input): Accept optional `for-effect' parameter.
5237 (ielm-eval-input): Accept optional `for-effect' parameter.
5238 Bind `standard-output' to stream we create using
5239 `ielm-standard-output-impl'. Suppress printing result when
5241 (ielm-standard-output-impl): New function.
5242 (inferior-emacs-lisp-mode): Explain new features in documentation.
5244 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5248 * net/tramp.el (tramp-debug-message): Do not check for connection
5250 (tramp-message): Use "vector" connection property.
5252 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5253 (tramp-equal-remote, tramp-eshell-directory-change)
5254 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5255 (tramp-adb-handle-rename-file)
5256 * net/tramp-cmds.el (tramp-list-remote-buffers)
5257 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5258 * net/tramp-compat.el (tramp-compat-process-running-p)
5259 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5260 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5261 (tramp-gvfs-handle-rename-file)
5262 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5263 (tramp-set-file-uid-gid)
5264 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5265 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5268 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5269 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5270 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5271 (tramp-gw-open-network-stream): Suppress unrelated traces.
5273 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5274 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5276 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5277 connection property.
5279 * net/tramp-cache.el (top): Suppress traces when reading
5282 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5283 Refactor common code. Improve debug message.
5284 (tramp-maybe-open-connection)
5285 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5286 connection buffer too early.
5288 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5289 from `tramp-smb-actions-with-acl'.
5290 (tramp-smb-actions-set-acl): New defconst.
5291 (tramp-smb-handle-copy-directory)
5292 (tramp-smb-action-get-acl): New defun, renamed from
5293 `tramp-smb-action-with-acl'.
5294 (tramp-smb-action-set-acl): New defun.
5295 (tramp-smb-handle-set-file-acl): Rewrite.
5297 2013-10-17 Glenn Morris <rgm@gnu.org>
5299 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5301 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * skeleton.el (skeleton-newline): Remove.
5304 (skeleton-internal-1): Use (insert "\n") instead.
5306 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5309 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5310 forward-sexp-function while we redo its job (bug#15613).
5312 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5314 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5315 represented by lists.
5317 2013-10-16 Glenn Morris <rgm@gnu.org>
5319 * tmm.el (tmm--history): New dynamic variable.
5320 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5322 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5324 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5325 (tramp-smb-errors): Add error messages.
5326 (tramp-smb-actions-with-acl): New defconst.
5327 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5328 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5329 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5330 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5331 (tramp-smb-get-stat-capability): Fix tests.
5333 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5335 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5338 2013-10-16 Glenn Morris <rgm@gnu.org>
5340 * ansi-color.el (ansi-color-drop-regexp):
5341 Add 1J, 1K, 2K. (Bug#15617)
5343 * files.el (hack-local-variables--warned-lexical): New.
5344 (hack-local-variables):
5345 Warn about misplaced lexical-binding. (Bug#15616)
5347 * net/eww.el (eww-render): Always set eww-current-url,
5348 and update header line. (Bug#15622)
5349 (eww-display-html): ... Rather than just doing it here.
5351 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5353 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5354 menu navigations commands.
5356 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5358 * progmodes/subword.el (subword-capitalize): Be careful when
5359 the search for [[:alpha:]] fails (bug#15580).
5361 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5363 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5364 to commands that scroll the menu.
5366 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5368 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5369 Handle methods ending with `?' and `!'.
5371 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5373 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5374 `japanese-cp932' to `cp932' to fix the problem where saving a
5375 source file written in Shift_JIS twice would end up having
5376 `coding: japanese-cp932' which Ruby could not recognize.
5377 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5378 in `ruby-encoding-map'.
5379 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5380 doesn't need to be explicitly declared in magic comment.
5381 (ruby-encoding-map): Add type declaration for better customize UI.
5383 2013-10-13 Glenn Morris <rgm@gnu.org>
5385 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5386 Occur buffers are read-only. http://bugs.debian.org/720775
5388 * emacs-lisp/authors.el (authors-fixed-entries):
5389 Comment out old alpha stuff.
5391 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5393 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5394 to `after-save-hook' instead of `before-save-hook'.
5395 (ruby-mode-set-encoding): Use the value of coding system used to
5396 write the file. Call `basic-save-buffer-1' after modifying the
5399 2013-10-13 Alan Mackenzie <acm@muc.de>
5401 Fix indentation/fontification of Java enum with
5402 "implements"/generic.
5404 * progmodes/cc-engine.el (c-backward-over-enum-header):
5405 Extracted from the three other places and enhanced to handle generics.
5406 (c-inside-bracelist-p): Uses new function above.
5407 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5409 (c-font-lock-enum-tail): Uses new function above.
5411 2013-10-13 Kenichi Handa <handa@gnu.org>
5413 * international/mule-cmds.el (select-safe-coding-system): Remove a
5414 superfluous condition in chekcing whether a coding system is safe
5417 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5419 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5421 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5423 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5425 2013-10-13 Glenn Morris <rgm@gnu.org>
5427 * menu-bar.el (menu-bar-update-buffers):
5428 Unify Buffers menu prompt string. (Bug#15576)
5430 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5432 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5434 (authors-fixed-entries): Use accented form of name.
5436 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5438 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5439 method calls (bug#15594).
5440 (ruby-smie--args-separator-p): New function.
5441 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5442 recognize paren-free method calls.
5444 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5445 internals of universal-argument.
5447 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5449 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5450 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5451 dropped menu on second mouse click on the menu bar.
5453 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5455 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5456 (explicit-shell-file-name): Declare.
5457 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5458 (sh-completion-at-point-function): New function.
5460 (sh-smie--keyword-p): Remove unused argument.
5461 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5463 (sh-set-shell): Always setup SMIE, even if we use the
5464 old indentation code.
5466 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5468 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5470 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5471 predicate would return nil are almost non-existent.
5472 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5474 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5475 cache also after commands that modify the buffer but don't move
5478 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5480 * env.el (substitute-env-in-file-name): New function.
5481 (substitute-env-vars): Extend the meaning of the optional arg.
5483 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5485 * term/w32-win.el (dynamic-library-alist): Define separate lists
5486 of GIF DLLs for versions before and after 5.0.0 of giflib.
5489 2013-10-10 João Távora <joaotavora@gmail.com>
5491 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5492 not locked, use last revision and current source as
5493 defaults. (Bug#15569)
5495 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5497 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5500 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5502 * window.el (pop-to-buffer-same-window): Fix doc-string.
5505 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5509 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5511 * calendar/icalendar.el (icalendar-import-file):
5512 Fix interactive spec. (Bug#15482)
5514 2013-10-10 Glenn Morris <rgm@gnu.org>
5516 * desktop.el (desktop-save): Default to saving in .emacs.d,
5517 since PWD is no longer in desktop-path by default. (Bug#15319)
5519 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5520 now that text mode has a menu with the same entry.
5521 (menu-bar-text-mode-auto-fill): Remove now unused func.
5522 * textmodes/text-mode.el (text-mode-map):
5523 Use auto-fill help text from menu-bar.el.
5525 2013-10-10 John Anthony <john@jo.hnanthony.com>
5527 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5529 2013-10-09 Juri Linkov <juri@jurta.org>
5531 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5532 instead of this-command-keys. Add universal-argument-more and
5533 universal-argument-minus to the list of prefix commands. (Bug#15568)
5535 2013-10-09 Glenn Morris <rgm@gnu.org>
5537 * vc/vc-svn.el (vc-svn-create-repo):
5538 Expand paths in file://... url. (Bug#15446)
5540 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5542 (authors): Remove unused local variables.
5544 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5546 * profiler.el: Create a more coherent calltree from partial backtraces.
5547 (profiler-format): Hide the tail with `invisible' so that C-s can still
5548 find the hidden elements.
5549 (profiler-calltree-depth): Don't recurse so enthusiastically.
5550 (profiler-function-equal): New hash-table-test.
5551 (profiler-calltree-build-unified): New function.
5552 (profiler-calltree-build): Use it.
5553 (profiler-report-make-name-part): Indent the calltree less.
5554 (profiler-report-mode): Add visibility specs for profiler-format.
5555 (profiler-report-expand-entry, profiler-report-toggle-entry):
5556 Expand the whole subtree when provided with a prefix arg.
5558 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5560 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5562 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5563 hanging iuwu-mod token.
5564 (ruby-smie--forward-token): Do not include a dot after a token in
5566 (ruby-smie--backward-token): Likewise.
5568 2013-10-08 Juri Linkov <juri@jurta.org>
5570 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5571 to isearch-other-control-char.
5572 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5573 and isearch-post-command-hook to post-command-hook.
5574 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5575 and isearch-post-command-hook from post-command-hook.
5576 (isearch-unread-key-sequence)
5577 (isearch-reread-key-sequence-naturally)
5578 (isearch-lookup-scroll-key, isearch-other-control-char)
5579 (isearch-other-meta-char): Remove functions.
5580 (isearch-pre-command-hook, isearch-post-command-hook):
5581 New functions based on isearch-other-meta-char rewritten
5582 relying on the new behavior of overriding-terminal-local-map
5583 that does not replace the local keymaps any more. (Bug#15200)
5585 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5587 Support menus on text-mode terminals.
5588 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5591 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5593 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5594 Move here from mouse.el.
5595 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5597 (tty-menu-navigation-map): New map for TTY menu navigation.
5599 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5601 * frame.el (display-mouse-p): Report text-mode mouse as available
5603 (display-popup-menus-p): Report availability if mouse is
5604 available; don't condition on window-system.
5606 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5607 (tty-menu-selected-face): New faces.
5609 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5612 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5613 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5614 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5616 (lisp-mode-variables): New `elisp' argument.
5617 (emacs-lisp-mode): Use it.
5618 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5619 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5621 * indent.el: Use lexical-binding.
5622 (indent-region): Add progress reporter.
5623 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5625 (indent--next-tab-stop): New function to implement this behavior.
5626 (tab-to-tab-stop, move-to-tab-stop): Use it.
5628 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5630 * indent.el (indent-rigidly--current-indentation): New function.
5631 (indent-rigidly-map): New var.
5632 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5634 2013-10-08 Bastien Guerry <bzg@gnu.org>
5636 * register.el (insert-register): Fix 2013-10-07 change.
5638 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * progmodes/perl-mode.el: Use lexical-binding.
5641 Remove redundant :group args.
5642 (perl-nochange): Change default to be closer to other major modes's
5644 (perl-indent-line): Don't consider text on current line as a
5645 valid beginning of function from which to indent.
5647 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5648 with more than one argument (bug#15538).
5650 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5652 * vc/pcvs.el: Use lexical-binding.
5653 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5654 environment of `eval'.
5655 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5656 than a list of expressions. Adjust callers.
5657 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5659 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5661 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5662 case of the dot in a chained method call being on the following line.
5664 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * electric.el (electric-indent-inhibit): New var.
5667 (electric-indent-post-self-insert-function): Use it.
5668 * progmodes/python.el (python-mode): Set it.
5670 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5673 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5675 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5676 (css-mode): Use electric-indent-chars.
5678 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5679 (font-lock-beg, font-lock-end): Move before first use.
5680 (nxml-mode): Use syntax-propertize-function.
5681 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5682 (nxml-extend-after-change-region): Remove.
5683 * nxml/xmltok.el: Use lexical-binding.
5684 (xmltok-save): Use `declare'.
5685 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5686 * nxml/nxml-util.el: Use lexical-binding.
5687 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5689 * nxml/nxml-ns.el: Use lexical-binding.
5690 (nxml-ns-save): Use `declare'.
5691 (nxml-ns-prefixes-for): Avoid add-to-list.
5692 * nxml/rng-match.el: Use lexical-binding.
5693 (rng--ipattern): Use cl-defstruct.
5694 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5695 (rng-cons-group-after, rng-subst-group-after)
5696 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5697 Use closures instead of `(lambda...).
5699 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5701 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5704 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5705 Use `tramp-handle-insert-file-contents'.
5706 (tramp-gvfs-handle-insert-file-contents): Remove function.
5708 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5709 Use `save-restriction' in order to keep markers.
5711 * net/trampver.el: Update release number.
5713 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5715 * progmodes/compile.el (compilation-parse-errors):
5716 Use compilation--put-prop.
5717 (compilation--ensure-parse): Check compilation-multiline.
5719 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5721 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5724 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5726 * progmodes/ruby-mode.el: Fix recently added tests.
5727 (ruby-smie-grammar): Add - and +.
5728 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5729 (ruby-smie--backward-id): New functions.
5730 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5731 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5734 2013-10-07 Leo Liu <sdl.web@gmail.com>
5736 * register.el (register-preview-delay)
5737 (register-preview-functions): New variables.
5738 (register-read-with-preview, register-preview)
5739 (register-describe-oneline): New functions.
5740 (point-to-register, window-configuration-to-register)
5741 (frame-configuration-to-register, jump-to-register)
5742 (number-to-register, view-register, insert-register)
5743 (copy-to-register, append-to-register, prepend-to-register)
5744 (copy-rectangle-to-register): Use register-read-with-preview to
5745 read register. (Bug#15525)
5747 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5749 * net/network-stream.el (network-stream-open-starttls): Don't add
5750 --insecure if it's already present, because that gnutls-cli
5751 rejects getting that parameter twice.
5753 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5755 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5758 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5760 * newcomment.el (comment-use-global-state): Change default value
5761 to t, mark obsolete (Bug#15251).
5762 (comment-beginning): In addition to `comment-to-syntax', check the
5763 value of `comment-use-global-state'.
5765 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5767 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5768 (ruby-comment-column): Follow the global default, by default.
5769 (ruby-smie-grammar): Add assignment syntax.
5770 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5771 open-paren, a comma, or a \.
5772 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5773 and line continuations.
5774 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5775 followed by implicit semi-colons. Add rule for string concatenation
5776 and for indentation at BOB.
5777 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5779 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5780 calling next-sexp, since next-token may have skipped chars which
5781 next-sexp doesn't know should be skipped!
5783 2013-10-05 Leo Liu <sdl.web@gmail.com>
5785 * progmodes/octave.el (octave-send-region):
5786 Call compilation-forget-errors.
5788 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5790 * vc/vc-svn.el (vc-svn-find-admin-dir):
5791 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5792 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5793 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5794 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5796 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5800 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * subr.el (read-passwd): Hide chars even when called within a context
5803 where after-change-functions is disabled (bug#15501).
5804 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5805 until we removed ourself from overriding-terminal-local-map.
5807 2013-10-04 Leo Liu <sdl.web@gmail.com>
5809 * progmodes/octave.el (inferior-octave-mode):
5810 Call compilation-forget-errors.
5812 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5814 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5816 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5818 * net/secrets.el (secrets-create-collection): Add optional
5819 argument ALIAS. Use proper Label keyword. Append ALIAS as
5820 dbus-call-method argument. (Bug#15516)
5822 2013-10-04 Leo Liu <sdl.web@gmail.com>
5824 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5825 (inferior-octave-compilation-font-lock-keywords): New variables.
5826 (compilation-error-regexp-alist)
5827 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5828 (inferior-octave-mode): Use compilation-shell-minor-mode.
5830 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5832 * minibuffer.el (completion--replace): Be careful that `end' might be
5835 2013-10-03 Daiki Ueno <ueno@gnu.org>
5837 Add support for package signature checking.
5838 * emacs-lisp/package.el (url-http-file-exists-p)
5839 (epg-make-context, epg-context-set-home-directory)
5840 (epg-verify-string, epg-context-result-for)
5841 (epg-signature-status, epg-signature-to-string)
5842 (epg-check-configuration, epg-configuration)
5843 (epg-import-keys-from-file): Declare.
5844 (package-check-signature): New user option.
5845 (package-unsigned-archives): New user option.
5846 (package-desc): Add `signed' field.
5847 (package-load-descriptor): Set `signed' field if .signed file exists.
5848 (package--archive-file-exists-p): New function.
5849 (package--check-signature): New function.
5850 (package-install-from-archive): Check package signature.
5851 (package--download-one-archive): Check archive signature.
5852 (package-delete): Remove .signed file.
5853 (package-import-keyring): New command.
5854 (package-refresh-contents): Import default keyring.
5855 (package-desc-status): Add "unsigned" status.
5856 (describe-package-1, package-menu--print-info)
5857 (package-menu-mark-delete, package-menu--find-upgrades)
5858 (package-menu--status-predicate): Support "unsigned" status.
5860 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5863 the new compilation scheme using the new byte-codes.
5865 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5866 (byte-pophandler): New byte codes.
5867 (byte-goto-ops): Adjust accordingly.
5868 (byte-compile--use-old-handlers): New var.
5869 (byte-compile-catch): Use new byte codes depending on
5870 byte-compile--use-old-handlers.
5871 (byte-compile-condition-case--old): Rename from
5872 byte-compile-condition-case.
5873 (byte-compile-condition-case--new): New function.
5874 (byte-compile-condition-case): New function that dispatches depending
5875 on byte-compile--use-old-handlers.
5876 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5879 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5880 Optimize under `condition-case' and `catch' if
5881 byte-compile--use-old-handlers is nil.
5882 (disassemble-offset): Handle new bytecodes.
5884 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * subr.el (error): Use `declare'.
5887 (decode-char, encode-char): Use advertised-calling-convention instead
5888 of the docstring to discourage use of the `restriction' arg.
5890 2013-10-03 Daiki Ueno <ueno@gnu.org>
5892 * epg.el (epg-verify-file): Add a comment saying that it does not
5893 notify verification error as a return value nor a signal.
5894 (epg-verify-string): Ditto.
5896 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5898 * progmodes/compile.el (compilation-start): Try globbing the arg to
5901 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5903 Sync with Tramp 2.2.8.
5905 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5906 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5907 * net/trampver.el: Update release number.
5909 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5911 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5912 and default-process-coding-system for darwin only.
5914 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5918 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5920 * vc/vc-git.el (vc-git-grep): Disable pager.
5922 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5924 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5925 Use :url instead of :homepage, as per
5926 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5928 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5929 non-nil, use `syntax-ppss' (Bug#15251).
5931 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5933 * progmodes/octave.el (inferior-octave-startup-file):
5934 Prefer ~/.emacs.d/init_octave.m.
5936 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5938 * emacs-lisp/package.el (package-desc-from-define):
5939 Accept additional arguments as plist, convert them to an alist and store
5940 them in the `extras' slot.
5941 (package-generate-description-file): Convert extras alist back to
5942 plist and append to the `define-package' form arguments.
5943 (package--alist-to-plist): New function.
5944 (package--ac-desc): Add `extras' slot.
5945 (package--add-to-archive-contents): Check if the archive-contents
5946 vector is long enough, and if it is, pass its `extras' slot value
5947 to `package-desc-create'.
5948 (package-buffer-info): Call `lm-homepage', pass the returned value
5949 to `package-desc-from-define'.
5950 (describe-package-1): Render the homepage button (Bug#13291).
5952 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5953 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5955 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5957 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5958 and default-process-coding-system to utf-8-unix (Bug#15402).
5960 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5962 * subr.el (looking-back): Do not recommend using looking-back.
5964 2013-09-28 Alan Mackenzie <acm@muc.de>
5966 Fix indentation/fontification of Java enum with "implements".
5968 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5969 regexp which matches "implements", etc., in Java.
5970 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5971 specifier clauses coming after "enum".
5972 * progmodes/cc-fonts.el (c-font-lock-declarations)
5973 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5976 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5978 * faces.el (region): Change ns_selection_color to
5979 ns_selection_fg_color, add ns_selection_bg_color.
5981 2013-09-28 Leo Liu <sdl.web@gmail.com>
5983 * progmodes/octave.el (inferior-octave-completion-table)
5984 (inferior-octave-completion-at-point): Minor tweaks.
5986 * textmodes/ispell.el (ispell-lookup-words): Rename from
5987 lookup-words. (Bug#15460)
5988 (lookup-words): Obsolete.
5989 (ispell-complete-word, ispell-command-loop): All uses changed.
5991 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5993 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5994 (octave-mode-menu): Add octave-send-buffer.
5995 (octave-send-buffer): New function.
5997 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5999 * progmodes/octave.el (octave-mode-map): Add key binding for
6001 (octave-mode-menu): Add octave-lookfor.
6002 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
6004 (octave-lookfor): New function.
6006 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
6009 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
6011 (cl--loop-set-iterator-function): New function.
6012 (cl-loop): Adjust accordingly, so as not to use cl-subst.
6013 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
6014 Bind `it' with `let' instead of substituting it with `cl-subst'.
6015 (cl--unused-var-p): New function.
6016 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
6017 Eliminate some unused variable warnings (bug#15326).
6019 2013-09-27 Tassilo Horn <tsdh@gnu.org>
6021 * doc-view.el (doc-view-scale-reset): Rename from
6022 `doc-view-reset-zoom-level'.
6023 (doc-view-scale-adjust): New command.
6024 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
6025 `doc-view-scale-adjust'.
6027 2013-09-26 Tassilo Horn <tsdh@gnu.org>
6029 * doc-view.el (doc-view-reset-zoom-level): New command.
6030 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
6031 zoom commands (bug#15466).
6033 2013-09-26 Kenichi Handa <handa@gnu.org>
6035 * international/quail.el (quail-help): Make it not a command.
6037 2013-09-26 Leo Liu <sdl.web@gmail.com>
6039 * minibuffer.el (completion-all-sorted-completions): Make args
6040 optional as they are.
6042 2013-09-25 Daniel Colascione <dancol@dancol.org>
6044 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
6045 specs are and that they're not evaluated.
6047 2013-09-24 Sam Steingold <sds@gnu.org>
6049 * midnight.el (clean-buffer-list-kill-regexps)
6050 (clean-buffer-list-kill-buffer-names): Update for the new Man
6051 buffer naming which includes the object name.
6053 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6055 * eshell/esh-cmd.el (eshell--sep-terms): New var.
6056 (eshell-parse-command, eshell-parse-pipeline): Use it since
6057 eshell-separate-commands requires a dynamic scoped var.
6058 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
6060 2013-09-23 Leo Liu <sdl.web@gmail.com>
6062 * autoinsert.el (auto-insert-alist): Make the value of
6063 lexical-binding match its file setting.
6065 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6067 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6069 * autoarg.el (autoarg-kp-digit-argument):
6070 * electric.el (Electric-command-loop):
6071 * kmacro.el (kmacro-step-edit-insert):
6072 Do not set universal-argument-num-events.
6074 2013-09-22 Leo Liu <sdl.web@gmail.com>
6076 * files.el (interpreter-mode-alist): Add octave.
6078 2013-09-21 Alan Mackenzie <acm@muc.de>
6080 C++: fontify identifier in declaration following "public:" correctly.
6081 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6082 to match "public", etc.
6083 (c-decl-prefix-re): Add ":" into the C++ value.
6084 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6085 bit. Add a check for a ":" preceded by "public", etc.
6087 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6089 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6090 recognized by GDB 7.5 and later.
6092 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6094 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6096 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6098 * subr.el (internal--call-interactively): New const.
6099 (called-interactively-p): Use it (bug#3984).
6101 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6103 * vc/pcvs.el (cvs-mode-ignore):
6104 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6105 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6107 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6110 (eshell-ls-orig-insert-directory): Remove.
6111 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6112 (eshell-ls-use-in-dired): Use advice-add/remove.
6113 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6114 Add `orig-fun' arg for use in :around advice.
6115 Make it check (redundantly) eshell-ls-use-in-dired.
6117 2013-09-19 Glenn Morris <rgm@gnu.org>
6119 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6121 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6123 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6125 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6127 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6128 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6129 (tramp-get-remote-python): New defuns.
6130 (tramp-get-remote-uid-with-perl)
6131 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6132 contributed by yary <not.com@gmail.com> (tiny change).
6133 (tramp-get-remote-uid-with-python)
6134 (tramp-get-remote-gid-with-python): New defuns. Python code
6135 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6136 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6138 2013-09-19 Glenn Morris <rgm@gnu.org>
6140 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6142 * eshell/em-unix.el (eshell-remove-entries):
6143 Rename argument to avoid name-clash with global `top-level'.
6145 * eshell/esh-proc.el (eshell-kill-process-function):
6146 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6147 (eshell-reset-after-proc): Remove unused arg `proc'.
6149 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6150 (directory-files-and-attributes): Mark unused arg.
6152 * eshell/em-unix.el (eshell-remove-entries):
6153 Remove unused arg `path'. Update callers.
6155 * eshell/em-hist.el (eshell-hist-parse-arguments):
6156 Remove unused arg `silent'. Update callers.
6158 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6159 Fix (f)boundp mix-up.
6161 * eshell/em-smart.el (eshell-smart-scroll-window)
6162 (eshell-disable-after-change):
6163 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6165 2013-09-18 Alan Mackenzie <acm@muc.de>
6167 Fix fontification of type when followed by "const".
6168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6169 "known" types from fontification.
6171 2013-09-18 Glenn Morris <rgm@gnu.org>
6173 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6174 (chart-face-list): Drop Emacsen without display-color-p.
6176 * net/eww.el (libxml-parse-html-region): Declare.
6177 (eww-display-html): Explicit error if no libxml2 support.
6179 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6181 * image.el (image-type-from-buffer, image-multi-frame-p):
6182 Remove --without-x warning/error.
6184 * mouse.el (mouse-yank-primary):
6185 * term.el (term-mouse-paste):
6186 Reorder to silence --without-x compilation.
6188 * mpc.el (doc-view-mode): Silence --without-x compilation.
6190 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6191 Silence --without-x compilation.
6193 * progmodes/gud.el (gud-find-file, gud-mode):
6194 Silence --without-x compilation.
6195 (tooltip-mode): Declare.
6197 * wdired.el (dired-backup-overwrite): Remove declaration.
6198 (wdired-mode-map): Add doc string.
6200 * custom.el (x-get-resource): Declare.
6202 * eshell/em-glob.el (ange-cache):
6203 * eshell/em-unix.el (ange-cache): Declare.
6205 * faces.el (x-display-list, x-open-connection, x-get-resource):
6208 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6209 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6212 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6214 * net/gnutls.el (gnutls-log-level): Declare.
6216 * net/shr.el (image-size, image-animate): Declare.
6218 * simple.el (font-info): Declare.
6220 * subr.el (x-popup-dialog): Declare.
6222 * term/common-win.el (x-select-enable-primary)
6223 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6226 * term/ns-win.el (x-handle-args): Declare.
6228 * term/x-win.el (x-select-enable-clipboard): Declare.
6230 * term/w32-win.el (create-default-fontset): Declare.
6232 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6235 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6236 (fit-frame-to-buffer): Explicit error if --without-x.
6237 (mouse-autoselect-window-select): Silence compiler.
6239 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6241 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6242 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6243 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6244 * eshell/esh-util.el (eshell-sublist):
6245 Remove unused local variables.
6247 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6249 * textmodes/two-column.el: Make 2C-split work for --without-x.
6250 (scroll-bar-columns): Autoload.
6251 (top-level): Require fringe when compiling.
6253 2013-09-18 Leo Liu <sdl.web@gmail.com>
6255 * subr.el (add-hook): Robustify to handle closure as well.
6257 2013-09-17 Glenn Morris <rgm@gnu.org>
6259 * simple.el (messages-buffer-mode-map): Unbind "g".
6261 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6263 * help-mode.el (help-mode-finish): Use derived-mode-p.
6264 Remove obsolete highlighting.
6266 * play/life.el (life-mode): Use define-derived-mode. Derive from
6268 (life): Let-bind inhibit-read-only.
6269 (life-setup): Avoid `setq'. Use `life-mode'.
6271 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6272 which should not be needed any more.
6273 (package-menu-refresh, package-menu-describe-package): Use user-error.
6275 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6276 (eshell-post-rewrite-command-hook): Make obsolete.
6277 (eshell-parse-command): Simplify.
6278 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6279 (eshell--cmd): Declare.
6280 (eshell-parse-pipeline): Remove unused var `final-p'.
6281 Pass a dynvar to eshell-post-rewrite-command-hook.
6282 Implement the new eshell-post-rewrite-command-function.
6283 (eshell-invoke-directly): Remove unused arg `input'.
6284 * eshell/esh-io.el (eshell-io-initialize):
6285 Use eshell-post-rewrite-command-function (bug#15399).
6286 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6287 adjust to new calling convention.
6288 (eshell-create-handles): Rename args to avoid clashing with dynvar
6291 2013-09-17 Glenn Morris <rgm@gnu.org>
6293 * simple.el (messages-buffer-mode): New major mode.
6294 (messages-buffer): New function.
6295 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6296 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6297 (ert-run-test): Use `messages-buffer' function.
6298 (ert--force-message-log-buffer-truncation): Ignore read-only.
6299 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6300 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6302 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6306 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6308 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * icomplete.el (icomplete-in-buffer): New var.
6311 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6312 vars and replace them with functions.
6313 (icomplete-minibuffer-setup): Adjust accordingly.
6314 (icomplete--completion-table, icomplete--completion-predicate)
6315 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6317 (icomplete-forward-completions, icomplete-backward-completions)
6318 (icomplete-simple-completing-p, icomplete-exhibit)
6319 (icomplete-completions): Use them.
6320 (icomplete--in-region-buffer): New var.
6321 (icomplete--in-region-setup): New function.
6322 (icomplete-mode): Use it.
6324 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6326 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6327 return args and options.
6328 (eshell-eval-using-options): Use the new return value of
6329 eshell--do-opts to set the options's vars in their scope.
6330 (eshell--set-option): Rename from eshell-set-option.
6332 (eshell--process-option): Rename from eshell-process-option.
6334 (eshell--process-args): Use an `opt-vals' alist to store the options's
6335 values during their processing and return them additionally to the
6338 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6340 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6341 continuation character an operator, as far as indentation is
6342 concerned (Bug#15369).
6344 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6346 * window.el (window--state-put-2): Don't process buffer state
6347 when buffer doesn't exist any more (Bug#15382).
6349 2013-09-15 Glenn Morris <rgm@gnu.org>
6351 * eshell/em-unix.el (eshell/rm):
6352 Make -f ignore missing files. (Bug#15373)
6354 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6355 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6356 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6358 2013-09-14 Glenn Morris <rgm@gnu.org>
6360 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6362 2013-09-13 Glenn Morris <rgm@gnu.org>
6364 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6365 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6367 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6369 * frame.el (x-focus-frame): Mark as declared in frame.c.
6371 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6373 * ls-lisp.el: Use advice-add.
6374 (original-insert-directory): Remove.
6375 (ls-lisp--insert-directory): Rename from insert-directory; add
6376 `orig-fun' argument.
6377 (insert-directory): Advise.
6379 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6381 * term.el (term-emulate-terminal): Decode the command string
6382 before passing it to term-command-hook. (Bug#15337)
6384 2013-09-13 Glenn Morris <rgm@gnu.org>
6386 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6388 * eshell/esh-ext.el (eshell-search-path): Declare.
6390 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6391 Otherwise an error occurs if eshell-dirs module not loaded.
6393 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6395 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6397 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6398 `tramp-check-proper-host'. Check for a valid method name.
6400 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6401 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6402 * net/tramp-sh.el (tramp-maybe-open-connection):
6403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6405 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6406 also for hash values.
6408 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6410 * term/ns-win.el (parameters): Don't declare as dynamic.
6411 (before-make-frame-hook): Don't add ineffective function.
6413 * eshell/*.el: Use lexical-binding (bug#15231).
6415 2013-09-12 Kenichi Handa <handa@gnu.org>
6417 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6419 2013-09-12 Glenn Morris <rgm@gnu.org>
6421 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6422 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6424 * subr.el (do-after-load-evaluation): Also give compiler warnings
6425 when obsolete files are used (except by obsolete files).
6427 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6428 in the status output, assume `filename' is the first. (Bug#15322)
6430 * vc/vc.el (vc-deduce-fileset): Doc fix.
6432 * calc/calc-help.el (Info-goto-node):
6433 * progmodes/cperl-mode.el (Info-find-node):
6434 * vc/ediff.el (Info-goto-node): Update declarations.
6436 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6438 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6439 (vc-bzr-pull): Require vc-dispatcher.
6440 * vc/vc-git.el (vc-compilation-mode): Declare.
6441 (vc-git-pull): Require vc-dispatcher.
6443 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6445 * progmodes/octave.el (help-button-action): Declare.
6447 * shell.el (shell-directory-tracker): Output error as a message
6448 rather than just returning it as a string.
6449 (shell-process-pushd): Remove useless use of message.
6451 * dframe.el (dframe-timer-fn):
6452 * files.el (dir-locals-read-from-file):
6453 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6455 * reveal.el (reveal-post-command):
6456 * saveplace.el (load-save-place-alist-from-file):
6457 * shell.el (shell-resync-dirs):
6458 * w32-common-fns.el (x-get-selection-value):
6459 * emacs-lisp/copyright.el (copyright-find-copyright):
6460 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6461 * emulation/tpu-edt.el (tpu-copy-keyfile):
6462 * play/bubbles.el (bubbles--mark-neighbourhood):
6463 * progmodes/executable.el
6464 (executable-make-buffer-file-executable-if-script-p):
6465 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6467 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6469 Cleanup Eshell to rely less on dynamic scoping.
6470 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6471 last-value, and ext-command here. Bind `args' closer to `body'.
6472 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6473 (eshell--args): Declare new dynamic var.
6474 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6475 last-value, and ext-command. Pass `args' to `body'.
6476 (eshell-process-args): Bind eshell--args.
6477 (eshell-set-option): Use eshell--args.
6478 * eshell/eshell.el (eshell): Use derived-mode-p.
6479 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6480 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6481 (eshell-glob-function): Declare.
6482 * eshell/esh-util.el: Require cl-lib.
6483 (eshell-read-hosts-file): Avoid add-to-list.
6484 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6486 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6488 (eshell/diff): Remove unused var `err'.
6489 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6491 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6492 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6494 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6495 Move declaration before first use.
6496 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6497 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6500 2013-09-12 Glenn Morris <rgm@gnu.org>
6502 * term/ns-win.el (global-map): Remove binding for ispell-next,
6503 deleted 1999-05-29. (Bug#15357)
6505 2013-09-11 Glenn Morris <rgm@gnu.org>
6507 * echistory.el (electric-command-history): Remove call to deleted func.
6509 * play/landmark.el (landmark-mode): Fix typos.
6511 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6512 Check cvs-sort-ignore-file is bound.
6514 * savehist.el: No need for cl when compiling on Emacs.
6516 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6520 (eshell-self-insert-command, eshell-send-invisible):
6521 Remove unused argument.
6522 (eshell-handle-control-codes): Remove unused var `orig'.
6523 Avoid delete-backward-char.
6525 * files.el (set-auto-mode): Simplify a bit further.
6527 2013-09-11 Glenn Morris <rgm@gnu.org>
6529 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6530 (set-auto-mode): Don't regexp-quote elements.
6531 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6532 * progmodes/cc-mode.el (interpreter-mode-alist):
6533 * progmodes/ruby-mode.el (interpreter-mode-alist):
6534 Revert previous change.
6536 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * play/snake.el (snake-mode):
6539 * play/mpuz.el (mpuz-mode):
6540 * play/landmark.el (lm-mode):
6541 * play/blackbox.el (blackbox-mode):
6542 * play/5x5.el (5x5-mode):
6543 * obsolete/options.el (Edit-options-mode):
6544 * net/quickurl.el (quickurl-list-mode):
6545 * net/newst-treeview.el (newsticker-treeview-mode):
6546 * mail/rmailsum.el (rmail-summary-mode):
6547 * mail/mspools.el (mspools-mode):
6548 * locate.el (locate-mode):
6549 * ibuffer.el (ibuffer-mode):
6550 * emulation/ws-mode.el (wordstar-mode):
6551 * emacs-lisp/debug.el (debugger-mode):
6552 * array.el (array-mode):
6553 * net/eudc.el (eudc-mode): Use define-derived-mode.
6554 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6555 Move initialization into declaration.
6556 (mairix-searches-mode): Use define-derived-mode.
6557 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6558 (eudc-edit-hotlist): Use dolist.
6559 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6560 (Man-mode): Use define-derived-mode.
6561 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6562 (Info-edit-mode): Use define-derived-mode.
6563 (Info-cease-edit): Use Info-mode.
6564 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6566 (eshell-mode): Use define-derived-mode.
6567 * chistory.el (command-history-mode-map): Rename from
6568 command-history-map.
6569 (command-history-mode): Use define-derived-mode.
6570 (Command-history-setup): Remove function.
6571 * calc/calc.el (calc-trail-mode-map): New var.
6572 (calc-trail-mode): Use define-derived-mode.
6573 (calc-trail-buffer): Set calc-main-buffer manually.
6574 * bookmark.el (bookmark-insert-annotation): New function.
6575 (bookmark-edit-annotation): Use it.
6576 (bookmark-edit-annotation-mode): Make it a proper major mode.
6577 (bookmark-send-edited-annotation): Use derived-mode-p.
6578 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6579 closer to its ideal place. Use \' to match EOS.
6581 * profiler.el (profiler-calltree-find): Use function-equal.
6583 2013-09-10 Glenn Morris <rgm@gnu.org>
6585 * files.el (interpreter-mode-alist): Convert to regexps.
6586 (set-auto-mode): Adapt for this. (Bug#15306)
6587 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6588 Comment out unused variable.
6589 * progmodes/cc-mode.el (interpreter-mode-alist):
6590 * progmodes/python.el (interpreter-mode-alist):
6591 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6592 * progmodes/sh-script.el (sh-set-shell):
6593 No longer use interpreter-mode-alist to get list of shells.
6595 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6597 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6599 * simple.el: Use set-temporary-overlay-map for universal-argument.
6600 (universal-argument-map): Don't use default-bindings (bug#15317).
6601 Bind switch-frame explicitly. Replace universal-argument-minus with
6602 a conditional binding.
6603 (universal-argument-num-events, saved-overriding-map): Remove.
6604 (restore-overriding-map): Remove.
6605 (universal-argument--mode): Rename from save&set-overriding-map,
6607 (universal-argument, universal-argument-more, negative-argument)
6608 (digit-argument): Adjust accordingly.
6609 (universal-argument-minus): Remove.
6610 (universal-argument-other-key): Remove.
6612 * subr.el (with-demoted-errors): Add `format' argument.
6614 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6616 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6617 `tramp-cleanup-connection'.
6619 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6620 parameters KEEP-DEBUG and KEEP-PASSWORD.
6622 * net/tramp.el (tramp-file-name-handler):
6623 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6624 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6625 (tramp-maybe-open-connection):
6626 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6627 Use `tramp-cleanup-connection'.
6629 * net/tramp-sh.el (tramp-maybe-open-connection):
6630 Catch 'uname-changed inside the progress reporter.
6632 2013-09-10 Glenn Morris <rgm@gnu.org>
6634 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6636 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6637 returns "alternate access method" in mode (eg "-rw-r--r--.").
6639 2013-09-08 Glenn Morris <rgm@gnu.org>
6641 * saveplace.el (load-save-place-alist-from-file):
6642 Demote errors. (Bug#15305)
6644 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6646 Improve compatibility with older Emacsen, and XEmacs.
6648 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6649 only if it is bound. It isn't for XEmacs.
6650 (with-tramp-progress-reporter): Do not let-bind `result'.
6651 This yields to scoping errors in XEmacs.
6652 (tramp-handle-make-auto-save-file-name): New function, moved from
6655 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6656 for `make-auto-save-file-name'.
6657 (tramp-adb--gnu-switches-to-ash):
6658 Use `tramp-compat-replace-regexp-in-string'.
6660 * net/tramp-cache.el (tramp-cache-print): Call
6661 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6663 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6664 bound. It isn't for XEmacs.
6666 * net/tramp-compat.el (tramp-compat-copy-file):
6667 Catch `wrong-number-of-arguments' error.
6668 (tramp-compat-replace-regexp-in-string): New defun.
6670 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6671 for `make-auto-save-file-name'.
6672 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6674 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6675 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6676 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6678 * net/tramp-gw.el (tramp-gw-open-network-stream):
6679 Use `tramp-compat-replace-regexp-in-string'.
6681 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6682 Call `tramp-handle-make-auto-save-file-name'.
6683 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6684 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6685 (tramp-sh-file-inotifywait-process-filter):
6686 Use `tramp-compat-replace-regexp-in-string'.
6687 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6689 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6690 for `make-auto-save-file-name'.
6691 (tramp-smb-handle-copy-directory):
6692 Call `tramp-compat-replace-regexp-in-string'.
6693 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6694 (tramp-smb-handle-copy-file): Improve error message.
6695 (tramp-smb-handle-rename-file): Rename directly only in case
6696 `newname' does not exist yet. This is a restriction of smbclient.
6697 (tramp-smb-maybe-open-connection): Rerun the function only when
6698 `auth-sources' is non-nil.
6700 2013-09-08 Kenichi Handa <handa@gnu.org>
6702 * international/characters.el: Set category "^" (Combining) for
6705 2013-09-07 Alan Mackenzie <acm@muc.de>
6707 Correctly fontify Java class constructors.
6708 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6710 (c-recognize-typeless-decls): Set the Java value to t.
6711 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6712 While handling a "(", add a check for, effectively, Java, and handle a
6713 "typeless" declaration there.
6715 2013-09-07 Roland Winkler <winkler@gnu.org>
6717 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6718 field subtitle for entry type book.
6720 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6722 * minibuffer.el: Make minibuffer-complete call completion-in-region
6723 rather than other way around.
6724 (completion--some, completion-pcm--find-all-completions):
6725 Don't delay signals when debugging.
6726 (minibuffer-completion-contents): Beware fields within the
6727 minibuffer contents.
6728 (completion-all-sorted-completions): Use defvar-local.
6729 (completion--do-completion, completion--cache-all-sorted-completions)
6730 (completion-all-sorted-completions, minibuffer-force-complete):
6731 Add args `beg' and `end'.
6732 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6733 (minibuffer-complete): Use completion-in-region.
6734 (completion-complete-and-exit): New fun, extracted from
6735 minibuffer-complete-and-exit.
6736 (minibuffer-complete-and-exit): Use it.
6737 (completion--complete-and-exit): Rename from
6738 minibuffer--complete-and-exit.
6739 (completion-in-region--single-word): New function, extracted from
6740 minibuffer-complete-word.
6741 (minibuffer-complete-word): Use it.
6742 (display-completion-list): Make `common-substring' argument obsolete.
6743 (completion--in-region): Call completion--in-region-1 instead of
6744 minibuffer-complete.
6745 (completion-help-at-point): Pass boundaries to
6746 minibuffer-completion-help as args rather than via an overlay.
6747 (completion-pcm--string->pattern): Use `any-delim'.
6748 (completion-pcm--optimize-pattern): New function.
6749 (completion-pcm--pattern->regex): Handle `any-delim'.
6750 * icomplete.el (icomplete-forward-completions)
6751 (icomplete-backward-completions, icomplete-completions):
6752 Adjust calls to completion-all-sorted-completions and
6753 completion--cache-all-sorted-completions.
6754 (icomplete-with-completion-tables): Default to t.
6755 * emacs-lisp/crm.el (crm--current-element): Rename from
6756 crm--select-current-element. Don't put an overlay but return the
6758 (crm--completion-command): Take two new args to bind to the boundaries.
6759 (crm-completion-help): Adjust accordingly.
6760 (crm-complete): Use completion-in-region.
6761 (crm-complete-word): Use completion-in-region--single-word.
6762 (crm-complete-and-exit): Use completion-complete-and-exit.
6764 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6766 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6769 2013-09-06 Juri Linkov <juri@jurta.org>
6771 * info.el (Info-display-images-node): When image file doesn't exist
6772 display text version of the image if it's provided in the Info file.
6773 Otherwise, display the location of missing image from SRC attribute.
6774 Add help-echo text property from ALT attribute. (Bug#15279)
6776 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6778 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6779 (edit-abbrevs-mode): Use define-derived-mode.
6781 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6782 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6784 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6785 Use define-derived-mode.
6787 * epg.el (epg-start-encrypt): Minor CSE simplification.
6789 2013-09-06 William Xu <william.xwl@gmail.com>
6791 * arc-mode.el: Add support for 7za (bug#15264).
6792 (archive-7z-program): New var.
6793 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6794 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6795 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6797 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6801 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6802 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6803 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6804 (tramp-postfix-host-format, tramp-file-name-regexp)
6805 (tramp-completion-file-name-regexp)
6806 (tramp-completion-dissect-file-name)
6807 (tramp-handle-substitute-in-file-name): Remove 'url case.
6808 (tramp-file-name-regexp-url)
6809 (tramp-completion-file-name-regexp-url): Remove constants.
6811 2013-09-06 Glenn Morris <rgm@gnu.org>
6813 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6815 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6818 keywords" below "here-doc beginnings" (Bug#15270).
6820 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6822 * subr.el (pop): Use `car-safe'.
6823 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6824 to detect unused `pop' return value.
6826 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6828 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6829 (python-fill-string): Remove unused var `marker'.
6830 (python-skeleton-add-menu-items): Remove unused var `items'.
6832 * international/mule-cmds.el: Require CL.
6833 (find-coding-systems-for-charsets): Avoid add-to-list.
6834 (sanitize-coding-system-list): New function, extracted from
6835 select-safe-coding-system-interactively.
6836 (select-safe-coding-system-interactively): Use it.
6837 (read-input-method-name): Accept symbols for `default'.
6839 * emacs-lisp/advice.el (defadvice): Add indent rule.
6841 2013-09-05 Daniel Hackney <dan@haxney.org>
6845 * net/browse-url.el:
6848 * net/eudcb-ldap.el:
6861 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6862 byte compiler. Remove some unused let-bound variables.
6864 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6866 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6867 a "ref-cell", since it gets better optimized (bug#14883).
6869 2013-09-05 Glenn Morris <rgm@gnu.org>
6871 * progmodes/cc-awk.el (c-forward-sws): Declare.
6873 2013-09-04 Glenn Morris <rgm@gnu.org>
6875 * generic-x.el [rul-generic-mode]: Require cc-mode.
6876 (c++-mode-syntax-table): Declare.
6877 (rul-generic-mode-syntax-table): Init in the defvar.
6879 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6881 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6882 (vc-do-command, vc-set-async-update):
6883 * vc/vc-mtn.el (vc-mtn-dir-status):
6884 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6885 (vc-hg-pull, vc-hg-merge-branch):
6886 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6887 (vc-git-merge-branch):
6888 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6889 (vc-cvs-dir-status-files):
6890 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6891 (vc-bzr-dir-status-files):
6892 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6893 * vc/vc-annotate.el: Use lexical-binding.
6894 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6895 (vc-sentinel-movepoint): Declare.
6896 (vc-annotate): Don't use `goto-line'.
6897 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6898 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6899 (vc-sentinel-movepoint): Declare.
6900 * vc/vc-svn.el: Use lexical-binding.
6901 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6903 * vc/vc-rcs.el: Use lexical-binding.
6905 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6906 `deleted'. Don't drop errors silently.
6908 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6910 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6912 * vc/vc.el (vc-ignore): Rewrite.
6913 (vc-default-ignore): New function.
6914 (vc-default-ignore-completion-table): Use find-ignore-file.
6916 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6917 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6918 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6919 Remove. Most code moved to vc.el.
6921 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6924 * net/tramp-smb.el (tramp-smb-get-file-entries):
6925 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6926 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6928 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6930 (eww-change-select): Remove unused var `properties'.
6931 (eww-make-unique-file-name): Remove unused var `base'.
6933 * finder.el (finder-compile-keywords): Don't mess with windows.
6935 * calculator.el (calculator-funcall): Fix typo in last change.
6937 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6939 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6940 <pkg>-autoloads.el file stop us.
6942 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6943 warnings, and factor out common code.
6945 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6947 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6948 two-character operators and whether the character preceding them
6949 changes their meaning (Bug#15208).
6951 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6953 Format code sent to Python shell for robustness.
6954 * progmodes/python.el (python-shell-buffer-substring):
6956 (python-shell-send-region, python-shell-send-buffer): Use it.
6958 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6960 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6961 * net/tramp.el (tramp-user-error): ... here.
6962 (tramp-find-method, tramp-check-proper-host)
6963 (tramp-dissect-file-name, tramp-debug-message)
6964 (tramp-handle-shell-command):
6965 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6968 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6970 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6972 * avoid.el (mouse-avoidance-point-position)
6973 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6976 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6978 * progmodes/python.el (python-shell-completion-get-completions):
6979 Drop use of deleted `comint-last-prompt-overlay'.
6980 (python-nav-if-name-main): New command.
6982 2013-09-01 Glenn Morris <rgm@gnu.org>
6984 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6985 Avoid leading space in $wins. Otherwise the sed command used by
6986 eg compile-main ends up containing "/*.el". (Bug#15170)
6988 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6990 2013-08-30 Glenn Morris <rgm@gnu.org>
6992 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6993 Fix is-this-a-directory logic. (Bug#15220)
6995 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6997 * textmodes/css-mode.el: Use SMIE.
6998 (css-smie-grammar): New var.
6999 (css-smie--forward-token, css-smie--backward-token)
7000 (css-smie-rules): New functions.
7001 (css-mode): Use them.
7002 (css-navigation-syntax-table): Remove var.
7003 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
7004 (css-indent-calculate, css-indent-line): Remove functions.
7006 Misc changes to reduce use of `(lambda...); and other cleanups.
7007 * cus-edit.el: Use lexical-binding.
7008 (customize-push-and-save, customize-apropos)
7009 (custom-buffer-create-internal): Use closures.
7010 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
7011 * progmodes/ada-xref.el: Use setq.
7012 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
7013 * dframe.el: Use lexical-binding.
7014 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
7015 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
7016 * descr-text.el: Use lexical-binding.
7017 (describe-text-widget, describe-text-sexp, describe-property-list):
7019 * comint.el (comint-history-isearch-push-state): Use a closure.
7020 * calculator.el: Use lexical-binding.
7021 (calculator-number-to-string): Make it work with lexical-binding.
7022 (calculator-funcall): Same and use cl-letf.
7024 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
7025 (lisp--company-doc-string, lisp--company-location): New functions.
7026 (lisp-completion-at-point): Use them to improve Company support.
7028 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
7029 params of lambda expressions.
7030 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
7031 (ruby-smie--opening-pipe-p): New function.
7032 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
7033 symbols and matched |...| for formal params.
7034 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
7035 from being treated as hanging. Handle "rescue".
7037 2013-08-29 Glenn Morris <rgm@gnu.org>
7039 * progmodes/cc-engine.el (c-pull-open-brace):
7040 Move definition before use.
7042 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7044 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
7045 are immutable. Don't use `unsafe' any more.
7046 (cl--defsubst-expand): Don't substitute at the same time as keeping
7047 a residual unused let-binding. Don't use `unsafe' any more.
7049 2013-08-29 Glenn Morris <rgm@gnu.org>
7051 * calendar/cal-china.el (calendar-chinese-year-cache):
7054 * nxml/nxml-util.el (nxml-debug-clear-inside):
7055 Use cl-loop rather than loop.
7057 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
7059 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
7061 2013-08-28 Glenn Morris <rgm@gnu.org>
7063 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7065 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7067 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7069 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * simple.el (repeat-complex-command--called-interactively-skip):
7073 (repeat-complex-command): Use it (bug#14136).
7075 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7076 (c-define-abbrev-table): Add `doc' argument.
7077 (c-mode-abbrev-table, c++-mode-abbrev-table)
7078 (objc-mode-abbrev-table, java-mode-abbrev-table)
7079 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7080 (awk-mode-abbrev-table): Use it.
7081 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7082 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7083 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7084 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7085 Move initialization into the declaration; and remove any
7088 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7089 and dynamic let binding.
7091 * vc/smerge-mode.el: Remove redundant :group args.
7093 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7096 2013-08-28 Juri Linkov <juri@jurta.org>
7098 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7099 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7100 (isearch-other-meta-char): Handle an undefined shifted printing
7101 character by downshifting it. (Bug#15200)
7103 2013-08-28 Juri Linkov <juri@jurta.org>
7105 * isearch.el (isearch-search): Change regexp error message for
7106 non-regexp searches. (Bug#15166)
7108 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7110 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7111 for portability to hosts where /bin/sh has problems.
7113 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7117 2013-08-27 Juri Linkov <juri@jurta.org>
7119 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7120 in the keyboard macro. (Bug#15126)
7122 2013-08-27 Juri Linkov <juri@jurta.org>
7124 * isearch.el (isearch-quote-char): Comment out converting unibyte
7125 to multibyte, thus syncing with its `quoted-insert' counterpart.
7128 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7130 * window.el (display-buffer-use-some-window): Add missing
7131 argument in call of get-largest-window (Bug#15185).
7132 Reported by Stephen Leake.
7134 2013-08-27 Glenn Morris <rgm@gnu.org>
7136 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7138 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7140 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7141 from a matcher-function unless there's no more matches (bug#15161).
7143 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7145 * minibuffer.el: Revert change from 2013-08-20.
7147 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7148 with text property `tramp-default', if appropriate.
7149 (tramp-check-proper-host): New defun.
7150 (tramp-dissect-file-name): Do not check hostname. Revert change
7152 (tramp-backtrace): Make VEC-OR-PROC optional.
7154 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7155 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7156 * net/tramp-sh.el (tramp-maybe-open-connection):
7157 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7158 Apply `tramp-check-proper-host'.
7160 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7162 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7163 lambda expression in order to have `describe-variable' display it.
7165 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7167 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7168 BUF can be optional. (Bug#15186)
7170 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7172 * progmodes/flymake.el (flymake-get-real-file-name-function):
7173 Fix broken customization. (Bug#15184)
7175 2013-08-25 Alan Mackenzie <acm@muc.de>
7177 Improve indentation of bracelists defined by macros (without "=").
7179 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7180 expansion begins with "{", regard it as bracelist when it doesn't
7183 Parse C++ inher-intro when there's a template split over 2 lines.
7185 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7186 rigorously the search for "class" etc. followed by ":".
7188 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7189 random languages a regexp which never matches rather than nil.
7191 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7193 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7194 (c-awk-regexp-one-line-possibly-open-char-list-re)
7195 (c-awk-one-line-possibly-open-regexp-re)
7196 (c-awk-one-line-non-syn-ws*-re): Remove.
7197 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7198 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7199 (c-awk-space*-unclosed-regexp-/-re): New constants.
7200 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7201 aren't regexp delimiters.
7203 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7204 handling for a rare situation in AWK Mode involving unterminated
7207 2013-08-23 Glenn Morris <rgm@gnu.org>
7209 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7211 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7213 * files.el (create-file-buffer): If the result would begin with
7214 spaces, prepend a "|" instead of removing them. (Bug#15162)
7216 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7218 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7219 text-properties (bug#15155).
7221 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7223 (calc-keypad-redraw): Remove unused var `pad'.
7224 (calc-keypad-press): Remove unused var `menu'.
7226 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7228 * window.el (display-buffer-pop-up-frame):
7229 Call pop-up-frame-function with BUFFER current so `make-frame' will
7230 use it as the new frame's buffer (Bug#15133).
7232 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * calendar/timeclock.el: Minor cleanups.
7235 (timeclock-ask-before-exiting, timeclock-use-display-time):
7237 (timeclock-modeline-display): Define as alias before the
7239 (timeclock-mode-line-display): Use define-minor-mode.
7240 (timeclock-day-list-template): Make it a function, add an argument.
7241 (timeclock-day-list-required, timeclock-day-list-length)
7242 (timeclock-day-list-debt, timeclock-day-list-span)
7243 (timeclock-day-list-break): Adjust calls accordingly.
7245 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7248 Use read--expression so that completion works again.
7250 2013-08-21 Sam Steingold <sds@gnu.org>
7252 Add rudimentary inferior shell interaction
7253 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7254 (sh-set-shell): Reset it.
7255 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7256 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7258 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * align.el: Use lexical-binding.
7261 (align-region): Simplify accordingly.
7263 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7265 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7267 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7270 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7274 * net/tramp-cmds.el:
7276 * net/tramp-gvfs.el:
7278 * net/tramp-sh.el: Don't wrap external variable declarations by
7279 `eval-when-compile'.
7281 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7283 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7284 now that Emacs supports ImageMagick animations.
7286 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7288 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7289 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7291 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7293 * window.el (mouse-autoselect-window-select): Do autoselect when
7294 mouse pointer is on margin.
7296 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7298 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7300 2013-08-16 Glenn Morris <rgm@gnu.org>
7302 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7303 Handle "Remote Directory" response of some clients. (Bug#15058)
7305 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7306 Tweak warning. (Bug#14926)
7308 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7309 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7311 * image-mode.el (image-mode-map): Add menu items to reverse,
7312 increase, decrease, reset animation speed.
7313 (image--set-speed, image-increase-speed, image-decrease-speed)
7314 (image-reverse-speed, image-reset-speed): New functions.
7315 (image-mode-map): Add bindings for speed commands.
7317 * image.el (image-animate-get-speed, image-animate-set-speed):
7319 (image-animate-timeout): Respect image :speed property.
7321 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7323 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7324 previous line (bug#15101).
7325 (debugger-eval-expression, debugger-record-expression):
7326 Use read--expression (bug#15102).
7328 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7330 Remove byte compiler warnings, visible when compiling with
7331 `byte-compile-force-lexical-warnings' set to t.
7333 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7334 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7335 (tramp-handle-unhandled-file-name-directory)
7336 (tramp-handle-file-notify-add-watch, tramp-action-login)
7337 (tramp-action-succeed, tramp-action-permission-denied)
7338 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7341 * net/tramp-adb.el (tramp-adb-parse-device-names)
7342 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7343 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7344 (tramp-adb-handle-file-truename): Remove unused arguments.
7346 * net/tramp-cache.el (tramp-flush-directory-property)
7347 (tramp-flush-connection-property, tramp-list-connections)
7348 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7350 * net/tramp-compat.el (tramp-compat-make-temp-file):
7351 Rename FILENAME to F.
7353 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7354 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7355 (tramp-zeroconf-parse-workstation-device-names)
7356 (tramp-zeroconf-parse-webdav-device-names)
7357 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7359 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7360 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7362 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7364 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7365 (tramp-sh-handle-insert-file-contents-literally)
7366 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7368 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7369 Remove unused variables.
7371 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7372 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7373 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7375 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7376 Make them a defconst.
7377 (tramp-uuencode-region): Remove unused variable.
7379 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7381 * frameset.el (frameset--prop-setter): New function.
7382 (frameset-prop): Add gv-setter declaration.
7383 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7384 parameter was already set in FILTERED. Doc fix.
7385 (frameset--record-minibuffer-relationships): Allow saving a
7386 minibufferless frame without its corresponding minibuffer frame.
7387 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7388 frame, if the frame id matches.
7389 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7390 frames before orphaned ones.
7391 (frameset-restore): Warn about orphaned windows, instead of error out.
7393 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7395 * window.el (window-make-atom): Don't overwrite parameter
7397 (display-buffer-in-atom-window): Handle special case where we
7398 split an already atomic window.
7399 (window--major-non-side-window, display-buffer-in-side-window)
7400 (window--side-check): Ignore minibuffer window when walking
7402 (window-deletable-p): Return 'frame only if no other frame uses
7403 our minibuffer window.
7404 (record-window-buffer): Run buffer-list-update-hook.
7405 (split-window): Make sure window--check-frame won't destroy an
7406 existing atomic window in case the new window gets nested
7408 (display-buffer-at-bottom): Ignore minibuffer window when
7409 walking window tree. Don't split a side window.
7410 (pop-to-buffer): Don't set-buffer here, the select-window call
7412 (mouse-autoselect-window-select): Autoselect only if we are in the
7413 text portion of the window.
7415 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7417 * net/shr.el (shr-parse-image-data): New function to grab both the
7418 data itself and the Content-Type.
7419 (shr-put-image): Use it.
7421 * net/eww.el (eww-display-image): Ditto.
7423 * image.el (image-content-type-suffixes): New variable.
7425 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7427 * progmodes/python.el (python-imenu--build-tree)
7428 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7430 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7432 * simple.el (backward-word): Mention the optional argument.
7434 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7436 * frameset.el (frameset--make): Rename constructor from make-frameset.
7437 (frameset-p, frameset-valid-p): Don't autoload.
7438 (frameset-valid-p): Use normal accessors.
7440 2013-08-13 Glenn Morris <rgm@gnu.org>
7442 * progmodes/compile.el (compile-command): Tweak example in doc.
7443 * obsolete/scribe.el (scribe-mode):
7444 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7446 * mail/feedmail.el (feedmail-confirm-outgoing)
7447 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7449 * cus-start.el (truncate-partial-width-windows): Fix type.
7451 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7453 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7455 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7457 * emacs-lisp/timer.el (timer--time-setter): New function.
7458 (timer--time): Use it as gv-setter.
7460 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7461 setter is not a symbol.
7463 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7465 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7466 if sending fails. This makes debugging easier.
7468 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7470 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7471 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7472 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7474 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7476 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7478 2013-08-12 Glenn Morris <rgm@gnu.org>
7480 * format.el (format-annotate-function):
7481 Handle read-only text properties in the source. (Bug#14887)
7483 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7485 * net/eww.el (eww-display-html): Ignore coding system errors.
7486 One web site uses "utf-8lias" as the coding system.
7488 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7490 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7492 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7494 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7495 (tutorial--detailed-help): Remove unused local variables.
7496 (tutorial--save-tutorial-to): Use ignore-errors.
7497 (help-with-tutorial): Use looking-at-p.
7499 * view.el (view-buffer-other-window, view-buffer-other-frame):
7500 Mark unused arguments.
7502 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7503 (woman-select-symbol-fonts, woman, woman-find-file)
7504 (woman-insert-file-contents, woman-non-underline-faces):
7506 (woman1-unquote): Move declaration.
7508 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7509 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7510 argument. Remove unused local variable.
7511 (xml-parse-elem-type): Use string-match-p.
7512 (xml-substitute-numeric-entities): Use ignore-errors.
7514 * calculator.el (calculator): Mark unused argument.
7515 (calculator-paste, calculator-quit, calculator-integer-p):
7517 (calculator-string-to-number, calculator-decimal, calculator-exp)
7518 (calculator-op-or-exp): Use string-match-p.
7520 * dired.el (dired-buffer-more-recently-used-p): Declare.
7521 (dired-insert-set-properties, dired-insert-old-subdirs):
7524 * dired-aux.el (dired-compress): Use ignore-errors.
7525 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7526 (dired-do-async-shell-command, dired-do-shell-command)
7527 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7528 (dired-insert-subdir-validate): Use string-match-p.
7529 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7530 (dired-add-entry): Use string-match-p, looking-at-p.
7531 (dired-insert-subdir-newpos): Remove unused local variable.
7533 * filenotify.el (file-notify-callback): Remove unused local variable.
7535 * filesets.el (filesets-error): Mark unused argument.
7536 (filesets-which-command-p, filesets-filter-dir-names)
7537 (filesets-directory-files, filesets-get-external-viewer)
7538 (filesets-ingroup-get-data): Use string-match-p.
7540 * find-file.el (ff-other-file-name, ff-other-file-name)
7541 (ff-find-the-other-file, ff-cc-hh-converter):
7542 Remove unused local variables.
7543 (ff-get-file-name): Use string-match-p.
7544 (ff-all-dirs-under): Use ignore-errors.
7546 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7547 (follow-select-if-visible): Remove unused local variable.
7549 * forms.el (read-file-filter): Move declaration.
7550 (forms--make-format, forms--make-parser, forms-insert-record):
7551 Quote function with #'.
7552 (forms--update): Use string-match-p. Quote function with #'.
7554 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7555 (help-make-xrefs): Use looking-at-p.
7556 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7558 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7559 (ibuffer-confirm-operation-on): Use string-match-p.
7561 * msb.el (msb-item-handler, msb-dired-item-handler):
7562 Mark unused arguments.
7564 * ses.el (ses-decode-cell-symbol)
7565 (ses-kill-override): Remove unused local variable.
7566 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7567 (ses-load): Use ignore-errors, looking-at-p.
7568 (ses-jump-safe): Use ignore-errors.
7569 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7571 * tabify.el (untabify, tabify): Mark unused arguments.
7573 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7574 Mark unused argument.
7575 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7576 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7578 * emacs-lisp/timer.el (timer--time): Define setter with
7579 gv-define-setter to avoid deprecation warning.
7581 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7582 (*record-cmpl-statistics-p*): Remove (was commented out).
7583 (cmpl-statistics-block): Remove (body was commented out).
7584 All callers changed.
7585 (add-completions-from-buffer, load-completions-from-file):
7586 Remove unused variables.
7588 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7590 * filecache.el (file-cache-delete-file-list):
7591 Print message only when told so.
7592 (file-cache-files-matching): Use #' in mapconcat argument.
7594 * ffap.el (ffap-url-at-point): Fix reference to variable
7595 thing-at-point-default-mail-uri-scheme.
7597 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * subr.el (define-error): New function.
7600 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7601 error-file-not-found and define with define-error.
7602 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7603 and define with define-error.
7604 * userlock.el (file-locked, file-supersession):
7605 * simple.el (mark-inactive):
7606 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7607 * progmodes/ada-mode.el (ada-mode-errors):
7608 * play/life.el (life-extinct):
7609 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7610 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7611 * nxml/rng-util.el (rng-error):
7612 * nxml/rng-uri.el (rng-uri-error):
7613 * nxml/rng-match.el (rng-compile-error):
7614 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7615 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7616 * nxml/nxml-rap.el (nxml-scan-error):
7617 * nxml/nxml-outln.el (nxml-outline-error):
7618 * net/soap-client.el (soap-error):
7619 * net/gnutls.el (gnutls-error):
7620 * net/ange-ftp.el (ftp-error):
7621 * mpc.el (mpc-proc-error):
7622 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7623 (json-number-format, json-string-escape, json-string-format)
7624 (json-key-format, json-object-format):
7625 * jka-compr.el (compression-error):
7626 * international/quail.el (quail-error):
7627 * international/kkc.el (kkc-error):
7628 * emacs-lisp/ert.el (ert-test-failed):
7629 * calc/calc.el (calc-error, inexact-result, math-overflow)
7631 * bookmark.el (bookmark-error-no-filename):
7632 * epg.el (epg-error): Define with define-error.
7634 * time.el (display-time-event-handler)
7635 (display-time-next-load-average): Don't call sit-for since it seems
7636 unnecessary (bug#15045).
7638 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7639 Use #' instead of ' to quote functions.
7640 (checkdoc-output-mode): Use setq-local.
7641 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7642 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7643 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7644 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7645 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7646 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7647 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7648 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7650 * ido.el (ido-completion-help): Fix up compiler warning.
7652 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7654 * frameset.el (frameset-p): Add autoload cookie.
7655 (frameset--jump-to-register): New function, based on code moved from
7657 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7659 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7660 (frameset-restore, frameset-save, frameset-session-filter-alist):
7661 Remove declarations.
7662 (register-alist): Doc fix.
7663 (frameset-to-register): Move to frameset.el.
7664 (jump-to-register, describe-register-1): Remove frameset-specific code.
7666 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7668 * allout-widgets.el (allout-widgets-pre-command-business)
7669 (allout-widgets-post-command-business)
7670 (allout-widgets-after-change-handler)
7671 (allout-decorate-item-and-context, allout-set-boundary-marker)
7672 (allout-body-modification-handler)
7673 (allout-graphics-modification-handler): Mark ignored arguments.
7674 (allout-widgets-post-command-business)
7675 (allout-widgets-exposure-change-processor)
7676 (allout-widgets-exposure-undo-processor)
7677 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7678 (allout-parse-item-at-point, allout-decorate-item-guides)
7679 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7680 * allout.el (epa-passphrase-callback-function): Declare.
7681 (allout-overlay-insert-in-front-handler)
7682 (allout-overlay-interior-modification-handler)
7683 (allout-isearch-end-handler, allout-chart-siblings)
7684 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7685 (allout-yank-processing, allout-process-exposed)
7686 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7687 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7688 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7689 (lisp-indent-defform): Mark ignored arguments.
7690 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7691 (calculate-lisp-indent): Remove unused variables.
7692 * international/characters.el (indian-2-column, arabic-2-column)
7693 (tibetan): Mark ignored arguments.
7694 (use-cjk-char-width-table): Mark ignored arguments.
7695 Remove unused variables.
7696 * international/fontset.el (build-default-fontset-data)
7697 (x-compose-font-name, create-fontset-from-fontset-spec):
7698 Mark ignored arguments.
7699 (fontset-plain-name): Remove unused variables.
7700 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7701 (keyboard-coding-system): Mark ignored arguments.
7702 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7703 * help.el (resize-temp-buffer-window):
7704 * window.el (display-buffer-in-major-side-window)
7705 (display-buffer-in-side-window, display-buffer-in-previous-window):
7706 Remove unused variables.
7707 * isearch.el (isearch-forward-symbol):
7708 * version.el (emacs-bzr-version-bzr):
7709 * international/mule-cmds.el (current-language-environment):
7710 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7712 * term/pc-win.el (x-list-fonts, x-display-planes)
7713 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7714 (x-server-version, x-display-screens, x-display-mm-height)
7715 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7716 (x-selection-owner-p, x-own-selection-internal)
7717 (x-disown-selection-internal, x-get-selection-internal)
7718 (msdos-initialize-window-system):
7719 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7720 * term/x-win.el (x-handle-no-bitmap-icon):
7721 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7722 (vc-default-find-file-hook, vc-default-extra-menu):
7723 Mark ignored arguments.
7725 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7728 break-condition in the context of the debugged code (bug#12685).
7730 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7733 Do not use an overlay to highlight the last prompt. (Bug#14744)
7734 (comint-mode): Make comint-last-prompt buffer local.
7735 (comint-last-prompt): New variable.
7736 (comint-last-prompt-overlay): Remove. Superseded by
7738 (comint-snapshot-last-prompt, comint-output-filter):
7739 Use comint-last-prompt.
7741 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7743 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7744 (frameset-save): Check validity of the resulting frameset.
7746 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7748 * ido.el (ido-record-command): Add doc string.
7750 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7752 * frameset.el (frameset): Do not disable creation of the default
7753 frameset-p predicate. Doc fix.
7754 (frameset-valid-p): New function, copied from the old predicate-p.
7755 Add additional checks.
7756 (frameset-restore): Check with frameset-valid-p.
7757 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7758 (frameset-name, frameset-description, frameset-properties)
7759 (frameset-states): Add docstring.
7760 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7761 (frameset-filter-alist): Doc fixes.
7763 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7765 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7767 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7770 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7771 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7772 (byte-compile-normal-call): Remove obsolescence check.
7774 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7776 * frameset.el (frameset-restore): Doc fix.
7778 * register.el (frameset-frame-id, frameset-frame-with-id)
7779 (frameset-p, frameset-restore, frameset-save): Declare.
7780 (register-alist): Document framesets.
7781 (frameset-session-filter-alist): Declare.
7782 (frameset-to-register): New function.
7783 (jump-to-register): Implement jumping to framesets. Doc fix.
7784 (describe-register-1): Describe framesets.
7786 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7788 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7790 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7791 Use lexical-binding.
7793 * frameset.el (frameset): Use type vector, not list (incompatible
7794 change). Do not declare a new constructor, use the default one.
7795 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7796 `name' and `description', respectively, and add read-only slot
7797 `timestamp'. Doc fixes.
7798 (frameset-copy, frameset-persistent-filter-alist)
7799 (frameset-filter-alist, frameset-switch-to-gui-p)
7800 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7801 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7802 (frameset-filter-iconified, frameset-keep-original-display-p):
7804 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7805 Rename from frameset-filter-(save|restore)-param. All callers changed.
7807 (frameset-p): Adapt to change to vector and be more thorough.
7808 Change arg name to OBJECT. Doc fix.
7809 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7810 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7811 All callers changed.
7812 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7813 All callers changed.
7814 (frameset--record-minibuffer-relationships): Rename from
7815 frameset--process-minibuffer-frames. All callers changed.
7816 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7817 Use new default constructor (again). Doc fix.
7818 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7819 All callers changed.
7820 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7821 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7823 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7824 PARAMETERS and WINDOW-STATE, respectively.
7825 (frameset-restore): Add new keyword argument PREDICATE.
7826 Reset frameset--target-display to nil. Doc fix.
7828 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7832 (bat-mode-syntax-table): Mark \n as end-of-comment.
7833 (bat-font-lock-keywords): Remove comment rule.
7835 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7836 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7838 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7839 (byte-compile-callargs-warn): Use `push'.
7840 (byte-compile-arglist-warn): Ignore higher-order "calls".
7841 (byte-compile-file-form-autoload): Use `pcase'.
7842 (byte-compile-function-form): If quoting a symbol, check that it exists.
7844 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7846 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7847 and add a few popular commands found in batch files.
7848 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7849 (dos-mode): Doc fixes.
7851 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7854 (dos-mode): Use setq-local. Add space after "rem".
7855 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7856 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7858 2013-08-07 Arni Magnusson <arnima@hafro.is>
7860 * progmodes/dos.el: New file.
7861 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7864 2013-08-06 Glenn Morris <rgm@gnu.org>
7866 * calendar/calendar.el: Add new faces, and day-header-array.
7867 (calendar-weekday-header, calendar-weekend-header)
7868 (calendar-month-header): New faces.
7869 (calendar-day-header-construct): New function.
7870 (calendar-day-header-width): Also :set calendar-day-header-array.
7871 (calendar-american-month-header, calendar-european-month-header)
7872 (calendar-iso-month-header): Use calendar- faces.
7873 (calendar-generate-month):
7874 Use calendar-day-header-array for day headers; apply faces to them.
7875 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7876 (calendar-abbrev-construct): Add optional maxlen argument.
7877 (calendar-day-name-array): Doc fix.
7878 (calendar-day-name-array, calendar-abbrev-length)
7879 (calendar-day-abbrev-array):
7880 Also :set calendar-day-header-array, and maybe redraw.
7881 (calendar-day-header-array): New option. (Bug#15007)
7882 (calendar-font-lock-keywords): Set to nil and make obsolete.
7883 (calendar-day-name): Add option to use header array.
7885 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7887 * net/shr.el (shr-render-td): Remove debugging.
7888 (shr-render-td): Make width computation consistent by defaulting
7889 all zero-width columns to 10 characters. This may not be optimal,
7890 but it's at least consistent.
7891 (shr-make-table-1): Redo last change to fix the real problem in
7894 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7896 * files.el (cache-long-line-scans):
7897 Make obsolete alias to `cache-long-scans'.
7899 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7901 * frameset.el (frameset, frameset-filter-alist)
7902 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7903 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7904 (frameset-compute-pos): Rename from frameset--compute-pos,
7906 (frameset-move-onscreen): Use frameset-compute-pos.
7907 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7909 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7910 Fix typos in docstrings.
7912 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7914 * frame.el (get-other-frame): Tiny cleanup.
7916 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7918 * vc/vc.el (vc-default-ignore-completion-table):
7919 Silence byte-compiler warning.
7921 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7922 slot, which can indeed be nil.
7923 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7924 Move entry for `left' from persistent to live filter alist.
7925 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7927 (frameset-filter-params): When restoring a frame, copy items added to
7928 `filtered', to avoid unwittingly modifying the original parameters.
7929 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7930 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7932 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7933 to use looking-at-p instead of looking-at. (Bug#15028)
7935 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7937 Revert introduction of isearch-filter-predicates (bug#14714).
7938 Rely on add-function instead.
7939 * isearch.el (isearch-filter-predicates): Rename it back to
7940 isearch-filter-predicate.
7941 (isearch-message-prefix): Use advice-function-mapc and advice
7942 properties to get the isearch-message-prefix.
7943 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7944 instead of run-hook-with-args-until-failure.
7945 (isearch-filter-visible): Not obsolete any more.
7946 * loadup.el: Preload nadvice.
7947 * replace.el (perform-replace): Revert to funcall
7948 instead of run-hook-with-args-until-failure.
7949 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7950 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7951 dired-isearch-filenames-toggle; make it into a proper minor mode.
7952 Use add/remove-function.
7953 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7954 Call the minor-mode rather than add/remove-hook.
7955 (dired-isearch-filter-filenames):
7956 Remove isearch-message-prefix property.
7957 * info.el (Info--search-loop): New function, extracted from Info-search.
7958 Funcall isearch-filter-predicate instead of
7959 run-hook-with-args-until-failure isearch-filter-predicates.
7960 (Info-search): Use it.
7961 (Info-mode): Use isearch-filter-predicate instead of
7962 isearch-filter-predicates.
7964 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7966 Do not call to `selected-window' where it is assumed by default.
7967 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7968 `window-hscroll', `window-width', `window-height', `window-buffer',
7969 `window-frame', `window-start', `window-point', `next-window'
7970 and `window-display-table'.
7971 * abbrev.el (abbrev--default-expand):
7972 * bs.el (bs--show-with-configuration):
7973 * buff-menu.el (Buffer-menu-mouse-select):
7974 * calc/calc.el (calc):
7975 * calendar/calendar.el (calendar-generate-window):
7976 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7978 * comint.el (send-invisible, comint-dynamic-complete-filename)
7979 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7980 * completion.el (complete):
7981 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7982 * disp-table.el (describe-current-display-table):
7983 * doc-view.el (doc-view-insert-image):
7984 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7985 * ehelp.el (with-electric-help):
7986 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7987 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7988 * emacs-lisp/helper.el (Helper-help-scroller):
7989 * emulation/cua-base.el (cua--post-command-handler-1):
7990 * eshell/esh-mode.el (eshell-output-filter):
7991 * ffap.el (ffap-gnus-wrapper):
7992 * help-macro.el (make-help-screen):
7993 * hilit-chg.el (highlight-compare-buffers):
7994 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7995 * hl-line.el (global-hl-line-highlight):
7996 * icomplete.el (icomplete-simple-completing-p):
7997 * isearch.el (isearch-done):
7998 * jit-lock.el (jit-lock-stealth-fontify):
7999 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
8000 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
8001 * mpc.el (mpc-tagbrowser, mpc):
8002 * net/rcirc.el (rcirc-any-buffer):
8003 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
8004 * play/landmark.el (landmark-max-width, landmark-max-height):
8005 * play/zone.el (zone):
8006 * progmodes/compile.el (compilation-goto-locus):
8007 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
8008 * progmodes/etags.el (find-tag-other-window):
8009 * progmodes/fortran.el (fortran-column-ruler):
8010 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
8011 * progmodes/verilog-mode.el (verilog-point-text):
8012 * reposition.el (reposition-window):
8013 * rot13.el (toggle-rot13-mode):
8014 * server.el (server-switch-buffer):
8015 * shell.el (shell-dynamic-complete-command)
8016 (shell-dynamic-complete-environment-variable):
8017 * simple.el (insert-buffer, set-selective-display)
8018 (delete-completion-window):
8019 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
8020 (speedbar-recenter):
8021 * startup.el (fancy-splash-head):
8022 * textmodes/ispell.el (ispell-command-loop):
8023 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
8024 * tutorial.el (help-with-tutorial):
8025 * vc/add-log.el (add-change-log-entry):
8026 * vc/compare-w.el (compare-windows):
8027 * vc/ediff-help.el (ediff-indent-help-message):
8028 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
8029 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
8030 (ediff-setup-control-frame):
8031 * vc/emerge.el (emerge-position-region):
8032 * vc/pcvs-util.el (cvs-bury-buffer):
8033 * window.el (walk-windows, mouse-autoselect-window-select):
8034 * winner.el (winner-set-conf, winner-undo): Related users changed.
8036 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8038 * frameset.el (frameset--set-id): Doc fix.
8039 (frameset-frame-id, frameset-frame-id-equal-p)
8040 (frameset-locate-frame-id): New functions.
8041 (frameset--process-minibuffer-frames, frameset--reuse-frame)
8042 (frameset-restore): Use them.
8044 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
8046 Do not call to `selected-frame' where it is assumed by default.
8047 Affected functions are `raise-frame', `redraw-frame',
8048 `frame-first-window', `frame-terminal' and `delete-frame'.
8049 * calendar/appt.el (appt-disp-window):
8050 * epg.el (epg-wait-for-completion):
8051 * follow.el (follow-delete-other-windows-and-split)
8052 (follow-avoid-tail-recenter):
8053 * international/mule.el (set-terminal-coding-system):
8054 * mail/rmail.el (rmail-mail-return):
8055 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
8056 * progmodes/f90.el (f90-add-imenu-menu):
8057 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
8058 * server.el (server-switch-buffer):
8059 * simple.el (delete-completion-window):
8061 * term/xterm.el (terminal-init-xterm-modify-other-keys)
8062 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8063 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8064 * vc/ediff.el (ediff-documentation): Related users changed.
8065 * frame.el (selected-terminal): Remove the leftover.
8067 2013-08-05 Glenn Morris <rgm@gnu.org>
8069 * calendar/calendar.el (calendar-generate-month):
8070 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8071 (calendar-generate-month, calendar-font-lock-keywords):
8072 Fix for calendar-day-header-width > length of any day name.
8074 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8076 * desktop.el (desktop-clear): Use new name of sort predicate.
8078 * frameset.el (frameset): Add docstring. Move :version property to its
8080 (frameset-copy): Rename from copy-frameset.
8081 (frameset-p): Check more thoroughly.
8082 (frameset-prop): Do not check for :version, which is no longer a prop.
8083 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8084 Use new :never value instead of t.
8085 (frameset-filter-alist): Expand and clarify docstring.
8086 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8087 (frameset-filter-minibuffer, frameset-filter-save-param)
8088 (frameset-filter-restore-param, frameset-filter-iconified):
8089 Add pointer to docstring of frameset-filter-alist.
8090 (frameset-filter-params): Rename filter values to be more meaningful:
8091 :never instead of t, and reverse the meanings of :save and :restore.
8092 (frameset--process-minibuffer-frames): Clarify error message.
8093 (frameset-save): Avoid unnecessary and confusing call to framep.
8094 Use new BOA constructor for framesets.
8095 (frameset--reuse-list): Doc fix.
8096 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8097 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8098 (frameset-minibufferless-first-p): Doc fix.
8099 Rename from frameset-sort-frames-for-deletion.
8100 (frameset-restore): Doc fixes. Use new function names.
8101 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8103 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8105 * desktop.el (desktop-restore-forces-onscreen)
8106 (desktop-restore-reuses-frames): Document :keyword constant values.
8107 (desktop-filter-parameters-alist): Remove, now identical to
8108 frameset-filter-alist.
8109 (desktop--filter-tty*): Remove, moved to frameset.el.
8110 (desktop-save-frameset, desktop-restore-frameset):
8111 Do not pass :filters argument.
8113 * frameset.el (frameset-live-filter-alist)
8114 (frameset-persistent-filter-alist): New variables.
8115 (frameset-filter-alist): Use them. Add autoload cookie.
8116 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8117 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8118 `frameset--id' (it's supposed to be internal to frameset.el).
8119 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8120 (frameset--initial-params): New function.
8121 (frameset--get-frame): Use it. Doc fix.
8122 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8123 Accept :all, not 'all.
8124 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8125 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8126 with fbound symbols. Fix frame id matching, and remove matching ids if
8127 the frame being restored is deleted. Obey :delete.
8129 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * subr.el (macrop): New function.
8132 (text-clone--maintaining): New var.
8133 (text-clone--maintain): Rename from text-clone-maintain. Use it
8134 instead of inhibit-modification-hooks.
8136 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8137 a proxy, so as handle autoloads and redefinitions of the target.
8138 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8140 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8141 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8142 (pcase--mutually-exclusive-p): New function.
8143 (pcase--split-consp): Use it.
8144 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8145 mutually exclusive with the current predicate.
8147 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8148 (edebug-macrop): Remove. Use `macrop' instead.
8149 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8151 * eshell/esh-cmd.el (eshell-macrop):
8152 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8154 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8157 (advice-mapc): New function, using it.
8158 (advice-function-member-p): New function.
8159 (advice--normalize): Store the cdr in advice--saved-rewrite since
8160 that's the part that will be changed.
8161 (advice--symbol-function): New function.
8162 (advice-remove): Handle removal before the function is defined.
8163 Adjust to new advice--saved-rewrite.
8164 (advice-member-p): Use advice-function-member-p and
8165 advice--symbol-function.
8167 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8169 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8170 (frameset-filter-minibuffer): Doc fix.
8171 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8172 (frameset--set-id, frameset--process-minibuffer-frames)
8173 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8174 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8176 * desktop.el (desktop-clear): Only delete frames when called
8177 interactively and desktop-restore-frames is non-nil. Doc fix.
8178 (desktop-read): Set desktop-saved-frameset to nil.
8180 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8182 * vc/vc.el (vc-ignore): Rewrite.
8183 (vc-default-ignore-completion-table, vc--read-lines)
8184 (vc--add-line, vc--remove-regexp): New functions.
8186 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8187 (vc-svn-ignore-completion-table): New function.
8189 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8190 (vc-hg-ignore-completion-table)
8191 (vc-hg-find-ignore-file): New functions.
8193 * vc/vc-git.el (vc-git-ignore): Rewrite.
8194 (vc-git-ignore-completion-table)
8195 (vc-git-find-ignore-file): New functions.
8197 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8199 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8200 (vc-bzr-ignore-completion-table)
8201 (vc-bzr-find-ignore-file): New functions.
8203 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8205 * frameset.el (frameset-prop): New function and setter.
8206 (frameset-save): Do not modify frame list passed by the caller.
8208 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8210 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8212 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8215 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8217 * custom.el (custom-initialize-default, custom-initialize-set)
8218 (custom-initialize-reset, custom-initialize-changed): Affect the
8219 toplevel-default-value (bug#6275, bug#14586).
8220 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8223 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8225 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8226 Add cl-def* expressions.
8228 * frameset.el (frameset-filter-params): Fix order of arguments.
8230 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8232 Move code related to saving frames to frameset.el.
8233 * desktop.el: Require frameset.
8234 (desktop-restore-frames): Doc fix.
8235 (desktop-restore-reuses-frames): Rename from
8236 desktop-restoring-reuses-frames.
8237 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8238 (desktop-clear): Clear frames too.
8239 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8240 (desktop--filter-tty*, desktop-save, desktop-read):
8241 Use frameset functions.
8242 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8243 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8244 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8245 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8246 (desktop--process-minibuffer-frames, desktop-save-frames)
8247 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8248 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8249 (desktop--sort-states, desktop-restoring-frames-p)
8250 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8251 (desktop-restoring-frameset-p, desktop-restore-frameset)
8252 (desktop--check-dont-save, desktop-save-frameset): New functions.
8253 (desktop--app-id): New constant.
8254 (desktop-first-buffer, desktop-buffer-ok-count)
8255 (desktop-buffer-fail-count): Move before first use.
8256 * frameset.el: New file.
8258 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8260 * files.el: Use lexical-binding.
8261 (dir-locals-read-from-file): Remove unused `err' variable.
8262 (hack-dir-local-variables--warned-coding): New var.
8263 (hack-dir-local-variables): Use it to avoid repeated warnings.
8264 (make-backup-file-name--default-function): New function.
8265 (make-backup-file-name-function): Use it as default.
8266 (buffer-stale--default-function): New function.
8267 (buffer-stale-function): Use it as default.
8268 (revert-buffer-insert-file-contents--default-function): New function.
8269 (revert-buffer-insert-file-contents-function): Use it as default.
8270 (insert-directory): Avoid add-to-list.
8272 * autorevert.el (auto-revert-handler): Simplify.
8273 Use buffer-stale--default-function.
8275 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8277 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8279 * whitespace.el (whitespace-ensure-local-variables): New function.
8280 (whitespace-cleanup-region): Call it.
8281 (whitespace-turn-on): Call it.
8283 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8285 Complete file name handlers.
8287 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8288 (tramp-handle-verify-visited-file-modtime)
8289 (tramp-handle-file-notify-rm-watch): New functions.
8290 (tramp-call-process): Do not bind `default-directory'.
8292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8293 Order alphabetically.
8294 <access-file, add-name-to-file, dired-call-process>:
8295 <dired-compress-file, file-acl, file-notify-rm-watch>:
8296 <file-ownership-preserved-p, file-selinux-context>:
8297 <make-directory-internal, make-symbolic-link, set-file-acl>:
8298 <set-file-selinux-context, set-visited-file-modtime>:
8299 <verify-visited-file-modtime>: Add handler.
8300 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8302 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8303 <file-notify-add-watch, file-notify-rm-watch>:
8304 <set-file-times, set-visited-file-modtime>:
8305 <verify-visited-file-modtime>: Add handler.
8306 (with-tramp-gvfs-error-message)
8307 (tramp-gvfs-handle-set-visited-file-modtime)
8308 (tramp-gvfs-fuse-file-name): Remove.
8309 (tramp-gvfs-handle-file-notify-add-watch)
8310 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8311 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8313 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8314 Order alphabetically.
8315 <file-notify-rm-watch>: Use default Tramp handler.
8316 <executable-find>: Remove private handler.
8317 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8318 `default-directory'.
8319 (tramp-sh-handle-executable-find)
8320 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8321 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8322 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8323 Do not use `format' in `tramp-message'.
8325 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8326 <file-notify-rm-watch, set-visited-file-modtime>:
8327 <verify-visited-file-modtime>: Add handler.
8328 (tramp-smb-call-winexe): Do not bind `default-directory'.
8330 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8332 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8334 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8336 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8338 (log-view-diff-changeset): Same.
8339 (log-view-diff-common): Call backend command `previous-revision'
8340 to find out the previous revision, in both cases. Swap the
8341 variables `to' and `fr', so that `fr' usually refers to the
8342 earlier revision (Bug#14989).
8344 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8346 * ibuf-ext.el (ibuffer-filter-by-filename):
8347 Make it work with dired buffers too.
8349 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8351 * emacs-lisp/re-builder.el (reb-color-display-p):
8352 * files.el (save-buffers-kill-terminal):
8353 * net/browse-url.el (browse-url):
8354 * server.el (server-save-buffers-kill-terminal):
8355 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8356 Prefer nil to selected-frame for the first arg of frame-parameter.
8358 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8360 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8362 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8364 * minibuffer.el (completion--twq-all): Try and preserve each
8365 completion's case choice (bug#14907).
8367 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8369 * net/network-stream.el (open-network-stream): Mention the new
8370 :nogreeting parameter.
8371 (network-stream-open-starttls): Use the :nogreeting parameter
8374 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8376 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8377 more natural than popping.
8379 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8380 (shr-urlify): Highlight under mouse.
8382 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8384 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8386 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8388 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8391 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8392 point-min==1. Fix search string. Fix parentheses missing.
8394 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8395 assume point-min==1. Fix search string. Fix parentheses missing.
8397 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8399 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8402 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8404 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8405 initial frame is minibuffer-less. (Bug#14841)
8407 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8409 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8413 (tramp-maybe-open-connection): Use it.
8415 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8417 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8418 minimal set of parameters passed when creating a frame, because
8419 the minibuffer status of a frame cannot be changed later.
8421 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8423 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8424 replace-regexp-in-string and inadvertent omissions in previous change.
8425 (todo-filter-items): Ensure only file names are comma-separated in
8426 name of filtered items buffer.
8428 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8430 * desktop.el: Optionally force offscreen frames back onscreen.
8431 (desktop-restoring-reuses-frames): New option.
8432 (desktop--compute-pos, desktop--move-onscreen): New functions.
8433 (desktop--make-frame): Use desktop--move-onscreen.
8435 2013-07-27 Alan Mackenzie <acm@muc.de>
8437 Fontify a Java generic method as a function.
8438 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8441 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8443 * calendar/todo-mode.el: Add command to rename todo files.
8444 (todo-rename-file): New command.
8445 (todo-key-bindings-t): Add key binding for it. Change the
8446 bindings of todo-filter-regexp-items(-multifile) to use `x'
8447 instead of `r', since the latter is better suited to the new
8450 2013-07-27 Alan Mackenzie <acm@muc.de>
8452 Make Java try-with-resources statement parse properly.
8453 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8454 (c-block-stmt-1-2-key): New language constants/variables.
8455 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8456 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8457 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8458 with c-block-stmt-1-2-key.
8460 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8462 * desktop.el (desktop--make-frame): Apply most frame parameters after
8463 creating the frame to force (partially or totally) offscreen frames to
8464 be restored as such.
8466 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8468 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8471 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8473 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8474 `base' arg of backtrace-frame.
8476 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8478 * simple.el (list-processes): Doc fix.
8480 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8482 * desktop.el (desktop--select-frame):
8483 Try harder to reuse existing frames.
8485 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8487 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8488 (edebug-eval): Use backtrace-eval.
8489 (edebug--display, edebug--recursive-edit): Don't let-bind the
8490 edebug-outer-* vars that keep track of variables we locally let-bind.
8491 (edebug-outside-excursion): Don't restore outside values of locally
8493 (edebug--display): Use user-error.
8494 (cl-lexical-debug, cl-debug-env): Remove.
8496 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8498 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8499 are restored to be sure that they are visible before deleting any
8502 2013-07-26 Matthias Meulien <orontee@gmail.com>
8504 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8505 vc-print-root-log. (Bug#14948)
8507 2013-07-26 Richard Stallman <rms@gnu.org>
8509 Add aliases for encrypting mail.
8510 * epa.el (epa-mail-aliases): New option.
8511 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8512 Bind inhibit-read-only so read-only text doesn't ruin everything.
8513 (epa-mail-default-recipients): New subroutine broken out.
8514 Handle epa-mail-aliases.
8516 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8518 Add support for lexical variables to the debugger's `e' command.
8519 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8520 vars, except for debugger-outer-match-data.
8521 (debugger-frame-number): Move check for "on a function call" from
8522 callers into it. Add `skip-base' argument.
8523 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8524 (debugger-env-macro): Only reset the state stored in non-variables,
8525 i.e. current-buffer and match-data.
8526 (debugger-eval-expression): Rewrite using backtrace-eval.
8527 * subr.el (internal--called-interactively-p--get-frame): Remove.
8528 (called-interactively-p):
8529 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8530 `base' arg of backtrace-frame instead.
8532 2013-07-26 Glenn Morris <rgm@gnu.org>
8534 * align.el (align-regexp): Doc fix. (Bug#14857)
8535 (align-region): Explicit error if subexpression missing/does not match.
8537 * simple.el (global-visual-line-mode):
8538 Do not duplicate the mode lighter. (Bug#14858)
8540 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8542 * window.el (display-buffer): In display-buffer bind
8543 split-window-keep-point to t, bug#14829.
8545 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8547 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8548 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8549 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8550 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8552 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8553 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8555 2013-07-25 Glenn Morris <rgm@gnu.org>
8557 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8559 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8561 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8562 parameter to modify-frame-parameters if the value has not changed;
8563 this is a workaround for bug#14949.
8564 (desktop--make-frame): On cl-delete-if call, check parameter name,
8567 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8569 * vc/vc.el (vc-ignore): New function.
8571 * vc/vc-svn.el (vc-svn-ignore): New function.
8573 * vc/vc-hg.el (vc-hg-ignore): New function.
8575 * vc/vc-git.el (vc-git-ignore): New function.
8577 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8578 (vc-dir-ignore): New function.
8580 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8581 (cvs-append-to-ignore): Move here from pcvs.el.
8583 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8585 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8587 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8589 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8590 (desktop-restore-frames): Warn when deleting an existing frame failed.
8592 2013-07-24 Glenn Morris <rgm@gnu.org>
8594 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8596 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8598 * filenotify.el (file-notify-supported-p):
8599 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8602 * autorevert.el (auto-revert-use-notify)
8603 (auto-revert-notify-add-watch):
8604 * net/tramp.el (tramp-file-name-for-operation):
8605 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8606 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8607 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8608 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8609 Remove `file-notify-supported-p' entry.
8611 2013-07-24 Glenn Morris <rgm@gnu.org>
8613 * printing.el: Replace all uses of deleted ps-windows-system,
8614 ps-lp-system, ps-flatten-list with lpr- versions.
8616 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8619 checked with memq (bug#14935).
8621 * files.el (revert-buffer-function): Use a non-nil default.
8622 (revert-buffer-preserve-modes): Declare var to
8623 provide access to the `preserve-modes' argument.
8624 (revert-buffer): Let-bind it.
8625 (revert-buffer--default): New function, extracted from revert-buffer.
8627 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8629 * lpr.el: Signal print errors more prominently.
8630 (print-region-function): Don't default to nil.
8631 (lpr-print-region): New function, extracted from print-region-1.
8632 Check lpr's return value and signal an error in case of problem.
8633 (print-region-1): Use it.
8634 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8636 (ps-printer-name): Default to nil.
8637 (ps-printer-name-option): Default to lpr-printer-switch.
8638 (ps-print-region-function): Don't default to nil.
8639 (ps-postscript-code-directory): Simplify default.
8640 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8641 (ps-string-list, ps-eval-switch, ps-flatten-list)
8642 (ps-flatten-list-1): Remove.
8643 (ps-multibyte-buffer): Avoid setq.
8644 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8645 (print-region-function, ps-print-region-function): Don't set them here.
8647 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8649 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8650 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8651 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8652 (ido-decorations): Doc fix.
8654 * ansi-color.el: Fix old URL.
8656 2013-07-23 Michael R. Mauger <michael@mauger.com>
8658 * progmodes/sql.el: Version 3.3
8659 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8660 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8661 (sql-interactive-remove-continuation-prompt): Rewrite, use
8662 functions above. Fix continuation prompt and complete output line
8664 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8665 redirected output buffer.
8666 (sql-mode): Restore deleted code (Bug#13591).
8668 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8670 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8672 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8674 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8676 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8678 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8680 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8682 * desktop.el (desktop-clear): Simplify; remove useless checks
8683 against invalid buffer names.
8684 (desktop-list*): Use cl-list*.
8685 (desktop-buffer-info, desktop-create-buffer): Simplify.
8687 2013-07-23 Leo Liu <sdl.web@gmail.com>
8689 * bookmark.el (bookmark-make-record): Restore NAME as a default
8692 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8694 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8695 extracted from autoload--insert-text.
8696 (autoload--insert-text): Remove.
8697 (autoload--print-cookie-text): New function, extracted from
8698 autoload--insert-cookie-text.
8699 (autoload--insert-cookie-text): Remove.
8700 (autoload-generate-file-autoloads): Adjust calls accordingly.
8702 * winner.el (winner-hook-installed-p): Remove.
8703 (winner-mode): Simplify accordingly.
8705 * subr.el (add-to-list): Fix compiler-macro when `append' is
8706 not constant. Don't use `cl-member' for the base case.
8708 * progmodes/subword.el: Fix boundary case (bug#13758).
8709 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8711 (subword-backward-regexp): Make it a constant.
8712 (subword-forward-internal): Don't treat a trailing capital as the
8713 beginning of a word.
8715 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8717 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8718 global value of tabulated-list-revert-hook (bug#14930).
8720 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8722 * desktop.el: Require 'cl-lib.
8723 (desktop-before-saving-frames-functions): New hook.
8724 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8725 for frames being saved. Rename from desktop--save-minibuffer-frames.
8726 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8727 Do not save frames with non-nil `desktop-dont-save' parameter.
8728 Filter out deleted frames.
8729 (desktop--find-frame): Use cl-find-if.
8730 (desktop--select-frame): Use cl-(first|second|third) to access values
8732 (desktop--make-frame): Use cl-delete-if.
8733 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8734 (desktop-restore-frames): Use cl-(first|second|third) to access values
8735 of desktop-mini. Look for visible frame at the end, not while
8738 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8739 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8740 Use string-match-p, looking-at-p (bug#14927).
8742 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8744 * desktop.el (desktop-saved-frame-states):
8745 Rename from desktop--saved-states; all users changed.
8746 (desktop-save-frames): Rename from desktop--save-frames.
8747 Do not save state to desktop file.
8748 (desktop-save): Save desktop-saved-frame-states to desktop file
8750 (desktop-restoring-frames-p): New function.
8751 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8752 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8753 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8755 * desktop.el: Correctly restore iconified frames.
8756 (desktop--filter-iconified-position): New function.
8757 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8759 2013-07-20 Glenn Morris <rgm@gnu.org>
8761 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8762 Let `message' do the formatting.
8763 (def-gdb-preempt-display-buffer): Add explicit format.
8765 * image-dired.el (image-dired-track-original-file):
8766 Use with-current-buffer.
8767 (image-dired-track-thumbnail): Use with-current-buffer.
8768 Avoid changing point of wrong window.
8770 * image-dired.el (image-dired-track-original-file):
8771 Avoid changing point of wrong window. (Bug#14909)
8773 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8775 * progmodes/gdb-mi.el (gdb-done-or-error):
8776 Guard against "%" in gdb output. (Bug#14127)
8778 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8780 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8783 * international/mule.el (coding-system-iso-2022-flags): Fix last
8786 2013-07-20 Kenichi Handa <handa@gnu.org>
8788 * international/mule.el (coding-system-iso-2022-flags):
8789 Add `8-bit-level-4'. (Bug#8522)
8791 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8793 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8796 * net/eww.el (eww-process-text-input): Allow inputting when the
8797 point is at the start of the line, as the properties aren't
8800 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8803 2013-07-19 Richard Stallman <rms@gnu.org>
8805 * epa.el (epa-popup-info-window): Doc fix.
8807 * subr.el (split-string): New arg TRIM.
8809 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8811 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8812 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8814 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8816 * filenotify.el (file-notify--library): Rename from
8817 `file-notify-support'. Do not autoload. Adapt all uses.
8818 (file-notify-supported-p): New defun.
8820 * autorevert.el (auto-revert-use-notify):
8821 Use `file-notify-supported-p' instead of `file-notify-support'.
8823 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8825 * net/tramp.el (tramp-file-name-for-operation):
8826 Add `file-notify-supported-p'.
8828 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8830 (tramp-sh-file-name-handler-alist): Add it as handler for
8831 `file-notify-supported-p '.
8833 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8835 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8836 Add `ignore' as handler for `file-notify-*' functions.
8838 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8840 * simple.el (line-move-partial, line-move): Don't start vscroll or
8841 scroll-up if the current line is not taller than the window.
8844 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8846 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8847 highlight question marks in the method names as strings.
8848 (ruby-block-beg-keywords): Inline.
8849 (ruby-font-lock-keyword-beg-re): Extract from
8850 `ruby-font-lock-keywords'.
8852 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8854 * frame.el (blink-cursor-blinks): New defcustom.
8855 (blink-cursor-blinks-done): New defvar.
8856 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8857 (blink-cursor-timer-function): Check if number of blinks has been
8859 (blink-cursor-suspend, blink-cursor-check): New defuns.
8861 2013-07-15 Glenn Morris <rgm@gnu.org>
8863 * edmacro.el (edmacro-format-keys): Fix previous change.
8865 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8867 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8868 The hack didn't work outside English locales anyway.
8870 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8872 * simple.el (define-alternatives): Rename from alternatives-define,
8873 per RMS' suggestion.
8875 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8877 * desktop.el (desktop-restore-frames): Change default to t.
8878 (desktop-restore-in-current-display): Now offer more options.
8879 (desktop-restoring-reuses-frames): New customization option.
8880 (desktop--saved-states): Doc fix.
8881 (desktop-filter-parameters-alist): New variable, renamed and expanded
8882 from desktop--excluded-frame-parameters.
8883 (desktop--target-display): New variable.
8884 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8885 (desktop--filter-tty*, desktop--filter-*-color)
8886 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8887 (desktop--filter-save-desktop-parm)
8888 (desktop-restore-in-original-display-p): New functions.
8889 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8890 (desktop--save-minibuffer-frames): New function, inspired by a similar
8891 function from Martin Rudalics.
8892 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8893 (desktop--restore-in-this-display-p): Remove.
8894 (desktop--find-frame): Rename from desktop--find-frame-in-display
8895 and add predicate argument.
8896 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8897 (desktop--reuse-list): New variable.
8898 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8900 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8902 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8904 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8906 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8908 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8909 Highlight conversion methods on Kernel.
8911 2013-07-13 Alan Mackenzie <acm@muc.de>
8913 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8914 and comment it out. This out-commenting enables certain C++
8915 declarations to be parsed correctly.
8917 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8919 * international/mule.el (define-coding-system): Doc fix.
8921 * simple.el (default-font-height): Don't call font-info if the
8922 frame's default font didn't change since the frame was created.
8925 2013-07-13 Leo Liu <sdl.web@gmail.com>
8927 * ido.el (ido-read-file-name): Guard against non-symbol value.
8929 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8931 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8934 2013-07-13 Leo Liu <sdl.web@gmail.com>
8936 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8937 ido-set-matches call. (Bug#6852)
8939 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8941 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8942 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8944 (ruby-font-lock-keywords): Distinguish calls to functions with
8945 module-like names from module references. Highlight character
8948 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8950 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8951 (gdb-send): Handle continued commands. (Bug#14847)
8953 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8955 * desktop.el (desktop--v2s): Remove unused local variable.
8956 (desktop-save-buffer): Make defvar-local; adjust docstring.
8957 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8958 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8960 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8962 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8964 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8966 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8969 2013-07-12 Glenn Morris <rgm@gnu.org>
8971 * doc-view.el: Require cl-lib at runtime too.
8972 (doc-view-remove-if): Remove.
8973 (doc-view-search-next-match, doc-view-search-previous-match):
8976 * edmacro.el: Require cl-lib at runtime too.
8977 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8978 (edmacro-mismatch, edmacro-subseq): Remove.
8980 * shadowfile.el: Require cl-lib.
8981 (shadow-remove-if): Remove.
8982 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8985 * wid-edit.el: Require cl-lib.
8986 (widget-choose): Use cl-remove-if.
8987 (widget-remove-if): Remove.
8989 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8990 (ebrowse-delete-if-not): Remove.
8991 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8992 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8993 Use cl-delete-if-not.
8995 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8997 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8998 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
9000 2013-07-12 Leo Liu <sdl.web@gmail.com>
9002 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
9004 2013-07-11 Glenn Morris <rgm@gnu.org>
9006 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
9007 (edebug-gensym-index, edebug-gensym):
9008 Remove reimplementation of cl-gensym.
9009 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
9011 * thumbs.el: Require cl-lib at run-time too.
9012 (thumbs-gensym-counter, thumbs-gensym):
9013 Remove reimplementation of cl-gensym.
9014 (thumbs-temp-file): Use cl-gensym.
9016 * emacs-lisp/ert.el: Require cl-lib at runtime too.
9017 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
9018 (ert--intersection, ert--set-difference, ert--set-difference-eq)
9019 (ert--union, ert--gensym-counter, ert--gensym-counter)
9020 (ert--coerce-to-vector, ert--remove*, ert--string-position)
9021 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
9022 (ert-make-test-unbound, ert--expand-should-1)
9023 (ert--expand-should, ert--should-error-handle-error)
9024 (should-error, ert--explain-equal-rec)
9025 (ert--plist-difference-explanation, ert-select-tests)
9026 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
9027 Use cl-lib functions rather than reimplementations.
9029 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
9031 * net/tramp.el (tramp-methods): Extend docstring.
9032 (tramp-connection-timeout): New defcustom.
9033 (tramp-error-with-buffer): Reset timestamp only when appropriate.
9034 (with-tramp-progress-reporter): Simplify.
9035 (tramp-process-actions): Improve messages.
9037 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9038 * net/tramp-sh.el (tramp-maybe-open-connection):
9039 Use `tramp-connection-timeout'.
9040 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
9043 2013-07-11 Leo Liu <sdl.web@gmail.com>
9045 * ido.el (ido-read-file-name): Conform to the requirements of
9046 read-file-name. (Bug#11861)
9047 (ido-read-directory-name): Conform to the requirements of
9048 read-directory-name.
9050 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
9052 * subr.el (delay-warning): New function.
9054 2013-07-10 Eli Zaretskii <eliz@gnu.org>
9056 * simple.el (default-line-height): New function.
9057 (line-move-partial, line-move): Use it instead of computing the
9059 (line-move-partial): Always compute ROWH. If the last line is
9060 partially-visible, but its text is completely visible, allow
9061 cursor to enter such a partially-visible line.
9063 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9065 Improve error messages. (Bug#14808)
9067 * net/tramp.el (tramp-current-connection): New defvar, moved from
9069 (tramp-message-show-progress-reporter-message): Remove, not
9071 (tramp-error-with-buffer): Show message in minibuffer.
9072 Discard input before waiting. Reset connection timestamp.
9073 (with-tramp-progress-reporter): Improve messages.
9074 (tramp-process-actions): Use progress reporter. Delete process in
9075 case of error. Improve messages.
9077 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9078 Call `tramp-error-with-buffer' with vector and buffer.
9079 (tramp-current-connection): Remove.
9080 (tramp-maybe-open-connection): The car of
9081 `tramp-current-connection' are the first 3 slots of the vector.
9083 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9085 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9086 inside continued strings.
9088 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9090 Timestamp fixes for undo (Bug#14824).
9091 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9093 2013-07-10 Leo Liu <sdl.web@gmail.com>
9095 * files.el (require-final-newline): Allow safe local value.
9098 2013-07-09 Leo Liu <sdl.web@gmail.com>
9100 * ido.el (ido-read-directory-name): Handle fallback.
9101 (ido-read-file-name): Update DIR to ido-current-directory.
9103 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9105 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9107 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9108 "autoload". Remove "warn lower camel case" section, previously
9109 commented out. Highlight negation char. Do not highlight the
9110 target in singleton method definitions.
9112 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9114 * faces.el (tty-setup-hook): Declare the hook.
9116 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9117 and detect when a guard/pred depends on local vars (bug#14773).
9118 (pcase--u1): Adjust caller.
9120 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9122 * simple.el (line-move-partial, line-move): Account for
9124 (line-move-partial): Avoid setting vscroll when the last
9125 partially-visible line in window is of default height.
9127 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9129 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9132 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9134 * subr.el (read-quoted-char): Remove unused local variable `char'.
9136 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9138 * ediff.el (ediff-version): Version update.
9139 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9140 (ediff-merge-with-ancestor-command, ediff-directories-command)
9141 (ediff-directories3-command, ediff-merge-directories-command)
9142 (ediff-merge-directories-with-ancestor-command): New functions.
9143 All are command-line interfaces to ediff: to facilitate calling
9144 Emacs with the appropriate ediff functions invoked.
9146 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9147 (viper-save-kill-buffer): Check if buffer is modified.
9149 * viper.el (viper-version): Version update.
9150 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9152 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9154 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9155 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9156 (viper-intercept-ESC-key): Simplify.
9157 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9158 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9159 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9160 (viper-setup-ESC-to-escape): New functions.
9161 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9162 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9164 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9166 * simple.el (default-font-height, window-screen-lines):
9168 (line-move, line-move-partial): Use them instead of
9169 frame-char-height and window-text-height. This makes scrolling
9170 text smoother when the buffer's default face uses a font that is
9171 different from the frame's default font.
9173 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9175 * files.el (write-file): Do not display confirm dialog for NS,
9176 it does its own dialog, which can't be canceled (Bug#14578).
9178 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9180 * simple.el (line-move-partial): Adjust the row returned by
9181 posn-at-point for the current window-vscroll. (Bug#14567)
9183 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9185 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9186 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9189 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9191 * window.el (window-state-put-stale-windows): New variable.
9192 (window--state-put-2): Save list of windows without matching buffer.
9193 (window-state-put): Remove "bufferless" windows if possible.
9195 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9197 * simple.el (alternatives-define): Remove leftover :group keyword.
9200 2013-07-06 Leo Liu <sdl.web@gmail.com>
9202 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9203 (ido-enable-virtual-buffers): New variable.
9204 (ido-buffer-internal, ido-toggle-virtual-buffers)
9205 (ido-make-buffer-list): Use it.
9206 (ido-exhibit): Support turning on and off virtual buffers
9209 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9211 * simple.el (alternatives-define): New macro.
9213 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * subr.el (read-quoted-char): Use read-key.
9216 (sit-for): Let read-event decode tty input (bug#14782).
9218 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9220 * calendar/todo-mode.el: Add handling of file deletion, both by
9221 mode command and externally. Fix various related bugs.
9222 Clarify Commentary and improve some documentation strings and code.
9223 (todo-delete-file): New command.
9224 (todo-check-file): New function.
9225 (todo-show): Handle external deletion of the file we're trying to
9226 show (bug#14688). Replace called-interactively-p by an optional
9227 prefix argument to avoid problematic interaction with catch form
9228 when byte compiled (bug#14702).
9229 (todo-quit): Handle external deletion of the archive's todo file.
9230 Make sure the buffer that was visiting the archive file is still
9231 live before trying to bury it.
9232 (todo-category-completions): Handle external deletion of any
9233 category completion files.
9234 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9235 of todo files, in case of external deletion.
9236 (todo-add-file): Replace unnecessary setq by let-binding.
9237 (todo-find-archive): Check whether there are any archives.
9238 Replace unnecessary setq by let-binding.
9239 (todo-archive-done-item): Use find-file-noselect to get the
9240 archive buffer whether or not the archive already exists.
9241 Remove superfluous code. Use file size instead of buffer-file-name to
9242 check if the archive is new; if it is, update list of archives.
9243 (todo-default-todo-file): Allow nil to be a valid value for when
9244 there are no todo files.
9245 (todo-reevaluate-default-file-defcustom): Use corrected definition
9246 of todo-default-todo-file.
9247 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9248 (todo-delete-category, todo-show-categories-table)
9249 (todo-category-number): Clarify comment.
9250 (todo-filter-items): Clarify documentation string.
9251 (todo-show-current-file, todo-display-as-todo-file)
9252 (todo-reset-and-enable-done-separator): Tweak documentation string.
9253 (todo-done-separator): Make separator length window-width, since
9254 bug#2749 is now fixed.
9256 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9258 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9259 Support both "gvfs-monitor-dir" and "inotifywait".
9260 (tramp-sh-file-inotifywait-process-filter): Rename from
9261 `tramp-sh-file-notify-process-filter'.
9262 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9263 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9265 2013-07-05 Leo Liu <sdl.web@gmail.com>
9267 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9269 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9271 * frame.el (display-pixel-height, display-pixel-width)
9272 (display-mm-height, display-mm-width): Mention behavior on
9273 multi-monitor setups in docstrings.
9274 (w32-display-monitor-attributes-list): Declare function.
9275 (display-monitor-attributes-list): Use it.
9277 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9279 * filenotify.el: New package.
9281 * autorevert.el (top): Require filenotify.el.
9282 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9284 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9285 (auto-revert-notify-handler): Use `file-notify-*' functions.
9287 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9289 * net/tramp.el (tramp-file-name-for-operation):
9290 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9292 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9293 for `file-notify-add-watch' and `file-notify-rm-watch'.
9294 (tramp-process-sentinel): Improve trace.
9295 (tramp-sh-handle-file-notify-add-watch)
9296 (tramp-sh-file-notify-process-filter)
9297 (tramp-sh-handle-file-notify-rm-watch)
9298 (tramp-get-remote-inotifywait): New defuns.
9300 2013-07-03 Juri Linkov <juri@jurta.org>
9302 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9303 call of `occur-read-primary-args' to interactive spec.
9305 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9306 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9308 2013-07-03 Matthias Meulien <orontee@gmail.com>
9310 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9311 `Buffer-menu-multi-occur'. Add it to the menu.
9312 (Buffer-menu-mode): Document it in docstring.
9313 (Buffer-menu-multi-occur): New command. (Bug#14673)
9315 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9317 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9318 keywords and built-ins.
9320 2013-07-03 Glenn Morris <rgm@gnu.org>
9322 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9324 Make info-xref checks case-sensitive by default
9325 * info.el (Info-find-node, Info-find-in-tag-table)
9326 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9327 Add option for exact case matching of nodes.
9328 * info-xref.el (info-xref): New custom group.
9329 (info-xref-case-fold): New option.
9330 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9332 2013-07-03 Leo Liu <sdl.web@gmail.com>
9334 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9336 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9338 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9339 middle of block statement initially, lower the depth. Remove
9340 FIXME comment, not longer valid. Remove middle of block statement
9341 detection, no need to do that anymore since we've been using
9342 `ruby-parse-region' here.
9344 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9346 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9348 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9350 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9352 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9354 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9355 (desktop-restore-in-current-display): New customization option.
9356 (desktop--excluded-frame-parameters): Add `font'.
9357 (desktop--save-frames): Rename from desktop--save-windows.
9358 (desktop--restore-in-this-display-p): New function.
9359 (desktop--make-full-frame): Remove unwanted width/height from
9360 full(width|height) frames.
9361 (desktop--restore-frames): Rename from desktop--restore-windows.
9362 Obey desktop-restore-current-display. Do not delete old frames or
9363 select a new frame unless we were able to restore at least one frame.
9365 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9367 * files.el (find-file-noselect): Simplify conditional expression.
9369 * textmodes/remember.el (remember-append-to-file):
9370 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9372 Add `remember-notes' function to store random notes across Emacs
9374 * textmodes/remember.el (remember-data-file): Add :set callback to
9375 affect notes buffer (if any).
9376 (remember-notes): New command.
9377 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9378 New defcustoms for the `remember-notes' function.
9379 (remember-notes-save-and-bury-buffer): New command.
9380 (remember-notes-mode-map): New variable.
9381 (remember-mode): New minor mode.
9382 (remember-notes--kill-buffer-query): New function.
9383 * startup.el (initial-buffer-choice): Add notes to custom type.
9385 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9387 * bindings.el (right-char, left-char): Don't call sit-for, this is
9388 no longer needed. Use arithmetic comparison only for numerical
9391 * international/mule-cmds.el (select-safe-coding-system):
9392 Handle the case of FROM being a string correctly. (Bug#14755)
9394 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9396 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9397 progression on degenerate tables.
9398 (shr-rescale-image): ImageMagick animated images currently don't work.
9400 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9402 Some fixes and improvements for desktop frame restoration.
9403 It is still experimental and disabled by default.
9404 * desktop.el (desktop--save-windows): Put the selected frame at
9405 the head of the list.
9406 (desktop--make-full-frame): New function.
9407 (desktop--restore-windows): Try to re-select the frame that was
9408 selected upon saving. Do not abort if some frames fail to restore,
9409 just show an error message and continue. Set up maximized frames
9410 so they have default non-maximized dimensions.
9412 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9414 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9415 Don't start heredoc inside a string or comment.
9417 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9419 * bindings.el (visual-order-cursor-movement): New defcustom.
9420 (right-char, left-char): Provide visual-order cursor motion by
9421 calling move-point-visually. Update the doc strings.
9423 2013-06-28 Kenichi Handa <handa@gnu.org>
9425 * international/mule.el (define-coding-system): New coding system
9426 properties :inhibit-null-byte-detection,
9427 :inhibit-iso-escape-detection, and :prefer-utf-8.
9428 (set-buffer-file-coding-system): If :charset-list property of
9429 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9430 appropriate for setting.
9432 * international/mule-cmds.el (select-safe-coding-system):
9433 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9434 multibyte characters, return utf-8 (or one of its siblings).
9436 * international/mule-conf.el (prefer-utf-8): New coding system.
9437 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9440 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9442 * net/shr.el (shr-render-region): New function.
9444 * net/eww.el: Autoload `eww-browse-url'.
9446 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9449 Adapt to `package-desc-version' being a list.
9450 Use `package--ac-desc-version' to retrieve version from a package
9453 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9455 New experimental feature to save&restore window and frame setup.
9456 * desktop.el (desktop-save-windows): New defcustom.
9457 (desktop--saved-states): New var.
9458 (desktop--excluded-frame-parameters): New defconst.
9459 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9460 (desktop--restore-windows, desktop--save-windows): New functions.
9461 (desktop-save): Call `desktop--save-windows'.
9462 (desktop-read): Call `desktop--restore-windows'.
9464 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9466 * net/shr.el (add-face-text-property): Remove compat definition.
9468 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9470 * info.el (Info-try-follow-nearest-node): Move search for footnote
9471 above search for node name to prevent missing a footnote (bug#14717).
9473 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9475 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9477 2013-06-27 Leo Liu <sdl.web@gmail.com>
9479 * net/eww.el (eww-read-bookmarks): Check file size.
9481 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9483 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9484 advice--pending if newdef is nil or an autoload (bug#13820).
9485 (advice-mapc): New function.
9487 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9489 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9491 (eww-mode-map): Add a menu bar.
9492 (eww-add-bookmark): New command.
9493 (eww-bookmark-mode): New mode and commands.
9494 (eww-add-bookmark): Remove newlines from the title.
9495 (eww-bookmark-browse): Don't bug out if it's the only window.
9497 2013-06-26 Glenn Morris <rgm@gnu.org>
9499 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9500 (hfy-size): Handle ttys. (Bug#14668)
9502 * info-xref.el: Update for Texinfo 5 change in *note format.
9503 (info-xref-node-re, info-xref-note-re): New constants.
9504 (info-xref-check-buffer): Use info-xref-note-re.
9506 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9508 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9510 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9511 nil terminate the loop (bug#14718).
9513 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9515 * net/eww.el: Rework history traversal. When going forward/back,
9516 put these actions into the history, too, so that they can be
9518 (eww-render): Move the history reset to the correct buffer.
9520 2013-06-25 Juri Linkov <juri@jurta.org>
9522 * files-x.el (modify-dir-local-variable): Change the header comment
9523 in the file with directory local variables. (Bug#14692)
9525 * files-x.el (read-file-local-variable-value): Add `default'.
9528 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9530 * net/eww.el (eww-make-unique-file-name): Create a unique file
9531 name before saving to entering `y' accidentally asynchronously.
9533 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9535 * net/eww.el (eww-download): New command and keystroke.
9537 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9539 * net/eww.el (eww-copy-page-url): Change name of command.
9541 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9542 be more consistent with Info and dired.
9544 * net/eww.el (eww-mode-map): Ditto.
9546 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9549 packages from archives.
9550 (package-archive-contents): Change format; include obsolete packages.
9551 (package-desc): Use `dir' to mark builtin packages.
9552 (package--from-builtin): Set the `dir' field to `builtin'.
9553 (generated-autoload-file, version-control): Declare.
9554 (package-compute-transaction): Change first arg and return value to be
9555 lists of package-descs. Adjust to new package-archive-contents format.
9556 (package--add-to-archive-contents): Adjust to new
9557 package-archive-contents format.
9558 (package-download-transaction): Arg is now a list of package-descs.
9559 (package-install): If `pkg' is a package name, pass it as
9560 a requirement, so it is subject to the usual (e.g. disabled) checks.
9561 (describe-package): Accept package-desc as well.
9562 (describe-package-1): Describe a specific package-desc. Add links to
9563 other package-descs for the same package name.
9564 (package-menu-describe-package): Pass the actual package-desc.
9565 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9567 (package-desc-status): New function.
9568 (package-menu--refresh): New function, extracted
9569 from package-menu--generate.
9570 (package-menu--generate): Use it.
9571 (package-delete): Update package-alist.
9572 (package-menu-execute): Don't call package-initialize.
9574 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9575 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9576 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9577 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9578 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9579 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9581 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9583 * window.el (window--state-get-1): Workaround for bug#14527.
9584 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9586 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9588 * net/eww.el (eww-back-url): Implement the history by stashing all
9589 the data into a list.
9590 (eww-forward-url): Allow going forward in the history, too.
9592 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9594 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9595 for values and use read--expression for expressions (bug#14710).
9596 (read-file-local-variable): Avoid setq.
9597 (read-file-local-variable-mode): Use minor-mode-list.
9599 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9601 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9604 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9606 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9607 Update imenu-support when dialect changes.
9609 2013-06-25 Leo Liu <sdl.web@gmail.com>
9611 * ido.el (ido-read-internal): Allow forward slash on windows.
9613 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9615 * net/eww.el (eww): Start of strings is \\`, not ^.
9617 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9619 * net/shr.el (shr-browse-url): Fix interactive spec.
9621 * net/eww.el (eww): Add a trailing slash to domain names.
9623 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9625 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9627 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9629 * net/shr.el (shr-browse-url): Use an external browser if given a
9632 * net/eww.el (eww-external-browser): Move to shr.
9634 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9636 * net/eww.el (eww): Work more correctly for file: URLs.
9637 (eww-detect-charset): Allow quoted charsets.
9638 (eww-yank-page-url): New command and keystroke.
9640 2013-06-24 Daiki Ueno <ueno@gnu.org>
9642 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9643 file name of gpg executable.
9644 (epg-context-program): New function.
9645 (epg-context-home-directory): New function.
9646 (epg-context-set-program): New function.
9647 (epg-context-set-home-directory): New function.
9648 (epg--start): Use `epg-context-program' instead of
9650 (epg--list-keys-1): Likewise.
9652 2013-06-24 Leo Liu <sdl.web@gmail.com>
9654 * ido.el (ido-read-internal): Fix bug#14620.
9656 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9658 * faces.el (face-documentation): Simplify.
9659 (read-face-attribute, tty-find-type, x-resolve-font-name):
9660 Use `string-match-p'.
9661 (list-faces-display): Use `string-match-p'. Simplify.
9662 (face-spec-recalc): Check face to avoid face alias loops.
9663 (read-color): Use `string-match-p' and non-capturing parenthesis.
9665 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9667 * net/shr.el (shr-rescale-image): Use the new
9668 :max-width/:max-height functionality.
9670 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9672 * net/eww.el (eww-search-prefix): New variable.
9674 (eww-external-browser): New variable.
9675 (eww-mode-map): New keystroke.
9676 (eww-browse-with-external-browser): New command.
9678 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9680 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9682 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9683 Don't skip aligning the next header field when padding is 0;
9684 otherwise, field width is not respected unless the title is as
9687 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9689 * emacs-lisp/package.el (package-el-version): Remove.
9690 (package-process-define-package): Fix inf-loop.
9691 (package-install): Allow symbols as arguments again.
9693 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9695 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9696 add some more keyword-like methods.
9697 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9699 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9701 * bs.el (bs-buffer-show-mark): Make defvar-local.
9702 (bs-mode): Use setq-local.
9704 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9705 (emacs-lock--try-unlocking): Make defvar-local.
9707 2013-06-22 Glenn Morris <rgm@gnu.org>
9709 * play/cookie1.el (cookie-apropos): Minor simplification.
9711 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9713 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9715 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9716 `regexp-opt', it breaks the build during dumping.
9718 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9720 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9721 Highlight keyword-like methods on Kernel and Module with
9722 font-lock-builtin-face.
9723 (auto-mode-alist): Consolidate different entries into one regexp
9724 and add more *file-s.
9726 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9728 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9730 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9731 (diary-entry): Use it in the action of this button type instead of
9734 * calendar/todo-mode.el: New version.
9735 (todo-add-category): Append new category to end of file and give
9736 it the highest number, instead of putting it at the beginning and
9737 giving it 0. Incorporate noninteractive functionality.
9738 (todo-forward-category): Adapt to 1-based category numbering.
9739 Allow skipping over archived categories.
9740 (todo-backward-category): Derive from todo-forward-category.
9741 (todo-backward-item, todo-forward-item): Make noninteractive and
9742 delegate interactive part to new commands. Make sensitive to done items.
9743 (todo-categories): Make value an alist of category names and
9744 vectors of item counts.
9745 (todo-category-beg): Make a defconst.
9746 (todo-category-number): Use 1 instead of 0 as initial value.
9747 (todo-category-select): Make sensitive to overlays, optional item
9748 highlighting and done items.
9749 (todo-delete-item): Make sensitive to overlays and marked and done items.
9750 (todo-edit-item): Make sensitive to overlays and editing of
9751 date/time header optional. Add format checks.
9752 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9753 no-op if point is not on an item. Advertise using todo-edit-quit.
9754 (todo-edit-mode): Make sensitive to new format, font-locking, and
9755 multiple todo files.
9756 (todo-insert-item, todo-insert-item-here): Derive from
9757 todo-basic-insert-item and extend functionality.
9758 (todo-item-end, todo-item-start): Make sensitive to done items.
9759 (todo-item-string): Don't return text properties. Restore point.
9760 (todo-jump-to-category): Make sensitive to multiple todo files and
9761 todo archives. Use extended category completion.
9762 (todo-lower-item, todo-raise-item): Rename to *-priority and
9763 derive from todo-set-item-priority.
9764 (todo-mode): Derive from special-mode. Make sensitive to new
9765 format, font-locking and multiple todo files. Make read-only.
9766 (todo-mode-map): Don't suppress digit keys, so they can supply
9767 prefix arguments. Add many new key bindings.
9768 (todo-prefix): Insert as an overlay instead of file text.
9769 Change semantics from diary date expression to purely visual mark.
9770 (todo-print): Rename to todo-print-buffer. Make buffer display
9771 features printable. Remove option to restrict number of items
9772 printed. Add option to print to file.
9773 (todo-print-function): Rename to todo-print-buffer-function.
9774 (todo-quit): Extend to handle exiting new todo modes.
9775 (todo-remove-item): Make sensitive to overlays.
9776 (todo-save): Extend to buffers of filtered items.
9777 (todo-show): Make sensitive to done items, multiple todo files and
9778 new todo modes. Offer to convert legacy todo file before creating
9779 first new todo file.
9780 (todo-show-priorities): Rename to todo-top-priorities.
9781 Change semantics of value 0.
9782 (todo-top-priorities): Rename to todo-filter-top-priorities,
9783 derive from todo-filter-items and extend functionality.
9784 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9785 and extend functionality to other types of filtered items.
9786 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9787 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9788 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9789 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9790 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9791 (todo-edit-mode-hook, todo-entry-prefix-function)
9792 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9793 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9794 (todo-initials, todo-insert-threshold, todo-item-string-start)
9795 (todo-line-string, todo-menu, todo-mode-hook)
9796 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9797 (todo-print-priorities, todo-remove-separator)
9798 (todo-save-top-priorities-too, todo-string-count-lines)
9799 (todo-string-multiline-p, todo-time-string-format)
9800 (todo-tmp-buffer-name): Remove.
9801 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9802 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9803 (todo-edit-category-diary-inclusion)
9804 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9805 (todo-edit-file, todo-edit-item-date-day)
9806 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9807 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9808 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9809 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9810 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9811 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9812 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9813 (todo-filter-top-priorities-multifile, todo-find-archive)
9814 (todo-find-filtered-items-file, todo-go-to-source-item)
9815 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9816 (todo-jump-to-archive-category, todo-lower-category)
9817 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9818 (todo-move-category, todo-move-item, todo-next-button)
9819 (todo-next-item, todo-padded-string, todo-powerset)
9820 (todo-previous-button, todo-previous-item)
9821 (todo-print-buffer-to-file, todo-raise-category)
9822 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9823 (todo-set-category-number, todo-set-item-priority)
9824 (todo-set-top-priorities-in-category)
9825 (todo-set-top-priorities-in-file, todo-show-categories-table)
9826 (todo-sort-categories-alphabetically-or-numerically)
9827 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9828 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9829 (todo-toggle-item-header, todo-toggle-item-highlighting)
9830 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9831 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9832 (todo-unarchive-items, todo-unmark-category): New commands.
9833 (todo-absolute-file-name, todo-add-to-buffer-list)
9834 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9835 (todo-basic-insert-item, todo-category-completions)
9836 (todo-category-number, todo-category-string-matcher-1)
9837 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9838 (todo-check-format, todo-clear-matches)
9839 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9840 (todo-current-category, todo-date-string-matcher)
9841 (todo-define-insertion-command, todo-diary-expired-matcher)
9842 (todo-diary-goto-entry, todo-diary-item-p)
9843 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9844 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9845 (todo-done-item-section-p, todo-done-separator)
9846 (todo-done-string-matcher, todo-files, todo-filter-items)
9847 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9848 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9849 (todo-insert-category-line, todo-insert-item-from-calendar)
9850 (todo-insert-sort-button, todo-insert-with-overlays)
9851 (todo-insertion-command-name, todo-insertion-key-bindings)
9852 (todo-label-to-key, todo-longest-category-name-length)
9853 (todo-make-categories-list, todo-mode-external-set)
9854 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9855 (todo-modes-set-3, todo-multiple-filter-files)
9856 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9857 (todo-read-category, todo-read-date, todo-read-dayname)
9858 (todo-read-file-name, todo-read-time)
9859 (todo-reevaluate-category-completions-files-defcustom)
9860 (todo-reevaluate-default-file-defcustom)
9861 (todo-reevaluate-filelist-defcustoms)
9862 (todo-reevaluate-filter-files-defcustom)
9863 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9864 (todo-reset-done-separator, todo-reset-done-separator-string)
9865 (todo-reset-done-string, todo-reset-global-current-todo-file)
9866 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9867 (todo-reset-prefix, todo-set-categories)
9868 (todo-set-date-from-calendar, todo-set-show-current-file)
9869 (todo-set-top-priorities, todo-short-file-name)
9870 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9871 (todo-total-item-counts, todo-update-buffer-list)
9872 (todo-update-categories-display, todo-update-categories-sexp)
9873 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9875 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9877 (todo-categories, todo-display, todo-edit, todo-faces)
9878 (todo-filtered): New defgroups.
9879 (todo-archived-only, todo-button, todo-category-string, todo-date)
9880 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9881 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9882 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9883 (todo-add-item-if-new-category, todo-always-add-time-string)
9884 (todo-categories-align, todo-categories-archived-label)
9885 (todo-categories-category-label, todo-categories-diary-label)
9886 (todo-categories-done-label, todo-categories-number-separator)
9887 (todo-categories-todo-label, todo-categories-totals-label)
9888 (todo-category-completions-files, todo-completion-ignore-case)
9889 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9890 (todo-done-separator-string, todo-done-string)
9891 (todo-files-function, todo-filter-done-items, todo-filter-files)
9892 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9893 (todo-initial-category, todo-initial-file, todo-item-mark)
9894 (todo-legacy-date-time-regexp, todo-mode-line-function)
9895 (todo-nondiary-marker, todo-number-prefix)
9896 (todo-print-buffer-function, todo-show-current-file)
9897 (todo-show-done-only, todo-show-first, todo-show-with-done)
9898 (todo-skip-archived-categories, todo-top-priorities-overrides)
9899 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9900 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9902 (todo-category-done, todo-date-pattern, todo-date-string-start)
9903 (todo-diary-items-buffer, todo-done-string-start)
9904 (todo-filtered-items-buffer, todo-item-start)
9905 (todo-month-abbrev-array, todo-month-name-array)
9906 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9907 (todo-top-priorities-buffer): New defconsts.
9908 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9909 (todo-categories-with-marks, todo-category-string-face)
9910 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9911 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9912 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9913 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9914 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9915 (todo-font-lock-keywords, todo-global-current-todo-file)
9916 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9917 (todo-insertion-commands-args)
9918 (todo-insertion-commands-args-genlist)
9919 (todo-insertion-commands-names, todo-insertion-map)
9920 (todo-key-bindings-t, todo-key-bindings-t+a)
9921 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9922 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9923 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9924 (todo-visited): New variables.
9926 2013-06-21 Glenn Morris <rgm@gnu.org>
9928 * play/cookie1.el (cookie-apropos): Add optional display argument.
9929 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9930 (psychoanalyze-pinhead): Use cookie-doctor.
9932 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9934 * emacs-lisp/package.el (tar-get-file-descriptor)
9935 (tar--extract): Declare.
9937 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9939 Extend flymake's warning predicate to be a function (bug#14217).
9940 * progmodes/flymake.el (flymake-warning-predicate): New.
9941 (flymake-parse-line): Use it.
9942 (flymake-warning-re): Make obsolete alias to
9943 `flymake-warning-predicate'.
9945 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9947 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9948 (package-obsolete-list): Remove.
9949 (package-activate): Remove min-version argument. Add `force' argument.
9950 Adjust to new package-alist format.
9951 (package-mark-obsolete): Remove.
9952 (package-unpack): Force reload of the package's autoloads.
9953 (package-installed-p): Check builtins if the installed package is not
9955 (package-initialize): Don't reset package-obsolete-list.
9956 Don't specify which package version to activate.
9957 (package-process-define-package, describe-package-1)
9958 (package-menu--generate): Adjust to new package-alist format.
9960 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9962 * allout-widgets.el (allout-widgets-mode-off)
9963 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9964 (allout-widgets-post-command-business)
9965 (allout-widgets-after-copy-or-kill-function)
9966 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9967 (allout-decorate-item-and-context)
9968 (allout-graphics-modification-handler): Fix typos in docstrings.
9969 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9971 * cmuscheme.el (scheme-start-file): Doc fix.
9972 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9973 (scheme-input-filter): Use `string-match-p'.
9975 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9977 * dired-x.el: Use Dired consistently in docstrings.
9979 * dired.el: Use Dired consistently in docstrings.
9980 (dired-readin, dired-mode): Use `setq-local'.
9981 (dired-switches-alist): Make defvar-local.
9982 (dired-buffers-for-dir): Use `zerop'.
9983 (dired-safe-switches-p, dired-switches-escape-p)
9984 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9985 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9986 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9987 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9988 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9989 (dired-toggle-marks, dired-mark-files-containing-regexp)
9990 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9991 (dired-flag-auto-save-files, dired-flag-backup-files):
9993 (dired-mark-files-regexp, dired-build-subdir-alist):
9994 Use `string-match-p', `looking-at-p'.
9996 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9997 (direct-print-region-helper): Use `string-match-p'.
9999 2013-06-21 Leo Liu <sdl.web@gmail.com>
10001 * comint.el (comint-redirect-results-list-from-process):
10004 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10006 * net/eww.el (eww-update-header-line-format): Quote % characters.
10008 2013-06-21 Glenn Morris <rgm@gnu.org>
10010 * play/cookie1.el (cookie): New custom group.
10011 (cookie-file): New option.
10012 (cookie-check-file): New function.
10013 (cookie): Make it interactive. Make start and end messages optional.
10014 Interactively, display the result. Default to cookie-file.
10015 (cookie-insert): Default to cookie-file.
10016 (cookie-snarf): Make start and end messages optional.
10017 Default to cookie-file. Use with-temp-buffer.
10018 (cookie-read): Rename from read-cookie.
10019 Make start and end messages optional. Default to cookie-file.
10020 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
10021 Do not autoload it.
10022 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
10023 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
10025 2013-06-21 Leo Liu <sdl.web@gmail.com>
10027 * progmodes/octave.el (octave-mode): Backward compatibility fix.
10029 2013-06-21 Glenn Morris <rgm@gnu.org>
10031 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
10033 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10034 Daniel Hackney <dan@haxney.org>
10036 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
10037 Consolidate the single-file vs tarball code.
10038 (package-desc-suffix): New function.
10039 (package-desc-full-name): Don't bother inlining it.
10040 (package-load-descriptor): Return the new package-desc.
10041 (package-mark-obsolete): Remove unused arg `package'.
10042 (package-unpack): Make it work for single files as well.
10043 Make it update package-alist.
10044 (package--make-autoloads-and-stuff): Rename from
10045 package--make-autoloads-and-compile. Don't compile any more.
10046 (package--compile): New function.
10047 (package-generate-description-file): New function, extracted from
10048 package-unpack-single.
10049 (package-unpack-single): Remove.
10050 (package--with-work-buffer): Add indentation and debugging info.
10051 (package-download-single): Remove.
10052 (package-install-from-archive): Rename from package-download-tar, make
10053 it take a pkg-desc, and make it work for single files as well.
10054 (package-download-transaction): Simplify.
10055 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
10056 external tar program.
10057 (package-install-from-buffer): Remove `pkg-desc' argument.
10058 Use package-tar-file-info for tar-mode buffers.
10059 (package-install-file): Simplify accordingly.
10060 (package-archive-base): Change to take a pkg-desc.
10061 * tar-mode.el (tar--check-descriptor): New function, extracted from
10062 tar-get-descriptor.
10063 (tar-get-descriptor): Use it.
10064 (tar-get-file-descriptor): New function.
10065 (tar--extract): New function, extracted from tar-extract.
10066 (tar--extract): Use it.
10067 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10068 case the summary uses non-ascii. Adjust to new calling convention of
10069 package-tar-file-info.
10071 2013-06-21 Leo Liu <sdl.web@gmail.com>
10073 * comint.el (comint-redirect-results-list-from-process):
10074 Fix random delay. (Bug#14681)
10076 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10078 * profiler.el (profiler-format-number): Use log, not log10.
10080 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10082 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10084 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10086 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10087 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10089 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10090 (AUTOGENEL): ... here.
10091 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10092 (cl--defsubst-expand): Use it.
10094 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10096 * subr.el (log10): Move here from C code, and declare as obsolete.
10097 All uses of (log10 X) replaced with (log X 10).
10099 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10101 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10102 Declare with `defvar-local'.
10103 (tabulated-list-use-header-line, tabulated-list-entries)
10104 (tabulated-list-padding, tabulated-list-printer)
10105 (tabulated-list-sort-key): Declare with `defvar-local'.
10106 (tabulated-list-init-header, tabulated-list-print-fake-header):
10109 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10111 * arc-mode.el (archive-mode): Add `archive-write-file' to
10112 `write-contents-functions' also for remote files. (Bug#14652)
10114 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10116 * cus-edit.el (custom-commands): Fix typos.
10117 (custom-display): Fix tooltip text.
10118 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10119 Fix typos in docstrings.
10120 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10121 (custom-unlispify-menu-entry, custom-magic-value-create)
10122 (custom-add-see-also, custom-group-value-create): Use ?\s.
10123 (custom-guess-type, customize-apropos, editable-field)
10124 (custom-face-value-create): Use `string-match-p'.
10125 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10127 * custom.el (custom-load-symbol): Use `string-match-p'.
10129 * ansi-color.el: Convert to lexical binding.
10130 (ansi-colors): Fix URL.
10131 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10132 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10133 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10135 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10137 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10139 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10141 2013-06-19 Tom Tromey <tromey@redhat.com>
10143 * net/eww.el (eww-top-url): Remove.
10144 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10145 (eww-render): Set new variables. Don't set eww-top-url.
10146 (eww-handle-link): Handle "prev", "home", and "contents".
10147 Downcase the rel text.
10148 (eww-top-url): Choose best top URL.
10150 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10152 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10153 relying in widget.el. Using widget.el leads to too many
10154 user interface inconsistencies.
10155 (eww-self-insert): Implement entering commands in text fields.
10156 (eww-process-text-input): New function to make text input field editing
10158 (eww-submit): Rewrite to use the new-style form methods.
10159 (eww-select-display): Display the correct selected item.
10160 (eww-change-select): Implement changing the select value.
10161 (eww-toggle-checkbox): Implement radio/checkboxes.
10162 (eww-update-field): Fix compilation error.
10163 (eww-tag-textarea): Implement <textarea>.
10165 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10166 we don't shadow mode-specific bindings.
10168 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10171 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10173 2013-06-19 Glenn Morris <rgm@gnu.org>
10175 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10177 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10179 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10182 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10184 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10186 * net/browse-url.el (browse-url-browser-function):
10187 `eww-browse-url' has the right calling signature, `eww' does not.
10189 2013-06-19 Glenn Morris <rgm@gnu.org>
10191 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10192 Only eval autoloaded macros.
10193 (byte-compile-autoload): Only give the macro warning for macros.
10195 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10196 (ps-underlined-faces): Declare.
10198 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10199 (speedbar-add-supported-extension): Declare.
10201 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10202 Don't include a date stamp in the header of the generated file;
10203 it leads to needless differences between output files.
10205 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10207 * net/secrets.el (secrets-struct-secret-content-type):
10208 Replace check of introspection data by a test call of "CreateItem".
10209 Some servers do not offer introspection.
10211 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10213 * electric.el (electric-pair-mode): Improve interaction with
10214 electric-layout-mode.
10215 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10216 (electric-pair-syntax): Use text-mode-syntax-table in comments
10218 (electric-pair--insert): New function.
10219 (electric-pair-post-self-insert-function): Use it and
10220 electric--after-char-pos.
10222 2013-06-19 Leo Liu <sdl.web@gmail.com>
10224 * progmodes/octave.el (octave-help): Fix regexp.
10226 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10228 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10229 (shr-table-horizontal-line): Allow nil as a value, and change the
10231 (shr-insert-table-ruler): Respect the nil value.
10233 2013-06-18 Tom Tromey <tromey@barimba>
10235 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10237 (eww-open-file): New defun.
10238 (eww-render): Initialize new variables.
10239 (eww-display-html): Handle "link" and "a".
10240 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10241 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10242 (eww-back-url): Rename from eww-previous-url.
10243 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10246 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10248 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10249 Distinguish ternary operator tokens from slash symbol and slash
10252 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10254 Convert symbol prettification into minor mode and global minor mode.
10256 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10257 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10258 (prettify-symbols--keywords): Rename from
10259 `prog-prettify-symbols-alist' and make a local defvar.
10260 (prettify-symbols--compose-symbol): Rename from
10261 `prog--prettify-font-lock-compose-symbol'.
10262 (prettify-symbols--make-keywords): Rename from
10263 `prog-prettify-font-lock-symbols-keywords' and simplify.
10264 (prog-prettify-install): Remove.
10265 (prettify-symbols-mode): New minor mode, based on
10266 `prog-prettify-install'.
10267 (turn-on-prettify-symbols-mode): New function.
10268 (global-prettify-symbols-mode): New globalized minor mode.
10270 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10271 * progmodes/cfengine.el (cfengine3-mode):
10272 * progmodes/perl-mode.el (perl-mode): Don't call
10273 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10275 2013-06-18 Juri Linkov <juri@jurta.org>
10277 * files-x.el (modify-file-local-variable-message): New function.
10278 (modify-file-local-variable)
10279 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10280 and call `modify-file-local-variable-message' when it's non-nil.
10281 (add-file-local-variable, delete-file-local-variable)
10282 (add-file-local-variable-prop-line)
10283 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10284 and use it. (Bug#9820)
10286 2013-06-18 Juri Linkov <juri@jurta.org>
10288 * emulation/vi.el (vi-shell-op):
10289 * emulation/vip.el (vip-execute-com, ex-command):
10290 * emulation/viper-cmd.el (viper-exec-bang):
10291 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10292 the call of `shell-command-on-region'. (Bug#14637)
10294 * simple.el (shell-command-on-region): Doc fix.
10296 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10301 2013-06-18 Glenn Morris <rgm@gnu.org>
10303 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10305 * newcomment.el (comment-search-forward, comment-search-backward):
10306 Doc fix. (Bug#14376)
10308 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10310 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10311 (buffer-face-mode-invoke): Doc fix.
10313 2013-06-18 Matthias Meulien <orontee@gmail.com>
10315 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10316 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10318 2013-06-18 Glenn Morris <rgm@gnu.org>
10320 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10321 Replace obsolete function generic-make-keywords with its expansion.
10323 * progmodes/python.el (ffap-alist): Declare.
10325 * textmodes/reftex.el (bibtex-mode-map): Declare.
10327 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10330 (package-unpack, package-unpack-single): Return the pkg-dir.
10331 (package-download-transaction): Use it to update package-alist.
10333 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10335 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10338 2013-06-17 Juri Linkov <juri@jurta.org>
10340 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10342 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10344 * emacs-lisp/package.el (package-load-descriptor):
10345 Remove `with-syntax-table' call, `read' doesn't need it.
10346 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10348 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10350 * startup.el (command-line): Expand package name returned by
10351 `package--description-file' (bug#14639).
10353 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10355 * emacs-lisp/package.el (package-load-descriptor): Do not call
10356 `emacs-lisp-mode', just use its syntax table.
10358 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10360 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10361 `font-lock-extra-managed-props' if any prettifying keyword is added.
10362 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10363 (prog-mode): Use `setq-local'.
10365 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * international/characters.el (standard-case-table): Set syntax of ?»
10368 and ?« to punctuation.
10370 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10372 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10373 Save relevant match data before calling `syntax-ppss' (bug#14595).
10375 2013-06-15 Juri Linkov <juri@jurta.org>
10377 * files-x.el (modify-file-local-variable-prop-line): Add local
10378 variables to the end of the existing comment on the first line.
10379 Use `file-auto-mode-skip' to skip interpreter magic line,
10380 and also skip XML declaration.
10382 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10384 * startup.el (package--builtin-versions): New var.
10385 (package-subdirectory-regexp): Remove.
10386 (package--description-file): Hard code its value instead.
10388 * emacs-lisp/package.el: Don't activate packages older than builtin.
10389 (package-obsolete-list): Rename from package-obsolete-alist, and make
10390 it into a simple list of package-desc.
10391 (package-strip-version): Remove.
10392 (package-built-in-p): Use package--builtin-versions.
10393 (package-mark-obsolete): Simplify.
10394 (package-process-define-package): Mark it obsolete if older than the
10396 (package-handle-response): Use line-end-position.
10397 (package-read-archive-contents, package--download-one-archive):
10399 (package--add-to-archive-contents): Skip if older than the builtin or
10401 (package-menu-describe-package): Fix last change.
10402 (package-list-unversioned): New var.
10403 (package-menu--generate): Use it.
10405 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10406 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10407 (autoload-builtin-package-versions): New variable.
10408 (autoload-generate-file-autoloads): Use them.
10409 Remove the list of autoloaded functions/macros from the
10410 (autoload...) comments.
10412 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10414 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10416 * simple.el (line-move-partial): Don't jump to the next screen
10417 line as soon as it becomes visible. Instead, continue enlarging
10418 the vscroll until the portion of a tall screen line that's left on
10419 display is about the height of the frame's default font.
10422 2013-06-15 Glenn Morris <rgm@gnu.org>
10424 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10425 compilation-error-regexp-alist void, or local while let-bound.
10427 * progmodes/make-mode.el (makefile-mode-syntax-table):
10428 Treat "=" as punctuation. (Bug#14614)
10430 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10432 * help-fns.el (describe-variable):
10433 Add extra line for permanent-local variables.
10435 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10437 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10438 Add export, import, library. (Bug#9164)
10439 (library): Set indent function.
10441 2013-06-14 Glenn Morris <rgm@gnu.org>
10443 * term/xterm.el (xterm--query):
10444 Stop after first matching handler. (Bug#14615)
10446 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10448 Add support for dired in saveplace.
10449 * dired.el (dired-initial-position-hook): New variable.
10450 (dired-initial-position): Call hook to place cursor position.
10451 * saveplace.el (save-place-to-alist): Add dired position.
10452 (save-place-dired-hook): New function.
10454 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10457 through a symbol rather than letrec.
10459 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10460 (package-desc): Add `dir' field.
10461 (package-desc-full-name): New function.
10462 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10463 (package-maybe-load-descriptor): Remove.
10464 (package-load-all-descriptors): Just call package-load-descriptor.
10465 (package--disabled-p): New function.
10466 (package-desc-vers, package-desc-doc): Remove aliases.
10467 (package--dir): Remove function.
10468 (package-activate): Check if a package is disabled.
10469 (package-process-define-package): New function, extracted from
10471 (define-package): Turn into a place holder.
10472 (package-unpack-single, package-tar-file-info):
10473 Use package--description-file.
10474 (package-compute-transaction): Use package--disabled-p.
10475 (package-download-transaction): Don't call
10476 package-maybe-load-descriptor since they're all loaded anyway.
10477 (package-install): Change argument to be a pkg-desc.
10478 (package-delete): Use a single pkg-desc argument.
10479 (describe-package-1): Use package-desc-dir instead of package--dir.
10480 Use package-desc property instead of package-symbol.
10481 (package-install-button-action): Adjust accordingly.
10482 (package--push): Rewrite.
10483 (package-menu--print-info): Adjust accordingly. Change the ID format
10485 (package-menu-describe-package, package-menu-get-status)
10486 (package-menu--find-upgrades, package-menu-mark-upgrades)
10487 (package-menu-execute, package-menu--name-predicate):
10488 Adjust accordingly.
10489 * startup.el (package--description-file): New function.
10490 (command-line): Use it.
10491 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10492 Use package-desc-version.
10494 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10495 (byte-compile-preprocess): Use it.
10496 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10497 can't quite recognize.
10498 (byte-compile-add-to-list): Remove.
10499 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10500 (cconv-closure-convert): Add assertion.
10502 * emacs-lisp/map-ynp.el: Use lexical-binding.
10503 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10504 Factor out some repeated code.
10506 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10508 * subr.el (with-eval-after-load): New macro.
10509 (eval-after-load): Allow form to be a function.
10510 take advantage of lexical-binding.
10511 (do-after-load-evaluation): Use dolist and adjust to new format.
10512 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10514 2013-06-13 Juri Linkov <juri@jurta.org>
10516 * replace.el (perform-replace): Display "symbol " and other search
10517 modes from `isearch-message-prefix' in the *Help* buffer.
10519 * isearch.el (isearch-query-replace): Add " symbol" and other
10520 possible search modes from `isearch-message-prefix' to the prompt.
10521 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10522 when reading a regexp to collect.
10524 2013-06-13 Juri Linkov <juri@jurta.org>
10526 * isearch.el (word-search-regexp): Match whitespace if the search
10527 string begins or ends in whitespace. The LAX arg is applied to
10528 both ends of the search string. Use `regexp-quote' and explicit
10529 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10530 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10531 boundaries are replaced with symbol boundaries, and characters
10532 between symbols match non-word non-symbol syntax. (Bug#14602)
10534 2013-06-13 Juri Linkov <juri@jurta.org>
10536 * isearch.el (isearch-del-char): Don't exceed the length of
10537 `isearch-string' by the prefix arg. (Bug#14563)
10539 2013-06-13 Juri Linkov <juri@jurta.org>
10541 * isearch.el (isearch-yank-word, isearch-yank-line)
10542 (isearch-char-by-name, isearch-quote-char)
10543 (isearch-printing-char, isearch-process-search-char):
10544 Add optional count prefix arg. (Bug#14563)
10546 * international/isearch-x.el
10547 (isearch-process-search-multibyte-characters):
10548 Add optional count prefix arg.
10550 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10552 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10553 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10556 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10558 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10560 2013-06-13 Glenn Morris <rgm@gnu.org>
10562 * startup.el (tty-handle-args):
10563 Don't just discard "--" and anything after. (Bug#14608)
10565 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10567 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10569 Implement changes in Secret Service API. Make it backward compatible.
10570 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10571 (secrets-create-item): Use it. Prefix properties with interface.
10573 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10575 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10576 (term-emulate-terminal): Respect term-suppress-hard-newline.
10578 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10580 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10581 Only remove a `thumb-file' overlay. (Bug#14548)
10583 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10585 * mail/reporter.el (reporter-submit-bug-report):
10586 Handle missing package-name. (Bug#14600)
10588 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10590 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10591 (reftex-citation-prompt, reftex-default-bibliography)
10592 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10593 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10594 (reftex-bib-sort-author, reftex-bib-sort-year)
10595 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10596 (reftex-extract-bib-entries-from-thebibliography)
10597 (reftex-get-bibkey-default, reftex-get-bib-names)
10598 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10599 (reftex-format-bib-entry, reftex-parse-bibitem)
10600 (reftex-format-bibitem, reftex-do-citation)
10601 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10602 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10603 (reftex-insert-bib-matches, reftex-format-citation)
10604 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10605 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10606 existing comments into docstrings.
10608 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10610 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10612 2013-06-12 Andreas Schwab <schwab@suse.de>
10614 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10615 for auto-save files.
10617 2013-06-12 Glenn Morris <rgm@gnu.org>
10619 * ido.el (ido-delete-ignored-files): Remove.
10620 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10621 Go back to calling ido-ignore-item-p directly.
10623 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10625 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10627 * ido.el (ido-delete-ignored-files): New function,
10628 split from ido-make-file-list-1.
10629 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10630 (ido-make-file-list-1): Use ido-delete-ignored-files.
10632 2013-06-12 Leo Liu <sdl.web@gmail.com>
10634 * progmodes/octave.el (inferior-octave-startup)
10635 (inferior-octave-completion-table)
10636 (inferior-octave-track-window-width-change)
10637 (octave-eldoc-function-signatures, octave-help)
10638 (octave-find-definition): Use single quoted strings.
10639 (inferior-octave-startup-args): Change default value.
10640 (inferior-octave-startup): Do not hard code "-i" and
10641 "--no-line-editing".
10642 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10643 (inferior-octave-directory-tracker): Use it.
10644 (octave-goto-function-definition): Robustify.
10645 (octave-help): Support highlighting operators in 'See also'.
10646 (octave-find-definition): Find subfunctions only in Octave mode.
10648 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * help-fns.el (help-fns--compiler-macro): If the handler function is
10651 named, then put a link to it.
10652 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10653 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10654 (cl-typep): Use it.
10655 (cl-eval-when): Simplify debug spec.
10656 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10657 compiler-macro function instead of setting `compiler-macro-file'.
10659 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10661 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10662 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10664 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665 Daniel Hackney <dan@haxney.org>
10667 First part of Daniel Hackney's patch to package.el.
10668 * emacs-lisp/package.el: Use defstruct.
10669 (package-desc): New, main struct.
10670 (package--bi-desc, package--ac-desc): New structs, used to describe the
10671 format in external files.
10672 (package-desc-vers): Replace with package-desc-version accessor.
10673 (package-desc-doc): Replace with package-desc-summary accessor.
10674 (package-activate-1): Remove `package' arg since the pkg-vec now
10676 (define-package): Use package-desc-from-define.
10677 (package-unpack-single): Change file-name arg to be a symbol.
10678 (package--add-to-archive-contents): Use package-desc-create and new
10679 accessor functions to package--ac-desc.
10680 (package-buffer-info, package-tar-file-info): Return a package-desc.
10681 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10682 arg to be a package-desc.
10683 (package-install-file): Adjust accordingly. Use \' to match EOS.
10684 (package--from-builtin): New function.
10685 (describe-package-1, package-menu--generate): Use it.
10686 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10687 (package-generate-autoloads): Idem and return the name of the file.
10688 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10689 Change pkg-info arg to be a package-desc.
10690 Use package-make-ac-desc.
10691 (package-upload-file): Use \' to match EOS.
10692 * finder.el (finder-compile-keywords): Use package-make-builtin.
10694 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * vc/vc.el (vc-deduce-fileset): Change error message.
10697 (vc-read-backend): New function.
10698 (vc-next-action): Use it.
10700 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10702 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10703 (prolog-font-lock-keywords): Use regexp-opt instead.
10704 Don't manually highlight strings.
10705 (prolog-mode-variables): Simplify comment-start-skip.
10706 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10708 * emacs-lisp/generic.el (generic--normalise-comments)
10709 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10710 (generic-mode-set-comments): Use them.
10711 (generic-bracket-support): Use setq-local.
10712 (generic-make-keywords-list): Declare obsolete.
10714 2013-06-11 Glenn Morris <rgm@gnu.org>
10716 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10717 Prettify after setting font-lock-defaults. (Bug#14574)
10719 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10721 * replace.el (query-replace, occur-read-regexp-defaults-function)
10723 * subr.el (declare-function, number-sequence, local-set-key)
10724 (substitute-key-definition, locate-user-emacs-file)
10725 (with-silent-modifications, split-string, eval-after-load):
10726 Fix typos, remove unneeded backslashes and reflow some docstrings.
10728 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10731 default for Elisp files.
10733 2013-06-11 Glenn Morris <rgm@gnu.org>
10735 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10736 although define-derived-mode was doing this anyway. (Bug#14583)
10738 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10740 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10741 Fix make-variable-buffer-local call to refer to the correct variable.
10743 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10745 * eshell/em-term.el (eshell-visual-commands)
10746 (eshell-visual-subcommands, eshell-visual-options):
10747 Add summary line to docstrings. Add cross-references.
10749 2013-06-10 Glenn Morris <rgm@gnu.org>
10751 * epa.el (epa-read-file-name): New function. (Bug#14510)
10752 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10754 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10756 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10757 output redirection to be ignored with visual commands.
10759 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10761 * eshell/em-term.el (eshell-visual-command-p): New function.
10762 (eshell-term-initialize): Move long lambda to separate function
10763 eshell-visual-command-p.
10764 * eshell/em-dirs.el (eshell-dirs-initialize):
10765 * eshell/em-script.el (eshell-script-initialize):
10766 Add missing #' to lambda.
10768 2013-06-08 Leo Liu <sdl.web@gmail.com>
10770 * progmodes/octave.el (octave-add-log-current-defun): New function.
10771 (octave-mode): Set add-log-current-defun-function.
10772 (octave-goto-function-definition): Do not move point if not found.
10773 (octave-find-definition): Enhance to try subfunctions first.
10775 2013-06-08 Glenn Morris <rgm@gnu.org>
10777 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10778 (byte-compile-backward-char, byte-compile-backward-word):
10779 Improve previous change, to handle non-explicit nil.
10781 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10784 (smie--opener/closer-at-point): New function.
10785 (smie--matching-block-data): Use it. Don't match from right after an
10786 opener or right before a closer. Obey smie-blink-matching-inners.
10787 Don't signal a mismatch for repeated inners like "switch..case..case".
10789 2013-06-07 Leo Liu <sdl.web@gmail.com>
10791 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10793 (octave-function-header-regexp): Fix. (Bug#14570)
10794 (octave-help-mode-finish-hook, octave-help-mode-finish):
10795 Remove. Just use temp-buffer-show-hook.
10797 * newcomment.el (comment-search-backward): Revert last change.
10800 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10802 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10804 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10805 through xargs, to avoid failure due to MS-Windows limitations on
10806 command-line length.
10808 2013-06-06 Glenn Morris <rgm@gnu.org>
10810 * font-lock.el (lisp-font-lock-keywords-2):
10811 Treat user-error like error.
10813 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10814 (byte-compile-backward-char, byte-compile-backward-word):
10815 Handle explicit nil arguments. (Bug#14565)
10817 2013-06-05 Alan Mackenzie <acm@muc.de>
10819 * isearch.el (isearch-allow-prefix): New user option.
10820 (isearch-other-meta-char): Don't exit isearch when a prefix
10821 argument is typed whilst `isearch-allow-prefix' is non-nil.
10824 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10826 * autorevert.el (auto-revert-notify-handler): Use memq.
10827 Hide assertion failure.
10829 * skeleton.el: Use cl-lib.
10830 (skeleton-further-elements): Use defvar-local.
10831 (skeleton-insert): Use cl-progv.
10833 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10835 * progmodes/prog-mode.el (prog-prettify-symbols)
10836 (prog-prettify-install): Update docstrings.
10838 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * simple.el: Move all the prog-mode code to prog-mode.el.
10841 * progmodes/prog-mode.el: New file.
10842 * loadup.el: Add prog-mode.el.
10844 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10846 * simple.el (prog-prettify-symbols): Add version.
10847 (prog-prettify-install): Add convenience function to prettify symbols.
10849 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10850 (perl--augmented-font-lock-keywords-1)
10851 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10852 variables and use it.
10854 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10855 (cfengine3-mode): Remove unneeded variable and use it.
10857 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10858 (lisp--augmented-font-lock-keywords-1)
10859 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10860 Remove unneeded variables and use it.
10862 2013-06-05 João Távora <joaotavora@gmail.com>
10864 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10865 to point when opening the connection. (Bug#14380)
10867 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * subr.el (load-history-regexp, load-history-filename-element)
10870 (eval-after-load, after-load-functions, do-after-load-evaluation)
10871 (eval-next-after-load, display-delayed-warnings)
10872 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10873 definition of save-match-data.
10874 (overriding-local-map): Remove accidental obsolescence declaration.
10876 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10878 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10880 Generalize symbol prettify support to prog-mode and implement it
10881 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10882 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10883 (prog--prettify-font-lock-compose-symbol)
10884 (prog-prettify-font-lock-symbols-keywords): New variables and
10885 functions to support symbol prettification.
10886 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10887 (lisp--augmented-font-lock-keywords-1)
10888 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10889 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10890 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10891 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10892 Implement prettify of -> => :: strings.
10893 * progmodes/perl-mode.el (perl-prettify-symbols)
10894 (perl--font-lock-compose-symbol)
10895 (perl--font-lock-symbols-keywords): Move to prog-mode.
10896 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10897 (perl-font-lock-keywords-1)
10898 (perl-font-lock-keywords-2): Remove explicit prettify support.
10899 (perl--augmented-font-lock-keywords)
10900 (perl--augmented-font-lock-keywords-1)
10901 (perl--augmented-font-lock-keywords-2, perl-mode):
10902 Implement prettify support.
10904 2013-06-05 Leo Liu <sdl.web@gmail.com>
10906 Re-implement SMIE matching block highlight using
10907 show-paren-data-function. (Bug#14395)
10908 * emacs-lisp/smie.el (smie-matching-block-highlight)
10909 (smie--highlight-matching-block-overlay)
10910 (smie--highlight-matching-block-lastpos)
10911 (smie-highlight-matching-block)
10912 (smie-highlight-matching-block-mode): Remove.
10913 (smie--matching-block-data-cache): New variable.
10914 (smie--matching-block-data): New function.
10915 (smie-setup): Use smie--matching-block-data for
10916 show-paren-data-function.
10918 * progmodes/octave.el (octave-mode-menu): Fix.
10919 (octave-find-definition): Skip garbage lines.
10921 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10923 Fix compilation error with simultaneous dynamic+lexical scoping.
10924 Add warning when a defvar appears after the first let-binding.
10925 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10926 (byte-compile-close-variables): Initialize it.
10927 (byte-compile--declare-var): New function.
10928 (byte-compile-file-form-defvar)
10929 (byte-compile-file-form-define-abbrev-table)
10930 (byte-compile-file-form-custom-declare-variable): Use it.
10931 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10932 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10933 (byte-compile-bind): Handle dynamic bindings that shadow
10935 (byte-compile-unbind): Make arg non-optional.
10936 (byte-compile-let): Simplify.
10937 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10938 (cconv--analyse-function, cconv-analyse-form): Populate it.
10939 Protect byte-compile-bound-variables to limit the scope of defvars.
10940 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10941 Remove unneeded rule for `declare'.
10943 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10944 so as to avoid depending on cl-adjoin at run-time.
10945 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10947 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10948 (macroexp--warn-and-return): Use it.
10950 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10952 * subr.el: Convert to lexical binding.
10953 (overriding-local-map): Make obsolete.
10954 (add-to-list): Doc fix. Add compiler macro.
10955 (read-key): Swap values of local maps.
10957 2013-06-05 Leo Liu <sdl.web@gmail.com>
10959 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10961 2013-06-04 Leo Liu <sdl.web@gmail.com>
10963 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10964 (compilation-auto-jump): Suppress the "Mark set" message to give
10965 way to exit message.
10967 2013-06-04 Alan Mackenzie <acm@muc.de>
10969 Remove faulty optimisation from indentation calculation.
10970 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10971 search limit based on 2000 characters back from indent-point.
10973 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10975 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10977 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10979 * emacs-lisp/lisp.el: Use lexical-binding.
10980 (lisp--local-variables-1, lisp--local-variables): New functions.
10981 (lisp--local-variables-completion-table): New var.
10982 (lisp-completion-at-point): Use it complete let-bound vars.
10984 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10985 eagerly (bug#14422).
10987 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10989 * autorevert.el (auto-revert-notify-enabled)
10990 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10991 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10992 (auto-revert-notify-handler): Handle also gfilenotify.
10994 * subr.el (file-notify-handle-event): New defun. Replacing ...
10995 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10998 2013-06-03 Juri Linkov <juri@jurta.org>
11000 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
11001 `M-s h .'. (Bug#14427)
11003 * hi-lock.el (highlight-symbol-at-point): New alias for the new
11004 command `hi-lock-face-symbol-at-point'.
11005 (hi-lock-face-symbol-at-point): New command.
11006 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
11007 (hi-lock-menu): Add `highlight-symbol-at-point'.
11008 (hi-lock-mode): Doc fix.
11010 * isearch.el (isearch-forward-symbol-at-point): New command.
11011 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
11012 (isearch-highlight-regexp): Add a regexp which matches
11013 words/symbols for word/symbol mode.
11015 * subr.el (find-tag-default-bounds): New function with the body
11016 mostly moved from `find-tag-default'.
11017 (find-tag-default): Move most code to `find-tag-default-bounds',
11018 call it and apply `buffer-substring-no-properties' afterwards.
11020 2013-06-03 Tassilo Horn <tsdh@gnu.org>
11022 * eshell/em-term.el (eshell-term-initialize):
11023 Use `cl-intersection' rather than `intersection'.
11025 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
11027 * vc/log-view.el: Doc fix.
11028 (log-view-mode-map): Copy keymap from `special-mode-map'.
11030 2013-06-02 Eric Ludlam <zappo@gnu.org>
11032 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
11033 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
11034 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
11035 (eieio-unbound, eieio-default-superclass)
11036 (eieio--define-field-accessors, method-static, method-before)
11037 (method-primary, method-after, method-num-lists)
11038 (method-generic-before, method-generic-primary)
11039 (method-generic-after, method-num-slots)
11040 (eieio-specialized-key-to-generic-key)
11041 (eieio--check-type, class-v, class-p)
11042 (eieio-class-name, define-obsolete-function-alias)
11043 (eieio-class-parents-fast, eieio-class-children-fast)
11044 (same-class-fast-p, class-constructor, generic-p)
11045 (generic-primary-only-p, generic-primary-only-one-p)
11046 (class-option-assoc, class-option, eieio-object-p)
11047 (class-abstract-p, class-method-invocation-order)
11048 (eieio-defclass-autoload-map, eieio-defclass-autoload)
11049 (eieio-class-un-autoload, eieio-defclass)
11050 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
11051 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
11052 (eieio--defgeneric-init-form, eieio-defgeneric-form)
11053 (eieio-defgeneric-reset-generic-form)
11054 (eieio-defgeneric-form-primary-only)
11055 (eieio-defgeneric-reset-generic-form-primary-only)
11056 (eieio-defgeneric-form-primary-only-one)
11057 (eieio-defgeneric-reset-generic-form-primary-only-one)
11058 (eieio-unbind-method-implementations)
11059 (eieio--defmethod, eieio--typep)
11060 (eieio-perform-slot-validation, eieio-validate-slot-value)
11061 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
11062 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11063 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11064 (eieio-slot-name-index, eieio-class-slot-name-index)
11065 (eieio-set-defaults, eieio-initarg-to-attribute)
11066 (eieio-attribute-to-initarg, eieio-c3-candidate)
11067 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11068 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11069 (eieio-class-precedence-list, eieio-generic-call-methodname)
11070 (eieio-generic-call-arglst, eieio-generic-call-key)
11071 (eieio-generic-call-next-method-list)
11072 (eieio-pre-method-execution-functions, eieio-generic-call)
11073 (eieio-generic-call-primary-only, eieiomt-method-list)
11074 (eieiomt-optimizing-obarray, eieiomt-install)
11075 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11076 (eieio-generic-form, eieio-defmethod, make-obsolete)
11077 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11078 (defclass): Remove `eval-and-compile' from macro.
11079 (call-next-method, shared-initialize): Instead of using
11080 `scoped-class' variable, use new eieio--scoped-class, and
11081 eieio--with-scoped-class.
11082 (initialize-instance): Rename local variable 'scoped-class' to
11083 'this-class' to remove ambiguitity from old global.
11085 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11087 (eieio--scoped-class-stack): New variable.
11088 (eieio--scoped-class): New fcn.
11089 (eieio--with-scoped-class): New scoping macro.
11090 (eieio-defclass): Use pushnew instead of add-to-list.
11091 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11092 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11093 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11094 `scoped-class' variable, use new eieio--scoped-class, and
11095 eieio--with-scoped-class.
11097 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11099 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11101 * eshell/esh-ext.el (eshell-external-command): Pass args to
11102 `eshell-find-interpreter'.
11103 (eshell-find-interpreter): Add new second parameter ARGS.
11105 * eshell/em-script.el (eshell-script-initialize): Add second arg
11106 to the function added as MATCH to `eshell-interpreter-alist'.
11108 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11109 the function added as MATCH to `eshell-interpreter-alist'.
11111 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11112 (eshell-visual-options): New defcustom.
11113 (eshell-escape-control-x): Adapt docstring.
11114 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11115 `eshell-visual-options' in addition to `eshell-visual-commands'.
11116 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11118 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11120 * progmodes/python.el (python-indent-block-enders): Add break,
11121 continue and raise keywords.
11123 2013-06-01 Glenn Morris <rgm@gnu.org>
11125 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11127 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11128 * progmodes/cc-cmds.el (delete-forward-p):
11129 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11130 * progmodes/cc-engine.el (buffer-syntactic-context):
11131 * progmodes/cc-fonts.el (face-property-instance):
11132 * progmodes/cc-mode.el (set-keymap-parents):
11133 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11134 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11135 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11136 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11137 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11139 * progmodes/cc-vars.el (other): Emacs has this widget since
11140 at least 21.1, so don't (re)define it.
11142 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11143 Replace the obsolete alias pcomplete-arg-quote-list.
11145 2013-06-01 Leo Liu <sdl.web@gmail.com>
11147 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11148 punctuation syntax.
11149 (inferior-octave-minimal-columns)
11150 (inferior-octave-last-column-width): New variables.
11151 (inferior-octave-track-window-width-change): New function.
11152 (inferior-octave-mode): Adjust column width so that Octave output,
11153 for example from 'ls', can fit into the window nicely.
11155 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11157 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11158 Highlight expansions inside regexp literals.
11160 2013-05-31 Glenn Morris <rgm@gnu.org>
11162 * obsolete/sym-comp.el (symbol-complete):
11163 Replace obsolete completion-annotate-function.
11165 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11167 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11169 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11170 New function, checks if point is inside a literal that allows
11171 expression expansion.
11172 (ruby-syntax-propertize-expansion): Use it.
11173 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11176 2013-05-30 Juri Linkov <juri@jurta.org>
11178 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11180 (isearch-invisible): New variable.
11181 (isearch-forward): Doc fix.
11182 (isearch-mode): Set `isearch-invisible'
11183 to the value of `search-invisible'.
11184 (isearch-toggle-case-fold): Doc fix.
11185 (isearch-toggle-invisible): New command.
11186 (isearch-query-replace): Let-bind `search-invisible'
11187 to the value of `isearch-invisible'.
11188 (isearch-search): Use `isearch-invisible' instead of
11189 `search-invisible'. Let-bind `search-invisible'
11190 to the value of `isearch-invisible'. (Bug#11378)
11192 2013-05-30 Juri Linkov <juri@jurta.org>
11194 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11195 call when `query-flag' is nil and `search-invisible' is non-nil.
11198 2013-05-30 Glenn Morris <rgm@gnu.org>
11200 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11202 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11203 (cc-require): Suppress spurious "noruntime" warnings.
11204 (cc-require-when-compile): Use fboundp, for sake of compiler.
11206 * progmodes/cc-mode.el: Move load of cc-vars before that of
11207 cc-langs (which in turn loads cc-vars), to quieten compiler.
11209 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * paren.el: Simplify the code.
11212 (show-paren-mode): Always start the timer.
11213 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11214 (show-paren--overlay, show-paren--overlay-1): Rename from
11215 show-paren-overlay and show-paren-overlay-1, and initialize to an
11216 overlay rather than to nil.
11217 (show-paren-function): Misc cleanup and simplifications.
11219 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11221 * paren.el (show-paren-data-function): New hook.
11222 (show-paren--default): New function, extracted from show-paren-function.
11223 (show-paren-function): Use show-paren-data-function.
11225 2013-05-30 Glenn Morris <rgm@gnu.org>
11227 * ielm.el (ielm-map, ielm-complete-symbol):
11228 Use completion-at-point rather than obsolete functions.
11229 (inferior-emacs-lisp-mode): Doc fix.
11230 Set completion-at-point-functions, rather than
11231 comint-dynamic-complete-functions.
11233 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11234 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11235 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11237 * image.el (image-animated-p): Tweak definition.
11239 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11240 (rlogin-process-connection-type): Tweak default. Add set-after.
11241 (rlogin-host): Doc fix.
11242 (rlogin): Tweak prompt.
11243 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11245 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11246 * progmodes/tcl.el (inferior-tcl-mode-map):
11247 Use completion-at-point rather than obsolete alias.
11249 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11251 * minibuffer.el (read-file-name-completion-ignore-case):
11252 Move before completion--in-region, for eager macro expansion.
11254 2013-05-29 Juri Linkov <juri@jurta.org>
11256 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11257 for total count of matching lines. Add `global-matches' for total
11258 count of matches. Rename `matches' to `lines' for count of
11259 matching lines. Add `matches' for count of matches.
11260 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11261 to `prev-line' for line number of prev match endpt.
11262 Increment `matches' for every match. Print the number of
11263 matching lines in the header.
11264 (occur-context-lines): Rename `lines' to `curr-line'.
11265 Rename `prev-lines' to `prev-line'. (Bug#14017)
11267 2013-05-29 Juri Linkov <juri@jurta.org>
11269 * replace.el (perform-replace): Add `skip-read-only-count',
11270 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11271 Increment them for corresponding conditions and report the number
11272 of skipped occurrences in the final message. (Bug#11746)
11273 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11274 (replace-string, replace-regexp): Doc fix.
11276 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11278 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11280 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11281 prog-mode-map (bug#14504).
11283 2013-05-29 Leo Liu <sdl.web@gmail.com>
11285 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11286 (octave-help): Small simplification.
11288 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11289 off the highlight first.
11291 2013-05-29 Glenn Morris <rgm@gnu.org>
11293 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11294 Handle idlwave-last-system-routine-info-cons-cell being nil.
11296 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11297 (idlwave-write-paths): Simplify via with-temp-buffer.
11299 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11300 * emulation/cua-rect.el: Also load cua-base at run time.
11302 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11303 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11304 (cperl-imenu-on-info): Require imenu.
11306 2013-05-28 Alan Mackenzie <acm@muc.de>
11308 Handle "capitalised keywords" correctly.
11309 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11311 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11313 * eshell/em-unix.el: Add -r option to cp.
11315 2013-05-28 Glenn Morris <rgm@gnu.org>
11317 * vc/vc-arch.el (vc-exec-after): Declare.
11318 (vc-switches): Autoload.
11319 * vc/vc-bzr.el: No need to require vc when compiling.
11320 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11321 (vc-resynch-buffer, vc-dir-refresh): Declare.
11322 (vc-setup-buffer, vc-switches): Autoload.
11323 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11324 (vc-resynch-buffer): Declare.
11325 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11326 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11327 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11328 (grep-read-regexp, grep-read-files, grep-expand-template)
11329 (vc-dir-refresh): Declare.
11330 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11331 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11332 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11333 * vc/vc-mtn.el (vc-exec-after): Declare.
11334 (vc-switches): Autoload.
11335 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11336 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11337 (vc-file-tree-walk): Declare.
11338 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11339 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11340 (vc-tag-precondition, vc-rename-master): Autoload.
11341 * vc/vc-svn.el (vc-exec-after): Declare.
11342 (vc-switches, vc-setup-buffer): Autoload.
11343 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11345 (vc-resynch-buffer): Declare.
11347 * obsolete/fast-lock.el (byte-compile-warnings):
11348 Don't warn about obsolete features in this obsolete file.
11350 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11351 Move definition before use.
11353 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11354 (dun-unix-verbs): Remove dun-zippy.
11355 (dun-zippy): Remove function.
11357 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11359 2013-05-27 Juri Linkov <juri@jurta.org>
11361 * replace.el (replace-search): New function with code moved out
11362 from `perform-replace'.
11363 (replace-highlight, replace-dehighlight): Move function definitions
11364 up closer to `replace-search'. (Bug#11746)
11366 2013-05-27 Juri Linkov <juri@jurta.org>
11368 * replace.el (perform-replace): Ignore invisible matches.
11369 In addition to checking `query-replace-skip-read-only', also
11370 filter out matches by calling `run-hook-with-args-until-failure'
11371 on `isearch-filter-predicates', and also check `search-invisible'
11372 for t or call `isearch-range-invisible'.
11373 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11375 2013-05-27 Juri Linkov <juri@jurta.org>
11377 * isearch.el (isearch-filter-predicates): Rename from
11378 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11379 (isearch-message-prefix): Display text from the property
11380 `isearch-message-prefix' of the currently active filters.
11381 (isearch-search): Don't compare `isearch-filter-predicate' with
11382 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11383 on `isearch-filter-predicates'. Also check `search-invisible' for t
11384 or call `isearch-range-invisible'.
11385 (isearch-filter-visible): Make obsolete.
11386 (isearch-lazy-highlight-search):
11387 Call `run-hook-with-args-until-failure' on
11388 `isearch-filter-predicates' and use `isearch-range-invisible'.
11390 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11391 `isearch-filter-predicates' instead of `funcall'ing
11392 `isearch-filter-predicate'.
11393 (Info-mode): Set `Info-isearch-filter' to
11394 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11396 * dired-aux.el (dired-isearch-filter-predicate-orig):
11398 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11399 (dired-isearch-filenames-end): Add and remove
11400 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11401 instead of changing the value of `isearch-filter-predicate'.
11402 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11403 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11404 Put property `isearch-message-prefix' to "filename " on
11405 `dired-isearch-filter-filenames'.
11407 * wdired.el (wdired-change-to-wdired-mode):
11408 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11409 locally instead of changing `isearch-filter-predicate'.
11410 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11412 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11414 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11415 return the commit hash (Bug#14459). Also set the
11416 `vc-git-detached' property.
11417 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11418 (vc-git-mode-line-string): Use the same help-echo format whether
11419 in detached mode or not, because we know the actual revision now.
11420 When in detached mode, shorten the revision to 7 chars.
11422 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * emacs-lisp/easy-mmode.el (define-minor-mode):
11425 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11426 mode hook and provide a docstring.
11428 2013-05-27 Alan Mackenzie <acm@muc.de>
11430 Remove spurious syntax-table text properties inserted by C-y.
11431 * progmodes/cc-mode.el (c-after-change): Also clear hard
11432 syntax-table property with value nil.
11434 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11436 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11437 when reading the events; the buffer layout shall not be changed.
11439 2013-05-27 Leo Liu <sdl.web@gmail.com>
11441 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11443 (inferior-octave-directory-tracker): Automatically re-sync
11445 (octave-help): Improve handling of 'See also'.
11447 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11449 * doc-view.el: Minor naming convention tweaks.
11450 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11452 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11453 even if there's no `display' property yet (bug#14435).
11455 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11457 * subr.el (unmsys--file-name): Rename from reveal-filename.
11459 * Makefile.in (custom-deps, finder-data, autoloads)
11460 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11461 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11462 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11464 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11466 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11467 error-completion on the first 2 args of condition-case (bug#14446).
11470 2013-05-25 Leo Liu <sdl.web@gmail.com>
11472 * comint.el (comint-previous-matching-input): Do not flood the
11473 *Messages* buffer with trivial messages.
11475 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11477 * progmodes/flymake.el (flymake-nop): Don't return a string.
11478 (flymake-set-at): Fix typo.
11480 * simple.el (read--expression): New function, extracted from
11481 eval-expression. Set completion-at-point-functions (bug#14465).
11482 (eval-expression, eval-minibuffer): Use it.
11484 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11486 * progmodes/flymake.el (flymake-save-buffer-in-file)
11487 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11488 (flymake-selected-frame, flymake-log, flymake-ins-after)
11489 (flymake-set-at, flymake-get-buildfile-from-cache)
11490 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11491 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11492 Refine the doc string.
11493 (flymake-get-file-name-mode-and-masks): Reformat.
11494 (flymake-get-real-file-name-function): Fix a minor bug.
11496 2013-05-24 Juri Linkov <juri@jurta.org>
11498 * progmodes/grep.el (grep-mode-font-lock-keywords):
11499 Support =linenumber= format used by git-grep for lines with
11500 function names. (Bug#13549)
11502 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11505 0 after a semi-colon; it works better for smie-auto-fill.
11506 (octave--indent-new-comment-line): New function.
11507 (octave-indent-new-comment-line): Use it (indirectly).
11508 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11509 modify comment-line-break-function.
11511 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11512 (smie-setup): Use add-function to set it.
11514 2013-05-24 Sam Steingold <sds@gnu.org>
11516 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11517 argument (before the `interactive' argument).
11519 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11521 * image-mode.el (image-mode-winprops): Add winprops to
11522 image-mode-winprops-alist before running
11523 image-mode-new-window-functions.
11524 * doc-view.el (doc-view-new-window-function): Don't delay
11525 doc-view-goto-page via timers (bug#14435).
11527 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11529 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11530 (doc-view-desktop-save-buffer): New function.
11531 (doc-view-restore-desktop-buffer): New function.
11532 (desktop-buffer-mode-handlers):
11533 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11535 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11536 `desktop-save-buffer' function.
11538 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11540 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11541 (tramp-gvfs-file-name-handler): Raise a user error when
11542 `tramp-gvfs-enabled' is nil.
11543 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11544 Do not raise a user error when loading package. (Bug#14447)
11546 * net/xesam.el: Move to obsolete/.
11548 2013-05-24 Glenn Morris <rgm@gnu.org>
11550 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11552 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11554 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11555 (Info-find-node, Man-getpage-in-background): Declare.
11557 * mail/unrmail.el (unrmail):
11558 Replace obsolete detect-coding-with-priority.
11560 * net/socks.el (socks-split-string): Use this rather than split-string.
11561 (socks-nslookup-host): Update for above change.
11562 (dynamic-choice, s5-dynamic-choice-match)
11563 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11564 Comment out unused code.
11566 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11567 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11568 (gud-tooltip-echo-area): Make obsolete.
11569 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11571 * progmodes/js.el (js--optimize-arglist): Declare.
11573 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11575 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11576 (ediff-window-C): Declare.
11578 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11579 Tweak requires to silence compiler.
11581 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11582 (he-search-string, he-tried-table, he-expand-list)
11583 (he-init-string, he-string-member, he-substitute-string)
11584 (he-reset-string): Declare.
11586 * obsolete/options.el (list-options): Use custom-variable-p,
11587 rather than obsolete alias.
11589 2013-05-23 Sam Steingold <sds@gnu.org>
11591 * simple.el (shell-command-on-region): Pass the `replace' argument
11592 down to `call-process-region' to comply with the doc as reported on
11593 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11595 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11597 * emacs-lisp/smie.el (smie-indent-forward-token)
11598 (smie-indent-backward-token): Handle string tokens (bug#14381).
11600 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11602 * ielm.el (ielm-menu): New menu.
11603 (inferior-emacs-lisp-mode): Set comment-start.
11605 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11607 * textmodes/reftex.el (reftex-ref-style-toggle):
11608 Fix deactivate action.
11610 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11611 Add cleveref macros.
11613 * textmodes/reftex-parse.el
11614 (reftex-locate-bibliography-files): Accept options for
11615 bibliography commands.
11616 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11617 Add addbibresource. Basic Biblatex support.
11619 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11621 * net/tramp-gvfs.el (top):
11622 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11623 when loading package. (Bug#14447)
11625 2013-05-23 Glenn Morris <rgm@gnu.org>
11627 * progmodes/js.el: No need to load comint when compiling.
11628 (ring-insert, comint-send-string, comint-send-input)
11629 (comint-last-input-end, ido-chop): Declare.
11631 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11632 * vc/ediff-mult.el: Adjust requires.
11633 (ediff-directories-internal, ediff-directory-revisions-internal)
11634 (ediff-patch-file-internal): Declare.
11635 * vc/ediff-ptch.el: Adjust requires.
11636 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11637 (ediff-find-file): Autoload.
11638 * vc/ediff-util.el: No need to load ediff when compiling.
11639 (ediff-regions-internal): Declare.
11640 * vc/ediff-wind.el: Adjust requires.
11641 (ediff-compute-toolbar-width): Define when compiling.
11642 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11643 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11644 (dired-get-filename, dired-get-marked-files)
11645 (ediff-last-dir-patch, ediff-patch-default-directory)
11646 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11647 (ediff-patch-buffer-internal): Declare.
11649 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11650 (ispell-process, ispell-buffer-local-words, lm-summary)
11651 (lm-section-start, lm-section-end): Declare.
11652 (checkdoc-ispell-init): Simplify.
11654 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11655 (he-string-member, he-reset-string, he-substitute-string): Declare.
11657 * eshell/em-ls.el: Adjust requires.
11658 (eshell-glob-regexp): Declare.
11659 * eshell/em-tramp.el: Adjust requires.
11660 (eshell-parse-command): Autoload.
11661 * eshell/em-xtra.el: Adjust requires.
11662 (eshell-parse-command): Autoload.
11663 * eshell/esh-ext.el: Adjust requires.
11664 (eshell-parse-command, eshell-close-handles): Autoload.
11665 * eshell/esh-io.el: Adjust requires.
11666 (eshell-output-filter): Autoload.
11667 * eshell/esh-util.el: No need to load tramp when compiling.
11668 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11670 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11671 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11672 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11673 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11674 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11675 * eshell/esh-opt.el, eshell/esh-proc.el:
11676 * eshell/esh-var.el: Adjust requires.
11677 * eshell/eshell.el: Do not require esh-util twice.
11678 (eshell-add-input-to-history): Declare.
11679 (eshell-command): Check history module is active before using it.
11681 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11683 2013-05-22 Leo Liu <sdl.web@gmail.com>
11685 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11687 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11689 * autorevert.el (auto-revert-notify-add-watch)
11690 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11691 it indicates changes in file modification time.
11693 2013-05-22 Glenn Morris <rgm@gnu.org>
11695 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11696 Always delete the autoloaded function from the noruntime and
11697 unresolved functions lists.
11699 * allout.el: No need to load epa, epg, overlay when compiling.
11700 (epg-context-set-passphrase-callback, epg-list-keys)
11701 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11702 (epg-key-user-id-list): Declare.
11704 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11705 (viper-set-parsing-style-toggling-macro)
11706 (viper-set-emacs-state-searchstyle-macros):
11707 Use called-interactively-p on Emacs.
11708 (viper-looking-back): Make it an obsolete alias. Update callers.
11709 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11710 Use looking-back rather than viper-looking-back.
11711 (viper-tmp-insert-at-eob, viper-enlarge-region)
11712 (viper-read-string-with-history, viper-register-to-point)
11713 (viper-append-to-register, viper-change-state-to-vi)
11714 (viper-backward-char-carefully, viper-forward-char-carefully)
11715 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11716 (viper-change-state-to-emacs): Declare.
11717 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11718 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11719 * emulation/viper-mous.el: Do not load viper-cmd.
11720 (viper-backward-char-carefully, viper-forward-char-carefully)
11721 (viper-forward-word, viper-adjust-window): Declare.
11723 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11725 * progmodes/idlw-help.el (idlwave-help-fontify):
11726 Use called-interactively-p.
11728 * term/w32console.el (w32-get-console-codepage)
11729 (w32-get-console-output-codepage): Declare.
11731 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11732 Remove unnecessary declarations.
11733 (dframe-message): Doc fix.
11735 * info.el (dframe-select-attached-frame, dframe-current-frame):
11738 * speedbar.el (speedbar-message): Make it an obsolete alias.
11739 Update all callers.
11740 (speedbar-with-attached-buffer)
11741 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11742 (speedbar-with-writable): Use backquote.
11743 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11744 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11745 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11746 rather than speedbar- aliases.
11747 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11748 (speedbar-make-specialized-keymap, speedbar-insert-button)
11749 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11750 (speedbar-do-function-pointer): Declare.
11751 (rmail-speedbar-button, rmail-speedbar-find-file)
11752 (rmail-speedbar-move-message):
11753 Use dframe-with-attached-buffer rather than speedbar- alias.
11754 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11755 (dframe-message, speedbar-make-specialized-keymap)
11756 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11757 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11758 (speedbar-insert-button, dframe-select-attached-frame)
11759 (dframe-maybee-jump-to-attached-frame)
11760 (speedbar-change-initial-expansion-list)
11761 (speedbar-previously-used-expansion-list-name): Declare.
11762 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11763 Use dframe-message, dframe-with-attached-buffer rather than
11765 (gud-sentinel): Silence compiler.
11766 * progmodes/vhdl-mode.el (speedbar-refresh)
11767 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11768 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11769 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11770 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11771 (speedbar-file-lists, speedbar-make-tag-line)
11772 (speedbar-line-directory, speedbar-goto-this-file)
11773 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11774 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11775 (speedbar-make-button, speedbar-reset-scanners)
11776 (speedbar-files-item-info, speedbar-line-text)
11777 (speedbar-find-file-in-frame, speedbar-set-timer)
11778 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11779 (speedbar-with-writable): Do not (re)define it.
11780 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11781 rather than speedbar- alias.
11783 2013-05-21 Leo Liu <sdl.web@gmail.com>
11785 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11787 (octave-mode): Tweak fill-nobreak-predicate.
11788 (inferior-octave-startup): Check process to avoid infinite loop.
11789 (inferior-octave): Pop to buffer first to show abornmal process
11792 2013-05-21 Glenn Morris <rgm@gnu.org>
11794 * printing.el (pr-menu-bar): Define when compiling.
11796 2013-05-21 Leo Liu <sdl.web@gmail.com>
11798 * progmodes/octave.el (octave-auto-fill): Remove.
11799 (octave-indent-new-comment-line): Improve.
11800 (octave-mode): Use auto fill mode through
11801 comment-line-break-function and fill-nobreak-predicate.
11802 (octave-goto-function-definition): Support DEFUN_DLD.
11803 (octave-beginning-of-defun): Small tweak.
11804 (octave-help): Show parent directory.
11806 2013-05-21 Glenn Morris <rgm@gnu.org>
11808 * files.el (dired-unmark):
11809 * progmodes/gud.el (gdb-input): Update declarations.
11811 * calculator.el (electric, ehelp): No need to load when compiling.
11812 (Electric-command-loop, electric-describe-mode): Declare.
11814 * doc-view.el (doc-view-current-converter-processes): Move before use.
11816 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11817 Move MODE-set-explicitly definition before use.
11819 * international/mule-diag.el (mule-diag):
11820 Don't use obsolete window-system-version.
11822 * mail/feedmail.el (smtpmail): No need to load when compiling.
11823 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11825 * mail/mail-utils.el (rfc822): No need to load when compiling.
11826 (rfc822-addresses): Autoload it.
11827 (mail-strip-quoted-names): Trivial simplification.
11829 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11830 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11832 * net/snmp-mode.el (tempo): Don't duplicate requires.
11834 * progmodes/prolog.el (info): No need to load when compiling.
11835 (comint): Require before shell requires it.
11836 (Info-goto-node): Autoload it.
11837 (Info-follow-nearest-node): Declare.
11838 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11840 * textmodes/artist.el (picture-mode-exit): Declare.
11842 * textmodes/reftex-parse.el (reftex-parse-from-file):
11843 Trivial rewrite so the compiler can parse it better.
11845 2013-05-20 Leo Liu <sdl.web@gmail.com>
11847 * progmodes/octave.el (octave-help-mode-map)
11848 (octave-help-mode-finish-hook): New variables.
11849 (octave-help-mode, octave-help-mode-finish): New functions.
11850 (octave-help): Use octave-help-mode.
11852 2013-05-20 Glenn Morris <rgm@gnu.org>
11854 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11856 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11858 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11859 start at point, so that expansion starting right after opening
11860 slash in a regexp is recognized.
11861 (ruby-syntax-before-regexp-re): New defvar, extracted from
11862 ruby-syntax-propertize-function. Since the value of this regexp
11863 is looked up at runtime now, we should be able to turn
11864 `ruby-syntax-methods-before-regexp' into a defcustom later.
11865 (ruby-syntax-propertize-function): Split regexp matching into two
11866 parts, for opening and closing slashes. That allows us to skip
11867 over string interpolations and support multiline regexps.
11868 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11869 for them, which calls `ruby-syntax-propertize-expansion'.
11870 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11871 call to `ruby-syntax-propertize-function'.
11872 (ruby-syntax-propertize-expansion): Extracted from
11873 `ruby-syntax-propertize-expansions'. Handles one expansion.
11874 (ruby-syntax-propertize-percent-literal): Leave point right after
11875 the percent symbol, so that the expression expansion rule can
11876 propertize the contents.
11877 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11879 (ruby-syntax-propertize-expansions): Remove.
11881 2013-05-18 Juri Linkov <juri@jurta.org>
11883 * man.el (Man-default-man-entry): Remove `-' from the end
11884 of the default value. (Bug#14400)
11886 2013-05-18 Glenn Morris <rgm@gnu.org>
11888 * comint.el (comint-password-prompt-regexp):
11889 Allow "password for XXX" where XXX contains colons (eg https://...).
11891 2013-05-18 Leo Liu <sdl.web@gmail.com>
11893 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11894 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11895 (octave-source-directories): Don't check process.
11896 (octave-source-directories, octave-find-definition): Doc fix.
11898 2013-05-18 Glenn Morris <rgm@gnu.org>
11900 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11901 Remove backspace/delete bindings. (Bug#14392)
11903 * cus-dep.el (custom-make-dependencies): Sort the output.
11904 (custom-versions-load-alist): Convert comment to doc.
11906 2013-05-17 Leo Liu <sdl.web@gmail.com>
11908 * newcomment.el (comment-search-backward): Stricter in finding
11909 comment start. (Bug#14303)
11911 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11912 (octave-comment-start-skip): Properly anchored.
11914 2013-05-17 Leo Liu <sdl.web@gmail.com>
11916 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11917 Clean up when turned off. (Bug#14395)
11918 (smie--highlight-matching-block-overlay): No longer buffer-local.
11919 (smie-highlight-matching-block): Adjust.
11921 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11923 Doc string fix for "nanoseconds" (Bug#14406).
11924 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11925 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11927 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11929 * calc/calc-units.el (math-extract-units): Preserve powers
11932 2013-05-17 Leo Liu <sdl.web@gmail.com>
11934 * subr.el (delete-consecutive-dups): New function.
11935 * ido.el (ido-set-matches-1): Use it.
11936 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11937 * ido.el (ido-remove-consecutive-dups): Remove.
11939 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11941 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11942 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11943 regexp-opt's `words'.
11945 2013-05-16 Leo Liu <sdl.web@gmail.com>
11947 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11948 (smie--highlight-matching-block-overlay)
11949 (smie--highlight-matching-block-lastpos)
11950 (smie--highlight-matching-block-timer): New variables.
11951 (smie-highlight-matching-block): New function.
11952 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11953 (smie-setup): Conditionally enable smie-blink-matching-open.
11955 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11957 Sync with upstream verilog-mode r840.
11958 * progmodes/verilog-mode.el (verilog-mode-version)
11959 (verilog-mode-release-date): Update.
11960 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11961 (verilog-sig-tieoff): Fix string error on
11962 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11963 (verilog-read-decls): Fix parameters confusing
11964 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11966 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11968 * subr.el (reveal-filename): New function.
11970 * loadup.el: Compute Emacs executable versions on MS-Windows,
11971 where executables have the .exe extension. Add a hard link
11972 emacs-XX.YY.ZZ.exe on MS-Windows.
11974 * Makefile.in (XARGS_LIMIT): New variable.
11975 (custom-deps, finder-data, autoloads)
11976 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11977 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11978 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11979 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11981 2013-05-16 Leo Liu <sdl.web@gmail.com>
11983 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11984 (octave-mode-menu, octave-mode-map): Remove its uses.
11986 2013-05-16 Reto Zimmermann <reto@gnu.org>
11988 Sync with upstream vhdl mode v3.34.2.
11989 * progmodes/vhdl-mode.el: Use `push' throughout.
11990 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11991 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11992 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11993 (vhdl-actual-generic-name): New option to derive actual generic name.
11994 (vhdl-port-paste-signals): Replace formal by actual generics.
11995 (vhdl-beautify): New name for old group vhdl-align. Update users.
11996 (vhdl-beautify-options): New option.
11997 (vhdl-last-input-event): New compat alias. Use throughout.
11998 (vhdl-goto-line): Replace user level function `goto-line'.
11999 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
12000 vhdl-fix-statement-buffer.
12001 (vhdl-create-mode-menu): Add some entries.
12002 (vhdl-align-region-groups): Respect vhdl-beautify-options.
12003 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
12004 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
12005 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
12006 to force statements on one line.
12007 (vhdl-remove-trailing-spaces-region):
12008 New, split from vhdl-remove-trailing-spaces.
12009 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
12010 Respect vhdl-beautify-options.
12011 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
12012 (vhdl-update-sensitivity-list): Not add with index if exists without.
12013 Not include array index with signal. Ignore keywords in comments.
12014 (vhdl-get-visible-signals): Regexp tweaks.
12015 (vhdl-template-component-inst): Handle empty library.
12016 (vhdl-template-type): Add template for 'enum' type.
12017 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
12018 Use vhdl-replace-string.
12019 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
12020 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
12021 (vhdl-speedbar-initialize): Update for above name change.
12022 (vhdl-compose-wire-components): Fix in handling of constants.
12023 (vhdl-error-regexp-emacs-alist): New variable.
12024 (vhdl-error-regexp-add-emacs): New function;
12025 adds support for new compile.el (Emacs 22+)
12026 (vhdl-generate-makefile-1): Change target order for single lib. units.
12027 Allow use of absolute file names.
12029 2013-05-16 Leo Liu <sdl.web@gmail.com>
12031 * simple.el (prog-indent-sexp): Indent enclosing defun.
12033 2013-05-15 Glenn Morris <rgm@gnu.org>
12035 * cus-start.el (show-trailing-whitespace): Move to editing basics.
12036 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
12037 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
12038 (whitespace-highlight): Move to whitespace group.
12040 * comint.el (comint-source):
12041 * pcmpl-linux.el (pcmpl-linux):
12042 * shell.el (shell-faces):
12043 * eshell/esh-opt.el (eshell-opt):
12044 * international/ccl.el (ccl): Remove empty custom groups.
12046 * completion.el (dynamic-completion-mode):
12047 * jit-lock.el (jit-lock-debug-mode):
12048 * minibuffer.el (completion-in-region-mode):
12049 * type-break.el (type-break-mode-line-message-mode)
12050 (type-break-query-mode):
12051 * emulation/tpu-edt.el (tpu-edt-mode):
12052 * progmodes/subword.el (global-subword-mode, global-superword-mode):
12053 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12054 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
12056 * term/xterm.el (xterm): Change parent group to terminals.
12058 * master.el (master): Remove empty custom group.
12059 (master-mode): Remove unused :group argument.
12060 * textmodes/refill.el (refill): Remove empty custom group.
12061 (refill-mode): Remove unused :group argument.
12063 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12065 * cus-dep.el: Provide a feature.
12066 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12067 Don't mistakenly ignore files whose basenames match a basename
12068 from preloaded-file-list (eg cedet/ede/simple.el).
12069 Add a fallback method for getting :group.
12071 2013-05-15 Juri Linkov <juri@jurta.org>
12073 * isearch.el (isearch-char-by-name): Rename from
12074 `isearch-insert-char-by-name'. Doc fix.
12075 (isearch-forward): Mention `isearch-char-by-name' in
12076 the docstring. (Bug#13348)
12078 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12079 `exit-minibuffer' instead of
12080 `isearch-nonincremental-exit-minibuffer'.
12081 (isearch-edit-string): Remove mention of
12082 `isearch-nonincremental-exit-minibuffer' from docstring.
12083 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12084 (isearch-forward-exit-minibuffer)
12085 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12087 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * loadup.el: Just use unversioned DOC.
12091 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12092 literals as extending to EOB.
12093 (nxml-last-fontify-end): Remove unused variable.
12094 (nxml-after-change1): Use with-silent-modifications.
12095 (nxml-extend-after-change-region): Simplify.
12096 (nxml-extend-after-change-region1): Remove function.
12097 (nxml-after-change1): Don't adjust for dependent regions.
12098 (nxml-fontify-matcher): Simplify.
12099 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12100 (xmltok-add-dependent): Remove function.
12101 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12102 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12103 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12104 unclosed <[[, <?, comment, and other literals as extending to EOB.
12105 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12106 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12108 (rng-do-some-validation-1): Don't mark dependent regions.
12109 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12110 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12111 (nxml-clear-dependent-regions): Remove functions.
12112 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12113 (nxml-ensure-scan-up-to-date):
12114 Don't clear&mark dependent regions.
12116 2013-05-15 Leo Liu <sdl.web@gmail.com>
12118 * progmodes/octave.el (octave-goto-function-definition):
12119 Improve and fix callers.
12121 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12123 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12124 the setter (bug#14387).
12126 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12127 surrounding group (bug#14402).
12129 2013-05-14 Juri Linkov <juri@jurta.org>
12131 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12134 2013-05-14 Glenn Morris <rgm@gnu.org>
12136 * progmodes/f90.el (f90-imenu-generic-expression):
12137 Fix typo in 2013-05-08 change. (Bug#14402)
12139 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12141 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12142 Remove signals for which replies are never received.
12144 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12146 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12147 (gdb-handler-alist, gdb-handler-number): Remove variables.
12148 (gdb-handler-list): New variable.
12149 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12150 (gdb-pending-handler-p, gdb-handle-reply)
12151 (gdb-remove-all-pending-triggers): New functions.
12152 (gdb-discard-unordered-replies): New defcustom.
12153 (gdb-handler): New defstruct.
12154 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12155 instead of gdb-pending-triggers. Update docstring.
12156 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12157 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12158 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12159 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12160 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12161 (gdb-frame-handler): Pending triggers are now automatically managed.
12162 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12164 (gdb-input): Automatically handles pending triggers. Update docstring.
12165 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12166 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12168 (gdb-done-or-error): Now use gdb-handle-reply.
12170 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12172 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12175 2013-05-14 Glenn Morris <rgm@gnu.org>
12177 * subr.el (user-emacs-directory-warning): New option.
12178 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12180 2013-05-14 Leo Liu <sdl.web@gmail.com>
12182 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12184 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12185 (octave-font-lock-texinfo-comment): Fix invalid search bound
12186 error: wrong side of point.
12188 2013-05-14 Glenn Morris <rgm@gnu.org>
12190 * progmodes/flymake.el (flymake-xml-program): New option.
12191 (flymake-xml-init): Use it.
12193 * term/xterm.el: Provide a feature.
12195 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12197 2013-05-13 Glenn Morris <rgm@gnu.org>
12199 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12200 Add compat aliases as a hack workaround. (Bug#14384)
12202 2013-05-13 Leo Liu <sdl.web@gmail.com>
12204 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12206 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12208 (octave-comment-start-skip): Include %!.
12209 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12211 2013-05-12 Leo Liu <sdl.web@gmail.com>
12213 * progmodes/octave.el (inferior-octave-startup): Store the value
12214 of __octave_srcdir__ for octave-source-directories.
12215 (inferior-octave-check-process): New function refactored out of
12216 inferior-octave-send-list-and-digest.
12217 (octave-source-directories)
12218 (octave-find-definition-filename-function): New variables.
12219 (octave-source-directories)
12220 (octave-find-definition-default-filename): New functions.
12221 (octave-find-definition): Improve to find functions implemented in C++.
12223 2013-05-12 Glenn Morris <rgm@gnu.org>
12225 * calendar/diary-lib.el (diary-outlook-format-1):
12226 Don't include dayname in the output. (Bug#14349)
12228 2013-05-11 Glenn Morris <rgm@gnu.org>
12230 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12232 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12233 Treat cc-provide like provide.
12235 2013-05-11 Kevin Ryde <user42@zip.com.au>
12237 * cus-dep.el (custom-make-dependencies):
12238 Use generated-autoload-load-name for the sake of files such
12239 such cedet/semantic/bovine/c.el, where the base file name
12240 is not in load-path. (Bug#5277)
12242 2013-05-11 Glenn Morris <rgm@gnu.org>
12244 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12247 2013-05-11 Leo Liu <sdl.web@gmail.com>
12249 * progmodes/octave.el (octave-indent-comment): Improve.
12250 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12251 (octave-eldoc-function-signatures, octave-eldoc-function):
12253 (octave-mode, inferior-octave-mode): Add eldoc support.
12255 2013-05-11 Richard Stallman <rms@gnu.org>
12257 * epa.el (epa-decrypt-file): Take output file name as argument
12258 and read it using `interactive'.
12260 2013-05-11 Leo Liu <sdl.web@gmail.com>
12262 * progmodes/octave.el (octave-beginning-of-line)
12263 (octave-end-of-line): Check before using up-list because it jumps
12264 out of more syntactic contructs since moving to smie.
12265 (octave-indent-comment): New function.
12266 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12267 (octave-begin-keywords, octave-end-keywords)
12268 (octave-reserved-words, octave-smie-bnf-table)
12269 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12271 2013-05-11 Glenn Morris <rgm@gnu.org>
12273 * faces.el (internal-face-x-get-resource):
12274 * frame.el (ns-display-monitor-attributes-list):
12275 * calc/calc-aent.el (math-to-radians-2):
12276 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12279 * calc/calc-menu.el: Make it loadable in isolation.
12281 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12282 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12283 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12284 (eudc-bbdb-query-internal): Require 'bbdb.
12286 * lpr.el (lpr-headers-switches):
12287 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12289 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12291 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12293 * term.el (term-set-escape-char): Make it idempotent.
12295 2013-05-10 Leo Liu <sdl.web@gmail.com>
12297 * progmodes/octave.el (inferior-octave-completion-table):
12298 No longer a function and all uses changed. Use cache to speed up
12299 completion due to bug#11906.
12300 (octave-beginning-of-defun): Re-write to be more general.
12302 2013-05-10 Glenn Morris <rgm@gnu.org>
12304 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12306 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12308 * comint.el (comint-redirect-send-command-to-process): Use :around
12309 rather than :override for comint-redirect-filter.
12310 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12311 Call it instead of comint-redirect-original-filter-function (which
12312 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12314 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12316 * frame.el (display-monitor-attributes-list): Add NS case.
12317 (ns-display-monitor-attributes-list): Declare.
12319 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12321 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12323 2013-05-09 Glenn Morris <rgm@gnu.org>
12325 * international/fontset.el (vertical-centering-font-regexp):
12326 Set standard-value.
12328 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12330 * bookmark.el (bookmark-search-delay):
12331 * cus-start.el (vertical-centering-font-regexp):
12332 * ps-mule.el (ps-mule-font-info-database-default):
12333 * ps-print.el (ps-default-fg, ps-default-bg):
12334 * type-break.el (type-break-good-break-interval):
12335 * whitespace.el (whitespace-indentation-regexp)
12336 (whitespace-space-after-tab-regexp):
12337 * emacs-lisp/testcover.el (testcover-1value-functions)
12338 (testcover-noreturn-functions, testcover-progn-functions)
12339 (testcover-prog1-functions):
12340 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12341 * eshell/em-glob.el (eshell-glob-translate-alist):
12342 * play/tetris.el (tetris-tty-colors):
12343 * progmodes/cpp.el (cpp-face-default-list):
12344 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12345 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12346 (idlwave-help-browser-generic-args):
12347 * progmodes/make-mode.el (makefile-special-targets-list):
12348 * progmodes/python.el (python-shell-virtualenv-path):
12349 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12350 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12351 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12353 * textmodes/reftex-vars.el (reftex-format-label-function):
12354 * textmodes/remember.el (remember-diary-file): Fix custom types.
12356 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12359 2013-05-09 Leo Liu <sdl.web@gmail.com>
12361 * progmodes/octave.el (inferior-octave-completion-at-point):
12362 Restore file completion. (Bug#14300)
12363 (inferior-octave-startup): Fix incorrect highlighting for the
12366 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12368 * progmodes/ruby-mode.el: First cut at SMIE support.
12369 (ruby-use-smie): New var.
12370 (ruby-smie-grammar): New constant.
12371 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12372 (ruby-smie--forward-token, ruby-smie--backward-token)
12373 (ruby-smie-rules): New functions.
12374 (ruby-mode-variables): Setup SMIE if applicable.
12376 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12378 * simple.el (line-move-visual): Signal beginning/end of buffer
12379 only if vertical-motion moved less than it was requested. Avoids
12380 silly incorrect error messages when there are display strings with
12381 multiple newlines at EOL.
12383 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12386 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12387 (prolog-char-quote-workaround):
12388 * progmodes/cperl-mode.el (cperl-under-as-char):
12389 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12391 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12393 (vhdl-mode-syntax-table-init): Remove.
12395 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12398 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12400 (ld-script-font-lock-keywords):
12401 Change regexps to use things like \_< and \_>.
12403 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12404 Change all regexps to use things like \_< and \_>.
12406 * progmodes/autoconf.el (autoconf-definition-regexp)
12407 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12408 Handle a _ with symbol syntax.
12409 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12411 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12412 Consolidate declaration.
12413 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12415 (ada-create-syntax-table): Remove.
12416 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12417 already has the right syntax nowadays.
12418 (ada-goto-next-word): Don't change the syntax of "_".
12420 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12423 2013-05-08 Sam Steingold <sds@gnu.org>
12425 * thingatpt.el (thing-at-point): Accept optional second argument
12426 NO-PROPERTIES to strip the text properties from the return value.
12427 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12428 to `thing-at-point' instead of stripping the properties ourselves.
12429 Also, when `thing-at-point' fails to find a url, prepend "http://"
12430 to the filename at point on the assumption that the user is
12431 pointing at something like gnu.org/gnu.
12433 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12435 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12436 * faces.el (crm-separator):
12437 Silence byte-compiler.
12439 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12440 (tool-bar-map): Remove unneeded defvars.
12442 2013-05-08 Leo Liu <sdl.web@gmail.com>
12444 Re-work a fix for bug#10994 based on Le Wang's patch.
12445 * ido.el (ido-remove-consecutive-dups): New helper.
12446 (ido-completing-read): Use it.
12447 (ido-chop): Revert fix for bug#10994.
12449 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12451 * cus-edit.el (custom-save-variables):
12452 Pretty-print long values. (Bug#14187)
12454 2013-05-08 Glenn Morris <rgm@gnu.org>
12456 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12457 (m4-mode-syntax-table): Init in the defvar.
12458 (m4-mode-abbrev-table): Let define-derived-mode define it.
12460 2013-05-08 Tom Tromey <tromey@redhat.com>
12462 * progmodes/m4-mode.el (m4-mode-syntax-table):
12463 Do not treat "_" as word constituent. (Bug#14167)
12465 2013-05-07 Glenn Morris <rgm@gnu.org>
12467 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12468 Remove explicit eshell-isearch-cancel-map.
12470 * progmodes/f90.el (f90-smart-end-names): New option.
12471 (f90-smart-end): Doc fix.
12472 (f90-end-block-optional-name): New constant.
12473 (f90-block-match): Respect f90-smart-end-names.
12475 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12477 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12478 about implicit semi-colons (bug#14218).
12480 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12482 * frame.el (display-monitor-attributes-list)
12483 (frame-monitor-attributes): New functions.
12485 2013-05-06 Leo Liu <sdl.web@gmail.com>
12487 * progmodes/octave.el (octave-syntax-propertize-function): Change
12488 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12489 (octave-font-lock-keywords): Use octave-operator-regexp.
12490 (octave-completion-at-point): Rename from
12491 octave-completion-at-point-function.
12492 (inferior-octave-directory-tracker): Robustify.
12493 (octave-text-functions): Remove and fix its uses. No such things
12496 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12498 * emacs-lisp/trace.el (trace--display-buffer): New function.
12499 (trace-make-advice): Use it.
12501 2013-05-06 Juri Linkov <juri@jurta.org>
12503 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12504 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12506 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12507 in the help string. (Bug#12985)
12509 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12511 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12513 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * progmodes/perl-mode.el: Add support for here documents.
12516 (perl-syntax-propertize-function): Match here-doc markers.
12517 (perl-syntax-propertize-special-constructs): Find their end.
12518 (perl-imenu-generic-expression): Use [:alnum:].
12520 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12521 (advice--add-function): Refresh the advice if already present
12524 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12526 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12528 2013-05-06 Glenn Morris <rgm@gnu.org>
12530 * w32-fns.el (w32-charset-info-alist): Declare.
12532 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12533 of its defcustom properties.
12534 (eshell-cmpl-initialize): No need to load pcomplete.
12536 * generic-x.el: No need to require comint when compiling.
12538 * net/eudc-export.el: Make it loadable without bbdb.
12539 (top-level): Use require rather than load-library.
12540 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12541 (eudc-batch-export-records-to-bbdb)
12542 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12545 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12547 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12548 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12549 some tweaks, instead.
12551 2013-05-05 Leo Liu <sdl.web@gmail.com>
12553 * progmodes/octave.el (octave-font-lock-keywords)
12554 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12555 (inferior-octave-send-list-and-digest): Improve error message.
12556 (octave-mode, inferior-octave-mode): Use setq-local.
12557 (octave-help): Set info-lookup-mode.
12559 2013-05-05 Richard Stallman <rms@gnu.org>
12561 * vc/compare-w.el (compare-windows-whitespace):
12562 Treat no-break space as whitespace.
12564 * mail/rmailsum.el (rmail-summary-rmail-update):
12565 Detect empty summary and don't change selected message.
12566 (rmail-summary-goto-msg): Likewise.
12568 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12569 Doc fixes, rename args.
12571 2013-05-05 Alan Mackenzie <acm@muc.de>
12573 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12575 2013-05-05 Juri Linkov <juri@jurta.org>
12577 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12578 to not add the length of the summary segment to the return value.
12581 2013-05-05 Leo Liu <sdl.web@gmail.com>
12583 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12584 (inferior-octave-output-filter): Remove.
12585 (octave-send-region, inferior-octave-startup): Fix callers.
12586 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12587 (octave-binary-file-extensions): New user variable.
12588 (octave-find-definition): Confirm if opening binary files.
12589 (octave-help-file): Use octave-find-definition to get the binary
12591 (octave-help): Adjust for octave-help-file change.
12593 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12596 Merge the two entries that handle function definitions.
12597 (pascal--syntax-propertize): New const.
12598 (pascal-mode): Use it. Use setq-local.
12600 2013-05-04 Glenn Morris <rgm@gnu.org>
12602 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12603 (diary-from-outlook): Respect diary-from-outlook-function.
12605 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12607 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12608 Move the declaration from C.
12609 (read-minibuffer, eval-minibuffer): Move from C.
12610 (completion-setup-function): Avoid minibuffer-completion-contents.
12612 2013-05-03 Leo Liu <sdl.web@gmail.com>
12614 * progmodes/octave.el (octave-font-lock-keywords): Do not
12615 dehighlight 'end' in comments or strings.
12616 (octave-completing-read, octave-goto-function-definition):
12618 (octave-help-buffer): New user variable.
12619 (octave-help-file, octave-help-function): New button types.
12620 (octave-help): New command and bind it to C-h ;.
12621 (octave-find-definition): New command and bind it to M-.
12622 (user-error): Alias to error if not defined.
12624 2013-05-02 Leo Liu <sdl.web@gmail.com>
12626 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12628 (octave-font-lock-keywords): Include [ and {.
12630 2013-05-02 Leo Liu <sdl.web@gmail.com>
12632 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12633 (inferior-octave): Remove calling comint-mode and return the buffer.
12634 (inferior-octave-startup): Cosmetic changes.
12636 2013-05-02 Leo Liu <sdl.web@gmail.com>
12638 * progmodes/octave.el (octave-syntax-propertize-function):
12639 Include the case when ' is at line beginning. (Bug#14336)
12641 2013-05-02 Glenn Morris <rgm@gnu.org>
12643 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12644 * desktop.el (vc-dir-mode): Just autoload it here.
12646 2013-05-02 Alan Mackenzie <acm@muc.de>
12648 Eliminate variable c-standard-font-lock-fontify-region-function.
12649 * progmodes/cc-mode.el
12650 (c-standard-font-lock-fontify-region-function): Remove.
12651 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12653 2013-05-01 Leo Liu <sdl.web@gmail.com>
12655 * progmodes/octave.el: Compatible with older emacs-24 releases.
12656 (inferior-octave-has-built-in-variables): Remove. Built-in
12657 variables were removed from Octave in 2007.
12658 (inferior-octave-startup): Fix uses.
12659 (comint-line-beginning-position): Remove compatibility code for
12662 2013-05-01 Juri Linkov <juri@jurta.org>
12664 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12666 2013-05-01 Juri Linkov <juri@jurta.org>
12668 * comint.el (comint-previous-matching-input): Don't print message
12669 "History item: %d" when `isearch-mode' is active.
12670 (comint-history-isearch-message): Print message "History item: %d"
12671 when `comint-input-ring-index' is not empty and this function is
12672 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12674 2013-05-01 Leo Liu <sdl.web@gmail.com>
12676 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12677 definitions. Use completion-at-point to insert keywords.
12678 (octave-abbrev-start): Remove.
12679 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12681 2013-04-30 Leo Liu <sdl.web@gmail.com>
12683 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12686 2013-04-30 Alan Mackenzie <acm@muc.de>
12688 Handle arbitrarily long C++ member initialisation lists.
12689 * progmodes/cc-engine.el (c-back-over-member-initializers):
12691 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12692 (most) member init lists.
12694 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12696 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12699 2013-04-30 Leo Liu <sdl.web@gmail.com>
12701 * progmodes/octave.el (octave-variables): Remove. No builtin
12702 variables any more. All converted to functions.
12703 (octave-font-lock-keywords, octave-completion-at-point-function):
12705 (octave-font-lock-texinfo-comment): New user variable.
12706 (octave-texinfo-font-lock-keywords): New variable for texinfo
12708 (octave-function-comment-block): New face.
12709 (octave-font-lock-texinfo-comment): New function.
12710 (octave-mode): Font lock texinfo comment block.
12712 2013-04-29 Leo Liu <sdl.web@gmail.com>
12714 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12715 indexing expression.
12716 (octave-continuation-string): Do not use \.
12717 (inferior-octave-complete-impossible): Remove.
12718 (inferior-octave-completion-table)
12719 (inferior-octave-completion-at-point): Remove its uses.
12720 (inferior-octave-startup): completion_matches was introduced to
12721 Octave in 1996 so safe to assume it.
12722 (octave-function-file-comment): Improve to follow how Octave does it.
12723 (octave-update-function-file-comment): Tweak.
12725 2013-04-29 Leo Liu <sdl.web@gmail.com>
12727 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12728 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12729 (octave-function-file-comment): Fix typo.
12730 (octave-sync-function-file-names): Use read-char-choice.
12732 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12734 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12735 to t for the less important warnings.
12737 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12739 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12741 2013-04-27 Glenn Morris <rgm@gnu.org>
12743 * vc/log-view.el (log-view-current-entry):
12744 Treat "---" separator lines as part of the following rev. (Bug#14169)
12746 2013-04-27 Juri Linkov <juri@jurta.org>
12748 * subr.el (read-number): Doc fix about using it by interactive
12749 code letter `n'. (Bug#14254)
12751 2013-04-27 Juri Linkov <juri@jurta.org>
12753 * desktop.el (desktop-auto-save-timeout): New option.
12754 (desktop-file-checksum): New variable.
12755 (desktop-save): Add optional arg `auto-save' and don't auto-save
12756 if nothing changed.
12757 (desktop-auto-save-timer): New variable.
12758 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12759 (after-init-hook): Call `desktop-auto-save-set-timer'.
12760 Suggested by Reuben Thomas <rrt@sc3d.org> in
12761 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12763 2013-04-27 Leo Liu <sdl.web@gmail.com>
12765 * progmodes/octave.el (octave-function-file-p)
12766 (octave-skip-comment-forward, octave-function-file-comment)
12767 (octave-update-function-file-comment): New functions.
12768 (octave-mode-map): Bind C-c ; to
12769 octave-update-function-file-comment.
12770 (octave-mode-menu): Add octave-update-function-file-comment.
12771 (octave-mode, inferior-octave-mode): Fix doc-string.
12772 (octave-insert-defun): Conform to Octave's coding convention.
12775 * files.el (basic-save-buffer): Don't let errors in
12776 before-save-hook prevent saving buffer.
12778 2013-04-20 Roland Winkler <winkler@gnu.org>
12780 * faces.el (read-face-name): Use completing-read if arg multiple
12783 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12785 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12786 displayed, move point to after the totals line.
12787 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12790 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12792 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12793 Add current dir to the load-path.
12794 (package-generate-autoloads): Don't rely on
12795 autoload-ensure-default-file.
12797 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12799 * textmodes/remember.el (remember-store-in-files): Document that
12800 the file name format is passed to `format-time-string'.
12802 2013-04-26 Leo Liu <sdl.web@gmail.com>
12804 * progmodes/octave.el (octave-sync-function-file-names): New function.
12805 (octave-mode): Use it in before-save-hook.
12807 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12809 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12812 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12813 \n and comment, even if it's not an implicit ; (bug#14218).
12815 2013-04-26 Glenn Morris <rgm@gnu.org>
12817 * subr.el (read-number): Once more use `read' rather than
12818 `string-to-number', to trap non-numeric input. (Bug#14254)
12820 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12822 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12823 Use `syntax-multiline' text property consistently instead of
12824 `font-lock-multiline'. (Bug#14237)
12826 2013-04-26 Glenn Morris <rgm@gnu.org>
12828 * emacs-lisp/shadow.el (list-load-path-shadows):
12829 No longer necessary to check for duplicate simple.el, since
12830 2012-07-07 change to init_lread to not include installation lisp
12831 directories in load-path when running uninstalled. (Bug#14270)
12833 2013-04-26 Leo Liu <sdl.web@gmail.com>
12835 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12836 (octave-mode, inferior-octave-mode): Use setq-local.
12837 (octave-not-in-string-or-comment-p): Rename to
12838 octave-in-string-or-comment-p.
12839 (octave-in-comment-p, octave-in-string-p)
12840 (octave-in-string-or-comment-p): Replace defsubst with defun.
12842 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12844 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12846 2013-04-25 Bastien Guerry <bzg@gnu.org>
12848 * textmodes/remember.el (remember-data-directory)
12849 (remember-directory-file-name-format): Fix custom types.
12851 2013-04-25 Leo Liu <sdl.web@gmail.com>
12853 * progmodes/octave.el (octave-completion-at-point-function):
12854 Make use of inferior octave process.
12855 (octave-initialize-completions): Remove.
12856 (inferior-octave-completion-table): New function.
12857 (inferior-octave-completion-at-point): Use it.
12858 (octave-completion-alist): Remove.
12860 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12862 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12863 (opascal-mode-syntax-table): New var.
12864 (opascal-literal-kind, opascal-is-literal-end)
12865 (opascal-literal-token-at): Rewrite.
12866 (opascal--literal-start-re, opascal-font-lock-keywords)
12867 (opascal--syntax-propertize): New constants.
12868 (opascal-font-lock-defaults): Adjust.
12869 (opascal-mode): Use them. Set comment-<foo> variables as well.
12870 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12871 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12872 (delphi-other-face, opascal-other-face): Remove face variables.
12873 (opascal-save-state): Remove macro.
12874 (opascal-fontifying-progress-step): Remove constant.
12875 (opascal--ignore-changes): Remove var.
12876 (opascal-set-token-property, opascal-parse-next-literal)
12877 (opascal-is-stable-literal, opascal-complete-literal)
12878 (opascal-is-literal-start, opascal-face-of)
12879 (opascal-parse-region, opascal-parse-region-until-stable)
12880 (opascal-fontify-region, opascal-after-change)
12881 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12882 (opascal-debug-parse-region, opascal-debug-parse-window)
12883 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12884 (opascal-debug-fontify-buffer): Remove.
12885 (opascal-debug-mode-map): Adjust accordingly.
12887 2013-04-25 Leo Liu <sdl.web@gmail.com>
12889 Merge octave-mod.el and octave-inf.el into octave.el with some
12891 * progmodes/octave.el: New file renamed from octave-mod.el.
12892 * progmodes/octave-inf.el: Merged into octave.el.
12893 * progmodes/octave-mod.el: Renamed to octave.el.
12895 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12897 * textmodes/reftex-vars.el
12898 (reftex-label-ignored-macros-and-environments): New defcustom.
12900 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12902 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12904 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12905 (smie-indent-keyword): Improve the check to ensure that the next
12906 comment is really on the same line.
12907 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12909 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12910 semi-colons if the line is not otherwise empty (bug#14218).
12912 2013-04-25 Glenn Morris <rgm@gnu.org>
12914 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12916 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12918 * progmodes/opascal.el (opascal-set-token-property): Rename from
12919 opascal-set-text-properties and only set `token' (bug#14134).
12920 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12921 (opascal-literal-text-properties): Remove.
12922 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12925 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12927 * textmodes/remember.el (remember-handler-functions): Add an
12928 option for a new handler `remember-store-in-files'.
12929 (remember-data-directory, remember-directory-file-name-format):
12931 (remember-store-in-files): New function to store remember notes
12932 as separate files within a directory.
12934 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12936 * progmodes/compile.el (compilation-next-error-function):
12937 Pass "formats" to compilation-find-file (bug#11777).
12939 2013-04-24 Glenn Morris <rgm@gnu.org>
12941 * vc/vc-bzr.el (vc-bzr-print-log):
12942 * vc/vc-hg.el (vc-hg-print-log):
12943 * vc/vc-svn.el (vc-svn-print-log):
12944 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12946 * vc/vc-bzr.el (vc-bzr-print-log):
12947 * vc/vc-cvs.el (vc-cvs-print-log):
12948 * vc/vc-git.el (vc-git-print-log):
12949 * vc/vc-hg.el (vc-hg-print-log):
12950 * vc/vc-mtn.el (vc-mtn-print-log):
12951 * vc/vc-rcs.el (vc-rcs-print-log):
12952 * vc/vc-sccs.el (vc-sccs-print-log):
12953 * vc/vc-svn.el (vc-svn-print-log):
12954 * vc/vc.el (vc-print-log-internal): Doc fixes.
12956 2013-04-23 Glenn Morris <rgm@gnu.org>
12958 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12959 Remove venerable code attempting to avoid substitute-command-keys.
12961 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12963 * textmodes/reftex-vars.el (reftex-label-regexps):
12964 Call `reftex-compile-variables' after changes to this variable.
12966 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12968 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12969 Use lexical-binding.
12970 (jit-lock-force-redisplay): Use markers, check buffer's continued
12971 existence and beware narrowed buffers.
12972 (jit-lock-fontify-now): Adjust call accordingly.
12974 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12976 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12977 to avoid misleading the user.
12979 2013-04-22 Leo Liu <sdl.web@gmail.com>
12981 * info-look.el: Prefer latex2e.info. (Bug#14240)
12983 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12985 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12987 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12988 * net/tramp.el (tramp-call-process): ... here.
12989 (tramp-set-completion-function, tramp-parse-putty):
12990 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12991 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12992 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12993 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12994 (tramp-call-local-coding-command): Use `tramp-call-process'
12995 instead of `tramp-compat-call-process'.
12997 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12998 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12999 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
13000 (tramp-find-inline-compress): Improve traces.
13001 (tramp-maybe-send-script): Check for Perl binary.
13002 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
13004 2013-04-22 Daiki Ueno <ueno@gnu.org>
13006 * epg.el (epg-context-pinentry-mode): New function.
13007 (epg-context-set-pinentry-mode): New function.
13008 (epg--start): Pass --pinentry-mode option to gpg command.
13010 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
13012 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
13013 `comint-dynamic-complete' is obsolete since 24.1, replaced by
13014 `completion-at-point'. (Bug#13774)
13016 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
13017 default key binding for `describe-distribution' has been moved to
13018 `C-h C-o'. (Bug#13970)
13020 2013-04-21 Glenn Morris <rgm@gnu.org>
13022 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
13024 (vc-print-log): Clarify interactive prompt.
13026 2013-04-20 Glenn Morris <rgm@gnu.org>
13028 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
13029 No longer include timestamp etc information.
13031 2013-04-20 Roland Winkler <winkler@gnu.org>
13033 * faces.el (read-face-name): Bug fix, return just one face if arg
13034 multiple is nil. (Bug#14209)
13036 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13038 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
13039 (remove-function): Autoload.
13041 * comint.el (comint-redirect-original-filter-function): Remove.
13042 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
13043 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
13044 (vc-cvs-annotate-command):
13045 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
13046 * progmodes/prolog.el (prolog-consult-compile):
13047 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
13048 Use add/remove-function instead.
13049 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
13050 (gud-tooltip-process-output, gud-tooltip-tips):
13051 Use add/remove-function instead.
13052 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
13053 (scheme-interaction-mode, exit-scheme-interaction-mode):
13054 Use add/remove-function instead.
13056 * vc/vc-dispatcher.el: Use lexical-binding.
13057 (vc--process-sentinel): Rename from vc-process-sentinel.
13058 Change last arg to be the code to run. Don't use vc-previous-sentinel
13059 and vc-sentinel-commands any more.
13060 (vc-exec-after): Allow code to be a function. Use add/remove-function.
13061 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13063 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13065 * progmodes/sh-script.el (sh-imenu-generic-expression):
13066 Handle function names with a single character. (Bug#14111)
13068 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13070 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13071 for subroutines defined in an eval (bug#14182).
13073 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13075 * bookmark.el (bookmark-completing-read): Improve handling of empty
13076 string (bug#14176).
13078 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13080 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13082 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13084 New faster Imenu implementation (bug#14058).
13085 * progmodes/python.el:
13086 (python-imenu-prev-index-position):
13087 (python-imenu-format-item-label-function)
13088 (python-imenu-format-parent-item-label-function)
13089 (python-imenu-format-parent-item-jump-label-function):
13091 (python-imenu-format-item-label)
13092 (python-imenu-format-parent-item-label)
13093 (python-imenu-format-parent-item-jump-label)
13094 (python-imenu--put-parent, python-imenu--build-tree)
13095 (python-imenu-create-index, python-imenu-create-flat-index)
13096 (python-util-popn): New functions.
13097 (python-mode): Set imenu-create-index-function to
13098 python-imenu-create-index.
13100 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * winner.el (winner-active-region): Use region-active-p, activate-mark
13103 and deactivate-mark (bug#14225).
13105 * simple.el (deactivate-mark): Don't inline it.
13107 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13109 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13111 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13113 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13114 file extensions from the archive-mode entry in order to prefer
13115 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13117 2013-04-18 Leo Liu <sdl.web@gmail.com>
13119 * bindings.el (help-event-list): Add ?\?.
13121 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * subr.el (with-wrapper-hook): Declare obsolete.
13124 * simple.el (filter-buffer-substring-function): New hook.
13125 (filter-buffer-substring): Use it.
13126 (filter-buffer-substring-functions): Mark obsolete.
13127 * minibuffer.el (completion-in-region-function): New hook.
13128 (completion-in-region): Use it.
13129 (completion-in-region-functions): Mark obsolete.
13130 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13131 * abbrev.el (abbrev-expand-function): New hook.
13132 (expand-abbrev): Use it.
13133 (abbrev-expand-functions): Mark obsolete.
13134 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13135 and :filter-return.
13137 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13139 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13140 and do not care about match data.
13142 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13144 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13145 completion tables when completing error conditions and
13146 `declare' arguments.
13147 (lisp-complete-symbol, field-complete): Mark as obsolete.
13148 (check-parens): Unmatched parens are user errors.
13149 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13151 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13153 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13154 command changed buffer (ie. `flyspell-pre-buffer' is not current
13155 buffer), which prevents making decisions based on invalid value of
13156 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13157 cause an error when `flyspell-pre-point' was nil after switching
13159 (flyspell-post-command-hook): No longer needs to change buffers when
13160 checking pre-word. While at it remove unnecessary progn.
13162 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13164 * textmodes/ispell.el (ispell-add-per-file-word-list):
13165 Fix `flyspell-correct-word-before-point' error when accepting
13166 words and `coment-padding' is an integer by using
13167 `comment-normalize-vars' (Bug #14214).
13169 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13171 New defun movement commands.
13172 * progmodes/python.el (python-nav--syntactically)
13173 (python-nav--forward-defun, python-nav-backward-defun)
13174 (python-nav-forward-defun): New functions.
13176 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13178 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13179 (python-syntax-context): Use named compiler-macro for backwards
13180 compatibility with Emacs 24.x.
13182 2013-04-17 Leo Liu <sdl.web@gmail.com>
13184 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13185 octave-hide-process-buffer.
13187 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13189 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13192 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13194 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13195 Fix adjustment of offset when receiving incomplete responses from GDB
13198 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13200 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13201 python-mode-abbrev-table.
13202 (python-skeleton-define): Adjust accordingly.
13203 (python-mode-abbrev-table): New table that inherits from it so that
13204 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13206 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13207 (abbrev-symbol): Use it.
13208 (abbrev--before-point): Use it since we already handle inheritance.
13210 2013-04-16 Leo Liu <sdl.web@gmail.com>
13212 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13213 binding to info-lookup-symbol.
13215 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13217 * minibuffer.el (completion--twq-all):
13218 * term/ns-win.el (ns-initialize-window-system):
13219 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13221 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13226 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13228 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13230 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13231 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13233 (ruby-end-of-defun): Remove the unused arg, change the docstring
13234 to reflect that this function is only used as the value of
13235 `end-of-defun-function'.
13236 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13237 to reflect an earlier change that beginning/end-of-defun functions
13238 jump between methods in a class definition, as well as top-level
13241 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13243 * minibuffer.el (minibuffer-complete): Don't just scroll
13244 a *Completions* that's been iconified.
13245 (minibuffer-force-complete): Make sure repetitions do cycle when going
13246 through completion-in-region -> minibuffer-complete.
13248 2013-04-15 Alan Mackenzie <acm@muc.de>
13250 Correct the placement of c-cpp-delimiters when there're #s not at
13253 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13254 place a submatch around the #.
13255 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13256 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13259 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13261 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13262 (advice--member-p): New arg `name'.
13263 (advice--add-function, advice-member-p): Use it (bug#14202).
13265 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13267 Reformulate java imenu-generic-expression.
13268 The old expression contained ill formed regexps.
13270 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13271 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13272 (cc-imenu-java-method-arg-regexp): New defconsts.
13273 (cc-imenu-java-build-type-args-regex): New defun.
13274 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13275 handling of spaces in the regexp.
13277 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13279 * textmodes/ispell.el (ispell-command-loop): Remove
13280 flyspell highlight of a word when ispell accepts it (bug #14178).
13282 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13284 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13285 uses code from the previous `ange-ftp-run-real-handler'.
13286 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13287 only in case that function exist. This is needed for proper
13288 unloading of Tramp.
13290 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13292 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13294 * textmodes/reftex.el (reftex-compile-variables): Use it.
13296 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13298 * files.el (normal-mode): Only use default major-mode if no other mode
13301 * emacs-lisp/trace.el (trace-values): New function.
13303 * files.el: Allow : in local variables (bug#14089).
13304 (hack-local-variable-regexp): New var.
13305 (hack-local-variables-prop-line, hack-local-variables): Use it.
13307 2013-04-13 Roland Winkler <winkler@gnu.org>
13309 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13310 data before it gets modified by bibtex-beginning-of-entry.
13312 2013-04-13 Roland Winkler <winkler@gnu.org>
13314 * textmodes/bibtex.el (bibtex-url): Doc fix.
13316 2013-04-13 Roland Winkler <winkler@gnu.org>
13318 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13319 does not visit a BibTeX file, exclude it from the list of buffers
13320 returned by bibtex-initialize.
13322 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13324 * window.el (split-window): Remove interactive form, since as a
13325 command this function is a special case of split-window-below.
13326 Correct doc string.
13328 2013-04-12 Roland Winkler <winkler@gnu.org>
13330 * faces.el (read-face-name): Do not override value of arg default.
13331 Allow single faces and strings as default values. Remove those
13332 elements from return value that are not faces.
13333 (describe-face): Simplify.
13334 (face-at-point): New optional args thing and multiple so that this
13335 function can provide the same functionality previously provided by
13337 (make-face-bold, make-face-unbold, make-face-italic)
13338 (make-face-unitalic, make-face-bold-italic, invert-face)
13339 (modify-face, read-face-and-attribute): Use face-at-point.
13341 * cus-edit.el (customize-face, customize-face-other-window)
13342 * cus-theme.el (custom-theme-add-face)
13343 * face-remap.el (buffer-face-set)
13344 * facemenu.el (facemenu-set-face): Use face-at-point.
13346 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13348 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13350 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13352 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13353 off leading { and trailing } from field values.
13355 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13357 * emacs-lisp/timer.el (timer--check): New function.
13358 (timer--time, timer-set-function, timer-event-handler): Use it.
13359 (timer-set-idle-time): Simplify.
13360 (timer--activate): CSE.
13361 (timer-event-handler): Give more info in error message.
13362 (internal-timer-start-idle): New function, moved from C.
13364 * mpc.el (mpc-proc): Add `restart' argument.
13365 (mpc-proc-cmd): Use it.
13366 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13367 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13370 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13372 * progmodes/sh-script.el: Implement `sh-mode' own
13373 `add-log-current-defun-function' (bug#14112).
13374 (sh-current-defun-name): New function.
13375 (sh-mode): Use the function.
13377 2013-04-09 Bastien Guerry <bzg@gnu.org>
13379 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13381 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13383 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13385 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13388 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13390 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13393 2013-04-07 Leo Liu <sdl.web@gmail.com>
13395 * pcmpl-x.el: New file.
13397 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13399 Do not set x-display-name until X connection is established.
13400 This is needed to prevent from weird situation described at
13401 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13402 * frame.el (make-frame): Set x-display-name after call to
13403 window system initialization function, not before.
13404 * term/x-win.el (x-initialize-window-system): Add optional
13405 display argument and use it.
13406 * term/w32-win.el (w32-initialize-window-system):
13407 * term/ns-win.el (ns-initialize-window-system):
13408 * term/pc-win.el (msdos-initialize-window-system):
13409 Add compatible optional display argument.
13411 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13413 * files.el (normal-backup-enable-predicate): On MS-Windows and
13414 MS-DOS compare truenames of temporary-file-directory and of the
13415 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13416 don't fail comparison by compare-strings. Also, compare file
13417 names case-insensitively on MS-Windows and MS-DOS.
13419 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13421 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13422 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13424 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13426 * whitespace.el (whitespace-color-on, whitespace-color-off):
13427 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13429 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13431 * ispell.el (ispell-set-spellchecker-params):
13432 Really set `ispell-args' for all equivs.
13434 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13436 * ido.el (ido-completions): Use extra elements of ido-decorations
13438 (ido-decorations): Update docstring.
13440 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13442 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13443 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13444 nil during initialization, in order not to miss changes since the
13445 file was opened. (Bug#14140)
13447 2013-04-05 Leo Liu <sdl.web@gmail.com>
13449 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13451 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13453 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13455 2013-04-04 Glenn Morris <rgm@gnu.org>
13457 * electric.el (electric-pair-inhibit-predicate): Add :version.
13459 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13461 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13462 when a package is required several times (bug#14082).
13464 2013-04-04 Roland Winkler <winkler@gnu.org>
13466 * faces.el (read-face-name): Behave as promised by the docstring.
13467 Assume that arg default is a list of faces.
13468 (describe-face): Call read-face-name with list of default faces.
13470 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13472 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13473 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13474 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13476 (bookmark-exit-hook-internal): Save even if list is empty.
13478 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13480 * emacs-lisp/package.el (package-pinned-packages): New var.
13481 (package--add-to-archive-contents): Obey it (bug#14118).
13483 2013-04-03 Alan Mackenzie <acm@muc.de>
13485 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13486 Also adapt to the new values of element 7 of a parse state.
13488 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13489 parameter `not-in-delimiter'. Handle being inside comment opener.
13490 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13491 character in case we're typing a '*' after a '/'.
13492 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13493 instead by passing the parameter to c-state-pp-to-literal.
13495 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13496 for elt. 7 of a parse state.
13498 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13500 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13501 * international/latin1-disp.el, international/mule-util.el:
13502 * language/cyril-util.el, language/european.el, language/ind-util.el:
13503 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13504 * language/tibetan.el, language/viet-util.el:
13505 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13507 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13509 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13510 (electric-pair-post-self-insert-function): Use it.
13511 (electric-pair-default-inhibit): New function, extracted from
13512 electric-pair-post-self-insert-function.
13514 2013-03-31 Roland Winkler <winkler@gnu.org>
13516 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13518 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13520 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13522 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13524 Un-indent after "pass" and "return" statements (Bug#13888)
13525 * progmodes/python.el (python-indent-block-enders): New var.
13526 (python-indent-calculate-indentation): Use it.
13528 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13530 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13531 defun. Defining it as defalias could introduce too eager
13532 byte-compiler optimization. (Bug#14030)
13534 2013-03-30 Chong Yidong <cyd@gnu.org>
13536 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13538 2013-03-30 Leo Liu <sdl.web@gmail.com>
13540 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13541 (kmacro-execute-from-register): Pass the keyboard macro to
13542 kmacro-call-macro or repeating won't work correctly.
13544 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13546 * progmodes/subword.el: Back to using `forward-symbol'.
13548 * subr.el (forward-whitespace, forward-symbol)
13549 (forward-same-syntax): Move from thingatpt.el.
13551 2013-03-29 Leo Liu <sdl.web@gmail.com>
13553 * kmacro.el (kmacro-to-register): New command.
13554 (kmacro-execute-from-register): New function.
13555 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13557 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13559 * mpc.el: Use defvar-local and setq-local.
13560 (mpc--proc-connect): Connection failures are not bugs.
13561 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13562 (mpc-volume-map): Bind to the up-events.
13564 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13566 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13567 instead of `forward-symbol'.
13569 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13572 (edebug--recursive-edit): Use it.
13573 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13574 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13576 2013-03-28 Leo Liu <sdl.web@gmail.com>
13578 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13580 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13582 * facemenu.el (list-colors-callback): New defvar.
13583 (list-colors-redisplay): New function.
13584 (list-colors-display): Install list-colors-redisplay as the
13585 revert-buffer-function. (Bug#14063)
13587 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13589 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13590 and suffixes don't overlap (bug#14061).
13592 * case-table.el: Use lexical-binding.
13593 (case-table-get-table): New function.
13594 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13596 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13598 * progmodes/subword.el: Add `superword-mode' to do word motion
13599 over symbol_words (parallels and leverages `subword-mode' which
13600 does word motion inside MixedCaseWords).
13602 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13604 * eshell/em-unix.el: Move su and sudo to...
13605 * eshell/em-tramp.el: ...Eshell tramp module.
13607 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13610 Change return value to be a sexp. Delay `get-buffer' to after
13611 restoring the desktop (bug#13951).
13613 2013-03-26 Leo Liu <sdl.web@gmail.com>
13615 * register.el: Move semantic tag handling back to
13616 cedet/semantic/senator.el. (Bug#14052)
13618 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13620 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13621 into the prompt either (bug#13963).
13623 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13625 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13626 part of "(error-foo)".
13628 2013-03-24 Juri Linkov <juri@jurta.org>
13630 * replace.el (list-matching-lines-prefix-face): New defcustom.
13631 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13632 `occur-engine' if `face-differs-from-default-p' returns t.
13633 (occur-engine): Add `,' inside backquote construct to evaluate
13634 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13635 Pass `prefix-face' to the functions `occur-context-lines' and
13636 `occur-engine-add-prefix'.
13637 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13638 `prefix-face' and propertize the prefix with `prefix-face'.
13641 2013-03-24 Leo Liu <sdl.web@gmail.com>
13643 * nxml/rng-valid.el (rng-validate-while-idle)
13644 (rng-validate-quick-while-idle): Guard against deleted buffer.
13647 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13648 is the last entry in kill-buffer-hook.
13650 * files.el (kill-buffer-hook): Doc fix.
13652 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13654 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13655 Make it safe-local.
13657 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13659 2013-03-23 Leo Liu <sdl.web@gmail.com>
13661 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13664 * nxml/rng-valid.el (rng-validate-mode)
13665 (rng-after-change-function, rng-do-some-validation):
13666 * nxml/rng-maint.el (rng-validate-buffer):
13667 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13668 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13669 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13670 (nxml-extend-after-change-region): Use with-silent-modifications.
13672 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13675 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13676 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13677 timer-idle-list. (Bug#13999)
13679 2013-03-23 Juri Linkov <juri@jurta.org>
13681 * info.el (info-index-match): New face.
13682 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13683 main pattern and add text properties with the new face to matches
13684 in index entries relative to the beginning of the index entry.
13687 2013-03-21 Eric Ludlam <zappo@gnu.org>
13689 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13690 Inhibit read only while inserting objects.
13692 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13694 * progmodes/cfengine.el: Update docs to mention
13695 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13696 symbol motion. Remove "_" from the word syntax.
13698 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13700 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13701 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13703 2013-03-20 Juri Linkov <juri@jurta.org>
13705 * info.el (Info-next-reference-or-link)
13706 (Info-prev-reference-or-link): New functions.
13707 (Info-next-reference, Info-prev-reference): Use them.
13708 (Info-try-follow-nearest-node): Handle footnote navigation.
13709 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13711 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13714 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13716 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13718 Suppress unnecessary non-ASCII chatter during build process.
13719 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13720 (batch-skkdic-convert): Suppress most of the chatter.
13721 It's not needed so much now that machines are faster,
13722 and its non-ASCII component was confusing; see Dmitry Gutov in
13723 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13725 2013-03-20 Leo Liu <sdl.web@gmail.com>
13727 * ido.el (ido-chop): Fix bug#10994.
13729 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13731 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13733 (whitespace-color-on, whitespace-color-off):
13734 Use `font-lock-fontify-buffer' (Bug#13817).
13736 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13738 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13739 remapping in mode-line.
13740 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13742 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13744 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13745 value for `whitespace-line' face (Bug#13875).
13746 (whitespace-font-lock-keywords): Change description.
13747 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13748 the constructed keywords instead.
13749 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13751 2013-03-19 Leo Liu <sdl.web@gmail.com>
13753 * progmodes/compile.el (compilation-display-error): New command.
13754 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13757 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13759 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13761 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13763 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13765 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13767 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13769 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13770 * net/tramp-gvfs.el (top):
13771 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13772 (tramp-handle-shell-command): Use it.
13773 (tramp-dissect-file-name): Raise an error when hostname is a
13774 method name, and neither method nor user is specified.
13776 * net/trampver.el: Update release number.
13778 2013-03-18 Leo Liu <sdl.web@gmail.com>
13780 Make sure eldoc can be turned off properly.
13781 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13783 (eldoc-display-message-p): Revert last change.
13784 (eldoc-display-message-no-interference-p)
13785 (eldoc-print-current-symbol-info): Tweak.
13787 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13789 * doc-view.el (doc-view-new-window-function): Check the new window
13790 overlay's display property instead the char property of the
13791 buffer's first char. Use `with-selected-window' instead of
13792 `save-window-excursion' with `select-window'.
13793 (doc-view-document->bitmap): Check the current doc-view overlay's
13794 display property instead the char property of the buffer's first char.
13796 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13798 Automate the build of ja-dic.el (Bug#13984).
13799 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13800 from the input, rather than assume that it's been done for us by the
13801 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13802 the current date into a ja-dic.el comment, as that complicates
13803 regression testing.
13805 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13807 * whitespace.el: Fix double evaluation.
13808 (whitespace-space, whitespace-hspace, whitespace-tab)
13809 (whitespace-newline, whitespace-trailing, whitespace-line)
13810 (whitespace-space-before-tab, whitespace-indentation)
13811 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13813 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13814 (whitespace-color-on): Use a single font-lock-add-keywords call.
13815 Fix double-evaluation of face variables.
13817 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13819 * net/tramp-adb.el (tramp-adb-parse-device-names):
13820 Use `start-process' instead of `call-process'. Otherwise, the
13821 function might be blocked under MS Windows. (Bug#13299)
13823 2013-03-17 Leo Liu <sdl.web@gmail.com>
13825 Extend eldoc to display info in the mode-line. (Bug#13978)
13826 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13827 (eldoc-mode-line-string): New variable.
13828 (eldoc-minibuffer-message): New function.
13829 (eldoc-message-function): New variable.
13830 (eldoc-message): Use it.
13831 (eldoc-display-message-p)
13832 (eldoc-display-message-no-interference-p):
13833 Support eldoc-post-insert-mode.
13835 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13836 (eval-expression): Run it.
13838 2013-03-17 Roland Winkler <winkler@gnu.org>
13840 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13841 strings in the list of return values.
13843 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13845 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13846 radix before checking for HMS forms.
13848 2013-03-16 Leo Liu <sdl.web@gmail.com>
13850 * progmodes/scheme.el: Add indentation and font-locking for λ.
13853 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13855 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13856 token before point (bug#13942).
13858 2013-03-16 Leo Liu <sdl.web@gmail.com>
13860 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13862 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13864 * startup.el (command-line-normalize-file-name): Fix handling of
13865 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13866 <xfq.free@gmail.com> in
13867 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13869 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13871 Sync with Tramp 2.2.7.
13873 * net/trampver.el: Update release number.
13875 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13877 * doc-view.el: Fix bug#13887.
13878 (doc-view-insert-image): Don't modify overlay associated to
13879 non-live windows, and implement horizontal centering of image in
13880 case it's smaller than the window.
13881 (doc-view-new-window-function): Force redisplay of new windows on
13884 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13886 * saveplace.el (save-place-alist-to-file): Don't sort
13887 `save-place-alist', just pretty-print it (bug#13882).
13889 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13891 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13892 Check whether `default-file-name-coding-system' is bound.
13893 It isn't in XEmacs.
13895 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13897 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13898 backquotes for `obsolete' (bug#13929).
13900 * international/mule.el (find-auto-coding): Include file name in
13901 obsolescence warning (bug#13922).
13903 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13905 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13906 for CFEngine 3-specific indentation.
13907 (cfengine3-indent-line): Use it. Fix up category regex.
13908 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13910 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13912 * type-break.el (type-break-file-name):
13913 * textmodes/remember.el (remember-data-file):
13914 * strokes.el (strokes-file):
13915 * shadowfile.el (shadow-initialize):
13916 * saveplace.el (save-place-file):
13917 * ps-bdf.el (bdf-cache-file):
13918 * progmodes/idlwave.el (idlwave-config-directory):
13919 * net/quickurl.el (quickurl-url-file):
13920 * international/kkc.el (kkc-init-file-name):
13921 * ido.el (ido-save-directory-list-file):
13922 * emulation/viper.el (viper-custom-file-name):
13923 * emulation/vip.el (vip-startup-file):
13924 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13925 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13927 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13929 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13930 * language/thai-word.el: Switch to UTF-8.
13932 See ChangeLog.16 for earlier changes.
13934 ;; Local Variables:
13938 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13940 This file is part of GNU Emacs.
13942 GNU Emacs is free software: you can redistribute it and/or modify
13943 it under the terms of the GNU General Public License as published by
13944 the Free Software Foundation, either version 3 of the License, or
13945 (at your option) any later version.
13947 GNU Emacs is distributed in the hope that it will be useful,
13948 but WITHOUT ANY WARRANTY; without even the implied warranty of
13949 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13950 GNU General Public License for more details.
13952 You should have received a copy of the GNU General Public License
13953 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.