1 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3 * frameset.el: Separate options for reusing frames and cleaning up.
4 (frameset--reuse-list): Remove definition; declare.
5 (frameset--action-map): Declare.
6 (frameset--find-frame-if): Doc fix.
7 (frameset--restore-frame): Cache frame action.
8 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
9 how to clean up the frame list after restoring. Remove cleaning
10 options from REUSE-FRAMES. Change all keyword values to symbols.
11 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
13 * desktop.el (desktop-restore-forces-onscreen)
14 (desktop-restore-reuses-frames): Use non-keyword values.
15 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
17 2014-03-10 Glenn Morris <rgm@gnu.org>
19 * files.el (find-file): Doc fix: update info node name.
21 * emacs-lisp/advice.el (ad-add-advice, defadvice):
22 Doc fix: remove references to deleted info nodes.
24 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
26 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
27 Do not add `nil' to the environment, when there's no remote `locale'.
28 (tramp-find-inline-encoding): Check, that the remote host has
29 installed perl, before sending scripts.
31 2014-03-10 Leo Liu <sdl.web@gmail.com>
33 * emacs-lisp/eldoc.el (eldoc-minibuffer-message): Clear
34 eldoc-last-message. (Bug#16920)
36 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
38 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
41 2014-03-09 Juri Linkov <juri@jurta.org>
43 * ansi-color.el (ansi-color-names-vector): Copy default colors
44 from `xterm-standard-colors' that look well on the default white
45 background (and also on the black background) to avoid illegible
46 color combinations like yellow-on-white and white-on-white.
47 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
49 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
51 * frameset.el (frameset-restore): When no frame is visible, do not
52 generate a list of frames, just make visible the selected one.
54 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
56 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
57 it only contains the repository root. (Bug#16897)
59 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
61 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
62 only when `remote-file-name-inhibit-cache' is nil.
63 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
65 2014-03-06 Martin Rudalics <rudalics@gmx.at>
67 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
69 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
70 fit-frame-to-buffer variable. Fix doc-string.
71 (fit-window-to-buffer): Set ONLY argument in call of
72 fit-frame-to-buffer. Fix doc-string.
74 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
76 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
77 (tramp-action-password): Clear password cache if needed.
78 (tramp-read-passwd): Do not clear password cache.
80 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
81 cache unless it is the first password request.
83 2014-03-06 Glenn Morris <rgm@gnu.org>
85 * simple.el (newline): Doc tweak.
87 * emacs-lisp/shadow.el (load-path-shadows-find):
88 Ignore dir-locals. (Bug#12357)
90 2014-03-05 Glenn Morris <rgm@gnu.org>
92 * files.el (interpreter-mode-alist):
93 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
95 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
97 * frameset.el (frameset--initial-params): Filter out null entries.
99 2014-03-05 Martin Rudalics <rudalics@gmx.at>
101 * window.el (window-min-height, window-min-width):
103 (window-body-size): Add PIXELWISE argument to make it consistent
106 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
108 * finder.el (finder-mode-map, finder-mode-syntax-table):
109 Revert part of 2014-02-28 change.
111 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
113 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
114 (eww-setup-buffer): Clear next/prev/etc more reliably.
115 (eww-textarea-map): [tab] doesn't work on tty.
116 Reported by Mario Lang.
118 * net/shr.el (shr-map): Ditto.
120 2014-03-04 Glenn Morris <rgm@gnu.org>
122 * minibuffer.el (completion-hilit-commonality):
123 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
125 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
127 * hilit-chg.el (hilit-chg-unload-function): New function.
128 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
129 (hilit-chg-map-changes): Prefer cardinal number to digit.
130 (hilit-chg-display-changes): Reflow docstring.
131 (highlight-changes-rotate-faces): Remove superfluous backslash.
133 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
135 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
136 `tramp-send-command-and-check'.
138 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
140 * hexl.el (hexl-address-region, hexl-ascii-region)
141 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
142 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
143 (hexl-forward-word, hexl-previous-line, hexl-next-line):
144 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
145 (hexl-mode): Doc fix.
146 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
147 (hexl-mode-ruler): Fix typos in docstrings.
149 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
150 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
151 Remove superfluous backslashes.
152 (strokes-last-stroke, strokes-global-map, strokes-mode):
154 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
155 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
156 (strokes-distance-squared, strokes-global-set-stroke)
157 (strokes-global-set-stroke-string): Doc fixes.
158 (strokes-help): Fix typos; reflow docstring.
160 2014-03-04 Martin Rudalics <rudalics@gmx.at>
162 * window.el (window-in-direction): Fix doc-string.
164 2014-03-04 Glenn Morris <rgm@gnu.org>
166 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
167 Explicit error if no grammar.
168 (smie-config-save): Doc fix. Fix quote typo.
170 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
172 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
173 electric-indent-mode-hook if we obey electric-indent-mode.
174 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
175 decide whether we obey electric-indent-mode.
176 (c-change-set-fl-decl-start, c-extend-after-change-region):
178 (c-electric-indent-mode-hook): Assume we do want to obey
179 electric-indent-mode.
181 * electric.el (electric-indent-mode-has-been-called): Remove.
182 (electric-indent-mode): Fix accordingly.
184 * files.el (hack-local-variables): Mention file name in warning.
186 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
188 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
190 * binding.el: Add comment describing why C-d binds to `delete-char'.
191 * simple.el (delete-forward-char): Mark as interactive-only.
193 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
195 * icomplete.el (icomplete-completions):
196 Follow-up to 2014-03-01 change.
198 * icomplete.el: Miscellaneous doc fixes.
199 Use Icomplete everywhere instead of icomplete for consistency.
200 (icomplete-max-delay-chars): Fix typo.
201 (icomplete-mode): Use \[].
202 (icomplete-tidy, icomplete-exhibit): Reflow.
203 (icomplete-minibuffer-setup-hook, icomplete-completions):
204 Remove superfluous backlashes.
206 * ido.el: Miscellaneous doc fixes.
207 Use Ido everywhere instead of ido or `ido' for consistency.
208 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
209 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
210 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
211 (ido-separator): Extract obsolescence info from docstring and declare
212 with make-obsolete-variable.
213 (ido-minibuffer-setup-hook): Simplify example.
214 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
215 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
216 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
217 (ido-everywhere): Reflow docstring.
218 (ido-toggle-vc): Doc fix.
219 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
220 of long list of keybindings.
222 2014-03-03 Glenn Morris <rgm@gnu.org>
224 * frame.el (display-pixel-height, display-pixel-width)
225 (display-mm-dimensions-alist, display-mm-height)
226 (display-mm-width): Doc tweaks.
228 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
230 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
231 case of undo in region.
233 2014-03-02 Martin Rudalics <rudalics@gmx.at>
235 * window.el (fit-window-to-buffer): Fix argument in window-size
236 call when window is horizontally combined.
238 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
240 * icomplete.el (icomplete-completions): Use string-width.
241 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
243 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
245 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
246 Highlight regexp options. (Bug#16914)
248 2014-03-01 Martin Rudalics <rudalics@gmx.at>
250 * window.el (window--max-delta-1): Round down when calculating
251 how many lines/columns we can get from a window.
253 2014-03-01 Glenn Morris <rgm@gnu.org>
255 * isearch.el (search-invisible): Doc fix.
257 * minibuffer.el (completion-hilit-commonality):
258 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
259 * comint.el (comint-dynamic-list-completions): Doc fix.
260 * comint.el (comint-dynamic-list-completions):
261 * filecache.el (file-cache-minibuffer-complete):
262 * tempo.el (tempo-display-completions):
263 * eshell/em-hist.el (eshell-list-history):
264 Replace use of obsolete argument of display-completion-list.
266 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
268 * icomplete.el (icomplete-completions):
269 Revert back to using "..." when ?… cannot be displayed.
271 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
273 * finder.el (finder-unload-function): New function.
275 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
277 * dframe.el (dframe-detach):
278 * find-dired.el (find-dired, find-name-dired):
279 * finder.el (finder-mode-map, finder-mode-syntax-table)
280 (finder-headmark, finder-select, finder-mouse-select):
283 2014-02-28 Martin Rudalics <rudalics@gmx.at>
285 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
286 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
287 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
288 Fix doc-string based on a suggestion by Nicolas Richard
289 <theonewiththeevillook@yahoo.fr>.
290 * help.el (with-help-window): Fix doc-string.
292 2014-02-28 Ivan Kanis <ivan@kanis.fr>
294 * net/shr.el (shr-image-animate): New option.
295 (shr-put-image): Respect shr-image-animate.
297 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
299 * net/tramp-adb.el (tramp-adb-parse-device-names):
300 Use `accept-process-output'.
301 (tramp-adb-handle-file-truename): Cache the localname only.
302 (tramp-adb-handle-make-directory)
303 (tramp-adb-handle-delete-directory): Flush file properties correctly.
304 (tramp-adb-handle-set-file-modes): Do not raise an error when file
305 modes cannot be changed.
307 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
308 file properties of symlinks.
310 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
312 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
313 required/optional fields to match development biblatex. (Bug#16781)
315 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
317 * saveplace.el (toggle-save-place):
318 Fix argument handling. (Bug#16673)
320 2014-02-28 Glenn Morris <rgm@gnu.org>
322 * minibuffer.el (completions-first-difference)
323 (completions-common-part, completion-hilit-commonality): Doc fixes.
325 2014-02-28 Karl Berry <karl@gnu.org>
327 * info.el (Info-mode-map): Add H for describe-mode,
328 to synchronize with standalone Info.
330 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
332 * progmodes/sql.el (sql-interactive-mode):
333 Avoid setting global comint-input-ring-separator. (Bug#16814)
335 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
337 * net/dbus.el (dbus--init-bus): Declare function.
338 (dbus-path-local, dbus-interface-local): New defconst.
339 (dbus-init-bus): Use them.
340 (dbus-return-values-table): Extend doc.
341 (dbus-handle-bus-disconnect): Extend error message.
343 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
345 * subr.el (y-or-n-p): Fix double space issue in message.
347 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
349 * net/tramp.el (tramp-call-process): Improve trace message.
350 (tramp-handle-insert-file-contents): Trace error case.
352 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
353 <insert-directory>: Use `tramp-handle-insert-directory'.
354 (tramp-adb-handle-insert-directory): Remove function.
355 (tramp-adb-send-command-and-check): New defun, replacing
356 `tramp-adb-command-exit-status'. Change all callees.
357 (tramp-adb-handle-file-attributes)
358 (tramp-adb-handle-directory-files-and-attributes): Use it.
359 (tramp-adb-ls-output-name-less-p):
360 Use `directory-listing-before-filename-regexp'.
361 (tramp-adb-handle-delete-directory): Flush also file properties of
362 the truename of directory.
363 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
364 (tramp-adb-handle-file-local-copy): Make the local copy readable.
365 (tramp-adb-handle-write-region): Implement APPEND.
366 (tramp-adb-handle-rename-file): Make it more robust. Flush file
367 properties correctly.
368 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
369 variables. Check for connected devices only when needed.
371 2014-02-27 Glenn Morris <rgm@gnu.org>
373 * minibuffer.el (completion-table-dynamic)
374 (completion-table-with-cache): Doc fixes.
376 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
377 (completing-read-multiple): Doc fixes.
379 2014-02-27 Daniel Colascione <dancol@dancol.org>
381 * minibuffer.el (completion--nth-completion): Fix indentation.
383 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
384 explicit tramp path is empty.
386 2014-02-27 Glenn Morris <rgm@gnu.org>
388 * emacs-lisp/crm.el (completing-read-multiple):
389 Empower help-enable-auto-load.
391 2014-02-26 Glenn Morris <rgm@gnu.org>
393 * startup.el (command-line): Don't init the tty in daemon mode.
395 Avoid calling tty-setup-hook twice, eg if a term file
396 explicitly calls tty-run-terminal-initialization. (Bug#16859)
397 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
398 (tty-create-frame-with-faces): Use it.
399 * startup.el (command-line): Pass run-hook argument
400 to tty-run-terminal-initialization.
402 * dired.el (dired-restore-desktop-buffer): Demote errors;
403 eg in case a glob match fails. (Bug#16884)
405 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
407 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
408 error from `read-from-string'. (Bug#16850)
410 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
411 result of `completing-read' in the interactive form. (Bug#16854)
413 2014-02-25 Glenn Morris <rgm@gnu.org>
415 * image.el (image-animate, image-animate-timeout):
416 Stop animating images in dead buffers. (Bug#16878)
418 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
420 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
422 * startup.el (term-setup-hook): Doc fix. Make obsolete.
423 * term/sun.el (sun-raw-prefix-hooks):
424 Use tty-setup-hook instead of term-setup-hook.
425 (terminal-init-sun): Construct message from bytecomp plist.
426 * term/wyse50.el (enable-arrow-keys): Doc fix.
428 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
430 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
433 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
435 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
437 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
439 * minibuffer.el (completion--try-word-completion):
440 Fix error when completing M-x commands (bug#16808).
442 2014-02-24 Leo Liu <sdl.web@gmail.com>
444 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
446 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
448 * apropos.el (apropos-print): Avoid formatting error when
449 apropos-do-all and apropos-compact-layout are both t.
451 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
453 * apropos.el (apropos-property, apropos-all-words-regexp)
454 (apropos-true-hit, apropos-variable, apropos-print):
455 Fix docstring typos, and remove obsolete comment.
457 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
459 * net/tramp-sh.el (tramp-sh-handle-file-truename):
460 Preserve trailing "/". (Bug#16851)
462 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
464 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
465 after `=>' (bug#16811).
466 (ruby-smie-rules): Handle the inconsistent second element of the
467 list returned by `smie-indent--parent'.
468 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
471 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
473 * elec-pair.el (electric-pair-text-syntax-table)
474 (electric-pair-syntax-info, electric-pair--syntax-ppss)
475 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
476 (electric-pair--looking-at-unterminated-string-p): Doc fix.
477 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
479 2014-02-22 Glenn Morris <rgm@gnu.org>
481 * imenu.el (imenu--generic-function): Doc fix.
483 * register.el (frame-configuration-to-register): Make obsolete.
485 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
487 * desktop.el (desktop-save-buffer-p): Do not fail when
488 desktop-files-not-to-save is nil. Return t for true result
491 2014-02-22 Daniel Colascione <dancol@dancol.org>
493 * net/secrets.el (secrets-create-item, secrets-search-items):
494 Check that attribute values are strings, avoiding the construction
495 of invalid dbus messages.
497 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
499 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
500 defun-declarations-alist.
502 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
504 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
507 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
509 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
510 (whitespace-newline, whitespace-trailing, whitespace-line)
511 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
512 (whitespace-space-after-tab): Fix typo in docstrings.
514 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
516 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
518 * electric.el (electric-indent-functions-without-reindent):
519 Add `yaml-indent-line'.
521 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
523 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
524 It has done nothing for years; should be removed after the release.
526 * simple.el (choose-completion): Fix docstring typo.
527 (read-quoted-char-radix): Remove unneeded * in docstring.
528 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
529 Don't escape parentheses unnecessarily in docstrings.
531 2014-02-21 Martin Rudalics <rudalics@gmx.at>
533 Fix handling of window-min-height/-width (Bug#16738).
534 * window.el (window--dump-window, window--dump-frame):
536 (window--min-size-1): Account for window dividers.
537 When window-resize-pixelwise is nil, delay rounding till after the
538 sum of the window components has been calculated.
539 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
540 nil make sure at least one text line and two text columns remain
542 (window-resize): Signal an error when window-resize-apply fails.
543 (window--resize-child-windows): Fix calculation of by how many
544 pixels a window can still be shrunk via window-new-normal.
545 (adjust-window-trailing-edge): Call window--resizable with
546 correct TRAIL argument.
548 (with-temp-buffer-window): Don't evaluate BODY within
549 with-current-buffer (Bug#16816).
551 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
553 * net/tramp.el (tramp-check-cached-permissions):
554 Call `file-attributes' with `suffix' being a symbol but a string.
556 2014-02-21 Daniel Colascione <dancol@dancol.org>
558 * net/dbus.el (dbus-init-bus-1): Declare new subr.
559 (dbus-init-bus): New function: call into dbus-init-bus-1
560 and installs a handler for the disconnect signal.
561 (dbus-call-method): Rewrite to look for result in cons.
562 (dbus-call-method-handler): Store result in cons.
563 (dbus-check-event): Recognize events with nil sender as valid.
564 (dbus-handle-bus-disconnect): New function. React to bus
565 disconnection signal by synthesizing dbus error for each
566 pending synchronous or asynchronous call.
567 (dbus-notice-synchronous-call-errors): New function.
568 (dbus-handle-event): Raise errors directly only when `dbus-debug'
569 is true, not all the time.
571 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
573 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
574 Remove obsolescence declarations, these variables do not exist anymore.
576 * savehist.el (savehist-save-minibuffer-history)
577 (savehist-additional-variables, savehist-file, savehist-mode-hook)
578 (savehist-save-hook, savehist-coding-system, savehist-loaded)
579 (savehist-load, savehist-install, savehist-autosave): Fix typos;
580 mostly, refer to "Savehist mode" when talking about the mode,
581 and not the function.
583 * saveplace.el (save-place): Remove redundant info in docstring.
584 (save-place-forget-unreadable-files, toggle-save-place)
585 (save-place-forget-unreadable-files, save-place-dired-hook):
586 Fix typos and remove unneeded backslashes.
588 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
590 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
591 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
593 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
594 <insert-directory>: Use `tramp-handle-insert-directory'.
595 (tramp-gvfs-handle-insert-directory): Remove function.
597 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
598 Call `tramp-handle-insert-directory'.
600 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
602 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
603 before the start of buffer/region (bug#16799).
605 2014-02-20 Glenn Morris <rgm@gnu.org>
607 * isearch.el (search-invisible): Doc fix.
609 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
611 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
614 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
616 * frameset.el (frameset-restore): Delay removing an old frame's
617 duplicate id until the new frame has been correctly created.
619 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
621 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
622 (tramp-check-cached-permissions): Call `file-attributes' if the
625 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
626 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
629 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
630 (tramp-gvfs-maybe-open-connection): Set always connection
631 properties, even if target is mounted already.
633 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
634 Set tramp-autoload cookie.
635 (tramp-get-remote-touch): New defun.
636 (tramp-sh-handle-set-file-times): Use it.
637 (tramp-sh-handle-directory-files-and-attributes):
638 Use `tramp-handle-directory-files-and-attributes' if neither stat
639 nor perl are available on the remote host.
641 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
642 "/". Write long listing only when "l" belongs to the switches.
644 * net/trampver.el: Update release number.
646 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
648 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
650 2014-02-19 Martin Rudalics <rudalics@gmx.at>
652 * window.el (window-state-put): Allow WINDOW to refer to an
653 internal window (Bug#16793).
655 2014-02-19 Glenn Morris <rgm@gnu.org>
657 * textmodes/remember.el: Move provide statement to end.
658 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
659 (remember-notes): Doc fixes.
661 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
663 * delsel.el (delete-char): Restore incorrectly erased property
666 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
668 * frameset.el (frameset--restore-frame): When a frame is being reused
669 and its root window is not alive, delete all the frame's windows before
670 restoring the window state. This works around the issue in bug#16793.
672 2014-02-18 Glenn Morris <rgm@gnu.org>
674 * textmodes/remember.el (remember-data-directory)
675 (remember-directory-file-name-format, remember-store-in-files)
676 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
677 (remember-notes-save-and-bury-buffer)
678 (remember-notes--kill-buffer-query): Doc fixes.
680 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
682 2014-02-17 Alan Mackenzie <acm@muc.de>
684 Connect electric-indent-mode up with CC Mode. Bug #15478.
685 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
686 to electric-indent-{,local-}-mode.
687 (c-basic-common-init): Set electric-indent-inhibit.
688 Initialise c-electric-flag from electric-indent-mode.
689 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
690 New hook functions which propagate electric-indent-mode to CC mode.
692 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
693 hit, toggle electric-indent-local-mode.
695 * electric.el (electric-indent-mode-has-been-called):
698 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
700 * frameset.el (frameset-cfg-id): New function.
701 (frameset--reuse-frame, frameset-restore): Use it.
702 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
704 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
706 * ido.el (ido-file-internal): Remove unused var `d'.
707 Use \` for to match BoS. Fit within 80n columns.
709 2014-02-17 Daniel Colascione <dancol@dancol.org>
711 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
712 dbus-call-method check for completion using a busy-wait loop with
715 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
717 Sync with Tramp 2.2.9.
719 * net/trampver.el: Update release number.
721 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
723 * ido.el (ido-file-internal): Don't add the name of an existing
724 directory twice. (Bug#16747)
726 2014-02-16 Glenn Morris <rgm@gnu.org>
728 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
729 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
731 2014-02-15 Michael R. Mauger <michael@mauger.com>
733 * progmodes/sql.el: Version 3.4
734 (sql-oracle-options): New default value ("-L").
735 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
736 (sql-placeholders-filter): Correct placeholder pattern.
737 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
738 (sql-login-delay): New variable.
739 (sql-product-interactive): Use it.
741 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
743 * frameset.el (frameset--jump-to-register): Check that buffer is live
746 2014-02-15 Glenn Morris <rgm@gnu.org>
748 * info.el (info-initialize): Revert 2014-01-10 change.
750 2014-02-14 Glenn Morris <rgm@gnu.org>
752 * replace.el (map-query-replace-regexp)
753 (read-regexp-defaults-function, read-regexp): Doc fixes.
755 * dired.el (dired-read-regexp):
756 * faces.el (list-faces-display):
757 * misearch.el (multi-isearch-read-matching-buffers)
758 (multi-isearch-read-matching-files):
759 * play/cookie1.el (cookie-apropos):
760 * progmodes/grep.el (grep-read-regexp): Doc fixes.
762 * textmodes/remember.el (remember): Use frameset-to-register
763 rather than frame-configuration-to-register.
765 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
767 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
768 incorrect keybinding.
770 2014-02-13 Daniel Colascione <dancol@dancol.org>
772 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
773 when adding overlays so that line numbers from compiler match line
776 2014-02-13 Glenn Morris <rgm@gnu.org>
778 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
780 * jit-lock.el (jit-lock-mode): Doc fix.
782 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
784 * apropos.el (apropos-read-pattern): When the user passes an empty
785 string, give a more helpful error message than "Wrong type
786 argument: stringp, nil".
788 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
790 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
792 2014-02-13 Glenn Morris <rgm@gnu.org>
794 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
796 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
798 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
799 shift-select commands.
801 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
803 * progmodes/js.el (js-indent-line): Don't widen.
804 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
806 2014-02-12 Glenn Morris <rgm@gnu.org>
808 * icomplete.el (icomplete): Add info-link to defgroup.
809 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
810 (icomplete-minibuffer-map, icomplete-mode)
811 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
813 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
814 (package-menu-filter): Rename from package-menu-filter-interactive.
817 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
819 * frameset.el (frameset--jump-to-register): Select the required
820 window and buffer before restoring position (bug#16696).
822 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
824 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
826 2014-02-10 Glenn Morris <rgm@gnu.org>
828 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
830 2014-02-10 Eli Zaretskii <eliz@gnu.org>
832 * w32-common-fns.el (x-get-selection): Doc fix.
833 * select.el (x-get-selection): Doc fix. (Bug#15109)
835 * face-remap.el (face-remap-add-relative)
836 (face-remap-remove-relative, face-remap-reset-base)
837 (face-remap-set-base): Call force-mode-line-update to redisplay
838 the current buffer due to potential change in faces. (Bug#16709)
840 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
842 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
843 script more robustly.
845 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
847 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
849 * simple.el (choose-completion): Doc fix (bug#14160).
851 * subr.el (event-start): Say what a nil EVENT value means.
853 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
856 * progmodes/grep.el (find-program): Doc fix (bug#14289).
858 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
860 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
862 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
863 predicate function (bug#15455).
865 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
867 * ielm.el (inferior-emacs-lisp-mode): Instead of
868 `comment-use-global-state', set `comment-use-syntax'.
870 2014-02-10 Glenn Morris <rgm@gnu.org>
872 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
874 2014-02-09 Alan Mackenzie <acm@muc.de>
876 Fix c-invalidate-state-cache on narrowed buffers.
877 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
878 Widen when setting and clearing the CPP delimiter properties.
880 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
882 * help.el (describe-bindings): Doc fix (bug#9888).
884 * files.el (save-buffer): Use ARG as the parameter name for
885 consistency (bug#10346).
886 (save-buffer): Clarify the 0 argument (bug#10346).
888 * cus-edit.el (customize-apropos): Fix error string.
889 (custom-buffer-create): Doc fix (bug#11122).
890 (custom-sort-items): Doc fix (bug#11121).
892 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
894 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
895 (icomplete-simple-completing-p): Mention the previous variable.
897 * font-lock.el (font-lock-value-in-major-mode): Clarify the
898 meaning of the parameter (bug#12282).
900 * files.el (find-file-noselect): Clarify prompt when changing
901 readedness (bug#13261).
902 (locate-file): Suffixes aren't returned, so don't say that they
904 (backup-inhibited): Doc clarification (bug#12525).
906 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
907 before we actually start to delete things (bug#16331).
909 * subr.el (event-start): Doc fix (bug#14228).
912 2014-02-09 Glenn Morris <rgm@gnu.org>
914 * emacs-lisp/warnings.el (lwarn):
915 Empower help-enable-auto-load. (Bug#15940)
917 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
919 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
922 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
924 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
925 Insert output at end of buffer. (Bug#16120)
927 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
929 * simple.el (choose-completion-string-functions): Document new
930 calling convention (bug#14153).
931 (execute-extended-command): Clarify doc string (bug#13373).
933 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
935 * find-dired.el (find-name-dired): Doc fix (bug#14290).
936 (find-grep-dired): Doc fix (bug#14288).
938 2014-02-08 Juri Linkov <juri@jurta.org>
940 * isearch.el (isearch-quote-char): Check character validity
941 like in `quoted-insert' (bug#16677).
943 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
945 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
947 * isearch.el (isearch-hide-immediately): Doc clarification
950 * simple.el (line-move): Document utility function used many
951 places in the Emacs sources (bug#14843).
953 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
954 (dired-prev-marked-file): Doc fix (bug#14855).
955 (dired-up-directory): Doc fix (bug#14848).
957 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
959 * files.el (file-relative-name): Doc fix (bug#15159).
961 * fringe.el (fringe-styles): Doc fix (bug#15239).
963 * isearch.el (isearch-filter-predicate): Documentation typo fix
966 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
968 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
970 * replace.el (replace-match-maybe-edit): Doc clarification
973 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
975 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
977 2014-02-08 Glenn Morris <rgm@gnu.org>
979 * help-fns.el (describe-variable):
980 Check {file,dir}-local-variables-alist, and buffer-file-name,
981 in the correct buffer.
983 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
985 * help-fns.el (describe-variable): Fix the case where
986 a value is directory-local with no dir-locals file. (Bug#16635)
988 2014-02-08 Glenn Morris <rgm@gnu.org>
990 * abbrev.el (edit-abbrevs-mode):
991 Derive from fundamental-mode. (Bug#16682)
993 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
995 * simple.el (quoted-insert): Check character validity (bug#16677).
997 2014-02-07 Juri Linkov <juri@jurta.org>
999 * desktop.el (desktop-read): Claim the lock when the owner is not
1000 the current process. (Bug#16157)
1002 2014-02-07 Juri Linkov <juri@jurta.org>
1004 * desktop.el (desktop-buffers-not-to-save): Change default from nil
1005 to "\\` ". (Bug#16651)
1007 2014-02-07 Juri Linkov <juri@jurta.org>
1009 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
1010 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
1011 (desktop-auto-save-cancel-timer): New function with some code from
1012 `desktop-auto-save-set-timer'.
1013 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
1014 Instead of setting `desktop-save-mode' to nil, call
1015 `desktop-save-mode' with arg 0. (Bug#16630)
1017 2014-02-07 Glenn Morris <rgm@gnu.org>
1019 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
1020 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
1021 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
1023 * obsolete/iswitchb.el: Move to obsolete/.
1024 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
1025 since obsolete/ is not scanned for autoloads.
1026 * emacs-lisp/authors.el (authors-valid-file-names):
1029 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
1030 Disable now non-functional find-file-hook.
1032 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
1034 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
1035 instead of ";" in order to avoid additional prompts. Let heredoc
1036 scripts read from tty. (Bug#16582)
1037 (tramp-send-command): No special handling of heredocs, it isn't
1040 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
1042 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
1043 with a space (bug#16664). Limit the symbols considered to the ones
1044 that are bound or fbound (bug#16646).
1046 2014-02-06 Glenn Morris <rgm@gnu.org>
1048 * epa.el (epa-mail-aliases): Doc fix.
1050 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1052 * emacs-lisp/lisp.el (lisp-completion-at-point):
1053 Use `completion-table-merge' instead of `completion-table-in-turn'
1056 * minibuffer.el (completion-table-merge): New function.
1058 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1060 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1061 (tramp-sh-handle-set-file-acl)
1062 (tramp-sh-handle-start-file-process)
1063 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1064 (tramp-find-executable, tramp-send-command): Use it.
1066 2014-02-05 Glenn Morris <rgm@gnu.org>
1068 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1070 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1072 * progmodes/python.el (python-shell-send-string)
1073 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1075 2014-02-04 Anders Lindgren <andlind@gmail.com>
1077 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1078 the names (bug#16620).
1080 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1082 * faces.el (window-divider): New default value. Rewrite doc-string.
1083 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1085 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1087 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1088 `protected' and `public' can also be called without arguments.
1090 2014-02-03 Glenn Morris <rgm@gnu.org>
1092 * register.el (window-configuration-to-register)
1093 (frame-configuration-to-register): Unadvertise unused argument.
1094 * frameset.el (frameset-to-register): Remove unused argument.
1096 * frameset.el (frameset-to-register):
1097 * kmacro.el (kmacro-to-register):
1098 * register.el (increment-register):
1099 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1100 (calc-append-to-register, calc-prepend-to-register):
1101 * play/gametree.el (gametree-layout-to-register)
1102 (gametree-apply-register-layout):
1103 * textmodes/picture.el (picture-clear-rectangle-to-register)
1104 (picture-yank-rectangle-from-register):
1105 * vc/emerge.el (emerge-combine-versions-register):
1106 Use register-read-with-preview to read registers.
1108 2014-02-03 João Távora <joaotavora@gmail.com>
1110 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1111 when at beginning of (possibly narrowed) buffer.
1113 2014-02-02 Daniel Colascione <dancol@dancol.org>
1115 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1116 Also try to display local help from just before point.
1118 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1120 c-parse-state. Don't "append-lower-brace-pair" in certain
1121 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1122 recognised as a comment.
1124 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1125 as well as normal comment starter.
1126 (c-parse-state-get-strategy): Extra return possibility
1128 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1129 return value list to indicate replacement of a brace-pair cons
1131 (c-parse-state-1): With 'back-and-forward, only call
1132 c-append-lower-brace-pair-to state-cache when cons-separated.
1134 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1136 * term/ns-win.el (ns-suspend-error): New function.
1137 (ns-initialize-window-system): Add ns-suspend-error to
1138 suspend-hook (Bug#16612).
1140 2014-02-02 Daniel Colascione <dancol@dancol.org>
1142 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1143 Make loading cc-mode silent.
1145 2014-02-02 Daniel Colascione <dancol@dancol.org>
1147 * comint.el (comint-prompt-read-only): Change doc to suggest
1150 2014-02-02 Glenn Morris <rgm@gnu.org>
1152 * register.el (register-read-with-preview, point-to-register)
1153 (window-configuration-to-register, frame-configuration-to-register)
1154 (jump-to-register, number-to-register, view-register, insert-register)
1155 (copy-to-register, append-to-register, prepend-to-register)
1156 (copy-rectangle-to-register): Doc fixes.
1158 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1160 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1161 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1162 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1163 * help-fns.el (describe-function-1): Use it.
1165 2014-02-02 Glenn Morris <rgm@gnu.org>
1167 * register.el (register-preview-default): New function,
1168 split from register-preview.
1169 (register-preview-function): Rename from register-preview-functions,
1171 (register-preview): Use register-preview-function.
1172 (register-read-with-preview): Error on non-character event. (Bug#16595)
1174 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1176 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1177 `:' before binary operators (bug#16609). Don't check for `:'
1178 before `[' and `(', or their syntax status. A percent literal
1179 can't end with either.
1180 (ruby-font-lock-keywords): For built-ins that require arguments,
1181 check that they're followed by something that looks like argument
1184 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1186 * subr.el (butlast): Document what an omitted N means (bug#13437).
1189 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1191 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1192 depth shallower (bug#16587).
1193 (shr-tag-svg): Respect `shr-inhibit-images'.
1194 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1196 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1198 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1199 (ruby-smie-grammar): Make "." right-associative. Make its priority
1200 lower than the ternary and all binary operators.
1201 (ruby-smie-rules): Indent "(" relative to the first non-"."
1202 parent, or the first "." parent at indentation.
1203 Use `ruby-align-chained-calls' for indentation of "." tokens.
1206 2014-01-31 Juri Linkov <juri@jurta.org>
1208 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1209 from `make-hash-table'.
1211 * textmodes/ispell.el (ispell-init-process): Change message format
1212 to be consistent with other messages.
1214 2014-01-31 Glenn Morris <rgm@gnu.org>
1216 * delsel.el (delete-selection-mode): Doc fix.
1218 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1219 (trace-function-background): Doc fixes.
1221 * ido.el (ido-use-virtual-buffers): Doc fix.
1222 Reset :version, since the default value has not changed.
1224 * register.el (register-preview-delay, register-read-with-preview):
1227 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1228 do not mess with mail-buffer position (fixes 2009-11-03 change).
1229 * progmodes/cc-mode.el (c-submit-bug-report):
1230 Check auto-fill-mode is bound. (Bug#16592)
1232 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1234 * startup.el (fancy-splash-image-file): New function,
1235 split from fancy-splash-head.
1236 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1237 so that we are both using the same image. (Bug#16574)
1239 2014-01-30 Glenn Morris <rgm@gnu.org>
1241 * simple.el (eval-expression): Doc fix.
1243 * hexl.el (hexl-mode-hook):
1244 * ielm.el (ielm-mode-hook):
1245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1246 (lisp-interaction-mode-hook):
1247 * progmodes/cfengine.e (cfengine3-documentation-function):
1248 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1250 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1252 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1253 is a symbol (bug#16584).
1255 2014-01-30 Glenn Morris <rgm@gnu.org>
1257 * help.el (help-for-help-internal): Add "P" to text.
1259 2014-01-29 Glenn Morris <rgm@gnu.org>
1261 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1263 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1265 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1268 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1270 * progmodes/hideif.el: Extend to full CPP expression syntax.
1271 (hif-token-alist): Add missing tokens.
1272 (hif-token-regexp): Add support for float/octal/hex immediates.
1273 (hif-string-literal-regexp): New const.
1274 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1275 (hif-exprlist): New function.
1276 (hif-parse-if-exp): Use it.
1277 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1278 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1279 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1280 (hif-logxor, hif-comma): New functions.
1282 2014-01-28 Glenn Morris <rgm@gnu.org>
1284 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1286 * indent.el (tab-stop-list): Doc fix. Add :version.
1288 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1289 (cvs-append-to-ignore): Add compatibility alias.
1291 2014-01-27 Glenn Morris <rgm@gnu.org>
1293 * dired.el (dired-hide-details-mode): Don't autoload it,
1294 since it cannot be used outside Dired buffers anyway.
1296 * emulation/cua-base.el (cua-mode): Doc fix.
1298 * dired.el (dired-hide-details-hide-symlink-targets)
1299 (dired-hide-details-hide-information-lines)
1300 (dired-hide-details-mode): Doc fixes.
1302 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1303 * strokes.el (strokes-file): Doc fix. Bump :version.
1304 (strokes-help): Doc fix.
1305 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1306 * emulation/viper.el (viper): Doc fix for custom group.
1307 (top-level): Remove oh-so-no-longer-relevant text about vip.
1308 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1310 * ido.el (ido-save-directory-list-file):
1311 * saveplace.el (save-place-file):
1312 * calendar/timeclock.el (timeclock-file):
1313 * net/quickurl.el (quickurl-url-file):
1314 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1315 * progmodes/idlwave.el (idlwave-config-directory):
1316 * textmodes/remember.el (remember-data-file):
1319 2014-01-26 Glenn Morris <rgm@gnu.org>
1321 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1322 Doc fix. Make obsolete.
1323 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1325 * sort.el (delete-duplicate-lines): Doc fix.
1327 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1329 * progmodes/ada-mode.el (ada):
1330 * woman.el (woman): Link to info manual and Commentary section.
1332 * progmodes/flymake.el (flymake):
1333 * nxml/nxml-mode.el (nxml):
1335 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1336 * htmlfontify.el (htmlfontify):
1339 * ido.el (ido): Link to info manual.
1341 2014-01-25 Leo Liu <sdl.web@gmail.com>
1343 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1345 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1347 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1350 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1352 * net/eww.el (eww-download-callback):
1353 Fix reference to eww-download-directory.
1355 * emacs-lisp/bytecomp.el (byte-compile-file):
1356 Remove unused local variable `file-name'.
1358 2014-01-24 Glenn Morris <rgm@gnu.org>
1360 * woman.el (woman-default-faces, woman-monochrome-faces):
1361 Fix obsolescence specification.
1363 * subr.el (with-demoted-errors): Doc fix.
1365 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1368 (cl--macroexp-fboundp): New function.
1369 (cl--make-type-test): Use it.
1371 2014-01-23 Glenn Morris <rgm@gnu.org>
1373 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1374 * simple.el (eval-expression): Doc fixes.
1376 2014-01-22 Glenn Morris <rgm@gnu.org>
1378 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1380 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * emacs-lisp/package.el: Write files silently.
1383 (package-autoload-ensure-default-file, package--write-file-no-coding)
1384 (package-generate-description-file, package--download-one-archive)
1385 (package-install-from-archive): Tell `write-region' to stay quiet.
1386 (package-menu-mode, package-menu--print-info): Omit the Archive column
1387 if there's only one archive.
1388 (package-all-keywords, package--has-keyword-p): Remove dead code.
1390 2014-01-22 Glenn Morris <rgm@gnu.org>
1392 * version.el (emacs-bzr-version-bzr): Fix typo.
1394 * version.el (emacs-repository-get-version):
1395 Check either .bzr or .git, but not both.
1396 Make the git case actually use the DIR argument, and return nil
1397 rather than the empty string.
1398 Avoid error if .git exists but the git executable is not found.
1400 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1402 Fixes in window size functions around Bug#16430 and Bug#16470.
1403 * window.el (window-total-size, window-size): New argument ROUND.
1404 (window--min-delta-1, window-min-delta, window--max-delta-1):
1405 Be more conservative when calculating the numbers of lines or
1406 columns a window can shrink (Bug#16430).
1407 (fit-window-to-buffer): Simplify code.
1408 * term.el (term-window-width): Call window-body-width again.
1410 2014-01-22 Glenn Morris <rgm@gnu.org>
1412 * image.el (image-format-suffixes): Doc fix.
1414 * international/quail.el (quail-define-package): Doc fix.
1416 * emacs-lisp/authors.el (authors-valid-file-names)
1417 (authors-renamed-files-alist): Additions.
1419 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1420 reverts 2014-01-09 change. (Bug#16422)
1422 * calc/calc-embed.el (thing-at-point-looking-at):
1423 * emacs-lisp/map-ynp.el (x-popup-dialog):
1424 * obsolete/lmenu.el (x-popup-dialog):
1425 * emacs-lisp/package.el (url-recreate-url):
1426 * mail/mailclient.el (clipboard-kill-ring-save):
1427 * subr.el (x-popup-dialog): Update declaration.
1428 * mail/rmail.el (rmail-mime-message-p):
1429 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1431 2014-01-21 Daniel Colascione <dancol@dancol.org>
1433 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1434 Correctly detect when we're inside an arithmetic expansion form
1435 containing nested parenthesis.
1436 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1437 to detect cases where we shouldn't expand "<<" to a heredoc
1440 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1443 (eldoc--message-command-p): New function.
1444 (eldoc-display-message-p): Use it.
1445 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1446 message is not automatically erased for us.
1447 (eldoc-print-current-symbol-info): Erase previous message, if any.
1449 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1451 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1452 specify it's an interactive function.
1454 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1455 Fix regex used for scanning for citation keys which failed for
1456 citations with optional arguments.
1458 2014-01-21 Leo Liu <sdl.web@gmail.com>
1460 * simple.el (read--expression): Don't enable eldoc-mode.
1462 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * simple.el (move-beginning-of-line): Make sure we don't move forward
1467 2014-01-20 Juri Linkov <juri@jurta.org>
1469 * saveplace.el (toggle-save-place, save-place-to-alist)
1470 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1471 'dired-mode) before checking for dired-directory. (Bug#16477)
1473 2014-01-20 Juri Linkov <juri@jurta.org>
1475 * indent.el (indent-line-to): Use backward-to-indentation
1476 instead of back-to-indentation. (Bug#16461)
1478 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1480 Revert some of the CANNOT_DUMP fix (Bug#16494).
1481 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1482 but fixing this can wait until after the next release.
1483 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1485 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1487 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1488 Use `password-word-equivalents'.
1489 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1490 to t. (Bug#5664, Bug#13124)
1492 2014-01-19 Alan Mackenzie <acm@muc.de>
1494 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1496 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1497 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1498 * progmodes/cc-mode.el (c-before-change, c-after-change)
1499 (c-font-lock-fontify-region): Bind it here.
1501 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1503 * term.el (term-window-width): Call window-text-width instead of
1504 window-width (Bug#16470).
1506 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1508 * simple.el (password-word-equivalents): Remove duplicates.
1509 Sort, to make this easier next time.
1510 Downcase. Omit ": " after "jelszó".
1512 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1514 * term/common-win.el (saved-region-selection): Defvar it.
1515 (x-select-text): Set saved-region-selection (Bug#16382).
1517 2014-01-18 Glenn Morris <rgm@gnu.org>
1519 * emacs-lisp/authors.el (authors-aliases)
1520 (authors-renamed-files-alist): Add some entries.
1522 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1524 * net/tramp.el (tramp-password-prompt-regexp):
1525 Use `password-word-equivalents' if available.
1526 (tramp-action-password, tramp-process-one-action)
1527 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1529 2014-01-17 Chong Yidong <cyd@gnu.org>
1531 * simple.el (password-word-equivalents): New defcustom.
1532 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1534 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1537 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1539 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1540 (ruby-align-to-stmt-keywords): Change the default value.
1541 Use `ruby-alignable-keywords' to generate the possible customization
1543 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1544 keywords, check against the value of `ruby-alignable-keywords'
1545 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1547 2014-01-17 Glenn Morris <rgm@gnu.org>
1549 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1551 Make M-x authors return zero *Authors Errors* from current logs.
1552 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1553 (authors-ignored-files): Add some entries, remove others.
1554 (authors-ambiguous-files, authors-valid-file-names):
1556 (authors-renamed-files-alist): Add, remove, and adjust entries.
1557 (authors-renamed-files-regexps): Add some entries.
1558 Remove some very broad ones. Make some entries `lax'.
1559 (authors-lax-changelogs): New constant.
1560 (authors-disambiguate-file-name): Treat top-level specially.
1561 (authors-lax-changelog-p): New function.
1562 (authors-canonical-file-name): Check file as written against
1563 authors-valid-file-names. Do not special-case etc/.
1564 Handle `lax' logs and authors-renamed-files-regexps elements.
1566 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1568 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1569 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1572 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1575 Assume we're already in the proper buffer.
1576 Inspired by Anders Lindgren <andlind@gmail.com>.
1577 (follow-post-command-hook): Call it from the right buffer.
1578 (follow-comint-scroll-to-bottom): Adjust call.
1579 (follow-all-followers): Use get-buffer-window-list.
1581 2014-01-15 Daniel Colascione <dancol@dancol.org>
1583 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1584 `buffer-file-name' in interactive-form so that we don't leave
1585 pathless file names in `file-name-history'.
1587 2014-01-15 Juri Linkov <juri@jurta.org>
1589 * indent.el (indent-rigidly): Set deactivate-mark to nil
1590 in transient indentation mode. (Bug#16438)
1592 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1594 * emacs-lisp/package.el (package-desc-keywords): New function
1596 (describe-package-1, package-all-keywords)
1597 (package--has-keyword-p): Use it.
1599 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1601 * simple.el (define-alternatives): When creating the
1602 COMMAND-alternatives variable, assign COMMAND as its definition
1603 name so that `describe-variable' can relocate it.
1605 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1607 * font-lock.el (font-lock-keywords): Fix typo in docstring
1610 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1612 * ispell.el (ispell-region): Reset `in-comment' for new line
1613 instead of wrongly reset `add-coment' (bug#13577).
1615 2014-01-14 Daiki Ueno <ueno@gnu.org>
1617 * epa-file.el (epa-file-write-region): Encode the region according
1618 to `buffer-file-format'. Problem reported at:
1619 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1621 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1623 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1624 so it applies in the right buffer (bug#16410).
1626 2014-01-13 Daniel Colascione <dancol@dancol.org>
1628 * textmodes/rst.el (rst-define-key): Provide deprecated
1629 keybindings through named functions instead of anonymous ones so
1630 that "??" doesn't appear in describe-mode output.
1632 2014-01-13 Bastien Guerry <bzg@gnu.org>
1634 * simple.el (define-alternatives): Call the selected command
1635 interactively. When setting `COMMAND--implementation' for the
1636 first time, tell the user how to chose another implementation.
1637 Enhance the docstring.
1639 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1641 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1642 (log-edit--match-first-line): New function.
1643 (log-edit-font-lock-keywords): Use it.
1644 (log-edit-mode): Make jit-lock-defer-multiline work.
1646 2014-01-13 Bastien Guerry <bzg@gnu.org>
1648 * rect.el (rectangle-mark-mode): When the region is not active,
1649 display a message saying that the mark as been set and that
1650 rectangle mode is in use.
1651 (rectangle--highlight-for-redisplay): Only put an overlay with a
1652 visible vertical bar when (display-graphic-p) is non-nil.
1653 This partially fixes Bug#16403.
1655 2014-01-13 Juri Linkov <juri@jurta.org>
1657 * info.el (Info-find-file): Go to DIR before displaying the error
1658 about a nonexistent file if no previous Info file is visited.
1659 Use `user-error' instead of `error' for "Info file %s does not exist".
1660 (Info-find-node-2): In case of a nonexistent node in unwind forms
1661 go to the Top node if there is no previous node to revert to.
1664 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1666 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1667 * window.el (fit-frame-to-buffer): Fix doc-string.
1668 Respect window-min-height/-width. Fit pixelwise when
1669 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1670 when avoiding that frame goes partially off-screen.
1671 (fit-window-to-buffer): Respect window-min-height/-width
1674 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1676 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1677 after an empty line.
1679 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * net/shr.el (shr-render-region): Autoload.
1683 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1685 * net/eww.el (eww-download-directory): Rename from
1686 `eww-download-path' (Bug#16419).
1688 2014-01-12 Leo Liu <sdl.web@gmail.com>
1690 * dired-x.el (dired-mode-map): Fix last change.
1692 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1694 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1697 * emacs-lisp/generic.el (generic--normalize-comments):
1698 Rename from generic--normalise-comments. All uses changed.
1699 * play/bubbles.el (bubbles--neighborhood-score)
1700 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1701 (bubbles--neighborhood-available)
1702 (bubbles--update-neighborhood-score):
1703 Rename from names with 'neighbourhood'. All uses changed.
1705 2014-01-12 Leo Liu <sdl.web@gmail.com>
1707 Re-implement the feature of showing eldoc info after editing.
1708 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1709 (eldoc-edit-message-commands): New function.
1710 (eldoc-print-after-edit): New variable.
1711 (eldoc-pre-command-refresh-echo-area): Emit message only by
1712 eldoc-message-commands.
1713 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1714 if eldoc-print-after-edit is set. (Bug#16346)
1715 * simple.el (read--expression): Enable eldoc-mode.
1716 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1718 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1719 Eric S. Raymond <esr@thyrsus.com>
1721 * version.el (emacs-repository-get-version): Enhance so the
1722 function works correctly in either a Bazaar or Git repo.
1724 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1726 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1727 Goes with removal of the joke manpages from /etc.
1729 2014-01-10 Kenichi Handa <handa@gnu.org>
1731 * mail/rmail.el (rmail-get-coding-system):
1732 Check rmail-get-coding-function before "funcall"ing it.
1734 2014-01-10 Glenn Morris <rgm@gnu.org>
1736 * emacs-lisp/authors.el (authors-fixed-entries):
1737 Update for files that no longer exist.
1739 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1741 * version.el (emacs-bzr-get-version): Restore compatibilty with
1744 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1746 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1749 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1751 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1753 2014-01-10 Chong Yidong <cyd@gnu.org>
1755 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1757 2014-01-10 Anders Lindgren <andlind@gmail.com>
1759 * follow.el (follow-cache-command-list): Include right-char and
1762 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1765 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1766 * woman.el (woman-mark-horizontal-position):
1767 Rename from woman-mark-horizonal-position. Use changed.
1769 2014-01-10 Glenn Morris <rgm@gnu.org>
1771 * info.el (info-initialize): If running uninstalled, ensure our
1772 own info files are always found first, even if INFOPATH is set.
1774 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1776 2014-01-09 David Engster <deng@randomsample.de>
1778 * emacs-lisp/eieio-custom.el:
1779 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1780 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1781 * emacs-lisp/eieio.el: Regenerate autoloads.
1783 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1785 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1786 following renames. (Bug#8756)
1788 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1792 (activate-mark): Add `no-tmm' argument.
1793 (set-mark, push-mark-command): Use it instead of running
1794 activate-mark-hook by hand.
1796 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1798 In preparation for the move to git, sanitize out some
1799 Bazaar-specific names.
1801 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1803 * version.el (emacs-bzr-version): Name changed to
1804 emacs-repository-version. Obsolete-variable alias made.
1805 * loadup.el: Follow through on this name change.
1806 * mail/emacsbug.el (report-emacs-bug): Factor out any
1807 assumption about the version control system in use.
1809 2014-01-08 David Engster <deng@randomsample.de>
1811 * help-fns.el (help-fns-describe-function-functions):
1812 New variable to call functions for augmenting help buffers.
1813 (describe-function-1): Remove explicit calls to
1814 `help-fns--compiler-macro', `help-fns--parent-mode' and
1815 `help-fns--obsolete'. Put them in above new variable instead, and
1816 call them through `run-hook-with-args'.
1817 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1818 `eieio-describe-class'. Not meant for interactive use anymore,
1819 but to augment existing help buffers. Remove optional second
1820 argument. Create proper button for file location.
1821 Rewrite function to use `insert' instead of `princ' and `prin1' where
1823 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1824 (eieio-method-def, eieio-class-def): Move further up.
1825 (describe-method, describe-generic, eieio-describe-method):
1827 (eieio-help-constructor, eieio-help-generic): Rename from
1828 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1829 Rewrite to use `insert' in the current buffer and use proper help
1831 (eieio-help-find-method-definition)
1832 (eieio-help-find-class-definition): Also accept symbols as
1834 (eieio-help-mode-augmentation-maybee): Remove.
1835 (eieio-describe-class-sb): Use `describe-function'.
1836 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1837 Add `eieio-help-generic' and `eieio-help-constructor'.
1839 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1842 * language/china-util.el (hz-ascii-designation):
1843 Rename from hz-ascii-designnation.
1844 (hz-ascii-designation): Rename from hz-ascii-designnation.
1847 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1852 2014-01-08 Bastien Guerry <bzg@gnu.org>
1854 * emacs-lisp/package.el (package-delete):
1855 Correctly delete the package from package-alist.
1857 2014-01-08 Daiki Ueno <ueno@gnu.org>
1859 * emacs-lisp/package.el (url-recreate-url): Declare.
1860 (url-http-target-url): Declare.
1861 (package-handle-response): Include requested URL in the error message.
1862 (package--check-signature): Don't re-signal errors from
1863 package--with-work-buffer. Suggested by Stefan Monnier.
1865 2014-01-07 Bastien Guerry <bzg@gnu.org>
1867 * minibuffer.el (completion--try-word-completion): When both a
1868 hyphen and a space are possible candidates for the character
1869 following a word, display both candidates. (Bug#15980)
1871 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1873 * window.el (balance-windows-2): While rounding don't give a
1874 window more than the remainder. Bug#16351, bug#16383.
1876 2014-01-07 Glenn Morris <rgm@gnu.org>
1878 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1879 (menu-bar-help-menu): Use view-external-packages instead.
1881 2014-01-07 Bastien Guerry <bzg@gnu.org>
1883 * emacs-lisp/package.el (package-delete): Also delete the package
1884 name from `package-alist', not its description only.
1886 2014-01-07 Glenn Morris <rgm@gnu.org>
1888 * help.el (view-external-packages):
1889 * menu-bar.el (menu-bar-help-extra-packages):
1890 Visit efaq.info rather than etc/MORE.STUFF.
1892 2014-01-07 Juri Linkov <juri@jurta.org>
1894 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1895 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1897 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1898 that shadows RET. (Bug#16342)
1900 2014-01-07 Chong Yidong <cyd@gnu.org>
1902 * isearch.el (isearch-yank-char, isearch-yank-word)
1903 (isearch-yank-line): Doc fix.
1905 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1907 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1908 * emacs-lisp/elint.el (elint-find-builtins):
1909 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1910 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1911 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1912 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1913 * apropos.el (apropos-safe-documentation):
1914 * subr.el (symbol-file): Remove redundant fboundp.
1915 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1917 2014-01-06 Bastien Guerry <bzg@gnu.org>
1919 * hl-line.el (global-hl-line-overlay): Make a local variable.
1920 (global-hl-line-overlays): New variable to store all overlays.
1921 (global-hl-line-mode): Don't delete overlays from the current
1922 buffer when `global-hl-line-sticky-flag' is non-nil.
1923 (global-hl-line-highlight): Add new overlays to
1924 `global-hl-line-overlays'.
1925 (global-hl-line-unhighlight-all): New function to delete all
1926 overlays when turning off `global-hl-line-mode'.
1927 This fixes Bug#16183.
1929 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1931 * subr.el (set-transient-map): Fix nested case and docstring.
1933 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1935 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1938 2014-01-06 Daniel Colascione <dancol@dancol.org>
1940 Fix defun navigation in vc log view.
1942 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1943 like `beginning-of-defun'.
1944 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1945 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1946 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1947 (log-view-extract-comment): Call `log-view-current-entry' directly
1948 instead of relying on broken `log-view-beginning-of-defun' behavior.
1950 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1953 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1954 * emacs-lisp/debug.el (cancel-debug-on-entry):
1955 * epg.el (epg-error-to-string):
1956 * files.el (recover-file):
1957 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1958 * mail/emacsbug.el (report-emacs-bug-hook):
1959 * mail/sendmail.el (mail-recover):
1960 * ses.el (ses-yank-resize):
1961 * term/ns-win.el (ns-print-buffer):
1962 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1963 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1965 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1967 2014-01-06 Leo Liu <sdl.web@gmail.com>
1969 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1970 to avoid shadowing global key. (Bug#16354)
1972 2014-01-06 Daniel Colascione <dancol@dancol.org>
1974 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1977 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1979 * window.el (balance-windows): Add mising t to fix Bug#16351.
1981 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1983 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1985 (shr-insert): If we have a word that's longer than `shr-width',
1986 break after it anyway. Otherwise we'll do no breaking once we get
1989 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1991 * net/eww.el (eww): Support single/double quote for search.
1992 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1993 (eww-history-quit): Delete and use quit-window.
1994 (eww-history-kill): Delete, because it doesn't work well and
1996 (eww-history-mode-map): Delete some keys and add easy-menu.
1998 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
2000 Fix misspelling of 'chinese' in rx (Bug#16237).
2001 * emacs-lisp/rx.el (rx-categories): Correct spelling of
2004 Change subword regexps back to vars (Bug#16296).
2005 * progmodes/subword.el (subword-forward-regexp)
2006 (subword-backward-regexp): Change these back to variables.
2008 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
2011 syntax-begin-function (bug#16247).
2013 2014-01-03 Chong Yidong <cyd@gnu.org>
2015 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
2016 (advice--docstring): Delete variable.
2017 (advice--make-1): Leave the docstring empty.
2018 (advice-add): Use function-documentation for advised docstring.
2020 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
2021 Ignore function-documentation property when getting documentation.
2022 (ad-activate-advised-definition): Use function-documentation
2023 generate the docstring.
2024 (ad-make-advised-definition): Don't call
2025 ad-make-advised-definition-docstring.
2026 (ad-make-advised-definition-docstring, ad-advised-definition-p):
2029 * progmodes/sql.el (sql-help): Use function-documentation instead
2030 of dynamic-docstring-function property. No need to autoload now.
2031 (sql--help-docstring): New variable.
2032 (sql--make-help-docstring): Use it.
2034 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
2036 * ielm.el (ielm-tab): Retarget.
2037 (ielm-map): Use ielm-tab for tab.
2038 (ielm-complete-filename): Use comint-filename-completion.
2039 (ielm-complete-symbol): Remove.
2040 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
2041 remove ielm-tab from completion-at-point-functions (bug#16224).
2043 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
2044 Beware signals raised by predicates (bug#16201).
2046 2014-01-02 Richard Stallman <rms@gnu.org>
2048 * dired-aux.el (dired-do-print): Handle printer-name.
2050 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2051 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2052 (rmail-epa-decrypt): Turn off mime processing.
2054 * mail/rmail.el (rmail-make-in-reply-to-field):
2055 Add parens in message-id.
2057 * mail/rmail.el (rmail-get-coding-function): Variable.
2058 (rmail-get-coding-system): Use it.
2060 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2062 * international/mule-conf.el: Unify the charset indian-is13194.
2063 (indian-is13194): Specify unify-map.
2065 2013-12-31 Leo Liu <sdl.web@gmail.com>
2067 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2069 2013-12-30 Daniel Colascione <dancol@dancol.org>
2071 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2072 of printing a useless when we resume from sleep.
2074 * progmodes/sh-script.el
2075 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2076 in indentation code. (Bug#16233)
2078 2013-12-28 João Távora <joaotavora@gmail.com>
2080 * elec-pair.el (electric-pair-post-self-insert-function):
2081 Don't open extra newlines at beginning of buffer. (Bug#16272)
2083 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2085 * frame.el (window-system-for-display): Don't allow to create a
2086 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2088 2013-12-28 Glenn Morris <rgm@gnu.org>
2090 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2093 * apropos.el (apropos-match-face):
2094 * calculator.el (calculator-displayer):
2095 * dabbrev.el (dabbrev-search-these-buffers-only):
2096 * face-remap.el (buffer-face-mode-face):
2097 * simple.el (yank-handled-properties):
2098 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2099 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2100 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2101 (hashcash-double-spend-database):
2102 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2103 (ruby-deep-indent-paren-style):
2104 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2105 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2106 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2107 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2108 Specify custom types.
2110 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2111 * bookmark.el (bookmark-bmenu-use-header-line):
2112 * doc-view.el (doc-view-scale-internally):
2113 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2114 * register.el (register-preview-delay):
2115 * net/shr.el (shr-bullet):
2116 * progmodes/cfengine.el (cfengine-cf-promises)
2117 (cfengine-parameters-indent):
2118 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2119 * textmodes/reftex-vars.el (reftex-label-regexps):
2120 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2122 * net/tls.el (tls-certtool-program): Fix default value.
2124 * desktop.el (desktop-restore-in-current-display):
2125 * newcomment.el (comment-empty-lines):
2126 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2127 (idlwave-pad-keyword):
2128 * progmodes/tcl.el (tcl-tab-always-indent):
2129 * textmodes/reftex-vars.el (reftex-index-default-tag):
2130 * elec-pair.el (electric-pair-skip-whitespace):
2131 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2133 * emacs-lisp/authors.el (authors-ignored-files)
2134 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2136 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2138 * shell.el (shell-dynamic-complete-command): Doc fix.
2139 (shell--command-completion-data): Shell completion now matches
2140 executable filenames from the current buffer's directory, on
2141 systems in which this behavior is the default (windows-nt, ms-dos).
2143 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2145 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2147 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2152 * electric.el: Move all electric-pair-* to elec-pair.el.
2153 * elec-pair.el: New file, split from electric.el.
2155 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2157 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2158 indentation level is larger than the width, because that will
2160 (shr-insert): Fill repeatedly long texts, so that Japanese is
2161 formatted correctly (bug#16263).
2162 (shr-find-fill-point): Off by one error in comparison with the
2165 2013-12-26 João Távora <joaotavora@gmail.com>
2167 * electric.el (electric-pair-mode): More flexible engine for skip-
2168 and inhibit predicates, new options for pairing-related functionality.
2169 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2170 if that keeps or improves their balance in buffers.
2171 (electric-pair-delete-adjacent-pairs): Delete the pair when
2172 backspacing over adjacent matched delimiters.
2173 (electric-pair-open-extra-newline): Open extra newline when
2174 inserting newlines between adjacent matched delimiters.
2175 (electric--sort-post-self-insertion-hook):
2176 Sort post-self-insert-hook according to priority values when
2177 minor-modes are activated.
2178 * simple.el (newline-and-indent): Call newline with interactive
2180 (blink-paren-post-self-insert-function): Set priority to 100.
2181 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2182 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2183 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2184 electric-pair-open-newline-between-pairs to nil.
2186 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2188 * progmodes/python.el: Use lexical-binding.
2189 (python-nav-beginning-of-defun): Stop searching ASAP.
2191 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2193 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2194 Fix interactive spec. Doc fix. (Bug#15754)
2196 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2198 * emacs-lisp/byte-run.el (eval-when-compile):
2199 * progmodes/cc-defs.el (cc-eval-when-compile):
2200 Fix edebug spec (bug#16184).
2202 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2204 * net/shr.el (shr-visit-file): Remove debugging function.
2205 (shr-insert): Don't infloop if we can't find a good place to break
2206 the line (bug#16256).
2208 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2210 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2211 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2212 python-nav-lisp-forward-sexp-safe.
2213 (python-nav--forward-sexp): New argument SAFE allows switching
2214 forward sexp movement behavior for parens.
2215 (python-nav-forward-sexp): Throw errors on unterminated parens
2217 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2218 (python-nav-backward-sexp-safe): New functions.
2219 (python-shell-buffer-substring):
2220 Use `python-nav-forward-sexp-safe'.
2222 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2224 * net/shr.el (shr-find-fill-point): Don't break lines before a
2226 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2227 (shr-find-fill-point): Remove the special checks for the quotation
2228 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2230 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2232 * net/eww.el (eww-form-textarea): Use a different face for
2233 textareas than text input since they have different keymaps
2236 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2238 * progmodes/python.el (python-nav-beginning-of-statement):
2239 Speed up (Bug#15295).
2241 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2243 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2244 the window configuration.
2246 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2248 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2249 we run on MS-Windows or MS-DOS.
2251 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2253 * window.el (balance-windows-area): Call window-size instead of
2254 window-height and window-width. Bug#16241.
2256 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2258 * net/eww.el (eww-bookmark-quit): Remove.
2259 (eww-bookmark-browse): Restore the window configuration when you
2260 choose a bookmark (bug#16144).
2262 2013-12-24 Daniel Colascione <dancol@dancol.org>
2264 * icomplete.el: Remove redundant :group arguments to `defcustom'
2266 (icomplete-show-matches-on-no-input): New customizable variable.
2267 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2268 we have something to show.
2269 (icomplete-exhibit): Compute completions even if we have no user input.
2271 2013-12-23 Daniel Colascione <dancol@dancol.org>
2273 * icomplete.el: Move `provide' to end of file.
2275 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2277 * net/gnutls.el (gnutls-verify-error): Add version tag.
2279 2013-12-23 Chong Yidong <cyd@gnu.org>
2281 * subr.el (set-transient-map): Rename from
2282 set-temporary-overlay-map. Doc fix.
2284 * face-remap.el (text-scale-adjust):
2285 * indent.el (indent-rigidly):
2286 * kmacro.el (kmacro-call-macro):
2287 * minibuffer.el (minibuffer-force-complete):
2288 * repeat.el (repeat):
2289 * simple.el (universal-argument--mode):
2290 * calendar/todo-mode.el (todo-insert-item--next-param):
2291 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2293 * indent.el (indent-rigidly): Use substitute-command-keys.
2295 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2297 * net/eww.el (eww-tag-select): Add text-property to jump to next
2299 (eww): Add non-supported ftp error.
2301 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2303 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2304 comments. Handle electric indent after typing `?' and `!'.
2306 2013-12-22 Chong Yidong <cyd@gnu.org>
2308 * faces.el (face-spec-recalc): If the theme specs are not
2309 applicable to a frame, fall back on the defface spec.
2310 This prevents themes from obliterating faces on low-color terminals.
2312 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2314 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2315 after `{'. We need it after block openers, and it doesn't seem
2316 to hurt after hash openers.
2318 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2320 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2321 extracted from `ruby-smie-rules'.
2322 (ruby--electric-indent-chars): New variable.
2323 (ruby--electric-indent-p): New function.
2324 (ruby-mode): Use `electric-indent-functions' instead of
2325 `electric-indent-chars'.
2327 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2329 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2331 (ruby-smie-rules): Indent plus one level after `=>'.
2333 2013-12-21 Richard Stallman <rms@gnu.org>
2335 * simple.el (newline): Doc fix.
2337 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2339 * net/eww.el (eww-list-histories, eww-list-histories)
2340 (eww-history-browse, eww-history-quit, eww-history-kill)
2341 (eww-history-mode-map, eww-history-mode): New command and
2342 functions to list browser histories.
2343 (eww-form-text): Support text form with disabled
2344 and readonly attributes.
2345 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2347 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2349 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2350 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2351 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2352 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2354 (eww-bookmark-mode-map): Add menu.
2355 (eww-render, eww-mode): Use `setq-local'.
2356 (eww-tool-bar-map): New variable.
2357 (eww-mode): Set `tool-bar-map'.
2358 (eww-view-source): Check for `html-mode' with `fboundp'.
2360 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2362 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2363 elements with text inside. Also remove debugging.
2365 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2367 * cus-start.el (all): Add ns-use-srgb-colorspace.
2369 2013-12-21 Chong Yidong <cyd@gnu.org>
2371 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2372 undefined. Thus, theme settings for undefined faces do not take
2373 effect until the faces are defined with defface, the same as with
2376 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2377 (face-spec-reset-face): Don't assign extra properties in temacs.
2378 (face-spec-recalc): Apply X resources too.
2380 2013-12-21 Chong Yidong <cyd@gnu.org>
2382 * faces.el (face-spec-set):
2383 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2384 * custom.el (defface): Doc fixes (Bug#16203).
2386 * indent.el (indent-rigidly-map): Add docstring, and move commands
2387 into named functions.
2388 (indent-rigidly-left, indent-rigidly-right)
2389 (indent-rigidly-left-to-tab-stop)
2390 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2391 indentation direction based on bidi direction, and accumulate
2392 sequential commands in a single undo boundary.
2393 (indent-rigidly--pop-undo): New utility function.
2395 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2397 * faces.el (read-face-name): Require crm.el when using crm-separator.
2399 2013-12-20 Daniel Colascione <dancol@dancol.org>
2401 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2402 so that we don't reflow comments into the shebang line.
2404 2013-12-20 Juri Linkov <juri@jurta.org>
2406 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2407 a position when `dired-directory' is non-nil. Check integer
2408 positions with `integerp'.
2409 (toggle-save-place, save-places-to-alist): Add check for
2411 (save-place-find-file-hook): Check integer positions with
2413 (save-place-dired-hook): Use `dired-goto-file' when
2414 `dired-filename' is found in the assoc list. Check integer
2415 positions with `integerp'.
2416 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2418 * dired.el (dired-initial-position-hook): Rename back from
2419 `dired-initial-point-hook'.
2420 (dired-initial-position): Rename `dired-initial-point-hook' to
2421 `dired-initial-position-hook'.
2422 (dired-file-name-at-point): Doc fix. (Bug#15329)
2424 2013-12-20 Juri Linkov <juri@jurta.org>
2426 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2427 (read-regexp-suggestions): New function.
2428 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2429 Use `read-regexp-suggestions'. Add non-empty default to history
2431 (occur-read-regexp-defaults-function): Remove function.
2432 (occur-read-primary-args): Use `regexp-history-last' instead of
2433 `occur-read-regexp-defaults-function'.
2435 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2436 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2437 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2438 `hi-lock-read-regexp-defaults-function'. Doc fix.
2439 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2440 with `find-tag-default-as-symbol-regexp'. Doc fix.
2441 (hi-lock-read-regexp-defaults): Remove function.
2442 (hi-lock-regexp-okay): Add check for null.
2444 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2445 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2447 * subr.el (find-tag-default-as-symbol-regexp): New function.
2448 (find-tag-default-as-regexp): Move symbol regexp formatting to
2449 `find-tag-default-as-symbol-regexp'.
2451 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2453 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2456 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2458 * calendar/todo-mode.el: New implementation of item insertion
2459 commands and key bindings.
2460 (todo-key-prompt): New face.
2461 (todo-insert-item): New command.
2462 (todo-insert-item--parameters): New defconst, replacing defvar
2463 todo-insertion-commands-args-genlist.
2464 (todo-insert-item--param-key-alist): New defconst, replacing
2465 defvar todo-insertion-commands-arg-key-list.
2466 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2467 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2468 (todo-insert-item--next-param): New functions.
2469 (todo-insert-item--args, todo-insert-item--argleft)
2470 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2472 (todo-key-bindings-t): Change binding of "i" from
2473 todo-insertion-map to todo-insert-item.
2474 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2475 (todo-insertion-command-name, todo-insertion-commands-names)
2476 (todo-define-insertion-command, todo-insertion-commands)
2477 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2479 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2481 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2482 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2484 (todo-move-category): Allow choosing a non-existing todo file to
2485 move the category to, and create that file.
2486 (todo-default-priority): New user option.
2487 (todo-set-item-priority): Use it.
2488 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2489 (desktop-restore-file-buffer): Declare.
2490 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2491 (todo-modes-set-2): Locally set desktop-save-buffer to
2492 todo-desktop-save-buffer.
2493 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2494 (auto-mode-alist): Add autoload cookie.
2496 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2498 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2499 helpers.el was a poor choice of name.
2500 (string-remove-prefix): New function.
2501 (string-remove-suffix): New function.
2503 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2505 Fix assignment for new window total sizes.
2506 * window.el (window--pixel-to-size): Remove function.
2507 (window--pixel-to-total-1, window--pixel-to-total):
2508 Fix calculation of new total sizes.
2510 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2512 * comint.el (comint-output-filter): Fix rear-nonsticky property
2513 placement (Bug#16010).
2515 2013-12-20 Chong Yidong <cyd@gnu.org>
2517 * faces.el (read-color): Minor fix for completion function.
2519 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2521 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2522 New option. (Bug#16182)
2523 (ruby-smie--indent-to-stmt-p): Use it.
2524 (ruby-smie-rules): Revert the logic in the handling of `when'.
2525 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2526 (ruby-deep-arglist, ruby-deep-indent-paren)
2527 (ruby-deep-indent-paren-style): Update docstrings to note that the
2528 vars don't have any effect with SMIE.
2530 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2532 * calc/calc.el (calc-enter, calc-pop): Use the variable
2533 `calc-context-sensitive-enter'.
2535 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2537 * net/shr.el (shr-insert): Protect against infloops in degenerate
2540 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2542 * progmodes/octave.el (octave): Add link to manual and octave
2544 (octave-mode-menu): Link to octave-mode manual.
2546 2013-12-20 Leo Liu <sdl.web@gmail.com>
2548 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2549 insertion using skeleton-end-newline. (Bug#16138)
2551 2013-12-20 Juri Linkov <juri@jurta.org>
2553 * replace.el (occur-engine): Use `add-face-text-property'
2554 to add the face property to matches and titles. (Bug#14645)
2556 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2557 the palette of other hi-lock colors.
2558 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2560 2013-12-19 Juri Linkov <juri@jurta.org>
2562 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2563 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2564 (minibuffer-history-symbol): Move variable declaration closer to
2567 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2570 2013-12-19 Juri Linkov <juri@jurta.org>
2572 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2574 (log-edit-hook): Add it to :options. (Bug#16170)
2576 2013-12-19 Juri Linkov <juri@jurta.org>
2578 * simple.el (eval-expression-print-format): Don't check for
2579 command names and the last command. Always display additional
2580 formats of the integer result in the echo area, and insert them
2581 to the current buffer only with a zero prefix arg.
2582 Display character when char-displayable-p is non-nil.
2583 (eval-expression): With a zero prefix arg, set `print-length' and
2584 `print-level' to nil, and insert the integer values from
2585 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2587 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2588 `eval-last-sexp-arg-internal'. Doc fix.
2589 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2590 `eval-last-sexp-print-value'. Doc fix.
2591 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2592 Set `print-length' and `print-level' to nil when arg is zero.
2593 (eval-last-sexp): Doc fix.
2594 (eval-defun-2): Print the integer values from
2595 `eval-expression-print-format' at the end.
2597 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2598 values from `eval-expression-print-format' at the end.
2600 * ielm.el (ielm-eval-input): Print the integer
2601 values from `eval-expression-print-format' at the end.
2603 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2605 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2606 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2608 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2611 (hl-line-highlight, global-hl-line-highlight): Use it.
2612 (hl-line-overlay): Use defvar-local.
2614 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2616 * term/ns-win.el: Require dnd.
2617 (global-map): Remove drag items.
2618 (ns-insert-text, ns-set-foreground-at-mouse)
2619 (ns-set-background-at-mouse):
2620 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2621 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2624 2013-12-19 Glenn Morris <rgm@gnu.org>
2626 * emacs-lisp/ert.el (ert-select-tests):
2627 Fix string/symbol mixup. (Bug#16121)
2629 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2631 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2632 keywords to their parent.
2634 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2636 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2637 first arg to be a string (fixed dead code), or an operator symbol.
2638 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2640 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2641 did nothing. Don't respond to `(:after ".")', it will be called
2642 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2643 change anything. Only return indentation for binary operators
2644 when they are hanging. De-dent opening paren when its parent is
2645 `.', otherwise it looks bad when the dot is not at bol or eol
2648 2013-12-19 Juri Linkov <juri@jurta.org>
2650 * replace.el (query-replace-read-args): Split a non-negative arg
2651 and a negative arg into separate elements.
2652 (query-replace, query-replace-regexp, replace-string)
2653 (replace-regexp): Add arg `backward'. Doc fix.
2654 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2655 move point to the beginning of the match.
2656 (replace-search, replace-highlight): Use new arg `backward'
2657 to set the value of `isearch-forward'.
2658 (perform-replace): Add arg `backward' and use it to perform
2659 replacement backward. (Bug#14979)
2661 * isearch.el (isearch-query-replace): Use a negative prefix arg
2662 to call `perform-replace' with a non-nil arg `backward'.
2664 2013-12-18 Juri Linkov <juri@jurta.org>
2666 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2667 to the default list. Move `log-edit-show-files' to the end.
2668 Add more available functions to options.
2669 (log-edit): Move default specific settings to
2670 `log-edit-insert-message-template'. Don't move point.
2671 (log-edit-insert-message-template): New function.
2672 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2675 2013-12-18 Juri Linkov <juri@jurta.org>
2677 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2678 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2680 2013-12-18 Leo Liu <sdl.web@gmail.com>
2682 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2685 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2687 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2688 formats for displaying file sizes when the -s switch is given.
2689 Instead, compute a separate format for displaying the size in
2690 blocks, which is displayed in addition to the "regular" size.
2691 When -h is given in addition to -s, produce size in blocks in
2692 human-readable form as well. (Bug#16179)
2694 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2696 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2697 Reference tables with ~\ref{...} instead of only \ref{...}.
2699 2013-12-18 Chong Yidong <cyd@gnu.org>
2701 * cus-edit.el (custom-magic-alist): Fix "themed" description
2704 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2705 is non-nil, do not create a new entry in the symbol's theme-value
2706 or theme-face property; update theme-settings only (Bug#14664).
2707 (custom-available-themes): Doc fix.
2709 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2712 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2714 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2716 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2719 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2721 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2723 2013-12-18 Glenn Morris <rgm@gnu.org>
2725 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2726 * cus-start.el (load-prefer-newer): New option.
2728 2013-12-18 Le Wang <l26wang@gmail.com>
2730 * comint.el (comint-previous-matching-input-from-input):
2731 Retain point (Bug#13404).
2733 2013-12-18 Chong Yidong <cyd@gnu.org>
2735 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2737 2013-12-18 Glenn Morris <rgm@gnu.org>
2739 * mail/emacsbug.el (report-emacs-bug):
2740 Only mention enable-multibyte-characters if non-standard.
2742 2013-12-17 Juri Linkov <juri@jurta.org>
2744 * arc-mode.el (archive-extract-by-file): Check if directory exists
2745 before deletion to not show irrelevant errors if it doesn't exist.
2747 2013-12-17 Juri Linkov <juri@jurta.org>
2749 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2752 * net/eww.el (browse-web): Add alias to `eww'.
2753 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2754 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2756 * net/browse-url.el (browse-url-browser-function): Move `eww'
2757 closer to similar functions.
2759 * startup.el (fancy-startup-screen, fancy-about-screen):
2760 Set browse-url-browser-function to eww-browse-url locally.
2763 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * window.el (window--pixel-to-total): Remove unused `mini' var.
2766 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2767 (split-window): Remove unused `new' var.
2768 (window--display-buffer): Remove unused `frame' and `delta' vars.
2769 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2772 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2774 * dired.el (dired-mark-pop-up):
2775 * register.el (register-preview): Don't bind
2776 split-height-threshold here since it's now done in
2777 display-buffer-below-selected.
2779 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2781 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2782 xterm-rgb-convert-to-16bit.
2783 (rxvt-register-default-colors): Standardize with
2784 xterm-register-default-colors (Bug#14078).
2786 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2788 * simple.el (kill-region): Pass mark first, then point, so that
2789 kill-append works right (Bug#12819).
2790 (copy-region-as-kill, kill-ring-save): Likewise.
2792 2013-12-17 Leo Liu <sdl.web@gmail.com>
2794 * net/rcirc.el (rcirc-add-face):
2795 * eshell/em-prompt.el (eshell-emit-prompt):
2796 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2799 2013-12-17 Chong Yidong <cyd@gnu.org>
2801 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2802 Suggested by Xue Fuqiao.
2804 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2806 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2808 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * net/shr.el (shr-insert-document): Remove unused var
2811 `shr-preliminary-table-render'.
2812 (shr-rescale-image): Remove unused arg `force'.
2813 (shr-put-image): Update calls accordingly.
2814 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2816 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2818 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2819 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2820 :close-all, to see which indentation method to use (Bug#16116).
2821 (smie-rules-function): Document the method :close-all.
2823 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2825 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2827 * net/eww.el (eww-display-html): If we can't find the anchor we're
2828 looking for, then go to point-min.
2830 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2832 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2833 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2834 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2835 Expand dir too, in case it's relative.
2837 2013-12-16 Juri Linkov <juri@jurta.org>
2839 * desktop.el (desktop-auto-save-timeout): Change default to
2840 `auto-save-timeout'. Doc fix.
2841 (desktop-save): Skip the timestamp in desktop-saved-frameset
2842 when checking for auto-save changes.
2843 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2844 `desktop-auto-save' is called repeatedly by the idle timer.
2845 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2846 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2849 2013-12-16 Juri Linkov <juri@jurta.org>
2851 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2853 (isearch-pre-command-hook): Check `this-command' for symbolp.
2855 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2857 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2859 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2861 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2862 (cfengine3--current-function): Bring in the current-function
2863 functionality from `cfengine3--current-word'.
2864 (cfengine3-completion-function): Bring in the
2865 bounds-of-current-word functionality from
2866 `cfengine3--current-word'.
2868 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2870 * window.el (display-buffer-below-selected):
2871 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2873 2013-12-16 Leo Liu <sdl.web@gmail.com>
2875 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2876 Remove NOMSG arg and all uses changed.
2878 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2880 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2881 (cua--deactivate-rectangle): Don't deactivate the mark.
2882 (cua-set-rectangle-mark): Don't set mark-active since
2883 cua--activate-rectangle already does it for us.
2884 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2885 non-rectangular region.
2887 * emulation/cua-base.el (cua-repeat-replace-region):
2888 Use with-current-buffer.
2890 * net/gnutls.el: Use cl-lib.
2891 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2893 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2895 * emacs-lisp/package.el (package-built-in-p): Support both
2896 built-in and the package.el converted package descriptions.
2897 (package-show-package-list): Allow keywords.
2898 (package-keyword-button-action): Use it instead of
2899 `finder-list-matches'.
2900 (package-menu-filter-interactive): Interactive filtering (by
2902 (package-menu--generate): Support keywords and change keymappings
2903 and headers when they are given.
2904 (package--has-keyword-p): Helper function.
2905 (package-menu--refresh): Use it.
2906 (package--mapc): Helper function.
2907 (package-all-keywords): Use it.
2908 (package-menu-mode-map): Set up menu items and keybindings to
2909 provide a filtering UI.
2911 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2913 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2914 the behavior when a certificate fails validation. Defaults to
2915 old behavior: never abort, just warn.
2916 (gnutls-negotiate): Use it.
2918 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2920 * window.el (display-buffer-below-selected): Never split window
2921 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2923 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2925 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2926 (package-buffer-info): Use it (bug#15108).
2928 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2930 * icomplete.el (icomplete-completions): Make sure the prefix is already
2931 displayed elsewhere before hiding it (bug#16219).
2933 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2935 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2936 open-paren tokens when preceded by a open-paren, too.
2937 (ruby-smie-rules): Handle virtual indentation after open-paren
2938 tokens specially. If there is code between it and eol, return the
2939 column where is starts (Bug#16118).
2941 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2943 * progmodes/cfengine.el: Fix `add-hook' doc.
2944 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2945 (cfengine3--current-word): Fix parameters.
2946 (cfengine3-make-syntax-cache): Simplify further.
2947 (cfengine3-completion-function, cfengine3--current-function):
2948 Use `assq' for symbols.
2949 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2951 2013-12-13 Glenn Morris <rgm@gnu.org>
2953 * loadup.el (load-path): Warn if site-load or site-init changes it.
2954 No more need to reset it when bootstrapping.
2956 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2958 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2959 locations for cf-promises.
2960 (cfengine-mode-syntax-functions-regex): New caching variable.
2961 (cfengine3-fallback-syntax): Fallback syntax for cases where
2962 cf-promises doesn't run.
2963 (cfengine3--current-word): Reimplement using
2964 `cfengine-mode-syntax-functions-regex'.
2965 (cfengine3-completion-function, cfengine3--current-function):
2966 Use `cfengine3-make-syntax-cache' directly.
2967 (cfengine3-clear-syntax-cache): New function.
2968 (cfengine3-make-syntax-cache): Simplify and create
2969 `cfengine-mode-syntax-functions-regex' on demand.
2970 (cfengine3-format-function-docstring): Don't call
2971 `cfengine3-make-syntax-cache' explicitly.
2973 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2975 Fix windmove-find-other-window broken after pixelwise resizing
2977 * windmove.el (windmove-other-window-loc): Revert change from
2979 (windmove-find-other-window): Call window-in-direction.
2980 * window.el (window-in-direction): New arguments SIGN, WRAP and
2981 MINI to emulate original windmove-find-other-window behavior.
2983 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2985 * simple.el (blink-matching--overlay): New variable.
2986 (blink-matching-open): Instead of moving point, highlight the
2987 matching paren with an overlay
2988 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2990 * faces.el (paren-showing-faces, show-paren-match)
2991 (show-paren-mismatch): Move from paren.el.
2993 2013-12-13 Leo Liu <sdl.web@gmail.com>
2995 * indent.el (indent-region): Disable progress reporter in
2996 minibuffer. (Bug#16108)
2998 * bindings.el (visual-order-cursor-movement): Fix version.
3000 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3002 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
3003 Also match after beginning of line.
3004 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
3005 files. Thanks to Russell Sim. (Bug#15378)
3007 2013-12-13 Juri Linkov <juri@jurta.org>
3009 * simple.el <Keypad support>: Remove key bindings duplicated
3010 with bindings.el. (Bug#14397)
3012 2013-12-13 Juri Linkov <juri@jurta.org>
3014 * comint.el (comint-mode-map): Replace `delete-char' with
3015 `delete-forward-char'. (Bug#16109)
3017 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3019 * progmodes/python.el (python-indent-calculate-indentation):
3020 Fix de-denters cornercase. (Bug#15731)
3022 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
3025 (advice--make): Pay attention to `depth'.
3026 (advice--make-1): Don't autoload commands eagerly.
3027 * emacs-lisp/elp.el (elp-instrument-function):
3028 * emacs-lisp/trace.el (trace-function-internal):
3029 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
3031 * iswitchb.el (iswitchb-mode): Don't belittle ido.
3033 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3035 * term/w32-win.el (w32-handle-dropped-file):
3036 * startup.el (normal-top-level):
3037 * net/browse-url.el (browse-url-file-url):
3038 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
3039 decode file names using 'utf-8' rather than
3040 file-name-coding-system.
3042 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3044 * progmodes/python.el (python-indent-context)
3045 (python-indent-calculate-indentation): Fix auto-identation
3046 behavior for comment blocks. (Bug#15916)
3048 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3050 * progmodes/python.el (python-indent-calculate-indentation):
3051 When determining indentation, don't treat "return", "pass", etc., as
3052 operators when they are just string constituents. (Bug#15812)
3054 2013-12-12 Juri Linkov <juri@jurta.org>
3056 * uniquify.el (uniquify-buffer-name-style): Change default to
3057 `post-forward-angle-brackets'.
3059 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3060 `uniquify'. Change default to `post-forward-angle-brackets'.
3062 2013-12-11 Glenn Morris <rgm@gnu.org>
3064 * emacs-lisp/package.el (finder-list-matches):
3065 Autoload rather than falsely declaring.
3067 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3069 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3070 (eww-mode-map): Use them.
3072 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3074 * window.el (display-buffer-in-side-window): Fix doc-string
3077 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3079 * vc/vc-git.el: Silence byte-compiler warnings.
3080 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3081 (log-edit-set-header): Declare.
3083 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3085 * Makefile.in (custom-deps, finder-data): Run output file names
3086 through unmsys--file-name. (Bug#16099)
3088 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3090 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3091 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3093 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3094 instead of deleting the selection "by hand" (bug#16098).
3095 Rely on insert-for-yank to yank rectangles.
3096 (cua-highlight-region-shift-only): Mark obsolete.
3097 (cua-mode): Don't enable/disable transient-mark-mode,
3098 shift-select-mode (cua-mode works both with and without them), and
3099 pc-selection-mode (obsolete).
3100 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3101 (cua--deactivate-rectangle): Deactivate it.
3103 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3104 (delete-selection-helper): Make sure yank starts at the top of the
3106 (minibuffer-keyboard-quit): Use region-active-p.
3108 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3110 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3111 to `delete' (bug#16109).
3113 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3115 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3116 info manual and show keybindings and set `:group' keyword.
3118 2013-12-11 Juri Linkov <juri@jurta.org>
3120 * delsel.el (delete-active-region): Let-bind `this-command'
3121 to prevent `kill-region' from changing its original value.
3122 (delete-selection-helper): Handle `overwrite-mode' for the type
3123 `kill' exactly the same way as for the type `t'.
3124 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3125 Support more commands. (Bug#13312)
3127 2013-12-11 Juri Linkov <juri@jurta.org>
3129 * bindings.el: Map kp keys to non-kp keys systematically
3130 with basic modifiers control, meta and shift. (Bug#14397)
3132 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3134 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3135 "Close browser" menu items. Fix wrong function of "List
3138 2013-12-11 Juri Linkov <juri@jurta.org>
3140 * misearch.el (multi-isearch-buffers): Set the value of
3141 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3142 arg of isearch-forward to t.
3143 (multi-isearch-buffers-regexp): Set the value of
3144 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3145 arg of isearch-forward-regexp to t.
3146 (multi-isearch-files): Set the value of
3147 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3148 arg of isearch-forward to t.
3149 (multi-isearch-files-regexp): Set the value of
3150 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3151 arg of isearch-forward-regexp to t. (Bug#16035)
3153 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3154 arg of isearch-forward to t.
3155 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3156 arg of isearch-forward-regexp to t.
3157 (dired-isearch-filter-filenames): Remove unnecessary check for
3158 `dired-isearch-filenames'.
3160 * comint.el (comint-history-isearch-backward):
3161 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3162 (comint-history-isearch-backward-regexp):
3163 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3165 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3167 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3168 unmsys--file-name. (Bug#16099)
3170 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3172 * emacs-lisp/package.el (package-keyword-button-action):
3173 Remove finder.el require dependency.
3175 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3177 * emacs-lisp/package.el: Require finder.el.
3178 (describe-package-1): Add keyword buttons.
3179 (package-make-button): New convenience function.
3180 (package-keyword-button-action): Keyword button action using
3181 `finder-list-matches'.
3183 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3185 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3188 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3190 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3193 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3195 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3196 after the end of a percent literal.
3198 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3200 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3201 Handle caret-delimited strings (Bug#16079).
3203 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3205 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3206 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3207 `ruby-parse-partial' (Bug#16078).
3209 2013-12-09 Leo Liu <sdl.web@gmail.com>
3211 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3213 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3215 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3216 (js-switch-indent-offset): New option.
3217 (js--proper-indentation): Use it. And handle the case when
3218 "default" is actually a key in an object literal.
3219 (js--same-line): New function.
3220 (js--multi-line-declaration-indentation): Use it.
3221 (js--indent-in-array-comp, js--array-comp-indentation):
3223 (js--proper-indentation): Use them, to handle array comprehension
3226 2013-12-08 Leo Liu <sdl.web@gmail.com>
3228 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3229 (flymake-make-overlay): Remove arg MOUSE-FACE.
3230 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3232 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3234 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3236 (redisplay-highlight-region-function): Use it.
3238 * emulation/cua-base.el (cua--explicit-region-start)
3239 (cua--last-region-shifted): Remove.
3240 (cua--deactivate): Use deactivate-mark.
3241 (cua--pre-command-handler-1): Don't handle shift-selection.
3242 (cua--post-command-handler-1): Don't change transient-mark-mode.
3243 (cua--select-keymaps): Use region-active-p rather than
3244 cua--explicit-region-start or cua--last-region-shifted.
3245 (cua-mode): Enable shift-select-mode.
3247 2013-12-08 Leo Liu <sdl.web@gmail.com>
3249 * progmodes/flymake.el (flymake-popup-current-error-menu):
3250 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3251 (flymake-posn-at-point-as-event, flymake-popup-menu)
3252 (flymake-make-emacs-menu): Remove. (Bug#16077)
3254 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3256 * rect.el (rectangle-mark-mode): Activate mark even if
3257 transient-mark-mode is off (bug#16066).
3258 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3259 is > mark and at bolp.
3261 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3262 (region-extract-function): Use it.
3263 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3264 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3266 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3267 kill-ring-save, kill-region, delete-char, delete-forward-char.
3268 Ignore self-insert-iso.
3270 * emulation/cua-gmrk.el (cua--init-global-mark):
3271 Ignore `self-insert-iso'.
3273 * emulation/cua-base.el (cua--prefix-copy-handler)
3274 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3275 checking cua--rectangle.
3276 (cua-delete-region): Use region-extract-function.
3277 (cua-replace-region): Delete function.
3278 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3279 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3280 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3281 (cua--init-keymaps): Don't remap delete-selection commands.
3282 (cua-mode): Use delete-selection-mode instead of rolling our own
3285 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3286 Obey region-extract-function.
3288 Make registers and delete-selection-mode work on rectangles.
3289 * register.el (describe-register-1): Don't modify the register's value.
3290 (copy-to-register): Obey region-extract-function.
3291 * delsel.el (delete-active-region): Obey region-extract-function.
3293 2013-12-08 Leo Liu <sdl.web@gmail.com>
3295 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3296 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3297 (flymake-compilation-prevents-syntax-check)
3298 (flymake-start-syntax-check-on-newline)
3299 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3300 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3301 (flymake-xml-program, flymake-master-file-dirs)
3302 (flymake-master-file-count-limit)
3303 (flymake-allowed-file-name-masks): Relocate.
3304 (flymake-makehash, flymake-float-time)
3305 (flymake-replace-regexp-in-string, flymake-split-string)
3306 (flymake-get-temp-dir): Remove.
3307 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3308 (flymake-current-row, flymake-selected-frame)
3309 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3310 related functions. (Bug#16077)
3312 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3314 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3316 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3318 * help-fns.el (describe-function-1): Use new advice-* functions
3319 rather than old ad-* functions. Fix function type description and
3320 source links for advised functions and subrs.
3322 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3324 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3326 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3328 * progmodes/compile.el (compilation-start):
3329 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3331 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3332 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3334 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3336 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3337 Touch up the last change.
3339 2013-12-06 Leo Liu <sdl.web@gmail.com>
3341 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3342 (inferior-octave-startup): Always use "octave> " for prompt.
3343 (octave-goto-function-definition)
3344 (octave-sync-function-file-names)
3345 (octave-find-definition-default-filename): Remove redundant backquotes.
3347 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3349 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3351 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3352 where appropriate already.
3353 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3354 end of method names (Bug#15874).
3356 2013-12-06 Juri Linkov <juri@jurta.org>
3358 * isearch.el (isearch--saved-overriding-local-map):
3359 New internal variable.
3360 (isearch-mode): Set it to the initial value of
3361 `overriding-terminal-local-map'.
3362 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3363 with `isearch--saved-overriding-local-map'. (Bug#16035)
3365 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3367 * progmodes/octave.el (inferior-octave-completion-table):
3368 Turn back into function, use `completion-table-with-cache'
3369 (Bug#11906). Update all references.
3371 * minibuffer.el (completion-table-with-cache): New function.
3373 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3375 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3377 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3379 * net/eww.el (eww-current-source): New variable to store page
3381 (eww-display-html, eww-mode, eww-save-history)
3382 (eww-restore-history): Use it.
3383 (eww-view-source): New command to view page source.
3384 Opportunistically uses `html-mode' to highlight the buffer.
3385 (eww-mode-map): Install it.
3387 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3389 * net/dbus.el (dbus-unregister-service)
3390 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3392 (dbus-unregister-service): Skip :serial entries in
3393 `dbus-registered-objects-table'.
3394 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3396 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3398 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3399 around keywords with extra `split-string' argument.
3401 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3403 * windmove.el (windmove-other-window-loc): Handle navigation
3404 between windows (excluding the minibuffer window - Bug#16017).
3406 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3408 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3409 in D-Bus type syntax.
3410 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3411 preserve unibyte strings. (Bug#16048)
3413 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3415 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3416 Call force-mode-line-update is the proper buffer (bug#16042).
3418 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3420 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3421 `log-edit-remember-comment', make argument optional. Adjust all
3423 (log-edit-mode): Add `log-edit-remember-comment' to
3424 `kill-buffer-hook' locally.
3425 (log-edit-kill-buffer): Don't remember comment explicitly since
3426 the buffer is killed anyway.
3428 2013-12-04 Juri Linkov <juri@jurta.org>
3430 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3431 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3433 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3435 * notifications.el (notifications-close-notification): Call the
3436 D-Bus method with ID being a `:uint32'. (Bug#16030)
3438 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3440 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3442 2013-12-03 Juri Linkov <juri@jurta.org>
3444 * progmodes/compile.el (compilation-start): Rename window alist
3445 entry `no-display-ok' to `allow-no-window'.
3447 * simple.el (shell-command): Add window alist entry
3448 `allow-no-window' to `display-buffer'.
3449 (async-shell-command): Doc fix.
3451 * window.el (display-buffer-no-window): New action function.
3452 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3454 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3456 * vc/log-edit.el (log-edit-set-header): Extract from
3457 `log-edit-toggle-header'.
3458 (log-edit-extract-headers): Separate the summary, when extracted
3459 from header, from the rest of the message with an empty line.
3461 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3462 line, if present, to the Summary header.
3464 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3466 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3467 in current-buffer (bug#16029).
3469 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3471 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3472 (debugger-mode-map): Bind it.
3473 (debugger--backtrace-base): New function.
3474 (debugger-eval-expression): Use it.
3475 (debugger-frame-number): Skip local vars when present.
3476 (debugger--locals-visible-p, debugger--insert-locals)
3477 (debugger--show-locals, debugger--hide-locals): New functions.
3479 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3481 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3483 (tramp-get-remote-locale): New defun.
3484 (tramp-open-connection-setup-interactive-shell): Use it.
3486 2013-12-02 Leo Liu <sdl.web@gmail.com>
3488 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3490 * progmodes/sh-script.el (sh-shell-process):
3491 * progmodes/octave.el (inferior-octave-process-live-p):
3492 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3493 (gdb-inferior-io-sentinel):
3494 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3496 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3498 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3499 `save-selected-window' to `log-edit-hide-buf'. This makes
3500 `log-edit-show-files' idempotent.
3501 (log-edit-show-files): Mark the new window as dedicated.
3503 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3505 * vc/log-edit.el (log-edit-mode-map): Add binding for
3506 `log-edit-kill-biffer'.
3507 (log-edit-hide-buf): Add a FIXME comment.
3508 (log-edit-add-new-comment): New function, extracted from
3510 (log-edit-done, log-edit-add-to-changelog): Use it.
3511 (log-edit-kill-buffer): New command.
3513 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3515 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3516 instead of killing the buffer.
3518 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3522 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3524 * net/eww.el (eww-form-checkbox-selected-symbol)
3525 (eww-form-checkbox-symbol): New customizable variable.
3526 (eww-form-checkbox, eww-toggle-checkbox):
3527 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3529 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3530 (shr--get-media-pref, shr--extract-best-source): New function.
3531 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3532 no :src tag was specified.
3534 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3535 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3536 Use \\` to match beginning of string instead of ^.
3537 (eww-browse-with-external-browser): Provide optional URL parameter.
3538 (eww-render): Set `eww-current-title' back to "".
3540 * net/shr.el (shr-tag-video): Display content for video if no
3541 poster is available.
3542 (shr-tag-audio): Add support for <audio> tag.
3544 * net/eww.el (eww-text-input-types): New const.
3545 (eww-process-text-input): Treat input types in
3546 `eww-text-input-types' as text.
3548 * net/shr.el (shr-tag-table): Fix comment typo.
3550 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3552 * net/eww.el (eww-follow-link): New command to avoid reloading
3553 pages when we follow #target links (bug#15243).
3554 (eww-quit): Special mode buffers shouldn't query before exiting.
3556 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3558 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3561 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3563 * net/eww.el (eww-restore-history): Update the window title after
3564 moving in the history.
3565 (eww-current-dom): New variable used to save the current DOM.
3567 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3569 * vc/log-edit.el (log-edit-mode-map): Add binding for
3570 `log-edit-beginning-of-line'.
3571 (log-edit-setup-add-author): New user option.
3572 (log-edit-beginning-of-line): New command.
3573 (log-edit): Move major mode call above the contents setup so that
3574 the local variable values are already applied.
3575 (log-edit): Only insert "Author: " when
3576 `log-edit-setup-add-author' is non-nil.
3577 (log-edit): When SETUP is non-nil, position point after ": "
3578 instead of point-min.
3580 2013-12-01 Glenn Morris <rgm@gnu.org>
3582 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3584 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3586 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3587 redisplay to make sure the initial frame gets a chance to become
3588 visible. (Bug#16014)
3590 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3592 Support resizing frames and windows pixelwise.
3593 * cus-start.el (frame-resize-pixelwise)
3594 (window-resize-pixelwise): New entries.
3595 * emacs-lisp/debug.el (debug): Use window-total-height instead
3596 of window-total-size.
3597 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3598 * help.el (describe-bindings-internal): Use help-buffer as
3599 argument for with-help-window.
3600 (temp-buffer-max-width): New option.
3601 (resize-temp-buffer-window, help-window-setup)
3602 (with-help-window): Rewrite.
3603 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3605 * window.el (frame-char-size, window-min-pixel-height)
3606 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3607 (window-min-pixel-width, window-safe-min-pixel-size)
3608 (window-combination-p, window-safe-min-size)
3609 (window-resizable-p, window--size-to-pixel)
3610 (window--pixel-to-size, window--resize-apply-p): New functions.
3611 (window-safe-min-height): Fix doc-string.
3612 (window-size, window-min-size, window--min-size-1)
3613 (window-sizable, window-sizable-p, window--min-delta-1)
3614 (window-min-delta, window--max-delta-1, window-max-delta)
3615 (window--resizable, window--resizable-p, window-resizable)
3616 (window-full-height-p, window-full-width-p, window-at-side-p)
3617 (window--in-direction-2, window-in-direction)
3618 (window--resize-reset-1, window--resize-mini-window)
3619 (window-resize, window-resize-no-error)
3620 (window--resize-child-windows-normal)
3621 (window--resize-child-windows, window--resize-siblings)
3622 (window--resize-this-window, window--resize-root-window)
3623 (window--resize-root-window-vertically)
3624 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3625 (maximize-window, minimize-window, delete-window)
3626 (quit-restore-window, window-split-min-size, split-window)
3627 (balance-windows-2, balance-windows)
3628 (balance-windows-area-adjust, balance-windows-area)
3629 (window--state-get-1, window-state-get, window--state-put-1)
3630 (window--state-put-2, window-state-put)
3631 (display-buffer-record-window, window--display-buffer):
3632 Make functions handle pixelwise sizing of windows.
3633 (display-buffer--action-function-custom-type)
3634 (display-buffer-fallback-action):
3635 Add display-buffer-in-previous-window.
3636 (display-buffer-use-some-window): Resize window to height it had
3638 (fit-window-to-buffer-horizontally): New option.
3639 (fit-frame-to-buffer): Describe new values.
3640 (fit-frame-to-buffer-bottom-margin): Replace with
3641 fit-frame-to-buffer-margins.
3642 (window--sanitize-margin): New function.
3643 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3644 using window-text-pixel-size.
3646 2013-11-30 Glenn Morris <rgm@gnu.org>
3648 * emacs-lisp/bytecomp.el (byte-compile-form):
3649 Make the `interactive-only' warning like the `obsolete' one.
3650 * comint.el (comint-run):
3651 * files.el (insert-file-literally, insert-file):
3652 * replace.el (replace-string, replace-regexp):
3653 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3654 (goto-line, insert-buffer, next-line, previous-line):
3655 Tweak `interactive-only' spec.
3657 Stop keeping (most) generated cedet grammar files in the repository.
3658 * Makefile.in (semantic): New.
3659 (compile-main): Depend on semantic.
3661 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3664 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3666 * uniquify.el (uniquify-buffer-name-style): Change default.
3668 * loadup.el: Preload "uniquify".
3670 * time.el (display-time-update): Update all mode lines (bug#15999).
3672 * electric.el (electric-indent-mode): Enable by default.
3673 * loadup.el: Preload "electric".
3675 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3677 * emacs-lisp/helpers.el (string-empty-p): New function.
3678 (string-blank-p): New function.
3680 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3682 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3685 2013-11-29 Andreas Politz <politza@fh-trier.de>
3686 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3687 allow non-lambda lists as functions.
3688 (imenu--in-alist): Don't recurse into non-subalists.
3689 (imenu): Don't pass function itself as an argument (Bug#14029).
3691 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * progmodes/python.el (python-mode-map): Remove binding for ":".
3694 (python-indent-electric-colon): Remove command.
3695 (python-indent-post-self-insert-function): Integrate the previous code
3696 of python-indent-electric-colon. Make it conditional on
3697 electric-indent-mode.
3698 (python-mode): Add ?: to electric-indent-chars.
3699 Move python-indent-post-self-insert-function to the end of
3700 post-self-insert-hook.
3702 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * doc-view.el (doc-view-goto-page): Update mode-line.
3706 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3708 2013-11-27 Glenn Morris <rgm@gnu.org>
3710 * international/charprop.el, international/uni-bidi.el:
3711 * international/uni-category.el, international/uni-combining.el:
3712 * international/uni-comment.el, international/uni-decimal.el:
3713 * international/uni-decomposition.el, international/uni-digit.el:
3714 * international/uni-lowercase.el, international/uni-mirrored.el:
3715 * international/uni-name.el, international/uni-numeric.el:
3716 * international/uni-old-name.el, international/uni-titlecase.el:
3717 * international/uni-uppercase.el:
3718 Remove generated files from VCS repository.
3720 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3722 * filenotify.el (file-notify-add-watch): Don't special-case
3723 w32notify when computing the directory to watch.
3725 2013-11-27 Glenn Morris <rgm@gnu.org>
3727 Make bootstrap without generated uni-*.el files possible again.
3728 * loadup.el: Update command-line-args checking for unidata-gen.
3729 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3730 * composite.el, international/characters.el:
3731 Handle unicode tables being undefined.
3733 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3734 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3735 (compile-main): Depend on leim rule.
3737 * loadup.el: Move leim-list.el to leim/ subdirectory.
3738 * startup.el (normal-top-level): No more leim directory.
3739 * international/ja-dic-cnv.el (skkdic-convert):
3740 Disable version-control and autoloads in output files.
3741 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3742 Disable version-control and autoloads in output files.
3743 * leim/quail: Move here from ../leim.
3744 * leim/quail/hangul.el (hangul-input-method-activate):
3745 Add autoload cookie.
3746 (generated-autoload-load-name): Set file-local value.
3747 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3748 (generated-autoload-load-name): Set file-local value.
3750 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3752 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3753 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3754 (eww-quit): Ask confirmation before quitting eww.
3756 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3758 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3759 reading output from Diff on MS-Windows and MS-DOS.
3761 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3763 * emacs-lisp/helpers.el (string-reverse): New function.
3765 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3767 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3768 names on MS Windows, like "/[::1]:".
3770 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3773 2013-11-26 Glenn Morris <rgm@gnu.org>
3775 * progmodes/python.el (python-indent-guess-indent-offset):
3776 Avoid corner-case error. (Bug#15975)
3778 Preload leim-list.el. (Bug#4789)
3779 * loadup.el: Load leim-list.el when found.
3780 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3782 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3784 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3786 * emacs-lisp/helpers.el (string-join): New function.
3788 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3790 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3791 Mark as obsolete and replace it with a symbol property.
3792 (byte-compile-form): Use new 'interactive-only property.
3793 * comint.el, files.el, replace.el, simple.el:
3794 Apply new 'interactive-only properly.
3796 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3798 * window.el (display-buffer-at-bottom): Make sure that
3799 split-window-sensibly creates the new window on bottom
3802 2013-11-23 David Kastrup <dak@gnu.org>
3804 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3805 on the conflict markers when available.
3806 (smerge--get-marker): New function.
3807 (smerge-end-re, smerge-base-re): Add subgroup.
3809 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3811 * frame.el (handle-focus-in, handle-focus-out): Add missing
3814 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3816 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3817 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3819 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3822 (gomoku--last-pos): New var.
3823 (gomoku--intangible-chars): New const.
3824 (gomoku--intangible): New function.
3825 (gomoku-mode): Use it. Derive from special-mode.
3826 (gomoku-move-up): Adjust line count.
3827 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3828 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3829 Simplify accordingly.
3831 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3832 Remove blink-cursor code.
3833 (blink-cursor-timer-function, blink-cursor-suspend):
3834 Don't special-case GUIs.
3835 (blink-cursor-mode): Use focus-in/out-hook.
3837 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3839 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3840 work when annotation is invisible (Bug#13886).
3842 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3844 * json.el (json-alist-p): Only return non-nil if the alist has
3845 simple keys (Bug#13518).
3847 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3849 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3850 when control-statement is the first statement in a buffer (Bug#15956).
3852 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3854 * imenu.el (imenu-generic-skip-comments-and-strings):
3855 New option (Bug#15560).
3856 (imenu--generic-function): Use it.
3858 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3860 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3863 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3865 * emacs-lisp/helpers.el: Add some string helpers.
3866 (string-trim-left): Removes leading whitespace.
3867 (string-trim-right): Removes trailing whitespace.
3868 (string-trim): Removes leading and trailing whitespace.
3870 * subr.el (string-suffix-p): New function.
3872 2013-11-23 Glenn Morris <rgm@gnu.org>
3874 * progmodes/python.el (python-shell-send-file):
3875 Add option to delete file when done. (Bug#15647)
3876 (python-shell-send-string, python-shell-send-region): Use it.
3878 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3880 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3881 to set buffer-read-only to t, never to nil. (Bug#15938)
3883 * textmodes/tex-mode.el (latex-noindent-environments):
3884 Add safe-local-variable property. (Bug#15936)
3886 2013-11-23 Glenn Morris <rgm@gnu.org>
3888 * textmodes/enriched.el (enriched-mode): Doc fix.
3889 * emacs-lisp/authors.el (authors-renamed-files-alist):
3890 Add enriched.doc -> enriched.txt.
3892 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3894 2013-11-22 Leo Liu <sdl.web@gmail.com>
3896 * progmodes/octave.el (inferior-octave-startup): Spit out error
3899 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3901 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3904 (ruby-encoding-magic-comment-style): Add :version.
3906 2013-11-22 Leo Liu <sdl.web@gmail.com>
3908 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3910 (octave-help-mode): Adapt to change to help-mode-finish to use
3911 derived-mode-p on 2013-09-17.
3912 (inferior-octave-prompt): Also match octave-gui.
3913 (octave-kill-process): Don't ask twice. (Bug#10564)
3915 2013-11-22 Leo Liu <sdl.web@gmail.com>
3917 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3918 (inferior-octave-startup, inferior-octave-check-process)
3919 (inferior-octave-track-window-width-change)
3920 (octave-completion-at-point, octave-eldoc-function): Use it.
3921 (octave-kill-process): Provide confirmation. (Bug#10564)
3923 2013-11-21 Leo Liu <sdl.web@gmail.com>
3925 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3926 Fix obsolete variable comment-use-global-state.
3928 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3930 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3931 Add `octave-source-file'.
3932 (octave-source-file): New function. (Bug#15935)
3934 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3936 * net/eww.el (eww-local-regex): New variable.
3937 (eww): Use it to detect localhost and similar.
3939 2013-11-21 Leo Liu <sdl.web@gmail.com>
3941 Add completion for command `ag'.
3942 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3943 (pcomplete/ag): New function.
3944 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3946 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3950 (make-obsolete): Remove interactive spec.
3952 2013-11-21 Glenn Morris <rgm@gnu.org>
3954 * startup.el (command-line-1): Use path-separator with -L.
3956 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3958 * emacs-lisp/package.el (describe-package-1): Add package archive
3961 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3963 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3964 Change default to "# encoding: %s" to differentiate it from the
3965 default Ruby encoding comment template.
3967 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3969 * ses.el (ses-mode): Doc fix. (Bug#14748)
3971 2013-11-20 Leo Liu <sdl.web@gmail.com>
3973 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3975 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3977 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3978 when rebase or bisect are in progress.
3980 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3982 * filenotify.el (file-notify-add-watch): Doc fix.
3984 2013-11-19 Leo Liu <sdl.web@gmail.com>
3986 * obsolete/rcompile.el: Mark obsolete.
3988 * progmodes/compile.el (compilation-start)
3989 (compilation-goto-locus, compilation-find-file):
3990 Pass no-display-ok and handle nil value from display-buffer.
3993 * window.el (display-buffer-alist, display-buffer): Document the
3994 new parameter no-display-ok. Return either a window or nil
3995 but never a non-window value.
3997 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * electric.el (electric-indent-mode-map): Remove.
4000 (electric-indent-mode): Change the global-map instead (bug#15915).
4002 * textmodes/text-mode.el (paragraph-indent-minor-mode):
4005 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4007 * emacs-lisp/nadvice.el (remove-function): Align with
4008 add-function's behavior.
4010 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
4011 (gdb--string-regexp): New constant.
4012 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
4013 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
4014 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
4016 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
4017 Adjust use accordingly.
4018 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
4020 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
4022 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
4023 interpolation curlies (Bug#15914).
4025 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4027 * calc/calc.el (calc-context-sensitive-enter): New variable.
4028 (calc-enter): Use `calc-context-sensitive-enter'.
4030 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
4032 * progmodes/cfengine.el: Version bump.
4033 (cfengine-cf-promises): New defcustom to locate cf-promises.
4034 (cfengine3-vartypes): Add new "data" type.
4035 (cfengine3--current-word): New function to get current name-like
4037 (cfengine3--current-function): New function to look up a CFEngine
4038 function's definition.
4039 (cfengine3-format-function-docstring): New function.
4040 (cfengine3-make-syntax-cache): New function.
4041 (cfengine3-documentation-function): New function: ElDoc glue.
4042 (cfengine3-completion-function): New function: completion glue.
4043 (cfengine3-mode): Set `compile-command',
4044 `eldoc-documentation-function', and add to
4045 `completion-at-point-functions'.
4047 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4049 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4050 `tramp-current-connection'.
4052 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4055 nil/self/true/false with "end of symbol".
4057 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4059 * subr.el (version-regexp-alist): Fix a typo.
4061 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4063 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4064 "en_US.utf8" and "LC_CTYPE" to "".
4065 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4066 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4068 2013-11-15 Leo Liu <sdl.web@gmail.com>
4070 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4072 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4074 * progmodes/gud.el (ctl-x-map):
4075 Remove C-x SPC binding. (Bug#12342)
4076 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4078 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4080 * subr.el (version-regexp-alist):
4081 Recognize hg, svn and darcs versions as snapshot versions.
4083 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4084 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4085 (ruby--encoding-comment-required-p): Extract from
4086 `ruby-mode-set-encoding'.
4087 (ruby-mode-set-encoding): Add the ability to always insert an
4088 utf-8 encoding comment. Fix and simplify coding comment update
4091 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4093 * net/tramp-gvfs.el (top): Run init code only when
4094 `tramp-gvfs-enabled' is not nil.
4095 (tramp-gvfs-enabled): Check also :system bus.
4097 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4099 Sync with upstream verilog-mode revision 78e66ba.
4100 * progmodes/verilog-mode.el (verilog-end-of-defun)
4101 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4102 (verilog-get-end-of-defun): Remove unused argument.
4103 (verilog-comment-depth): Remove unused local `e'.
4104 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4105 Don't pass arg to verilog-get-end-of-defun.
4107 2013-11-14 Glenn Morris <rgm@gnu.org>
4109 * obsolete/assoc.el (aget): Prefix dynamic variable.
4111 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4113 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * widget.el, hfy-cmap.el: Remove bogus package version number.
4117 2013-11-13 Glenn Morris <rgm@gnu.org>
4119 * replace.el (replace-eval-replacement):
4120 Try to give more helpful error message. (Bug#15836)
4122 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4123 (archive-7z-update): Avoid custom type mismatches.
4125 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4127 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4129 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4130 address can be empty.
4132 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4133 Accept nil SWITCHES.
4134 (tramp-gvfs-handle-write-region): Implement APPEND.
4136 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4138 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4139 binary "|" operator and closing block args delimiter.
4140 Remove FIXME comment referring to Ruby 1.8-only syntax.
4141 (ruby-smie--implicit-semi-p): Not after "|" operator.
4142 (ruby-smie--closing-pipe-p): New function.
4143 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4144 (ruby-smie-rules): Indent after "|".
4146 2013-11-12 Glenn Morris <rgm@gnu.org>
4148 * ps-print.el (ps-face-attribute-list):
4149 Handle anonymous faces. (Bug#15827)
4151 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4153 * window.el (display-buffer-other-frame): Fix doc-string.
4156 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4160 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4163 (tramp-sh-handle-file-local-copy): Don't write a message when
4164 saving temporary files.
4166 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4167 both directories are remote.
4168 (tramp-smb-handle-directory-files): Do not return double entries.
4169 Do not expand full file names.
4170 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4171 (tramp-smb-handle-write-region): Implement APPEND.
4172 (tramp-smb-get-stat-capability): Fix a stupid bug.
4174 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4176 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4178 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4180 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4181 throwing error over malformed let/let* (bug#15814).
4183 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4185 * iswitchb.el (iswitchb-mode): Mark obsolete.
4187 2013-11-11 Glenn Morris <rgm@gnu.org>
4189 * international/uni-bidi.el, international/uni-category.el:
4190 * international/uni-name.el, international/uni-numeric.el:
4191 Regenerate for Unicode 6.3.0.
4193 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4195 * net/tramp.el (tramp-methods):
4196 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4197 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4199 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4201 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4202 Force highlighting text after Summary keyword in doc face for rpm.
4204 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4206 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4207 available and the word has no wildcards, append one to the grep pattern.
4208 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4209 (ispell-complete-word): Call `ispell-lookup-words' with the value
4210 independent of `ispell-look-p'.
4212 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4214 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4216 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4219 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4221 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4222 (ruby-font-lock-keywords): Use backquote.
4224 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4226 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4227 (ruby-smie--backward-token): Only consider full-string matches.
4229 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4231 * faces.el (describe-face): Add distant-foreground.
4233 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4235 * progmodes/ruby-mode.el: Improve encoding comment handling.
4236 (ruby-encoding-magic-comment-style): New option.
4237 (ruby-custom-encoding-magic-comment-template): New option.
4238 (ruby--insert-coding-comment, ruby--detect-encoding):
4239 New functions extracted from `ruby-mode-set-encoding'.
4240 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4241 to control the style of the auto-inserted encoding comment.
4243 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4245 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4246 Use `smie-backward-sexp' with token argument.
4248 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4250 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4251 Remove instrumentation code.
4253 2013-11-08 Glenn Morris <rgm@gnu.org>
4255 * progmodes/autoconf.el (autoconf-mode):
4256 Tweak comment-start-skip. (Bug#15822)
4258 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4261 at bobp (bug#15826).
4262 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4264 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4266 * man.el (Man-start-calling): New macro, extracted from
4267 Man-getpage-in-background.
4268 (Man-getpage-in-background): Use it.
4269 (Man-update-manpage): New command.
4270 (Man-mode-map): Bind it.
4272 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4274 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4275 of "and", "or", "&&" and "||".
4276 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4277 argument. Prohibit opening curly brace because it could only be a
4278 block opener in that position.
4279 (ruby-smie--forward-token, ruby-smie--backward-token):
4280 Separate "|" from "&" or "*" going after it. That can happen in block
4282 (ruby-smie--indent-to-stmt): New function, seeks the end of
4283 previous statement or beginning of buffer.
4284 (ruby-smie-rules): Use it.
4285 (ruby-smie-rules): Check if there's a ":" before a curly block
4286 opener candidate; if there is, it's a hash.
4288 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4291 (cl--block-wrapper): Fix last accidental change.
4293 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4295 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4296 Instrument, in order to hunt failure on hydra.
4298 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4300 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4301 malformed bindings form (bug#15814).
4303 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4305 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4306 "." compared to " @ ". This incidentally fixes some indentation
4308 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4309 (ruby-smie-grammar): New tokens: "and" and "or".
4310 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4311 Exclude "and" and "or". Remove "do" in order to work around token
4313 (ruby-smie-rules): Add all infix tokens. Handle the case of
4314 beginning-of-buffer.
4316 2013-11-06 Glenn Morris <rgm@gnu.org>
4318 * Makefile.in (setwins_almost, setwins_for_subdirs):
4319 Avoid accidental matches.
4321 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * menu-bar.el (popup-menu): Use key-binding.
4325 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4327 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4328 menus, support also the menus produced by minor modes.
4331 2013-11-06 Leo Liu <sdl.web@gmail.com>
4333 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4334 DISTANCE to bound the search. All uses changed. (Bug#15808)
4336 2013-11-06 Glenn Morris <rgm@gnu.org>
4338 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4339 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4340 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4342 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4344 * electric.el (electric-indent-just-newline): New command.
4345 (electric-indent-mode-map): New keymap.
4346 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4347 Re-add :group which weren't redundant.
4349 * electric.el (electric-indent-local-mode): New minor mode.
4350 (electric-indent-functions-without-reindent): New var.
4351 (electric-indent-post-self-insert-function): Use it.
4352 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4354 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4356 * international/quail.el (quail-help): Be more explicit about the
4357 meaning of the labels shown on the keys. (Bug#15800)
4359 * startup.el (normal-top-level): Load the subdirs.el files before
4360 setting the locale environment. (Bug#15805)
4362 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4364 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4365 via arguments so as to get the right ones (bug#15418).
4367 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4369 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4371 Fix problems found while writing a test suite.
4373 * net/tramp-compat.el (tramp-compat-load): New defun.
4374 * net/tramp.el (tramp-handle-load): Use it.
4376 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4377 "(numberp ok-if-already-exists)" correctly.
4379 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4381 * international/characters.el (glyphless-char-display-control):
4384 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4386 * progmodes/python.el (python-mode):
4387 * progmodes/scheme.el (scheme-mode):
4388 * progmodes/prolog.el (prolog-mode):
4389 * progmodes/ruby-mode.el (ruby-mode):
4390 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4391 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4393 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4395 * rect.el (rectangle--highlight-for-redisplay):
4396 * emacs-lisp/smie.el (smie--next-indent-change):
4397 Use buffer-chars-modified-tick.
4399 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4401 * electric.el (electric-indent-post-self-insert-function):
4402 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4404 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4406 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4408 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4410 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4413 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4417 * progmodes/python.el: Fix up last change.
4418 (python-shell--save-temp-file): New function.
4419 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4420 `string' comes from the current buffer.
4421 (python-shell-send-string-no-output): Remove `msg' arg.
4422 (python--use-fake-loc): New var.
4423 (python-shell-buffer-substring): Obey it. Try to compensate for the
4424 extra coding line added by python-shell--save-temp-file.
4425 (python-shell-send-region): Use python-shell--save-temp-file and
4426 python-shell-send-file directly. Add `nomain' argument.
4427 (python-shell-send-buffer): Use python-shell-send-region.
4428 (python-electric-pair-string-delimiter): New function.
4429 (python-mode): Use it.
4431 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4433 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4434 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4435 environment and decoding all of the default-directory's to here
4437 (command-line): Decode also argv[0].
4439 * loadup.el: Error out if default-directory is a multibyte string
4440 when we are dumping.
4442 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4444 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4446 * emacs-lisp/package.el (package-menu-mode)
4447 (package-menu--print-info, package-menu--archive-predicate):
4448 Add Archive column to package list.
4450 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4452 Fix problems found while writing a test suite.
4454 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4455 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4456 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4457 to nil when running original file name handler. Otherwise,
4458 there are problems with constructs like "$$FOO".
4460 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4463 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4465 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4467 * subr.el (version<, version<=, version=):
4468 Update docstrings with information for snapshot versions.
4470 * helpers.el: New library for misc helper functions.
4471 (hash-table-keys): New function returning a list of hash keys.
4472 (hash-table-values): New function returning a list of hash values.
4474 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4476 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4477 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4479 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4481 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4482 checking whether point is after a 1-letter word.
4484 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4486 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4487 Don't infloop when expanding region over `multiline' syntax-type that
4488 begins a line (bug#15778).
4490 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4492 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4493 Make it into a proper minor mode.
4494 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4495 (rectangle-mark-mode-map): New keymap.
4496 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4498 2013-11-04 Glenn Morris <rgm@gnu.org>
4500 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4502 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4505 (ruby-smie-rules): Use smie-rule-parent instead.
4507 * emacs-lisp/smie.el (smie-rule-parent): Always call
4508 smie-indent-virtual rather than only for hanging tokens.
4509 (smie--next-indent-change): New helper command.
4511 2013-11-03 Glenn Morris <rgm@gnu.org>
4513 * Makefile.in (abs_srcdir): Remove.
4514 (emacs): Unset EMACSLOADPATH.
4516 2013-11-02 Glenn Morris <rgm@gnu.org>
4518 * Makefile.in (EMACS): Use a relative filename.
4519 (abs_top_builddir): Remove.
4520 (custom-deps, finder-data, autoloads): Use --chdir.
4522 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4524 Use relative filenames in TAGS files.
4525 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4526 (lisptagsfiles4, TAGS): Use relative file names.
4527 (TAGS-LISP): Remove.
4528 (maintainer-clean): No more TAGS-LISP file.
4530 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4531 (lisptagsfiles4): Use absolute filenames again.
4532 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4533 Remove all *loaddefs files, not just the first. Remove esh-groups.
4534 (maintainer-clean): Delete TAGS, TAGS-LISP.
4536 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4538 * emacs-lisp/package.el (package-version-join):
4539 Recognize snapshot versions.
4541 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4543 * subr.el (version-regexp-alist): Add support for snapshot versions.
4545 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4547 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4548 New function, replacement for `smie-rule-parent' for when we want to
4549 skip over our direct parent if it's an assignment token..
4550 (ruby-smie-rules): Use it.
4552 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4554 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4555 unconditionally. Remove now unnecessary forward declarations.
4556 Remove XEmacs-specific setup.
4557 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4558 (ruby-font-lock-syntactic-keywords)
4559 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4560 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4561 (ruby-here-doc-end-syntax): Remove.
4562 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4563 defined as function.
4565 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4567 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4569 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4571 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4572 table and abbrev table, `define-derived-mode' does that for us
4575 2013-11-01 Glenn Morris <rgm@gnu.org>
4577 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4578 files is atomic for some time, so no parallel compilation issues).
4580 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4582 * faces.el (face-x-resources): Add :distant-foreground.
4583 (region): Use :distant-foreground for gtk and ns.
4585 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4587 Allow multiple bibliographies when BibLaTeX is used rather than
4589 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4590 (reftex-locate-bibliography-files): Us it.
4592 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4594 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4595 allow comments in pbm files.
4597 * term/w32-win.el (dynamic-library-alist): Support newer versions
4598 of libjpeg starting with v7: look only for the DLL from the
4599 version against which Emacs was built.
4600 Support versions of libpng beyond 1.4.x.
4601 Support libtiff v4.x.
4603 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4605 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4606 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4608 (ruby-deep-arglist): Add property :type.
4610 2013-10-31 Glenn Morris <rgm@gnu.org>
4612 * Makefile.in (custom-deps, finder-data): No need to setq the target
4613 variables, we are in the right directory and the defaults work fine.
4615 2013-10-30 Glenn Morris <rgm@gnu.org>
4617 * Makefile.in (autoloads): Do not use abs_lisp.
4619 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4620 `newline' does not respect `standard-output', so use `princ'.
4622 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4624 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4625 * buff-menu.el (Buffer-menu--unmark): New function.
4626 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4628 2013-10-30 Glenn Morris <rgm@gnu.org>
4630 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4632 * emacs-lisp/package.el (lm-homepage): Declare.
4634 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4637 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4639 * Makefile.in (finder-data, autoloads, update-subdirs)
4640 (compile-main, compile-clean, compile-always, bootstrap-clean):
4641 Check return value of cd.
4642 (compile-calc): Remove.
4644 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4648 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4649 (byte-compile-and-folded): New function.
4650 (=, <, >, <=, >=): Use it.
4652 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4653 (path-separator, null-device, buffer-file-coding-system)
4654 (lpr-headers-switches): Check system-type before modifying them.
4655 (find-buffer-file-type-coding-system): Mark obsolete.
4656 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4657 find-file-not-found-set-buffer-file-coding-system.
4658 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4659 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4660 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4661 (w32-direct-print-region-helper, w32-direct-print-region-function)
4662 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4663 * startup.el (normal-top-level-add-subdirs-to-load-path):
4664 * ps-print.el (ps-print-region-function):
4665 * lpr.el (print-region-function): Use new name.
4667 * subr.el (custom-declare-variable-early): Remove function.
4668 (custom-declare-variable-list): Remove var.
4669 (error, user-error): Remove `while' loop.
4670 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4671 (user-emacs-directory-warning, locate-user-emacs-file):
4673 * simple.el (read-quoted-char-radix, read-quoted-char):
4674 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4676 * custom.el (custom-declare-variable-list): Don't process
4677 custom-declare-variable-list.
4679 * progmodes/python.el (python-shell-get-buffer): New function.
4680 (python-shell-get-process): Use it.
4681 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4682 Python which encoding was used. Don't split-string since we only care
4683 about the first line. Return the temp-file, if applicable.
4684 (python-shell-send-region): Tell compile.el how to turn locations in
4685 the temp-file into locations in the source buffer.
4687 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4689 * subr.el (undefined): Add missing behavior from the C code for
4692 * rect.el: Use lexical-binding. Add new rectangular region support.
4693 (rectangle-mark): New command.
4694 (rectangle--region): New var.
4695 (deactivate-mark-hook): Reset rectangle--region.
4696 (rectangle--extract-region, rectangle--insert-for-yank)
4697 (rectangle--highlight-for-redisplay)
4698 (rectangle--unhighlight-for-redisplay): New functions.
4699 (region-extract-function, redisplay-unhighlight-region-function)
4700 (redisplay-highlight-region-function): Use them to handle
4702 * simple.el (region-extract-function): New var.
4703 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4704 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4705 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4706 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4707 (redisplay-unhighlight-region-function)
4708 (redisplay-highlight-region-function): New vars.
4709 (redisplay--update-region-highlight): New function.
4710 (pre-redisplay-function): Use it.
4711 (exchange-point-and-mark): Don't deactivate the mark before
4712 reactivate-it anyway.
4713 * comint.el (comint-kill-region): Remove yank-handler argument.
4714 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4715 (delete-char): Remove property, since it's now part of their
4717 (self-insert-iso): Remove property since this command doesn't exist.
4719 * emacs-lisp/package.el (package--download-one-archive)
4720 (describe-package-1): Don't query the user about final newline.
4722 2013-10-29 Daniel Colascione <dancol@dancol.org>
4724 * net/tramp.el (tramp-methods): Document new functionality.
4725 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4726 tramp-hostname-checker if method provides one instead of scanning
4727 argument list for "%h" to decide hostname acceptability.
4729 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4731 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4732 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4733 Handle COPY-CONTENTS. (Bug#15737)
4735 2013-10-28 Daiki Ueno <ueno@gnu.org>
4738 (epa-file-cache-passphrase-for-symmetric-encryption):
4739 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4741 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4743 * image.el (defimage, image-load-path): Doc fixes.
4745 2013-10-27 Alan Mackenzie <acm@muc.de>
4747 Indent statements in macros following "##" correctly.
4748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4749 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4751 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4753 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4755 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4757 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4758 after `=' is probably a new expression.
4760 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4762 * man.el (man-imenu-title): New option.
4763 (Man-mode-map): Add menu. (Bug#15722)
4764 (Man-mode): Add imenu to menu.
4766 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4768 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4769 specific in what the first arg can be: a non-keyword word,
4770 string/regexp/percent literal opener, opening paren, or unary
4771 operator followed directly by word.
4773 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4776 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4777 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4778 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4779 Remove vars, they do not apply any more.
4780 (prolog-mode-abbrev-table): Remove redundant declaration.
4781 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4782 (prolog-use-smie): Remove.
4783 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4784 supported by prolog-electric-if-then-else-flag.
4785 (prolog-mode-variables, prolog-menu): Use setq-local.
4786 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4787 Remove binding to `Backspace' since this key doesn't exist anyway.
4788 Remove bindings for electric self-inserting keys.
4789 (prog-mode): Assume it's defined.
4790 (prolog-post-self-insert): New function.
4791 (prolog-mode): Use it.
4792 (prolog-indent-line, prolog-indent-level)
4793 (prolog-find-indent-of-matching-paren)
4794 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4795 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4796 (prolog-goto-next-paren, prolog-in-string-or-comment)
4797 (prolog-tokenize, prolog-inside-mline-comment)
4798 (prolog-find-start-of-mline-comment): Remove functions.
4799 (prolog-find-unmatched-paren, prolog-clause-end)
4800 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4801 (prolog-electric--if-then-else): Rename from
4802 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4803 (prolog-tokenize-searchkey): Remove const.
4804 (prolog-clause-info): Use forward-sexp.
4805 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4806 (prolog-electric-if-then-else): Remove commands.
4807 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4808 for use in post-self-insert-hook.
4809 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4810 for use in post-self-insert-hook.
4811 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4812 for use in post-self-insert-hook.
4813 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4814 adapt it for use in post-self-insert-hook.
4816 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4818 * emacs-lisp/ert.el (ert-run-tests-interactively):
4819 Use `completing-read'. (Bug#9756)
4821 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4823 * simple.el (line-move): Call line-move-1 instead of
4824 line-move-visual when the current window hscroll is zero, but
4825 temporary-goal-column indicates we will need to hscroll as result
4826 of the movement. (Bug#15712)
4828 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4830 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4831 capitalization. Use :visible instead of :active.
4832 Fix `ruby-indent-exp' reference. Add menu items for the generic
4833 commands that are used with SMIE.
4834 (ruby-do-end-to-brace): Insert space after `{'.
4836 2013-10-25 John Anthony <john@jo.hnanthony.com>
4838 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4840 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4842 2013-10-25 Glenn Morris <rgm@gnu.org>
4844 * vc/vc.el (vc-print-log): Don't use a working revision unless
4845 one was explicitly specified. (Bug#15322)
4847 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4849 * subr.el (add-to-list): Preserve return value in compiler-macro
4852 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4854 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4855 result. Ask user to retry using '-all' flag. (Bug#15701)
4857 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4859 * emacs-lisp/smie.el: New smie-config system.
4860 (smie-config): New defcustom.
4861 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4862 (smie-config-guess, smie-config-save): New commands.
4863 (smie-config--mode-local, smie-config--buffer-local)
4864 (smie-config--trace, smie-config--modefuns): New vars.
4865 (smie-config--advice, smie-config--mode-hook)
4866 (smie-config--setter, smie-config-local, smie-config--get-trace)
4867 (smie-config--guess-value, smie-config--guess): New functions.
4868 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4869 text properties. Treat "string fence" syntax like string syntax.
4871 * progmodes/sh-script.el (sh-use-smie): Change default.
4872 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4873 (sh-var-value): Simplify by CSE.
4874 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4875 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4877 (sh-guess-basic-offset): Use cl-incf.
4878 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4880 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4882 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4885 2013-10-24 Glenn Morris <rgm@gnu.org>
4887 * Makefile.in (abs_top_srcdir): Remove.
4888 (update-subdirs): Use relative path to update-subdirs.
4890 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4892 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4893 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4894 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4895 Call unmsys--file-name before expand-file-name, not after it.
4897 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4899 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4900 (ert-test-skipped): New error.
4901 (ert-skip, ert-stats-skipped): New defuns.
4902 (ert--skip-unless): New macro.
4903 (ert-test-skipped): New struct.
4904 (ert--run-test-debugger, ert-test-result-type-p)
4905 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4906 (ert--stats-set-test-and-result, ert-char-for-test-result)
4907 (ert-string-for-test-result, ert-run-tests-batch)
4908 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4909 Handle skipped tests. (Bug#9803)
4911 2013-10-24 Glenn Morris <rgm@gnu.org>
4913 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4915 * Makefile.in (abs_top_srcdir): New, set by configure.
4916 (update-subdirs): Correct build-aux location.
4918 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4920 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4921 value, whether we could auto-deduce `backend', or not.
4923 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4924 with parameters" example. Simplify the "is it block or is it
4925 hash" check, but also make it more thorough.
4927 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4929 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4931 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4936 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4939 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4941 * progmodes/compile.el (compilation-directory-matcher)
4942 (compilation-page-delimiter):
4943 Support GNU Make-4.0 directory quoting. (Bug#15678)
4945 2013-10-23 Leo Liu <sdl.web@gmail.com>
4947 * ido.el (ido-tidy): Handle read-only text.
4949 2013-10-23 Glenn Morris <rgm@gnu.org>
4951 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4952 (emacs, compile, compile-always):
4953 Quote entities that might contain whitespace.
4954 (custom-deps, finder-data, autoloads): Use abs_lisp.
4955 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4956 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4957 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4959 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4961 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4962 Use `following-char'.
4964 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4967 * progmodes/ruby-mode.el (ruby-smie-rules):
4968 Remove corresponding workaround. Fix indentation rule of ";" so it
4969 also applies when ";" is the parent.
4971 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4973 * frame.el (display-screens, display-pixel-height)
4974 (display-pixel-width, display-mm-width, display-backing-store)
4975 (display-save-under, display-planes, display-color-cells)
4976 (display-visual-class, display-monitor-attributes-list):
4977 Mention the optional ‘display’ argument in doc strings.
4979 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4981 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4982 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4984 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4986 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4987 TODO. Add "." after " @ ".
4988 (ruby-smie--at-dot-call): New function. Checks if point at method
4989 call with explicit target.
4990 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4991 to the method name tokens when it precedes them.
4992 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4993 (ruby-smie-rules): Add rule for indentation before and after "."
4996 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * textmodes/remember.el (remember-diary-extract-entries):
5001 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
5004 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
5006 * progmodes/ruby-mode.el (ruby-smie-grammar):
5007 Add (almost) all infix operators.
5008 (ruby-smie--implicit-semi-p): Add new operator chars.
5010 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5012 (ruby-smie--args-separator-p): Check that there's no newline
5013 between method call and its arguments.
5015 2013-10-20 Alan Mackenzie <acm@muc.de>
5017 Allow comma separated lists after Java "implements".
5019 * progmodes/cc-engine.el (c-backward-over-enum-header):
5021 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
5022 from a "disallowed" list in enum fontification.
5024 2013-10-20 Johan Bockgård <bojohan@gnu.org>
5026 * startup.el (default-frame-background-mode): Remove unused defvar.
5028 * progmodes/verilog-mode.el (verilog-mode): Don't set
5029 comment-indent-function globally.
5031 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
5033 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
5034 Move Info menu item creation to ns-win.el.
5036 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
5039 * menu-bar.el: Move GNUstep specific menus...
5041 * term/ns-win.el (ns-initialize-window-system): ... to here.
5043 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5045 * simple.el (newline): Only run post-self-insert-hook when
5046 called interactively.
5048 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5050 * icomplete.el (icomplete-with-completion-tables): Add :version.
5052 2013-10-19 Alan Mackenzie <acm@muc.de>
5054 Fix fontification bugs with constructors and const.
5056 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5057 CASE 2) Remove the check for the absence of a suffix construct
5058 after a function declaration with only types (no identifiers) in
5059 the parentheses. Also, accept a function declaration with just a
5060 type inside the parentheses, if this type can be positively
5061 recognised as such, or if a prefix keyword like "explicit" nails
5062 down the construct as a declaration.
5064 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5066 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5067 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5068 the problem whereby selecting a menu item that leads to a
5069 minibuffer prompt moves the cursor out of the minibuffer window,
5070 making it hard to type at the prompt. Suggested by Stefan Monnier
5071 <monnier@iro.umontreal.ca>.
5073 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5075 * menu-bar.el: Don't make Services menu.
5077 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5079 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5080 (ffap-alist): Use ffap-c++-mode for c++-mode.
5081 (ffap-c++-path): New variable.
5082 (ffap-c++-mode): New function.
5084 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5086 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5088 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5090 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5091 introduced on 2013-09-08, which results in an infinite loop
5092 requesting a password.
5094 2013-10-18 Glenn Morris <rgm@gnu.org>
5096 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5098 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5100 Sync with upstream verilog-mode revision 1a6ecec7.
5101 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5102 (verilog-mode-release-date): Remove.
5103 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5104 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5105 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5106 (verilog-auto-tieoff-ignore-regexp)
5107 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5108 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5109 (verilog-signals-with, verilog-dir-cache-preserving)
5110 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5112 (verilog-case-fold): New option, to control case folding in
5113 regexp searches, bug597.
5114 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5115 (verilog-string-match-fold, verilog-in-paren-count)
5116 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5117 (verilog-at-close-struct-p): New functions.
5118 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5119 (verilog-forward-sexp, verilog-set-auto-endcomments)
5120 (verilog-leap-to-case-head): Handle "unique0" case.
5121 (verilog-in-constraint-re): New constant.
5122 (verilog-keywords, verilog-type-font-keywords):
5123 Add some SystemVerilog 1800-2012 keywords.
5124 (verilog-label-be): Remove unimplemented argument, bug669.
5125 (verilog-batch-execute-func): When batch expanding clear
5126 create-lockfiles to prevent spurious user locks when a file ends
5128 (verilog-calculate-indent, verilog-calc-1)
5129 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5130 (verilog-do-indent): Fix indentation of nested constraints
5132 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5133 (verilog-auto-inst-param): Use verilog-string-match-fold.
5134 (verilog-read-inst-module-matcher):
5135 Fix AUTOINST on gate primitives with #1.
5136 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5137 Reads all user-defined typed variables.
5138 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5139 (verilog-signals-matching-regexp)
5140 (verilog-signals-not-matching-regexp, verilog-auto):
5141 Respect verilog-case-fold.
5142 (verilog-diff-report): Fix line count.
5143 (verilog-auto-assign-modport): Remove unused local `modi'.
5144 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5145 better handle multidimensional arrays.
5146 Fix packed array ports misadding bit index in AUTOINST, bug637.
5147 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5148 to not double-declare existing outputs and inputs, respectively.
5149 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5150 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5151 (verilog-sk-uvm-component): New skeleton.
5152 (verilog-submit-bug-report): Add verilog-case-fold,
5153 remove verilog-mode-release-date.
5155 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5157 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5160 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5162 * textmodes/remember.el (remember): Set buffer-offer-save in
5163 remember buffers (bug#13566).
5165 2013-10-18 Daniel Colascione <dancol@dancol.org>
5167 When evaluating forms in ielm, direct standard output to ielm
5168 buffer. Add new ielm-return-for-effect command. Remove trailing
5169 whitespace throughout.
5171 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5172 (ielm-return-for-effect): New command.
5173 (ielm-send-input): Accept optional `for-effect' parameter.
5174 (ielm-eval-input): Accept optional `for-effect' parameter.
5175 Bind `standard-output' to stream we create using
5176 `ielm-standard-output-impl'. Suppress printing result when
5178 (ielm-standard-output-impl): New function.
5179 (inferior-emacs-lisp-mode): Explain new features in documentation.
5181 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5185 * net/tramp.el (tramp-debug-message): Do not check for connection
5187 (tramp-message): Use "vector" connection property.
5189 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5190 (tramp-equal-remote, tramp-eshell-directory-change)
5191 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5192 (tramp-adb-handle-rename-file)
5193 * net/tramp-cmds.el (tramp-list-remote-buffers)
5194 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5195 * net/tramp-compat.el (tramp-compat-process-running-p)
5196 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5197 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5198 (tramp-gvfs-handle-rename-file)
5199 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5200 (tramp-set-file-uid-gid)
5201 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5202 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5205 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5206 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5207 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5208 (tramp-gw-open-network-stream): Suppress unrelated traces.
5210 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5211 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5212 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5213 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5214 connection property.
5216 * net/tramp-cache.el (top): Suppress traces when reading
5219 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5220 Refactor common code. Improve debug message.
5221 (tramp-maybe-open-connection)
5222 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5223 connection buffer too early.
5225 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5226 from `tramp-smb-actions-with-acl'.
5227 (tramp-smb-actions-set-acl): New defconst.
5228 (tramp-smb-handle-copy-directory)
5229 (tramp-smb-action-get-acl): New defun, renamed from
5230 `tramp-smb-action-with-acl'.
5231 (tramp-smb-action-set-acl): New defun.
5232 (tramp-smb-handle-set-file-acl): Rewrite.
5234 2013-10-17 Glenn Morris <rgm@gnu.org>
5236 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5238 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5240 * skeleton.el (skeleton-newline): Remove.
5241 (skeleton-internal-1): Use (insert "\n") instead.
5243 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5246 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5247 forward-sexp-function while we redo its job (bug#15613).
5249 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5251 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5252 represented by lists.
5254 2013-10-16 Glenn Morris <rgm@gnu.org>
5256 * tmm.el (tmm--history): New dynamic variable.
5257 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5259 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5261 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5262 (tramp-smb-errors): Add error messages.
5263 (tramp-smb-actions-with-acl): New defconst.
5264 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5265 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5266 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5267 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5268 (tramp-smb-get-stat-capability): Fix tests.
5270 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5272 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5275 2013-10-16 Glenn Morris <rgm@gnu.org>
5277 * ansi-color.el (ansi-color-drop-regexp):
5278 Add 1J, 1K, 2K. (Bug#15617)
5280 * files.el (hack-local-variables--warned-lexical): New.
5281 (hack-local-variables):
5282 Warn about misplaced lexical-binding. (Bug#15616)
5284 * net/eww.el (eww-render): Always set eww-current-url,
5285 and update header line. (Bug#15622)
5286 (eww-display-html): ... Rather than just doing it here.
5288 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5290 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5291 menu navigations commands.
5293 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5295 * progmodes/subword.el (subword-capitalize): Be careful when
5296 the search for [[:alpha:]] fails (bug#15580).
5298 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5300 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5301 to commands that scroll the menu.
5303 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5305 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5306 Handle methods ending with `?' and `!'.
5308 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5310 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5311 `japanese-cp932' to `cp932' to fix the problem where saving a
5312 source file written in Shift_JIS twice would end up having
5313 `coding: japanese-cp932' which Ruby could not recognize.
5314 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5315 in `ruby-encoding-map'.
5316 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5317 doesn't need to be explicitly declared in magic comment.
5318 (ruby-encoding-map): Add type declaration for better customize UI.
5320 2013-10-13 Glenn Morris <rgm@gnu.org>
5322 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5323 Occur buffers are read-only. http://bugs.debian.org/720775
5325 * emacs-lisp/authors.el (authors-fixed-entries):
5326 Comment out old alpha stuff.
5328 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5330 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5331 to `after-save-hook' instead of `before-save-hook'.
5332 (ruby-mode-set-encoding): Use the value of coding system used to
5333 write the file. Call `basic-save-buffer-1' after modifying the
5336 2013-10-13 Alan Mackenzie <acm@muc.de>
5338 Fix indentation/fontification of Java enum with
5339 "implements"/generic.
5341 * progmodes/cc-engine.el (c-backward-over-enum-header):
5342 Extracted from the three other places and enhanced to handle generics.
5343 (c-inside-bracelist-p): Uses new function above.
5344 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5346 (c-font-lock-enum-tail): Uses new function above.
5348 2013-10-13 Kenichi Handa <handa@gnu.org>
5350 * international/mule-cmds.el (select-safe-coding-system): Remove a
5351 superfluous condition in chekcing whether a coding system is safe
5354 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5356 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5358 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5360 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5362 2013-10-13 Glenn Morris <rgm@gnu.org>
5364 * menu-bar.el (menu-bar-update-buffers):
5365 Unify Buffers menu prompt string. (Bug#15576)
5367 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5369 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5371 (authors-fixed-entries): Use accented form of name.
5373 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5375 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5376 method calls (bug#15594).
5377 (ruby-smie--args-separator-p): New function.
5378 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5379 recognize paren-free method calls.
5381 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5382 internals of universal-argument.
5384 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5386 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5387 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5388 dropped menu on second mouse click on the menu bar.
5390 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5392 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5393 (explicit-shell-file-name): Declare.
5394 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5395 (sh-completion-at-point-function): New function.
5397 (sh-smie--keyword-p): Remove unused argument.
5398 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5400 (sh-set-shell): Always setup SMIE, even if we use the
5401 old indentation code.
5403 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5405 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5407 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5408 predicate would return nil are almost non-existent.
5409 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5411 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5412 cache also after commands that modify the buffer but don't move
5415 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5417 * env.el (substitute-env-in-file-name): New function.
5418 (substitute-env-vars): Extend the meaning of the optional arg.
5420 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5422 * term/w32-win.el (dynamic-library-alist): Define separate lists
5423 of GIF DLLs for versions before and after 5.0.0 of giflib.
5426 2013-10-10 João Távora <joaotavora@gmail.com>
5428 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5429 not locked, use last revision and current source as
5430 defaults. (Bug#15569)
5432 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5434 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5437 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5439 * window.el (pop-to-buffer-same-window): Fix doc-string.
5442 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5446 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5448 * calendar/icalendar.el (icalendar-import-file):
5449 Fix interactive spec. (Bug#15482)
5451 2013-10-10 Glenn Morris <rgm@gnu.org>
5453 * desktop.el (desktop-save): Default to saving in .emacs.d,
5454 since PWD is no longer in desktop-path by default. (Bug#15319)
5456 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5457 now that text mode has a menu with the same entry.
5458 (menu-bar-text-mode-auto-fill): Remove now unused func.
5459 * textmodes/text-mode.el (text-mode-map):
5460 Use auto-fill help text from menu-bar.el.
5462 2013-10-10 John Anthony <john@jo.hnanthony.com>
5464 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5466 2013-10-09 Juri Linkov <juri@jurta.org>
5468 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5469 instead of this-command-keys. Add universal-argument-more and
5470 universal-argument-minus to the list of prefix commands. (Bug#15568)
5472 2013-10-09 Glenn Morris <rgm@gnu.org>
5474 * vc/vc-svn.el (vc-svn-create-repo):
5475 Expand paths in file://... url. (Bug#15446)
5477 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5479 (authors): Remove unused local variables.
5481 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * profiler.el: Create a more coherent calltree from partial backtraces.
5484 (profiler-format): Hide the tail with `invisible' so that C-s can still
5485 find the hidden elements.
5486 (profiler-calltree-depth): Don't recurse so enthusiastically.
5487 (profiler-function-equal): New hash-table-test.
5488 (profiler-calltree-build-unified): New function.
5489 (profiler-calltree-build): Use it.
5490 (profiler-report-make-name-part): Indent the calltree less.
5491 (profiler-report-mode): Add visibility specs for profiler-format.
5492 (profiler-report-expand-entry, profiler-report-toggle-entry):
5493 Expand the whole subtree when provided with a prefix arg.
5495 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5497 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5499 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5500 hanging iuwu-mod token.
5501 (ruby-smie--forward-token): Do not include a dot after a token in
5503 (ruby-smie--backward-token): Likewise.
5505 2013-10-08 Juri Linkov <juri@jurta.org>
5507 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5508 to isearch-other-control-char.
5509 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5510 and isearch-post-command-hook to post-command-hook.
5511 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5512 and isearch-post-command-hook from post-command-hook.
5513 (isearch-unread-key-sequence)
5514 (isearch-reread-key-sequence-naturally)
5515 (isearch-lookup-scroll-key, isearch-other-control-char)
5516 (isearch-other-meta-char): Remove functions.
5517 (isearch-pre-command-hook, isearch-post-command-hook):
5518 New functions based on isearch-other-meta-char rewritten
5519 relying on the new behavior of overriding-terminal-local-map
5520 that does not replace the local keymaps any more. (Bug#15200)
5522 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5524 Support menus on text-mode terminals.
5525 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5528 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5530 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5531 Move here from mouse.el.
5532 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5534 (tty-menu-navigation-map): New map for TTY menu navigation.
5536 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5538 * frame.el (display-mouse-p): Report text-mode mouse as available
5540 (display-popup-menus-p): Report availability if mouse is
5541 available; don't condition on window-system.
5543 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5544 (tty-menu-selected-face): New faces.
5546 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5549 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5550 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5551 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5553 (lisp-mode-variables): New `elisp' argument.
5554 (emacs-lisp-mode): Use it.
5555 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5556 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5558 * indent.el: Use lexical-binding.
5559 (indent-region): Add progress reporter.
5560 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5562 (indent--next-tab-stop): New function to implement this behavior.
5563 (tab-to-tab-stop, move-to-tab-stop): Use it.
5565 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5567 * indent.el (indent-rigidly--current-indentation): New function.
5568 (indent-rigidly-map): New var.
5569 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5571 2013-10-08 Bastien Guerry <bzg@gnu.org>
5573 * register.el (insert-register): Fix 2013-10-07 change.
5575 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5577 * progmodes/perl-mode.el: Use lexical-binding.
5578 Remove redundant :group args.
5579 (perl-nochange): Change default to be closer to other major modes's
5581 (perl-indent-line): Don't consider text on current line as a
5582 valid beginning of function from which to indent.
5584 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5585 with more than one argument (bug#15538).
5587 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5589 * vc/pcvs.el: Use lexical-binding.
5590 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5591 environment of `eval'.
5592 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5593 than a list of expressions. Adjust callers.
5594 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5596 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5598 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5599 case of the dot in a chained method call being on the following line.
5601 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * electric.el (electric-indent-inhibit): New var.
5604 (electric-indent-post-self-insert-function): Use it.
5605 * progmodes/python.el (python-mode): Set it.
5607 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5610 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5612 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5613 (css-mode): Use electric-indent-chars.
5615 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5616 (font-lock-beg, font-lock-end): Move before first use.
5617 (nxml-mode): Use syntax-propertize-function.
5618 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5619 (nxml-extend-after-change-region): Remove.
5620 * nxml/xmltok.el: Use lexical-binding.
5621 (xmltok-save): Use `declare'.
5622 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5623 * nxml/nxml-util.el: Use lexical-binding.
5624 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5626 * nxml/nxml-ns.el: Use lexical-binding.
5627 (nxml-ns-save): Use `declare'.
5628 (nxml-ns-prefixes-for): Avoid add-to-list.
5629 * nxml/rng-match.el: Use lexical-binding.
5630 (rng--ipattern): Use cl-defstruct.
5631 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5632 (rng-cons-group-after, rng-subst-group-after)
5633 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5634 Use closures instead of `(lambda...).
5636 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5638 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5641 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5642 Use `tramp-handle-insert-file-contents'.
5643 (tramp-gvfs-handle-insert-file-contents): Remove function.
5645 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5646 Use `save-restriction' in order to keep markers.
5648 * net/trampver.el: Update release number.
5650 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * progmodes/compile.el (compilation-parse-errors):
5653 Use compilation--put-prop.
5654 (compilation--ensure-parse): Check compilation-multiline.
5656 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5658 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5661 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5663 * progmodes/ruby-mode.el: Fix recently added tests.
5664 (ruby-smie-grammar): Add - and +.
5665 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5666 (ruby-smie--backward-id): New functions.
5667 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5668 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5671 2013-10-07 Leo Liu <sdl.web@gmail.com>
5673 * register.el (register-preview-delay)
5674 (register-preview-functions): New variables.
5675 (register-read-with-preview, register-preview)
5676 (register-describe-oneline): New functions.
5677 (point-to-register, window-configuration-to-register)
5678 (frame-configuration-to-register, jump-to-register)
5679 (number-to-register, view-register, insert-register)
5680 (copy-to-register, append-to-register, prepend-to-register)
5681 (copy-rectangle-to-register): Use register-read-with-preview to
5682 read register. (Bug#15525)
5684 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5686 * net/network-stream.el (network-stream-open-starttls): Don't add
5687 --insecure if it's already present, because that gnutls-cli
5688 rejects getting that parameter twice.
5690 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5692 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5695 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5697 * newcomment.el (comment-use-global-state): Change default value
5698 to t, mark obsolete (Bug#15251).
5699 (comment-beginning): In addition to `comment-to-syntax', check the
5700 value of `comment-use-global-state'.
5702 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5704 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5705 (ruby-comment-column): Follow the global default, by default.
5706 (ruby-smie-grammar): Add assignment syntax.
5707 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5708 open-paren, a comma, or a \.
5709 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5710 and line continuations.
5711 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5712 followed by implicit semi-colons. Add rule for string concatenation
5713 and for indentation at BOB.
5714 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5716 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5717 calling next-sexp, since next-token may have skipped chars which
5718 next-sexp doesn't know should be skipped!
5720 2013-10-05 Leo Liu <sdl.web@gmail.com>
5722 * progmodes/octave.el (octave-send-region):
5723 Call compilation-forget-errors.
5725 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5727 * vc/vc-svn.el (vc-svn-find-admin-dir):
5728 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5729 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5730 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5731 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5733 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5735 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5737 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * subr.el (read-passwd): Hide chars even when called within a context
5740 where after-change-functions is disabled (bug#15501).
5741 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5742 until we removed ourself from overriding-terminal-local-map.
5744 2013-10-04 Leo Liu <sdl.web@gmail.com>
5746 * progmodes/octave.el (inferior-octave-mode):
5747 Call compilation-forget-errors.
5749 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5751 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5753 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5755 * net/secrets.el (secrets-create-collection): Add optional
5756 argument ALIAS. Use proper Label keyword. Append ALIAS as
5757 dbus-call-method argument. (Bug#15516)
5759 2013-10-04 Leo Liu <sdl.web@gmail.com>
5761 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5762 (inferior-octave-compilation-font-lock-keywords): New variables.
5763 (compilation-error-regexp-alist)
5764 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5765 (inferior-octave-mode): Use compilation-shell-minor-mode.
5767 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5769 * minibuffer.el (completion--replace): Be careful that `end' might be
5772 2013-10-03 Daiki Ueno <ueno@gnu.org>
5774 Add support for package signature checking.
5775 * emacs-lisp/package.el (url-http-file-exists-p)
5776 (epg-make-context, epg-context-set-home-directory)
5777 (epg-verify-string, epg-context-result-for)
5778 (epg-signature-status, epg-signature-to-string)
5779 (epg-check-configuration, epg-configuration)
5780 (epg-import-keys-from-file): Declare.
5781 (package-check-signature): New user option.
5782 (package-unsigned-archives): New user option.
5783 (package-desc): Add `signed' field.
5784 (package-load-descriptor): Set `signed' field if .signed file exists.
5785 (package--archive-file-exists-p): New function.
5786 (package--check-signature): New function.
5787 (package-install-from-archive): Check package signature.
5788 (package--download-one-archive): Check archive signature.
5789 (package-delete): Remove .signed file.
5790 (package-import-keyring): New command.
5791 (package-refresh-contents): Import default keyring.
5792 (package-desc-status): Add "unsigned" status.
5793 (describe-package-1, package-menu--print-info)
5794 (package-menu-mark-delete, package-menu--find-upgrades)
5795 (package-menu--status-predicate): Support "unsigned" status.
5797 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5800 the new compilation scheme using the new byte-codes.
5802 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5803 (byte-pophandler): New byte codes.
5804 (byte-goto-ops): Adjust accordingly.
5805 (byte-compile--use-old-handlers): New var.
5806 (byte-compile-catch): Use new byte codes depending on
5807 byte-compile--use-old-handlers.
5808 (byte-compile-condition-case--old): Rename from
5809 byte-compile-condition-case.
5810 (byte-compile-condition-case--new): New function.
5811 (byte-compile-condition-case): New function that dispatches depending
5812 on byte-compile--use-old-handlers.
5813 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5816 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5817 Optimize under `condition-case' and `catch' if
5818 byte-compile--use-old-handlers is nil.
5819 (disassemble-offset): Handle new bytecodes.
5821 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5823 * subr.el (error): Use `declare'.
5824 (decode-char, encode-char): Use advertised-calling-convention instead
5825 of the docstring to discourage use of the `restriction' arg.
5827 2013-10-03 Daiki Ueno <ueno@gnu.org>
5829 * epg.el (epg-verify-file): Add a comment saying that it does not
5830 notify verification error as a return value nor a signal.
5831 (epg-verify-string): Ditto.
5833 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5835 * progmodes/compile.el (compilation-start): Try globbing the arg to
5838 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5840 Sync with Tramp 2.2.8.
5842 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5843 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5844 * net/trampver.el: Update release number.
5846 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5848 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5849 and default-process-coding-system for darwin only.
5851 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5853 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5855 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5857 * vc/vc-git.el (vc-git-grep): Disable pager.
5859 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5861 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5862 Use :url instead of :homepage, as per
5863 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5865 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5866 non-nil, use `syntax-ppss' (Bug#15251).
5868 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5870 * progmodes/octave.el (inferior-octave-startup-file):
5871 Prefer ~/.emacs.d/init_octave.m.
5873 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5875 * emacs-lisp/package.el (package-desc-from-define):
5876 Accept additional arguments as plist, convert them to an alist and store
5877 them in the `extras' slot.
5878 (package-generate-description-file): Convert extras alist back to
5879 plist and append to the `define-package' form arguments.
5880 (package--alist-to-plist): New function.
5881 (package--ac-desc): Add `extras' slot.
5882 (package--add-to-archive-contents): Check if the archive-contents
5883 vector is long enough, and if it is, pass its `extras' slot value
5884 to `package-desc-create'.
5885 (package-buffer-info): Call `lm-homepage', pass the returned value
5886 to `package-desc-from-define'.
5887 (describe-package-1): Render the homepage button (Bug#13291).
5889 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5890 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5892 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5894 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5895 and default-process-coding-system to utf-8-unix (Bug#15402).
5897 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5899 * subr.el (looking-back): Do not recommend using looking-back.
5901 2013-09-28 Alan Mackenzie <acm@muc.de>
5903 Fix indentation/fontification of Java enum with "implements".
5905 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5906 regexp which matches "implements", etc., in Java.
5907 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5908 specifier clauses coming after "enum".
5909 * progmodes/cc-fonts.el (c-font-lock-declarations)
5910 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5913 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5915 * faces.el (region): Change ns_selection_color to
5916 ns_selection_fg_color, add ns_selection_bg_color.
5918 2013-09-28 Leo Liu <sdl.web@gmail.com>
5920 * progmodes/octave.el (inferior-octave-completion-table)
5921 (inferior-octave-completion-at-point): Minor tweaks.
5923 * textmodes/ispell.el (ispell-lookup-words): Rename from
5924 lookup-words. (Bug#15460)
5925 (lookup-words): Obsolete.
5926 (ispell-complete-word, ispell-command-loop): All uses changed.
5928 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5930 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5931 (octave-mode-menu): Add octave-send-buffer.
5932 (octave-send-buffer): New function.
5934 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5936 * progmodes/octave.el (octave-mode-map): Add key binding for
5938 (octave-mode-menu): Add octave-lookfor.
5939 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5941 (octave-lookfor): New function.
5943 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5946 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5948 (cl--loop-set-iterator-function): New function.
5949 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5950 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5951 Bind `it' with `let' instead of substituting it with `cl-subst'.
5952 (cl--unused-var-p): New function.
5953 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5954 Eliminate some unused variable warnings (bug#15326).
5956 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5958 * doc-view.el (doc-view-scale-reset): Rename from
5959 `doc-view-reset-zoom-level'.
5960 (doc-view-scale-adjust): New command.
5961 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5962 `doc-view-scale-adjust'.
5964 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5966 * doc-view.el (doc-view-reset-zoom-level): New command.
5967 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5968 zoom commands (bug#15466).
5970 2013-09-26 Kenichi Handa <handa@gnu.org>
5972 * international/quail.el (quail-help): Make it not a command.
5974 2013-09-26 Leo Liu <sdl.web@gmail.com>
5976 * minibuffer.el (completion-all-sorted-completions): Make args
5977 optional as they are.
5979 2013-09-25 Daniel Colascione <dancol@dancol.org>
5981 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5982 specs are and that they're not evaluated.
5984 2013-09-24 Sam Steingold <sds@gnu.org>
5986 * midnight.el (clean-buffer-list-kill-regexps)
5987 (clean-buffer-list-kill-buffer-names): Update for the new Man
5988 buffer naming which includes the object name.
5990 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5992 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5993 (eshell-parse-command, eshell-parse-pipeline): Use it since
5994 eshell-separate-commands requires a dynamic scoped var.
5995 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5997 2013-09-23 Leo Liu <sdl.web@gmail.com>
5999 * autoinsert.el (auto-insert-alist): Make the value of
6000 lexical-binding match its file setting.
6002 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
6004 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
6006 * autoarg.el (autoarg-kp-digit-argument):
6007 * electric.el (Electric-command-loop):
6008 * kmacro.el (kmacro-step-edit-insert):
6009 Do not set universal-argument-num-events.
6011 2013-09-22 Leo Liu <sdl.web@gmail.com>
6013 * files.el (interpreter-mode-alist): Add octave.
6015 2013-09-21 Alan Mackenzie <acm@muc.de>
6017 C++: fontify identifier in declaration following "public:" correctly.
6018 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
6019 to match "public", etc.
6020 (c-decl-prefix-re): Add ":" into the C++ value.
6021 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
6022 bit. Add a check for a ":" preceded by "public", etc.
6024 2013-09-21 Eli Zaretskii <eliz@gnu.org>
6026 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
6027 recognized by GDB 7.5 and later.
6029 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
6031 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
6033 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6035 * subr.el (internal--call-interactively): New const.
6036 (called-interactively-p): Use it (bug#3984).
6038 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
6040 * vc/pcvs.el (cvs-mode-ignore):
6041 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
6042 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
6044 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
6047 (eshell-ls-orig-insert-directory): Remove.
6048 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6049 (eshell-ls-use-in-dired): Use advice-add/remove.
6050 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6051 Add `orig-fun' arg for use in :around advice.
6052 Make it check (redundantly) eshell-ls-use-in-dired.
6054 2013-09-19 Glenn Morris <rgm@gnu.org>
6056 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6058 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6060 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6062 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6064 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6065 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6066 (tramp-get-remote-python): New defuns.
6067 (tramp-get-remote-uid-with-perl)
6068 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6069 contributed by yary <not.com@gmail.com> (tiny change).
6070 (tramp-get-remote-uid-with-python)
6071 (tramp-get-remote-gid-with-python): New defuns. Python code
6072 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6073 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6075 2013-09-19 Glenn Morris <rgm@gnu.org>
6077 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6079 * eshell/em-unix.el (eshell-remove-entries):
6080 Rename argument to avoid name-clash with global `top-level'.
6082 * eshell/esh-proc.el (eshell-kill-process-function):
6083 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6084 (eshell-reset-after-proc): Remove unused arg `proc'.
6086 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6087 (directory-files-and-attributes): Mark unused arg.
6089 * eshell/em-unix.el (eshell-remove-entries):
6090 Remove unused arg `path'. Update callers.
6092 * eshell/em-hist.el (eshell-hist-parse-arguments):
6093 Remove unused arg `silent'. Update callers.
6095 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6096 Fix (f)boundp mix-up.
6098 * eshell/em-smart.el (eshell-smart-scroll-window)
6099 (eshell-disable-after-change):
6100 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6102 2013-09-18 Alan Mackenzie <acm@muc.de>
6104 Fix fontification of type when followed by "const".
6105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6106 "known" types from fontification.
6108 2013-09-18 Glenn Morris <rgm@gnu.org>
6110 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6111 (chart-face-list): Drop Emacsen without display-color-p.
6113 * net/eww.el (libxml-parse-html-region): Declare.
6114 (eww-display-html): Explicit error if no libxml2 support.
6116 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6118 * image.el (image-type-from-buffer, image-multi-frame-p):
6119 Remove --without-x warning/error.
6121 * mouse.el (mouse-yank-primary):
6122 * term.el (term-mouse-paste):
6123 Reorder to silence --without-x compilation.
6125 * mpc.el (doc-view-mode): Silence --without-x compilation.
6127 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6128 Silence --without-x compilation.
6130 * progmodes/gud.el (gud-find-file, gud-mode):
6131 Silence --without-x compilation.
6132 (tooltip-mode): Declare.
6134 * wdired.el (dired-backup-overwrite): Remove declaration.
6135 (wdired-mode-map): Add doc string.
6137 * custom.el (x-get-resource): Declare.
6139 * eshell/em-glob.el (ange-cache):
6140 * eshell/em-unix.el (ange-cache): Declare.
6142 * faces.el (x-display-list, x-open-connection, x-get-resource):
6145 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6146 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6149 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6151 * net/gnutls.el (gnutls-log-level): Declare.
6153 * net/shr.el (image-size, image-animate): Declare.
6155 * simple.el (font-info): Declare.
6157 * subr.el (x-popup-dialog): Declare.
6159 * term/common-win.el (x-select-enable-primary)
6160 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6163 * term/ns-win.el (x-handle-args): Declare.
6165 * term/x-win.el (x-select-enable-clipboard): Declare.
6167 * term/w32-win.el (create-default-fontset): Declare.
6169 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6172 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6173 (fit-frame-to-buffer): Explicit error if --without-x.
6174 (mouse-autoselect-window-select): Silence compiler.
6176 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6178 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6179 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6180 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6181 * eshell/esh-util.el (eshell-sublist):
6182 Remove unused local variables.
6184 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6186 * textmodes/two-column.el: Make 2C-split work for --without-x.
6187 (scroll-bar-columns): Autoload.
6188 (top-level): Require fringe when compiling.
6190 2013-09-18 Leo Liu <sdl.web@gmail.com>
6192 * subr.el (add-hook): Robustify to handle closure as well.
6194 2013-09-17 Glenn Morris <rgm@gnu.org>
6196 * simple.el (messages-buffer-mode-map): Unbind "g".
6198 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * help-mode.el (help-mode-finish): Use derived-mode-p.
6201 Remove obsolete highlighting.
6203 * play/life.el (life-mode): Use define-derived-mode. Derive from
6205 (life): Let-bind inhibit-read-only.
6206 (life-setup): Avoid `setq'. Use `life-mode'.
6208 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6209 which should not be needed any more.
6210 (package-menu-refresh, package-menu-describe-package): Use user-error.
6212 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6213 (eshell-post-rewrite-command-hook): Make obsolete.
6214 (eshell-parse-command): Simplify.
6215 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6216 (eshell--cmd): Declare.
6217 (eshell-parse-pipeline): Remove unused var `final-p'.
6218 Pass a dynvar to eshell-post-rewrite-command-hook.
6219 Implement the new eshell-post-rewrite-command-function.
6220 (eshell-invoke-directly): Remove unused arg `input'.
6221 * eshell/esh-io.el (eshell-io-initialize):
6222 Use eshell-post-rewrite-command-function (bug#15399).
6223 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6224 adjust to new calling convention.
6225 (eshell-create-handles): Rename args to avoid clashing with dynvar
6228 2013-09-17 Glenn Morris <rgm@gnu.org>
6230 * simple.el (messages-buffer-mode): New major mode.
6231 (messages-buffer): New function.
6232 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6233 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6234 (ert-run-test): Use `messages-buffer' function.
6235 (ert--force-message-log-buffer-truncation): Ignore read-only.
6236 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6237 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6239 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6243 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6245 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * icomplete.el (icomplete-in-buffer): New var.
6248 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6249 vars and replace them with functions.
6250 (icomplete-minibuffer-setup): Adjust accordingly.
6251 (icomplete--completion-table, icomplete--completion-predicate)
6252 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6254 (icomplete-forward-completions, icomplete-backward-completions)
6255 (icomplete-simple-completing-p, icomplete-exhibit)
6256 (icomplete-completions): Use them.
6257 (icomplete--in-region-buffer): New var.
6258 (icomplete--in-region-setup): New function.
6259 (icomplete-mode): Use it.
6261 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6263 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6264 return args and options.
6265 (eshell-eval-using-options): Use the new return value of
6266 eshell--do-opts to set the options's vars in their scope.
6267 (eshell--set-option): Rename from eshell-set-option.
6269 (eshell--process-option): Rename from eshell-process-option.
6271 (eshell--process-args): Use an `opt-vals' alist to store the options's
6272 values during their processing and return them additionally to the
6275 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6277 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6278 continuation character an operator, as far as indentation is
6279 concerned (Bug#15369).
6281 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6283 * window.el (window--state-put-2): Don't process buffer state
6284 when buffer doesn't exist any more (Bug#15382).
6286 2013-09-15 Glenn Morris <rgm@gnu.org>
6288 * eshell/em-unix.el (eshell/rm):
6289 Make -f ignore missing files. (Bug#15373)
6291 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6292 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6293 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6295 2013-09-14 Glenn Morris <rgm@gnu.org>
6297 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6299 2013-09-13 Glenn Morris <rgm@gnu.org>
6301 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6302 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6304 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6306 * frame.el (x-focus-frame): Mark as declared in frame.c.
6308 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * ls-lisp.el: Use advice-add.
6311 (original-insert-directory): Remove.
6312 (ls-lisp--insert-directory): Rename from insert-directory; add
6313 `orig-fun' argument.
6314 (insert-directory): Advise.
6316 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6318 * term.el (term-emulate-terminal): Decode the command string
6319 before passing it to term-command-hook. (Bug#15337)
6321 2013-09-13 Glenn Morris <rgm@gnu.org>
6323 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6325 * eshell/esh-ext.el (eshell-search-path): Declare.
6327 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6328 Otherwise an error occurs if eshell-dirs module not loaded.
6330 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6332 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6334 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6335 `tramp-check-proper-host'. Check for a valid method name.
6337 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6338 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6339 * net/tramp-sh.el (tramp-maybe-open-connection):
6340 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6342 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6343 also for hash values.
6345 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * term/ns-win.el (parameters): Don't declare as dynamic.
6348 (before-make-frame-hook): Don't add ineffective function.
6350 * eshell/*.el: Use lexical-binding (bug#15231).
6352 2013-09-12 Kenichi Handa <handa@gnu.org>
6354 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6356 2013-09-12 Glenn Morris <rgm@gnu.org>
6358 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6359 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6361 * subr.el (do-after-load-evaluation): Also give compiler warnings
6362 when obsolete files are used (except by obsolete files).
6364 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6365 in the status output, assume `filename' is the first. (Bug#15322)
6367 * vc/vc.el (vc-deduce-fileset): Doc fix.
6369 * calc/calc-help.el (Info-goto-node):
6370 * progmodes/cperl-mode.el (Info-find-node):
6371 * vc/ediff.el (Info-goto-node): Update declarations.
6373 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6375 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6376 (vc-bzr-pull): Require vc-dispatcher.
6377 * vc/vc-git.el (vc-compilation-mode): Declare.
6378 (vc-git-pull): Require vc-dispatcher.
6380 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6382 * progmodes/octave.el (help-button-action): Declare.
6384 * shell.el (shell-directory-tracker): Output error as a message
6385 rather than just returning it as a string.
6386 (shell-process-pushd): Remove useless use of message.
6388 * dframe.el (dframe-timer-fn):
6389 * files.el (dir-locals-read-from-file):
6390 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6392 * reveal.el (reveal-post-command):
6393 * saveplace.el (load-save-place-alist-from-file):
6394 * shell.el (shell-resync-dirs):
6395 * w32-common-fns.el (x-get-selection-value):
6396 * emacs-lisp/copyright.el (copyright-find-copyright):
6397 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6398 * emulation/tpu-edt.el (tpu-copy-keyfile):
6399 * play/bubbles.el (bubbles--mark-neighbourhood):
6400 * progmodes/executable.el
6401 (executable-make-buffer-file-executable-if-script-p):
6402 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6404 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6406 Cleanup Eshell to rely less on dynamic scoping.
6407 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6408 last-value, and ext-command here. Bind `args' closer to `body'.
6409 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6410 (eshell--args): Declare new dynamic var.
6411 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6412 last-value, and ext-command. Pass `args' to `body'.
6413 (eshell-process-args): Bind eshell--args.
6414 (eshell-set-option): Use eshell--args.
6415 * eshell/eshell.el (eshell): Use derived-mode-p.
6416 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6417 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6418 (eshell-glob-function): Declare.
6419 * eshell/esh-util.el: Require cl-lib.
6420 (eshell-read-hosts-file): Avoid add-to-list.
6421 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6423 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6425 (eshell/diff): Remove unused var `err'.
6426 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6428 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6429 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6431 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6432 Move declaration before first use.
6433 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6434 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6437 2013-09-12 Glenn Morris <rgm@gnu.org>
6439 * term/ns-win.el (global-map): Remove binding for ispell-next,
6440 deleted 1999-05-29. (Bug#15357)
6442 2013-09-11 Glenn Morris <rgm@gnu.org>
6444 * echistory.el (electric-command-history): Remove call to deleted func.
6446 * play/landmark.el (landmark-mode): Fix typos.
6448 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6449 Check cvs-sort-ignore-file is bound.
6451 * savehist.el: No need for cl when compiling on Emacs.
6453 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6457 (eshell-self-insert-command, eshell-send-invisible):
6458 Remove unused argument.
6459 (eshell-handle-control-codes): Remove unused var `orig'.
6460 Avoid delete-backward-char.
6462 * files.el (set-auto-mode): Simplify a bit further.
6464 2013-09-11 Glenn Morris <rgm@gnu.org>
6466 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6467 (set-auto-mode): Don't regexp-quote elements.
6468 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6469 * progmodes/cc-mode.el (interpreter-mode-alist):
6470 * progmodes/ruby-mode.el (interpreter-mode-alist):
6471 Revert previous change.
6473 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6475 * play/snake.el (snake-mode):
6476 * play/mpuz.el (mpuz-mode):
6477 * play/landmark.el (lm-mode):
6478 * play/blackbox.el (blackbox-mode):
6479 * play/5x5.el (5x5-mode):
6480 * obsolete/options.el (Edit-options-mode):
6481 * net/quickurl.el (quickurl-list-mode):
6482 * net/newst-treeview.el (newsticker-treeview-mode):
6483 * mail/rmailsum.el (rmail-summary-mode):
6484 * mail/mspools.el (mspools-mode):
6485 * locate.el (locate-mode):
6486 * ibuffer.el (ibuffer-mode):
6487 * emulation/ws-mode.el (wordstar-mode):
6488 * emacs-lisp/debug.el (debugger-mode):
6489 * array.el (array-mode):
6490 * net/eudc.el (eudc-mode): Use define-derived-mode.
6491 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6492 Move initialization into declaration.
6493 (mairix-searches-mode): Use define-derived-mode.
6494 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6495 (eudc-edit-hotlist): Use dolist.
6496 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6497 (Man-mode): Use define-derived-mode.
6498 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6499 (Info-edit-mode): Use define-derived-mode.
6500 (Info-cease-edit): Use Info-mode.
6501 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6503 (eshell-mode): Use define-derived-mode.
6504 * chistory.el (command-history-mode-map): Rename from
6505 command-history-map.
6506 (command-history-mode): Use define-derived-mode.
6507 (Command-history-setup): Remove function.
6508 * calc/calc.el (calc-trail-mode-map): New var.
6509 (calc-trail-mode): Use define-derived-mode.
6510 (calc-trail-buffer): Set calc-main-buffer manually.
6511 * bookmark.el (bookmark-insert-annotation): New function.
6512 (bookmark-edit-annotation): Use it.
6513 (bookmark-edit-annotation-mode): Make it a proper major mode.
6514 (bookmark-send-edited-annotation): Use derived-mode-p.
6515 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6516 closer to its ideal place. Use \' to match EOS.
6518 * profiler.el (profiler-calltree-find): Use function-equal.
6520 2013-09-10 Glenn Morris <rgm@gnu.org>
6522 * files.el (interpreter-mode-alist): Convert to regexps.
6523 (set-auto-mode): Adapt for this. (Bug#15306)
6524 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6525 Comment out unused variable.
6526 * progmodes/cc-mode.el (interpreter-mode-alist):
6527 * progmodes/python.el (interpreter-mode-alist):
6528 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6529 * progmodes/sh-script.el (sh-set-shell):
6530 No longer use interpreter-mode-alist to get list of shells.
6532 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6534 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6536 * simple.el: Use set-temporary-overlay-map for universal-argument.
6537 (universal-argument-map): Don't use default-bindings (bug#15317).
6538 Bind switch-frame explicitly. Replace universal-argument-minus with
6539 a conditional binding.
6540 (universal-argument-num-events, saved-overriding-map): Remove.
6541 (restore-overriding-map): Remove.
6542 (universal-argument--mode): Rename from save&set-overriding-map,
6544 (universal-argument, universal-argument-more, negative-argument)
6545 (digit-argument): Adjust accordingly.
6546 (universal-argument-minus): Remove.
6547 (universal-argument-other-key): Remove.
6549 * subr.el (with-demoted-errors): Add `format' argument.
6551 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6553 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6554 `tramp-cleanup-connection'.
6556 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6557 parameters KEEP-DEBUG and KEEP-PASSWORD.
6559 * net/tramp.el (tramp-file-name-handler):
6560 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6561 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6562 (tramp-maybe-open-connection):
6563 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6564 Use `tramp-cleanup-connection'.
6566 * net/tramp-sh.el (tramp-maybe-open-connection):
6567 Catch 'uname-changed inside the progress reporter.
6569 2013-09-10 Glenn Morris <rgm@gnu.org>
6571 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6573 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6574 returns "alternate access method" in mode (eg "-rw-r--r--.").
6576 2013-09-08 Glenn Morris <rgm@gnu.org>
6578 * saveplace.el (load-save-place-alist-from-file):
6579 Demote errors. (Bug#15305)
6581 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6583 Improve compatibility with older Emacsen, and XEmacs.
6585 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6586 only if it is bound. It isn't for XEmacs.
6587 (with-tramp-progress-reporter): Do not let-bind `result'.
6588 This yields to scoping errors in XEmacs.
6589 (tramp-handle-make-auto-save-file-name): New function, moved from
6592 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6593 for `make-auto-save-file-name'.
6594 (tramp-adb--gnu-switches-to-ash):
6595 Use `tramp-compat-replace-regexp-in-string'.
6597 * net/tramp-cache.el (tramp-cache-print): Call
6598 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6600 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6601 bound. It isn't for XEmacs.
6603 * net/tramp-compat.el (tramp-compat-copy-file):
6604 Catch `wrong-number-of-arguments' error.
6605 (tramp-compat-replace-regexp-in-string): New defun.
6607 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6608 for `make-auto-save-file-name'.
6609 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6611 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6612 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6613 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6615 * net/tramp-gw.el (tramp-gw-open-network-stream):
6616 Use `tramp-compat-replace-regexp-in-string'.
6618 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6619 Call `tramp-handle-make-auto-save-file-name'.
6620 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6621 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6622 (tramp-sh-file-inotifywait-process-filter):
6623 Use `tramp-compat-replace-regexp-in-string'.
6624 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6626 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6627 for `make-auto-save-file-name'.
6628 (tramp-smb-handle-copy-directory):
6629 Call `tramp-compat-replace-regexp-in-string'.
6630 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6631 (tramp-smb-handle-copy-file): Improve error message.
6632 (tramp-smb-handle-rename-file): Rename directly only in case
6633 `newname' does not exist yet. This is a restriction of smbclient.
6634 (tramp-smb-maybe-open-connection): Rerun the function only when
6635 `auth-sources' is non-nil.
6637 2013-09-08 Kenichi Handa <handa@gnu.org>
6639 * international/characters.el: Set category "^" (Combining) for
6642 2013-09-07 Alan Mackenzie <acm@muc.de>
6644 Correctly fontify Java class constructors.
6645 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6647 (c-recognize-typeless-decls): Set the Java value to t.
6648 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6649 While handling a "(", add a check for, effectively, Java, and handle a
6650 "typeless" declaration there.
6652 2013-09-07 Roland Winkler <winkler@gnu.org>
6654 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6655 field subtitle for entry type book.
6657 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6659 * minibuffer.el: Make minibuffer-complete call completion-in-region
6660 rather than other way around.
6661 (completion--some, completion-pcm--find-all-completions):
6662 Don't delay signals when debugging.
6663 (minibuffer-completion-contents): Beware fields within the
6664 minibuffer contents.
6665 (completion-all-sorted-completions): Use defvar-local.
6666 (completion--do-completion, completion--cache-all-sorted-completions)
6667 (completion-all-sorted-completions, minibuffer-force-complete):
6668 Add args `beg' and `end'.
6669 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6670 (minibuffer-complete): Use completion-in-region.
6671 (completion-complete-and-exit): New fun, extracted from
6672 minibuffer-complete-and-exit.
6673 (minibuffer-complete-and-exit): Use it.
6674 (completion--complete-and-exit): Rename from
6675 minibuffer--complete-and-exit.
6676 (completion-in-region--single-word): New function, extracted from
6677 minibuffer-complete-word.
6678 (minibuffer-complete-word): Use it.
6679 (display-completion-list): Make `common-substring' argument obsolete.
6680 (completion--in-region): Call completion--in-region-1 instead of
6681 minibuffer-complete.
6682 (completion-help-at-point): Pass boundaries to
6683 minibuffer-completion-help as args rather than via an overlay.
6684 (completion-pcm--string->pattern): Use `any-delim'.
6685 (completion-pcm--optimize-pattern): New function.
6686 (completion-pcm--pattern->regex): Handle `any-delim'.
6687 * icomplete.el (icomplete-forward-completions)
6688 (icomplete-backward-completions, icomplete-completions):
6689 Adjust calls to completion-all-sorted-completions and
6690 completion--cache-all-sorted-completions.
6691 (icomplete-with-completion-tables): Default to t.
6692 * emacs-lisp/crm.el (crm--current-element): Rename from
6693 crm--select-current-element. Don't put an overlay but return the
6695 (crm--completion-command): Take two new args to bind to the boundaries.
6696 (crm-completion-help): Adjust accordingly.
6697 (crm-complete): Use completion-in-region.
6698 (crm-complete-word): Use completion-in-region--single-word.
6699 (crm-complete-and-exit): Use completion-complete-and-exit.
6701 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6706 2013-09-06 Juri Linkov <juri@jurta.org>
6708 * info.el (Info-display-images-node): When image file doesn't exist
6709 display text version of the image if it's provided in the Info file.
6710 Otherwise, display the location of missing image from SRC attribute.
6711 Add help-echo text property from ALT attribute. (Bug#15279)
6713 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6716 (edit-abbrevs-mode): Use define-derived-mode.
6718 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6719 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6721 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6722 Use define-derived-mode.
6724 * epg.el (epg-start-encrypt): Minor CSE simplification.
6726 2013-09-06 William Xu <william.xwl@gmail.com>
6728 * arc-mode.el: Add support for 7za (bug#15264).
6729 (archive-7z-program): New var.
6730 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6731 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6732 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6734 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6738 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6739 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6740 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6741 (tramp-postfix-host-format, tramp-file-name-regexp)
6742 (tramp-completion-file-name-regexp)
6743 (tramp-completion-dissect-file-name)
6744 (tramp-handle-substitute-in-file-name): Remove 'url case.
6745 (tramp-file-name-regexp-url)
6746 (tramp-completion-file-name-regexp-url): Remove constants.
6748 2013-09-06 Glenn Morris <rgm@gnu.org>
6750 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6752 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6754 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6755 keywords" below "here-doc beginnings" (Bug#15270).
6757 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6759 * subr.el (pop): Use `car-safe'.
6760 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6761 to detect unused `pop' return value.
6763 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6765 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6766 (python-fill-string): Remove unused var `marker'.
6767 (python-skeleton-add-menu-items): Remove unused var `items'.
6769 * international/mule-cmds.el: Require CL.
6770 (find-coding-systems-for-charsets): Avoid add-to-list.
6771 (sanitize-coding-system-list): New function, extracted from
6772 select-safe-coding-system-interactively.
6773 (select-safe-coding-system-interactively): Use it.
6774 (read-input-method-name): Accept symbols for `default'.
6776 * emacs-lisp/advice.el (defadvice): Add indent rule.
6778 2013-09-05 Daniel Hackney <dan@haxney.org>
6782 * net/browse-url.el:
6785 * net/eudcb-ldap.el:
6798 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6799 byte compiler. Remove some unused let-bound variables.
6801 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6803 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6804 a "ref-cell", since it gets better optimized (bug#14883).
6806 2013-09-05 Glenn Morris <rgm@gnu.org>
6808 * progmodes/cc-awk.el (c-forward-sws): Declare.
6810 2013-09-04 Glenn Morris <rgm@gnu.org>
6812 * generic-x.el [rul-generic-mode]: Require cc-mode.
6813 (c++-mode-syntax-table): Declare.
6814 (rul-generic-mode-syntax-table): Init in the defvar.
6816 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6819 (vc-do-command, vc-set-async-update):
6820 * vc/vc-mtn.el (vc-mtn-dir-status):
6821 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6822 (vc-hg-pull, vc-hg-merge-branch):
6823 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6824 (vc-git-merge-branch):
6825 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6826 (vc-cvs-dir-status-files):
6827 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6828 (vc-bzr-dir-status-files):
6829 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6830 * vc/vc-annotate.el: Use lexical-binding.
6831 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6832 (vc-sentinel-movepoint): Declare.
6833 (vc-annotate): Don't use `goto-line'.
6834 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6835 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6836 (vc-sentinel-movepoint): Declare.
6837 * vc/vc-svn.el: Use lexical-binding.
6838 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6840 * vc/vc-rcs.el: Use lexical-binding.
6842 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6843 `deleted'. Don't drop errors silently.
6845 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6847 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6849 * vc/vc.el (vc-ignore): Rewrite.
6850 (vc-default-ignore): New function.
6851 (vc-default-ignore-completion-table): Use find-ignore-file.
6853 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6854 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6855 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6856 Remove. Most code moved to vc.el.
6858 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6860 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6861 * net/tramp-smb.el (tramp-smb-get-file-entries):
6862 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6863 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6865 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6867 (eww-change-select): Remove unused var `properties'.
6868 (eww-make-unique-file-name): Remove unused var `base'.
6870 * finder.el (finder-compile-keywords): Don't mess with windows.
6872 * calculator.el (calculator-funcall): Fix typo in last change.
6874 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6876 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6877 <pkg>-autoloads.el file stop us.
6879 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6880 warnings, and factor out common code.
6882 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6884 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6885 two-character operators and whether the character preceding them
6886 changes their meaning (Bug#15208).
6888 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6890 Format code sent to Python shell for robustness.
6891 * progmodes/python.el (python-shell-buffer-substring):
6893 (python-shell-send-region, python-shell-send-buffer): Use it.
6895 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6897 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6898 * net/tramp.el (tramp-user-error): ... here.
6899 (tramp-find-method, tramp-check-proper-host)
6900 (tramp-dissect-file-name, tramp-debug-message)
6901 (tramp-handle-shell-command):
6902 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6905 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6907 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6909 * avoid.el (mouse-avoidance-point-position)
6910 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6913 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6915 * progmodes/python.el (python-shell-completion-get-completions):
6916 Drop use of deleted `comint-last-prompt-overlay'.
6917 (python-nav-if-name-main): New command.
6919 2013-09-01 Glenn Morris <rgm@gnu.org>
6921 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6922 Avoid leading space in $wins. Otherwise the sed command used by
6923 eg compile-main ends up containing "/*.el". (Bug#15170)
6925 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6927 2013-08-30 Glenn Morris <rgm@gnu.org>
6929 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6930 Fix is-this-a-directory logic. (Bug#15220)
6932 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6934 * textmodes/css-mode.el: Use SMIE.
6935 (css-smie-grammar): New var.
6936 (css-smie--forward-token, css-smie--backward-token)
6937 (css-smie-rules): New functions.
6938 (css-mode): Use them.
6939 (css-navigation-syntax-table): Remove var.
6940 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6941 (css-indent-calculate, css-indent-line): Remove functions.
6943 Misc changes to reduce use of `(lambda...); and other cleanups.
6944 * cus-edit.el: Use lexical-binding.
6945 (customize-push-and-save, customize-apropos)
6946 (custom-buffer-create-internal): Use closures.
6947 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6948 * progmodes/ada-xref.el: Use setq.
6949 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6950 * dframe.el: Use lexical-binding.
6951 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6952 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6953 * descr-text.el: Use lexical-binding.
6954 (describe-text-widget, describe-text-sexp, describe-property-list):
6956 * comint.el (comint-history-isearch-push-state): Use a closure.
6957 * calculator.el: Use lexical-binding.
6958 (calculator-number-to-string): Make it work with lexical-binding.
6959 (calculator-funcall): Same and use cl-letf.
6961 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6962 (lisp--company-doc-string, lisp--company-location): New functions.
6963 (lisp-completion-at-point): Use them to improve Company support.
6965 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6966 params of lambda expressions.
6967 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6968 (ruby-smie--opening-pipe-p): New function.
6969 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6970 symbols and matched |...| for formal params.
6971 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6972 from being treated as hanging. Handle "rescue".
6974 2013-08-29 Glenn Morris <rgm@gnu.org>
6976 * progmodes/cc-engine.el (c-pull-open-brace):
6977 Move definition before use.
6979 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6981 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6982 are immutable. Don't use `unsafe' any more.
6983 (cl--defsubst-expand): Don't substitute at the same time as keeping
6984 a residual unused let-binding. Don't use `unsafe' any more.
6986 2013-08-29 Glenn Morris <rgm@gnu.org>
6988 * calendar/cal-china.el (calendar-chinese-year-cache):
6991 * nxml/nxml-util.el (nxml-debug-clear-inside):
6992 Use cl-loop rather than loop.
6994 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6996 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6998 2013-08-28 Glenn Morris <rgm@gnu.org>
7000 * progmodes/antlr-mode.el: No need to require cc-mode twice.
7002 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
7004 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
7006 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7008 * simple.el (repeat-complex-command--called-interactively-skip):
7010 (repeat-complex-command): Use it (bug#14136).
7012 * progmodes/cc-mode.el: Minor cleanup of var declarations.
7013 (c-define-abbrev-table): Add `doc' argument.
7014 (c-mode-abbrev-table, c++-mode-abbrev-table)
7015 (objc-mode-abbrev-table, java-mode-abbrev-table)
7016 (idl-mode-abbrev-table, pike-mode-abbrev-table)
7017 (awk-mode-abbrev-table): Use it.
7018 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
7019 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
7020 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
7021 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
7022 Move initialization into the declaration; and remove any
7025 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
7026 and dynamic let binding.
7028 * vc/smerge-mode.el: Remove redundant :group args.
7030 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
7033 2013-08-28 Juri Linkov <juri@jurta.org>
7035 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
7036 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
7037 (isearch-other-meta-char): Handle an undefined shifted printing
7038 character by downshifting it. (Bug#15200)
7040 2013-08-28 Juri Linkov <juri@jurta.org>
7042 * isearch.el (isearch-search): Change regexp error message for
7043 non-regexp searches. (Bug#15166)
7045 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
7047 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7048 for portability to hosts where /bin/sh has problems.
7050 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7052 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7054 2013-08-27 Juri Linkov <juri@jurta.org>
7056 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7057 in the keyboard macro. (Bug#15126)
7059 2013-08-27 Juri Linkov <juri@jurta.org>
7061 * isearch.el (isearch-quote-char): Comment out converting unibyte
7062 to multibyte, thus syncing with its `quoted-insert' counterpart.
7065 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7067 * window.el (display-buffer-use-some-window): Add missing
7068 argument in call of get-largest-window (Bug#15185).
7069 Reported by Stephen Leake.
7071 2013-08-27 Glenn Morris <rgm@gnu.org>
7073 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7075 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7078 from a matcher-function unless there's no more matches (bug#15161).
7080 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7082 * minibuffer.el: Revert change from 2013-08-20.
7084 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7085 with text property `tramp-default', if appropriate.
7086 (tramp-check-proper-host): New defun.
7087 (tramp-dissect-file-name): Do not check hostname. Revert change
7089 (tramp-backtrace): Make VEC-OR-PROC optional.
7091 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7092 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7093 * net/tramp-sh.el (tramp-maybe-open-connection):
7094 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7095 Apply `tramp-check-proper-host'.
7097 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7099 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7100 lambda expression in order to have `describe-variable' display it.
7102 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7104 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7105 BUF can be optional. (Bug#15186)
7107 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7109 * progmodes/flymake.el (flymake-get-real-file-name-function):
7110 Fix broken customization. (Bug#15184)
7112 2013-08-25 Alan Mackenzie <acm@muc.de>
7114 Improve indentation of bracelists defined by macros (without "=").
7116 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7117 expansion begins with "{", regard it as bracelist when it doesn't
7120 Parse C++ inher-intro when there's a template split over 2 lines.
7122 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7123 rigorously the search for "class" etc. followed by ":".
7125 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7126 random languages a regexp which never matches rather than nil.
7128 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7130 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7131 (c-awk-regexp-one-line-possibly-open-char-list-re)
7132 (c-awk-one-line-possibly-open-regexp-re)
7133 (c-awk-one-line-non-syn-ws*-re): Remove.
7134 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7135 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7136 (c-awk-space*-unclosed-regexp-/-re): New constants.
7137 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7138 aren't regexp delimiters.
7140 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7141 handling for a rare situation in AWK Mode involving unterminated
7144 2013-08-23 Glenn Morris <rgm@gnu.org>
7146 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7148 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7150 * files.el (create-file-buffer): If the result would begin with
7151 spaces, prepend a "|" instead of removing them. (Bug#15162)
7153 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7156 text-properties (bug#15155).
7158 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7160 (calc-keypad-redraw): Remove unused var `pad'.
7161 (calc-keypad-press): Remove unused var `menu'.
7163 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7165 * window.el (display-buffer-pop-up-frame):
7166 Call pop-up-frame-function with BUFFER current so `make-frame' will
7167 use it as the new frame's buffer (Bug#15133).
7169 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * calendar/timeclock.el: Minor cleanups.
7172 (timeclock-ask-before-exiting, timeclock-use-display-time):
7174 (timeclock-modeline-display): Define as alias before the
7176 (timeclock-mode-line-display): Use define-minor-mode.
7177 (timeclock-day-list-template): Make it a function, add an argument.
7178 (timeclock-day-list-required, timeclock-day-list-length)
7179 (timeclock-day-list-debt, timeclock-day-list-span)
7180 (timeclock-day-list-break): Adjust calls accordingly.
7182 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7185 Use read--expression so that completion works again.
7187 2013-08-21 Sam Steingold <sds@gnu.org>
7189 Add rudimentary inferior shell interaction
7190 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7191 (sh-set-shell): Reset it.
7192 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7193 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7195 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7197 * align.el: Use lexical-binding.
7198 (align-region): Simplify accordingly.
7200 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7202 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7204 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7207 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7211 * net/tramp-cmds.el:
7213 * net/tramp-gvfs.el:
7215 * net/tramp-sh.el: Don't wrap external variable declarations by
7216 `eval-when-compile'.
7218 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7221 now that Emacs supports ImageMagick animations.
7223 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7225 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7226 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7228 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7230 * window.el (mouse-autoselect-window-select): Do autoselect when
7231 mouse pointer is on margin.
7233 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7235 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7237 2013-08-16 Glenn Morris <rgm@gnu.org>
7239 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7240 Handle "Remote Directory" response of some clients. (Bug#15058)
7242 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7243 Tweak warning. (Bug#14926)
7245 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7246 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7248 * image-mode.el (image-mode-map): Add menu items to reverse,
7249 increase, decrease, reset animation speed.
7250 (image--set-speed, image-increase-speed, image-decrease-speed)
7251 (image-reverse-speed, image-reset-speed): New functions.
7252 (image-mode-map): Add bindings for speed commands.
7254 * image.el (image-animate-get-speed, image-animate-set-speed):
7256 (image-animate-timeout): Respect image :speed property.
7258 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7261 previous line (bug#15101).
7262 (debugger-eval-expression, debugger-record-expression):
7263 Use read--expression (bug#15102).
7265 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7267 Remove byte compiler warnings, visible when compiling with
7268 `byte-compile-force-lexical-warnings' set to t.
7270 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7271 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7272 (tramp-handle-unhandled-file-name-directory)
7273 (tramp-handle-file-notify-add-watch, tramp-action-login)
7274 (tramp-action-succeed, tramp-action-permission-denied)
7275 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7278 * net/tramp-adb.el (tramp-adb-parse-device-names)
7279 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7280 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7281 (tramp-adb-handle-file-truename): Remove unused arguments.
7283 * net/tramp-cache.el (tramp-flush-directory-property)
7284 (tramp-flush-connection-property, tramp-list-connections)
7285 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7287 * net/tramp-compat.el (tramp-compat-make-temp-file):
7288 Rename FILENAME to F.
7290 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7291 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7292 (tramp-zeroconf-parse-workstation-device-names)
7293 (tramp-zeroconf-parse-webdav-device-names)
7294 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7296 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7297 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7299 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7301 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7302 (tramp-sh-handle-insert-file-contents-literally)
7303 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7305 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7306 Remove unused variables.
7308 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7309 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7310 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7312 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7313 Make them a defconst.
7314 (tramp-uuencode-region): Remove unused variable.
7316 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7318 * frameset.el (frameset--prop-setter): New function.
7319 (frameset-prop): Add gv-setter declaration.
7320 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7321 parameter was already set in FILTERED. Doc fix.
7322 (frameset--record-minibuffer-relationships): Allow saving a
7323 minibufferless frame without its corresponding minibuffer frame.
7324 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7325 frame, if the frame id matches.
7326 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7327 frames before orphaned ones.
7328 (frameset-restore): Warn about orphaned windows, instead of error out.
7330 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7332 * window.el (window-make-atom): Don't overwrite parameter
7334 (display-buffer-in-atom-window): Handle special case where we
7335 split an already atomic window.
7336 (window--major-non-side-window, display-buffer-in-side-window)
7337 (window--side-check): Ignore minibuffer window when walking
7339 (window-deletable-p): Return 'frame only if no other frame uses
7340 our minibuffer window.
7341 (record-window-buffer): Run buffer-list-update-hook.
7342 (split-window): Make sure window--check-frame won't destroy an
7343 existing atomic window in case the new window gets nested
7345 (display-buffer-at-bottom): Ignore minibuffer window when
7346 walking window tree. Don't split a side window.
7347 (pop-to-buffer): Don't set-buffer here, the select-window call
7349 (mouse-autoselect-window-select): Autoselect only if we are in the
7350 text portion of the window.
7352 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7354 * net/shr.el (shr-parse-image-data): New function to grab both the
7355 data itself and the Content-Type.
7356 (shr-put-image): Use it.
7358 * net/eww.el (eww-display-image): Ditto.
7360 * image.el (image-content-type-suffixes): New variable.
7362 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7364 * progmodes/python.el (python-imenu--build-tree)
7365 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7367 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7369 * simple.el (backward-word): Mention the optional argument.
7371 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * frameset.el (frameset--make): Rename constructor from make-frameset.
7374 (frameset-p, frameset-valid-p): Don't autoload.
7375 (frameset-valid-p): Use normal accessors.
7377 2013-08-13 Glenn Morris <rgm@gnu.org>
7379 * progmodes/compile.el (compile-command): Tweak example in doc.
7380 * obsolete/scribe.el (scribe-mode):
7381 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7383 * mail/feedmail.el (feedmail-confirm-outgoing)
7384 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7386 * cus-start.el (truncate-partial-width-windows): Fix type.
7388 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7390 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7392 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7394 * emacs-lisp/timer.el (timer--time-setter): New function.
7395 (timer--time): Use it as gv-setter.
7397 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7398 setter is not a symbol.
7400 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7402 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7403 if sending fails. This makes debugging easier.
7405 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7407 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7408 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7409 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7411 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7413 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7415 2013-08-12 Glenn Morris <rgm@gnu.org>
7417 * format.el (format-annotate-function):
7418 Handle read-only text properties in the source. (Bug#14887)
7420 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7422 * net/eww.el (eww-display-html): Ignore coding system errors.
7423 One web site uses "utf-8lias" as the coding system.
7425 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7427 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7429 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7431 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7432 (tutorial--detailed-help): Remove unused local variables.
7433 (tutorial--save-tutorial-to): Use ignore-errors.
7434 (help-with-tutorial): Use looking-at-p.
7436 * view.el (view-buffer-other-window, view-buffer-other-frame):
7437 Mark unused arguments.
7439 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7440 (woman-select-symbol-fonts, woman, woman-find-file)
7441 (woman-insert-file-contents, woman-non-underline-faces):
7443 (woman1-unquote): Move declaration.
7445 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7446 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7447 argument. Remove unused local variable.
7448 (xml-parse-elem-type): Use string-match-p.
7449 (xml-substitute-numeric-entities): Use ignore-errors.
7451 * calculator.el (calculator): Mark unused argument.
7452 (calculator-paste, calculator-quit, calculator-integer-p):
7454 (calculator-string-to-number, calculator-decimal, calculator-exp)
7455 (calculator-op-or-exp): Use string-match-p.
7457 * dired.el (dired-buffer-more-recently-used-p): Declare.
7458 (dired-insert-set-properties, dired-insert-old-subdirs):
7461 * dired-aux.el (dired-compress): Use ignore-errors.
7462 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7463 (dired-do-async-shell-command, dired-do-shell-command)
7464 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7465 (dired-insert-subdir-validate): Use string-match-p.
7466 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7467 (dired-add-entry): Use string-match-p, looking-at-p.
7468 (dired-insert-subdir-newpos): Remove unused local variable.
7470 * filenotify.el (file-notify-callback): Remove unused local variable.
7472 * filesets.el (filesets-error): Mark unused argument.
7473 (filesets-which-command-p, filesets-filter-dir-names)
7474 (filesets-directory-files, filesets-get-external-viewer)
7475 (filesets-ingroup-get-data): Use string-match-p.
7477 * find-file.el (ff-other-file-name, ff-other-file-name)
7478 (ff-find-the-other-file, ff-cc-hh-converter):
7479 Remove unused local variables.
7480 (ff-get-file-name): Use string-match-p.
7481 (ff-all-dirs-under): Use ignore-errors.
7483 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7484 (follow-select-if-visible): Remove unused local variable.
7486 * forms.el (read-file-filter): Move declaration.
7487 (forms--make-format, forms--make-parser, forms-insert-record):
7488 Quote function with #'.
7489 (forms--update): Use string-match-p. Quote function with #'.
7491 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7492 (help-make-xrefs): Use looking-at-p.
7493 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7495 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7496 (ibuffer-confirm-operation-on): Use string-match-p.
7498 * msb.el (msb-item-handler, msb-dired-item-handler):
7499 Mark unused arguments.
7501 * ses.el (ses-decode-cell-symbol)
7502 (ses-kill-override): Remove unused local variable.
7503 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7504 (ses-load): Use ignore-errors, looking-at-p.
7505 (ses-jump-safe): Use ignore-errors.
7506 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7508 * tabify.el (untabify, tabify): Mark unused arguments.
7510 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7511 Mark unused argument.
7512 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7513 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7515 * emacs-lisp/timer.el (timer--time): Define setter with
7516 gv-define-setter to avoid deprecation warning.
7518 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7519 (*record-cmpl-statistics-p*): Remove (was commented out).
7520 (cmpl-statistics-block): Remove (body was commented out).
7521 All callers changed.
7522 (add-completions-from-buffer, load-completions-from-file):
7523 Remove unused variables.
7525 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7527 * filecache.el (file-cache-delete-file-list):
7528 Print message only when told so.
7529 (file-cache-files-matching): Use #' in mapconcat argument.
7531 * ffap.el (ffap-url-at-point): Fix reference to variable
7532 thing-at-point-default-mail-uri-scheme.
7534 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * subr.el (define-error): New function.
7537 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7538 error-file-not-found and define with define-error.
7539 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7540 and define with define-error.
7541 * userlock.el (file-locked, file-supersession):
7542 * simple.el (mark-inactive):
7543 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7544 * progmodes/ada-mode.el (ada-mode-errors):
7545 * play/life.el (life-extinct):
7546 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7547 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7548 * nxml/rng-util.el (rng-error):
7549 * nxml/rng-uri.el (rng-uri-error):
7550 * nxml/rng-match.el (rng-compile-error):
7551 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7552 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7553 * nxml/nxml-rap.el (nxml-scan-error):
7554 * nxml/nxml-outln.el (nxml-outline-error):
7555 * net/soap-client.el (soap-error):
7556 * net/gnutls.el (gnutls-error):
7557 * net/ange-ftp.el (ftp-error):
7558 * mpc.el (mpc-proc-error):
7559 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7560 (json-number-format, json-string-escape, json-string-format)
7561 (json-key-format, json-object-format):
7562 * jka-compr.el (compression-error):
7563 * international/quail.el (quail-error):
7564 * international/kkc.el (kkc-error):
7565 * emacs-lisp/ert.el (ert-test-failed):
7566 * calc/calc.el (calc-error, inexact-result, math-overflow)
7568 * bookmark.el (bookmark-error-no-filename):
7569 * epg.el (epg-error): Define with define-error.
7571 * time.el (display-time-event-handler)
7572 (display-time-next-load-average): Don't call sit-for since it seems
7573 unnecessary (bug#15045).
7575 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7576 Use #' instead of ' to quote functions.
7577 (checkdoc-output-mode): Use setq-local.
7578 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7579 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7580 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7581 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7582 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7583 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7584 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7585 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7587 * ido.el (ido-completion-help): Fix up compiler warning.
7589 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7591 * frameset.el (frameset-p): Add autoload cookie.
7592 (frameset--jump-to-register): New function, based on code moved from
7594 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7596 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7597 (frameset-restore, frameset-save, frameset-session-filter-alist):
7598 Remove declarations.
7599 (register-alist): Doc fix.
7600 (frameset-to-register): Move to frameset.el.
7601 (jump-to-register, describe-register-1): Remove frameset-specific code.
7603 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7605 * allout-widgets.el (allout-widgets-pre-command-business)
7606 (allout-widgets-post-command-business)
7607 (allout-widgets-after-change-handler)
7608 (allout-decorate-item-and-context, allout-set-boundary-marker)
7609 (allout-body-modification-handler)
7610 (allout-graphics-modification-handler): Mark ignored arguments.
7611 (allout-widgets-post-command-business)
7612 (allout-widgets-exposure-change-processor)
7613 (allout-widgets-exposure-undo-processor)
7614 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7615 (allout-parse-item-at-point, allout-decorate-item-guides)
7616 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7617 * allout.el (epa-passphrase-callback-function): Declare.
7618 (allout-overlay-insert-in-front-handler)
7619 (allout-overlay-interior-modification-handler)
7620 (allout-isearch-end-handler, allout-chart-siblings)
7621 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7622 (allout-yank-processing, allout-process-exposed)
7623 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7624 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7625 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7626 (lisp-indent-defform): Mark ignored arguments.
7627 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7628 (calculate-lisp-indent): Remove unused variables.
7629 * international/characters.el (indian-2-column, arabic-2-column)
7630 (tibetan): Mark ignored arguments.
7631 (use-cjk-char-width-table): Mark ignored arguments.
7632 Remove unused variables.
7633 * international/fontset.el (build-default-fontset-data)
7634 (x-compose-font-name, create-fontset-from-fontset-spec):
7635 Mark ignored arguments.
7636 (fontset-plain-name): Remove unused variables.
7637 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7638 (keyboard-coding-system): Mark ignored arguments.
7639 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7640 * help.el (resize-temp-buffer-window):
7641 * window.el (display-buffer-in-major-side-window)
7642 (display-buffer-in-side-window, display-buffer-in-previous-window):
7643 Remove unused variables.
7644 * isearch.el (isearch-forward-symbol):
7645 * version.el (emacs-bzr-version-bzr):
7646 * international/mule-cmds.el (current-language-environment):
7647 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7649 * term/pc-win.el (x-list-fonts, x-display-planes)
7650 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7651 (x-server-version, x-display-screens, x-display-mm-height)
7652 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7653 (x-selection-owner-p, x-own-selection-internal)
7654 (x-disown-selection-internal, x-get-selection-internal)
7655 (msdos-initialize-window-system):
7656 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7657 * term/x-win.el (x-handle-no-bitmap-icon):
7658 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7659 (vc-default-find-file-hook, vc-default-extra-menu):
7660 Mark ignored arguments.
7662 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7664 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7665 break-condition in the context of the debugged code (bug#12685).
7667 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7670 Do not use an overlay to highlight the last prompt. (Bug#14744)
7671 (comint-mode): Make comint-last-prompt buffer local.
7672 (comint-last-prompt): New variable.
7673 (comint-last-prompt-overlay): Remove. Superseded by
7675 (comint-snapshot-last-prompt, comint-output-filter):
7676 Use comint-last-prompt.
7678 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7680 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7681 (frameset-save): Check validity of the resulting frameset.
7683 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7685 * ido.el (ido-record-command): Add doc string.
7687 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7689 * frameset.el (frameset): Do not disable creation of the default
7690 frameset-p predicate. Doc fix.
7691 (frameset-valid-p): New function, copied from the old predicate-p.
7692 Add additional checks.
7693 (frameset-restore): Check with frameset-valid-p.
7694 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7695 (frameset-name, frameset-description, frameset-properties)
7696 (frameset-states): Add docstring.
7697 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7698 (frameset-filter-alist): Doc fixes.
7700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7702 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7704 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7707 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7708 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7709 (byte-compile-normal-call): Remove obsolescence check.
7711 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7713 * frameset.el (frameset-restore): Doc fix.
7715 * register.el (frameset-frame-id, frameset-frame-with-id)
7716 (frameset-p, frameset-restore, frameset-save): Declare.
7717 (register-alist): Document framesets.
7718 (frameset-session-filter-alist): Declare.
7719 (frameset-to-register): New function.
7720 (jump-to-register): Implement jumping to framesets. Doc fix.
7721 (describe-register-1): Describe framesets.
7723 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7725 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7727 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7728 Use lexical-binding.
7730 * frameset.el (frameset): Use type vector, not list (incompatible
7731 change). Do not declare a new constructor, use the default one.
7732 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7733 `name' and `description', respectively, and add read-only slot
7734 `timestamp'. Doc fixes.
7735 (frameset-copy, frameset-persistent-filter-alist)
7736 (frameset-filter-alist, frameset-switch-to-gui-p)
7737 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7738 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7739 (frameset-filter-iconified, frameset-keep-original-display-p):
7741 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7742 Rename from frameset-filter-(save|restore)-param. All callers changed.
7744 (frameset-p): Adapt to change to vector and be more thorough.
7745 Change arg name to OBJECT. Doc fix.
7746 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7747 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7748 All callers changed.
7749 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7750 All callers changed.
7751 (frameset--record-minibuffer-relationships): Rename from
7752 frameset--process-minibuffer-frames. All callers changed.
7753 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7754 Use new default constructor (again). Doc fix.
7755 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7756 All callers changed.
7757 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7758 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7760 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7761 PARAMETERS and WINDOW-STATE, respectively.
7762 (frameset-restore): Add new keyword argument PREDICATE.
7763 Reset frameset--target-display to nil. Doc fix.
7765 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7767 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7769 (bat-mode-syntax-table): Mark \n as end-of-comment.
7770 (bat-font-lock-keywords): Remove comment rule.
7772 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7773 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7775 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7776 (byte-compile-callargs-warn): Use `push'.
7777 (byte-compile-arglist-warn): Ignore higher-order "calls".
7778 (byte-compile-file-form-autoload): Use `pcase'.
7779 (byte-compile-function-form): If quoting a symbol, check that it exists.
7781 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7783 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7784 and add a few popular commands found in batch files.
7785 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7786 (dos-mode): Doc fixes.
7788 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7791 (dos-mode): Use setq-local. Add space after "rem".
7792 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7793 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7795 2013-08-07 Arni Magnusson <arnima@hafro.is>
7797 * progmodes/dos.el: New file.
7798 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7801 2013-08-06 Glenn Morris <rgm@gnu.org>
7803 * calendar/calendar.el: Add new faces, and day-header-array.
7804 (calendar-weekday-header, calendar-weekend-header)
7805 (calendar-month-header): New faces.
7806 (calendar-day-header-construct): New function.
7807 (calendar-day-header-width): Also :set calendar-day-header-array.
7808 (calendar-american-month-header, calendar-european-month-header)
7809 (calendar-iso-month-header): Use calendar- faces.
7810 (calendar-generate-month):
7811 Use calendar-day-header-array for day headers; apply faces to them.
7812 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7813 (calendar-abbrev-construct): Add optional maxlen argument.
7814 (calendar-day-name-array): Doc fix.
7815 (calendar-day-name-array, calendar-abbrev-length)
7816 (calendar-day-abbrev-array):
7817 Also :set calendar-day-header-array, and maybe redraw.
7818 (calendar-day-header-array): New option. (Bug#15007)
7819 (calendar-font-lock-keywords): Set to nil and make obsolete.
7820 (calendar-day-name): Add option to use header array.
7822 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7824 * net/shr.el (shr-render-td): Remove debugging.
7825 (shr-render-td): Make width computation consistent by defaulting
7826 all zero-width columns to 10 characters. This may not be optimal,
7827 but it's at least consistent.
7828 (shr-make-table-1): Redo last change to fix the real problem in
7831 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7833 * files.el (cache-long-line-scans):
7834 Make obsolete alias to `cache-long-scans'.
7836 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7838 * frameset.el (frameset, frameset-filter-alist)
7839 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7840 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7841 (frameset-compute-pos): Rename from frameset--compute-pos,
7843 (frameset-move-onscreen): Use frameset-compute-pos.
7844 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7846 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7847 Fix typos in docstrings.
7849 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7851 * frame.el (get-other-frame): Tiny cleanup.
7853 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7855 * vc/vc.el (vc-default-ignore-completion-table):
7856 Silence byte-compiler warning.
7858 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7859 slot, which can indeed be nil.
7860 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7861 Move entry for `left' from persistent to live filter alist.
7862 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7864 (frameset-filter-params): When restoring a frame, copy items added to
7865 `filtered', to avoid unwittingly modifying the original parameters.
7866 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7867 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7869 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7870 to use looking-at-p instead of looking-at. (Bug#15028)
7872 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7874 Revert introduction of isearch-filter-predicates (bug#14714).
7875 Rely on add-function instead.
7876 * isearch.el (isearch-filter-predicates): Rename it back to
7877 isearch-filter-predicate.
7878 (isearch-message-prefix): Use advice-function-mapc and advice
7879 properties to get the isearch-message-prefix.
7880 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7881 instead of run-hook-with-args-until-failure.
7882 (isearch-filter-visible): Not obsolete any more.
7883 * loadup.el: Preload nadvice.
7884 * replace.el (perform-replace): Revert to funcall
7885 instead of run-hook-with-args-until-failure.
7886 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7887 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7888 dired-isearch-filenames-toggle; make it into a proper minor mode.
7889 Use add/remove-function.
7890 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7891 Call the minor-mode rather than add/remove-hook.
7892 (dired-isearch-filter-filenames):
7893 Remove isearch-message-prefix property.
7894 * info.el (Info--search-loop): New function, extracted from Info-search.
7895 Funcall isearch-filter-predicate instead of
7896 run-hook-with-args-until-failure isearch-filter-predicates.
7897 (Info-search): Use it.
7898 (Info-mode): Use isearch-filter-predicate instead of
7899 isearch-filter-predicates.
7901 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7903 Do not call to `selected-window' where it is assumed by default.
7904 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7905 `window-hscroll', `window-width', `window-height', `window-buffer',
7906 `window-frame', `window-start', `window-point', `next-window'
7907 and `window-display-table'.
7908 * abbrev.el (abbrev--default-expand):
7909 * bs.el (bs--show-with-configuration):
7910 * buff-menu.el (Buffer-menu-mouse-select):
7911 * calc/calc.el (calc):
7912 * calendar/calendar.el (calendar-generate-window):
7913 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7915 * comint.el (send-invisible, comint-dynamic-complete-filename)
7916 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7917 * completion.el (complete):
7918 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7919 * disp-table.el (describe-current-display-table):
7920 * doc-view.el (doc-view-insert-image):
7921 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7922 * ehelp.el (with-electric-help):
7923 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7924 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7925 * emacs-lisp/helper.el (Helper-help-scroller):
7926 * emulation/cua-base.el (cua--post-command-handler-1):
7927 * eshell/esh-mode.el (eshell-output-filter):
7928 * ffap.el (ffap-gnus-wrapper):
7929 * help-macro.el (make-help-screen):
7930 * hilit-chg.el (highlight-compare-buffers):
7931 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7932 * hl-line.el (global-hl-line-highlight):
7933 * icomplete.el (icomplete-simple-completing-p):
7934 * isearch.el (isearch-done):
7935 * jit-lock.el (jit-lock-stealth-fontify):
7936 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7937 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7938 * mpc.el (mpc-tagbrowser, mpc):
7939 * net/rcirc.el (rcirc-any-buffer):
7940 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7941 * play/landmark.el (landmark-max-width, landmark-max-height):
7942 * play/zone.el (zone):
7943 * progmodes/compile.el (compilation-goto-locus):
7944 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7945 * progmodes/etags.el (find-tag-other-window):
7946 * progmodes/fortran.el (fortran-column-ruler):
7947 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7948 * progmodes/verilog-mode.el (verilog-point-text):
7949 * reposition.el (reposition-window):
7950 * rot13.el (toggle-rot13-mode):
7951 * server.el (server-switch-buffer):
7952 * shell.el (shell-dynamic-complete-command)
7953 (shell-dynamic-complete-environment-variable):
7954 * simple.el (insert-buffer, set-selective-display)
7955 (delete-completion-window):
7956 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7957 (speedbar-recenter):
7958 * startup.el (fancy-splash-head):
7959 * textmodes/ispell.el (ispell-command-loop):
7960 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7961 * tutorial.el (help-with-tutorial):
7962 * vc/add-log.el (add-change-log-entry):
7963 * vc/compare-w.el (compare-windows):
7964 * vc/ediff-help.el (ediff-indent-help-message):
7965 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7966 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7967 (ediff-setup-control-frame):
7968 * vc/emerge.el (emerge-position-region):
7969 * vc/pcvs-util.el (cvs-bury-buffer):
7970 * window.el (walk-windows, mouse-autoselect-window-select):
7971 * winner.el (winner-set-conf, winner-undo): Related users changed.
7973 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7975 * frameset.el (frameset--set-id): Doc fix.
7976 (frameset-frame-id, frameset-frame-id-equal-p)
7977 (frameset-locate-frame-id): New functions.
7978 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7979 (frameset-restore): Use them.
7981 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7983 Do not call to `selected-frame' where it is assumed by default.
7984 Affected functions are `raise-frame', `redraw-frame',
7985 `frame-first-window', `frame-terminal' and `delete-frame'.
7986 * calendar/appt.el (appt-disp-window):
7987 * epg.el (epg-wait-for-completion):
7988 * follow.el (follow-delete-other-windows-and-split)
7989 (follow-avoid-tail-recenter):
7990 * international/mule.el (set-terminal-coding-system):
7991 * mail/rmail.el (rmail-mail-return):
7992 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7993 * progmodes/f90.el (f90-add-imenu-menu):
7994 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7995 * server.el (server-switch-buffer):
7996 * simple.el (delete-completion-window):
7998 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7999 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
8000 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
8001 * vc/ediff.el (ediff-documentation): Related users changed.
8002 * frame.el (selected-terminal): Remove the leftover.
8004 2013-08-05 Glenn Morris <rgm@gnu.org>
8006 * calendar/calendar.el (calendar-generate-month):
8007 Fix for calendar-column-width != 1 + calendar-day-digit-width.
8008 (calendar-generate-month, calendar-font-lock-keywords):
8009 Fix for calendar-day-header-width > length of any day name.
8011 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
8013 * desktop.el (desktop-clear): Use new name of sort predicate.
8015 * frameset.el (frameset): Add docstring. Move :version property to its
8017 (frameset-copy): Rename from copy-frameset.
8018 (frameset-p): Check more thoroughly.
8019 (frameset-prop): Do not check for :version, which is no longer a prop.
8020 (frameset-live-filter-alist, frameset-persistent-filter-alist):
8021 Use new :never value instead of t.
8022 (frameset-filter-alist): Expand and clarify docstring.
8023 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
8024 (frameset-filter-minibuffer, frameset-filter-save-param)
8025 (frameset-filter-restore-param, frameset-filter-iconified):
8026 Add pointer to docstring of frameset-filter-alist.
8027 (frameset-filter-params): Rename filter values to be more meaningful:
8028 :never instead of t, and reverse the meanings of :save and :restore.
8029 (frameset--process-minibuffer-frames): Clarify error message.
8030 (frameset-save): Avoid unnecessary and confusing call to framep.
8031 Use new BOA constructor for framesets.
8032 (frameset--reuse-list): Doc fix.
8033 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
8034 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
8035 (frameset-minibufferless-first-p): Doc fix.
8036 Rename from frameset-sort-frames-for-deletion.
8037 (frameset-restore): Doc fixes. Use new function names.
8038 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
8040 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8042 * desktop.el (desktop-restore-forces-onscreen)
8043 (desktop-restore-reuses-frames): Document :keyword constant values.
8044 (desktop-filter-parameters-alist): Remove, now identical to
8045 frameset-filter-alist.
8046 (desktop--filter-tty*): Remove, moved to frameset.el.
8047 (desktop-save-frameset, desktop-restore-frameset):
8048 Do not pass :filters argument.
8050 * frameset.el (frameset-live-filter-alist)
8051 (frameset-persistent-filter-alist): New variables.
8052 (frameset-filter-alist): Use them. Add autoload cookie.
8053 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8054 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8055 `frameset--id' (it's supposed to be internal to frameset.el).
8056 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8057 (frameset--initial-params): New function.
8058 (frameset--get-frame): Use it. Doc fix.
8059 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8060 Accept :all, not 'all.
8061 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8062 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8063 with fbound symbols. Fix frame id matching, and remove matching ids if
8064 the frame being restored is deleted. Obey :delete.
8066 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * subr.el (macrop): New function.
8069 (text-clone--maintaining): New var.
8070 (text-clone--maintain): Rename from text-clone-maintain. Use it
8071 instead of inhibit-modification-hooks.
8073 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8074 a proxy, so as handle autoloads and redefinitions of the target.
8075 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8077 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8078 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8079 (pcase--mutually-exclusive-p): New function.
8080 (pcase--split-consp): Use it.
8081 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8082 mutually exclusive with the current predicate.
8084 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8085 (edebug-macrop): Remove. Use `macrop' instead.
8086 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8088 * eshell/esh-cmd.el (eshell-macrop):
8089 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8091 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8093 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8094 (advice-mapc): New function, using it.
8095 (advice-function-member-p): New function.
8096 (advice--normalize): Store the cdr in advice--saved-rewrite since
8097 that's the part that will be changed.
8098 (advice--symbol-function): New function.
8099 (advice-remove): Handle removal before the function is defined.
8100 Adjust to new advice--saved-rewrite.
8101 (advice-member-p): Use advice-function-member-p and
8102 advice--symbol-function.
8104 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8106 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8107 (frameset-filter-minibuffer): Doc fix.
8108 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8109 (frameset--set-id, frameset--process-minibuffer-frames)
8110 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8111 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8113 * desktop.el (desktop-clear): Only delete frames when called
8114 interactively and desktop-restore-frames is non-nil. Doc fix.
8115 (desktop-read): Set desktop-saved-frameset to nil.
8117 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8119 * vc/vc.el (vc-ignore): Rewrite.
8120 (vc-default-ignore-completion-table, vc--read-lines)
8121 (vc--add-line, vc--remove-regexp): New functions.
8123 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8124 (vc-svn-ignore-completion-table): New function.
8126 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8127 (vc-hg-ignore-completion-table)
8128 (vc-hg-find-ignore-file): New functions.
8130 * vc/vc-git.el (vc-git-ignore): Rewrite.
8131 (vc-git-ignore-completion-table)
8132 (vc-git-find-ignore-file): New functions.
8134 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8136 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8137 (vc-bzr-ignore-completion-table)
8138 (vc-bzr-find-ignore-file): New functions.
8140 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8142 * frameset.el (frameset-prop): New function and setter.
8143 (frameset-save): Do not modify frame list passed by the caller.
8145 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8147 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8149 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8152 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8154 * custom.el (custom-initialize-default, custom-initialize-set)
8155 (custom-initialize-reset, custom-initialize-changed): Affect the
8156 toplevel-default-value (bug#6275, bug#14586).
8157 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8160 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8162 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8163 Add cl-def* expressions.
8165 * frameset.el (frameset-filter-params): Fix order of arguments.
8167 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8169 Move code related to saving frames to frameset.el.
8170 * desktop.el: Require frameset.
8171 (desktop-restore-frames): Doc fix.
8172 (desktop-restore-reuses-frames): Rename from
8173 desktop-restoring-reuses-frames.
8174 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8175 (desktop-clear): Clear frames too.
8176 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8177 (desktop--filter-tty*, desktop-save, desktop-read):
8178 Use frameset functions.
8179 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8180 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8181 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8182 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8183 (desktop--process-minibuffer-frames, desktop-save-frames)
8184 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8185 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8186 (desktop--sort-states, desktop-restoring-frames-p)
8187 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8188 (desktop-restoring-frameset-p, desktop-restore-frameset)
8189 (desktop--check-dont-save, desktop-save-frameset): New functions.
8190 (desktop--app-id): New constant.
8191 (desktop-first-buffer, desktop-buffer-ok-count)
8192 (desktop-buffer-fail-count): Move before first use.
8193 * frameset.el: New file.
8195 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8197 * files.el: Use lexical-binding.
8198 (dir-locals-read-from-file): Remove unused `err' variable.
8199 (hack-dir-local-variables--warned-coding): New var.
8200 (hack-dir-local-variables): Use it to avoid repeated warnings.
8201 (make-backup-file-name--default-function): New function.
8202 (make-backup-file-name-function): Use it as default.
8203 (buffer-stale--default-function): New function.
8204 (buffer-stale-function): Use it as default.
8205 (revert-buffer-insert-file-contents--default-function): New function.
8206 (revert-buffer-insert-file-contents-function): Use it as default.
8207 (insert-directory): Avoid add-to-list.
8209 * autorevert.el (auto-revert-handler): Simplify.
8210 Use buffer-stale--default-function.
8212 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8214 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8216 * whitespace.el (whitespace-ensure-local-variables): New function.
8217 (whitespace-cleanup-region): Call it.
8218 (whitespace-turn-on): Call it.
8220 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8222 Complete file name handlers.
8224 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8225 (tramp-handle-verify-visited-file-modtime)
8226 (tramp-handle-file-notify-rm-watch): New functions.
8227 (tramp-call-process): Do not bind `default-directory'.
8229 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8230 Order alphabetically.
8231 <access-file, add-name-to-file, dired-call-process>:
8232 <dired-compress-file, file-acl, file-notify-rm-watch>:
8233 <file-ownership-preserved-p, file-selinux-context>:
8234 <make-directory-internal, make-symbolic-link, set-file-acl>:
8235 <set-file-selinux-context, set-visited-file-modtime>:
8236 <verify-visited-file-modtime>: Add handler.
8237 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8239 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8240 <file-notify-add-watch, file-notify-rm-watch>:
8241 <set-file-times, set-visited-file-modtime>:
8242 <verify-visited-file-modtime>: Add handler.
8243 (with-tramp-gvfs-error-message)
8244 (tramp-gvfs-handle-set-visited-file-modtime)
8245 (tramp-gvfs-fuse-file-name): Remove.
8246 (tramp-gvfs-handle-file-notify-add-watch)
8247 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8248 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8250 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8251 Order alphabetically.
8252 <file-notify-rm-watch>: Use default Tramp handler.
8253 <executable-find>: Remove private handler.
8254 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8255 `default-directory'.
8256 (tramp-sh-handle-executable-find)
8257 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8258 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8259 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8260 Do not use `format' in `tramp-message'.
8262 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8263 <file-notify-rm-watch, set-visited-file-modtime>:
8264 <verify-visited-file-modtime>: Add handler.
8265 (tramp-smb-call-winexe): Do not bind `default-directory'.
8267 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8269 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8271 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8273 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8275 (log-view-diff-changeset): Same.
8276 (log-view-diff-common): Call backend command `previous-revision'
8277 to find out the previous revision, in both cases. Swap the
8278 variables `to' and `fr', so that `fr' usually refers to the
8279 earlier revision (Bug#14989).
8281 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8283 * ibuf-ext.el (ibuffer-filter-by-filename):
8284 Make it work with dired buffers too.
8286 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8288 * emacs-lisp/re-builder.el (reb-color-display-p):
8289 * files.el (save-buffers-kill-terminal):
8290 * net/browse-url.el (browse-url):
8291 * server.el (server-save-buffers-kill-terminal):
8292 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8293 Prefer nil to selected-frame for the first arg of frame-parameter.
8295 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8297 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8299 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8301 * minibuffer.el (completion--twq-all): Try and preserve each
8302 completion's case choice (bug#14907).
8304 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306 * net/network-stream.el (open-network-stream): Mention the new
8307 :nogreeting parameter.
8308 (network-stream-open-starttls): Use the :nogreeting parameter
8311 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8313 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8314 more natural than popping.
8316 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8317 (shr-urlify): Highlight under mouse.
8319 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8321 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8323 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8325 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8328 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8329 point-min==1. Fix search string. Fix parentheses missing.
8331 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8332 assume point-min==1. Fix search string. Fix parentheses missing.
8334 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8336 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8339 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8341 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8342 initial frame is minibuffer-less. (Bug#14841)
8344 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8346 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8349 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8350 (tramp-maybe-open-connection): Use it.
8352 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8354 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8355 minimal set of parameters passed when creating a frame, because
8356 the minibuffer status of a frame cannot be changed later.
8358 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8360 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8361 replace-regexp-in-string and inadvertent omissions in previous change.
8362 (todo-filter-items): Ensure only file names are comma-separated in
8363 name of filtered items buffer.
8365 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8367 * desktop.el: Optionally force offscreen frames back onscreen.
8368 (desktop-restoring-reuses-frames): New option.
8369 (desktop--compute-pos, desktop--move-onscreen): New functions.
8370 (desktop--make-frame): Use desktop--move-onscreen.
8372 2013-07-27 Alan Mackenzie <acm@muc.de>
8374 Fontify a Java generic method as a function.
8375 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8378 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8380 * calendar/todo-mode.el: Add command to rename todo files.
8381 (todo-rename-file): New command.
8382 (todo-key-bindings-t): Add key binding for it. Change the
8383 bindings of todo-filter-regexp-items(-multifile) to use `x'
8384 instead of `r', since the latter is better suited to the new
8387 2013-07-27 Alan Mackenzie <acm@muc.de>
8389 Make Java try-with-resources statement parse properly.
8390 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8391 (c-block-stmt-1-2-key): New language constants/variables.
8392 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8393 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8394 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8395 with c-block-stmt-1-2-key.
8397 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8399 * desktop.el (desktop--make-frame): Apply most frame parameters after
8400 creating the frame to force (partially or totally) offscreen frames to
8401 be restored as such.
8403 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8405 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8408 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8410 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8411 `base' arg of backtrace-frame.
8413 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8415 * simple.el (list-processes): Doc fix.
8417 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8419 * desktop.el (desktop--select-frame):
8420 Try harder to reuse existing frames.
8422 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8425 (edebug-eval): Use backtrace-eval.
8426 (edebug--display, edebug--recursive-edit): Don't let-bind the
8427 edebug-outer-* vars that keep track of variables we locally let-bind.
8428 (edebug-outside-excursion): Don't restore outside values of locally
8430 (edebug--display): Use user-error.
8431 (cl-lexical-debug, cl-debug-env): Remove.
8433 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8435 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8436 are restored to be sure that they are visible before deleting any
8439 2013-07-26 Matthias Meulien <orontee@gmail.com>
8441 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8442 vc-print-root-log. (Bug#14948)
8444 2013-07-26 Richard Stallman <rms@gnu.org>
8446 Add aliases for encrypting mail.
8447 * epa.el (epa-mail-aliases): New option.
8448 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8449 Bind inhibit-read-only so read-only text doesn't ruin everything.
8450 (epa-mail-default-recipients): New subroutine broken out.
8451 Handle epa-mail-aliases.
8453 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8455 Add support for lexical variables to the debugger's `e' command.
8456 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8457 vars, except for debugger-outer-match-data.
8458 (debugger-frame-number): Move check for "on a function call" from
8459 callers into it. Add `skip-base' argument.
8460 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8461 (debugger-env-macro): Only reset the state stored in non-variables,
8462 i.e. current-buffer and match-data.
8463 (debugger-eval-expression): Rewrite using backtrace-eval.
8464 * subr.el (internal--called-interactively-p--get-frame): Remove.
8465 (called-interactively-p):
8466 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8467 `base' arg of backtrace-frame instead.
8469 2013-07-26 Glenn Morris <rgm@gnu.org>
8471 * align.el (align-regexp): Doc fix. (Bug#14857)
8472 (align-region): Explicit error if subexpression missing/does not match.
8474 * simple.el (global-visual-line-mode):
8475 Do not duplicate the mode lighter. (Bug#14858)
8477 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8479 * window.el (display-buffer): In display-buffer bind
8480 split-window-keep-point to t, bug#14829.
8482 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8484 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8485 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8486 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8487 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8489 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8490 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8492 2013-07-25 Glenn Morris <rgm@gnu.org>
8494 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8496 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8498 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8499 parameter to modify-frame-parameters if the value has not changed;
8500 this is a workaround for bug#14949.
8501 (desktop--make-frame): On cl-delete-if call, check parameter name,
8504 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8506 * vc/vc.el (vc-ignore): New function.
8508 * vc/vc-svn.el (vc-svn-ignore): New function.
8510 * vc/vc-hg.el (vc-hg-ignore): New function.
8512 * vc/vc-git.el (vc-git-ignore): New function.
8514 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8515 (vc-dir-ignore): New function.
8517 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8518 (cvs-append-to-ignore): Move here from pcvs.el.
8520 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8522 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8524 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8526 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8527 (desktop-restore-frames): Warn when deleting an existing frame failed.
8529 2013-07-24 Glenn Morris <rgm@gnu.org>
8531 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8533 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8535 * filenotify.el (file-notify-supported-p):
8536 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8539 * autorevert.el (auto-revert-use-notify)
8540 (auto-revert-notify-add-watch):
8541 * net/tramp.el (tramp-file-name-for-operation):
8542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8544 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8545 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8546 Remove `file-notify-supported-p' entry.
8548 2013-07-24 Glenn Morris <rgm@gnu.org>
8550 * printing.el: Replace all uses of deleted ps-windows-system,
8551 ps-lp-system, ps-flatten-list with lpr- versions.
8553 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8556 checked with memq (bug#14935).
8558 * files.el (revert-buffer-function): Use a non-nil default.
8559 (revert-buffer-preserve-modes): Declare var to
8560 provide access to the `preserve-modes' argument.
8561 (revert-buffer): Let-bind it.
8562 (revert-buffer--default): New function, extracted from revert-buffer.
8564 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8566 * lpr.el: Signal print errors more prominently.
8567 (print-region-function): Don't default to nil.
8568 (lpr-print-region): New function, extracted from print-region-1.
8569 Check lpr's return value and signal an error in case of problem.
8570 (print-region-1): Use it.
8571 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8573 (ps-printer-name): Default to nil.
8574 (ps-printer-name-option): Default to lpr-printer-switch.
8575 (ps-print-region-function): Don't default to nil.
8576 (ps-postscript-code-directory): Simplify default.
8577 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8578 (ps-string-list, ps-eval-switch, ps-flatten-list)
8579 (ps-flatten-list-1): Remove.
8580 (ps-multibyte-buffer): Avoid setq.
8581 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8582 (print-region-function, ps-print-region-function): Don't set them here.
8584 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8586 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8587 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8588 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8589 (ido-decorations): Doc fix.
8591 * ansi-color.el: Fix old URL.
8593 2013-07-23 Michael R. Mauger <michael@mauger.com>
8595 * progmodes/sql.el: Version 3.3
8596 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8597 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8598 (sql-interactive-remove-continuation-prompt): Rewrite, use
8599 functions above. Fix continuation prompt and complete output line
8601 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8602 redirected output buffer.
8603 (sql-mode): Restore deleted code (Bug#13591).
8605 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8607 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8609 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8611 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8613 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8617 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8619 * desktop.el (desktop-clear): Simplify; remove useless checks
8620 against invalid buffer names.
8621 (desktop-list*): Use cl-list*.
8622 (desktop-buffer-info, desktop-create-buffer): Simplify.
8624 2013-07-23 Leo Liu <sdl.web@gmail.com>
8626 * bookmark.el (bookmark-make-record): Restore NAME as a default
8629 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8632 extracted from autoload--insert-text.
8633 (autoload--insert-text): Remove.
8634 (autoload--print-cookie-text): New function, extracted from
8635 autoload--insert-cookie-text.
8636 (autoload--insert-cookie-text): Remove.
8637 (autoload-generate-file-autoloads): Adjust calls accordingly.
8639 * winner.el (winner-hook-installed-p): Remove.
8640 (winner-mode): Simplify accordingly.
8642 * subr.el (add-to-list): Fix compiler-macro when `append' is
8643 not constant. Don't use `cl-member' for the base case.
8645 * progmodes/subword.el: Fix boundary case (bug#13758).
8646 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8648 (subword-backward-regexp): Make it a constant.
8649 (subword-forward-internal): Don't treat a trailing capital as the
8650 beginning of a word.
8652 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8654 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8655 global value of tabulated-list-revert-hook (bug#14930).
8657 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8659 * desktop.el: Require 'cl-lib.
8660 (desktop-before-saving-frames-functions): New hook.
8661 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8662 for frames being saved. Rename from desktop--save-minibuffer-frames.
8663 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8664 Do not save frames with non-nil `desktop-dont-save' parameter.
8665 Filter out deleted frames.
8666 (desktop--find-frame): Use cl-find-if.
8667 (desktop--select-frame): Use cl-(first|second|third) to access values
8669 (desktop--make-frame): Use cl-delete-if.
8670 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8671 (desktop-restore-frames): Use cl-(first|second|third) to access values
8672 of desktop-mini. Look for visible frame at the end, not while
8675 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8676 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8677 Use string-match-p, looking-at-p (bug#14927).
8679 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8681 * desktop.el (desktop-saved-frame-states):
8682 Rename from desktop--saved-states; all users changed.
8683 (desktop-save-frames): Rename from desktop--save-frames.
8684 Do not save state to desktop file.
8685 (desktop-save): Save desktop-saved-frame-states to desktop file
8687 (desktop-restoring-frames-p): New function.
8688 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8689 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8690 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8692 * desktop.el: Correctly restore iconified frames.
8693 (desktop--filter-iconified-position): New function.
8694 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8696 2013-07-20 Glenn Morris <rgm@gnu.org>
8698 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8699 Let `message' do the formatting.
8700 (def-gdb-preempt-display-buffer): Add explicit format.
8702 * image-dired.el (image-dired-track-original-file):
8703 Use with-current-buffer.
8704 (image-dired-track-thumbnail): Use with-current-buffer.
8705 Avoid changing point of wrong window.
8707 * image-dired.el (image-dired-track-original-file):
8708 Avoid changing point of wrong window. (Bug#14909)
8710 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8712 * progmodes/gdb-mi.el (gdb-done-or-error):
8713 Guard against "%" in gdb output. (Bug#14127)
8715 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8717 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8720 * international/mule.el (coding-system-iso-2022-flags): Fix last
8723 2013-07-20 Kenichi Handa <handa@gnu.org>
8725 * international/mule.el (coding-system-iso-2022-flags):
8726 Add `8-bit-level-4'. (Bug#8522)
8728 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8730 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8733 * net/eww.el (eww-process-text-input): Allow inputting when the
8734 point is at the start of the line, as the properties aren't
8737 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8740 2013-07-19 Richard Stallman <rms@gnu.org>
8742 * epa.el (epa-popup-info-window): Doc fix.
8744 * subr.el (split-string): New arg TRIM.
8746 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8748 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8749 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8751 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8753 * filenotify.el (file-notify--library): Rename from
8754 `file-notify-support'. Do not autoload. Adapt all uses.
8755 (file-notify-supported-p): New defun.
8757 * autorevert.el (auto-revert-use-notify):
8758 Use `file-notify-supported-p' instead of `file-notify-support'.
8760 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8762 * net/tramp.el (tramp-file-name-for-operation):
8763 Add `file-notify-supported-p'.
8765 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8767 (tramp-sh-file-name-handler-alist): Add it as handler for
8768 `file-notify-supported-p '.
8770 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8771 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8772 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8773 Add `ignore' as handler for `file-notify-*' functions.
8775 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8777 * simple.el (line-move-partial, line-move): Don't start vscroll or
8778 scroll-up if the current line is not taller than the window.
8781 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8783 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8784 highlight question marks in the method names as strings.
8785 (ruby-block-beg-keywords): Inline.
8786 (ruby-font-lock-keyword-beg-re): Extract from
8787 `ruby-font-lock-keywords'.
8789 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8791 * frame.el (blink-cursor-blinks): New defcustom.
8792 (blink-cursor-blinks-done): New defvar.
8793 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8794 (blink-cursor-timer-function): Check if number of blinks has been
8796 (blink-cursor-suspend, blink-cursor-check): New defuns.
8798 2013-07-15 Glenn Morris <rgm@gnu.org>
8800 * edmacro.el (edmacro-format-keys): Fix previous change.
8802 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8804 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8805 The hack didn't work outside English locales anyway.
8807 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8809 * simple.el (define-alternatives): Rename from alternatives-define,
8810 per RMS' suggestion.
8812 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8814 * desktop.el (desktop-restore-frames): Change default to t.
8815 (desktop-restore-in-current-display): Now offer more options.
8816 (desktop-restoring-reuses-frames): New customization option.
8817 (desktop--saved-states): Doc fix.
8818 (desktop-filter-parameters-alist): New variable, renamed and expanded
8819 from desktop--excluded-frame-parameters.
8820 (desktop--target-display): New variable.
8821 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8822 (desktop--filter-tty*, desktop--filter-*-color)
8823 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8824 (desktop--filter-save-desktop-parm)
8825 (desktop-restore-in-original-display-p): New functions.
8826 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8827 (desktop--save-minibuffer-frames): New function, inspired by a similar
8828 function from Martin Rudalics.
8829 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8830 (desktop--restore-in-this-display-p): Remove.
8831 (desktop--find-frame): Rename from desktop--find-frame-in-display
8832 and add predicate argument.
8833 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8834 (desktop--reuse-list): New variable.
8835 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8837 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8839 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8841 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8843 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8845 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8846 Highlight conversion methods on Kernel.
8848 2013-07-13 Alan Mackenzie <acm@muc.de>
8850 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8851 and comment it out. This out-commenting enables certain C++
8852 declarations to be parsed correctly.
8854 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8856 * international/mule.el (define-coding-system): Doc fix.
8858 * simple.el (default-font-height): Don't call font-info if the
8859 frame's default font didn't change since the frame was created.
8862 2013-07-13 Leo Liu <sdl.web@gmail.com>
8864 * ido.el (ido-read-file-name): Guard against non-symbol value.
8866 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8868 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8871 2013-07-13 Leo Liu <sdl.web@gmail.com>
8873 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8874 ido-set-matches call. (Bug#6852)
8876 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8878 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8879 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8881 (ruby-font-lock-keywords): Distinguish calls to functions with
8882 module-like names from module references. Highlight character
8885 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8887 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8888 (gdb-send): Handle continued commands. (Bug#14847)
8890 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8892 * desktop.el (desktop--v2s): Remove unused local variable.
8893 (desktop-save-buffer): Make defvar-local; adjust docstring.
8894 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8895 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8897 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8899 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8901 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8903 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8906 2013-07-12 Glenn Morris <rgm@gnu.org>
8908 * doc-view.el: Require cl-lib at runtime too.
8909 (doc-view-remove-if): Remove.
8910 (doc-view-search-next-match, doc-view-search-previous-match):
8913 * edmacro.el: Require cl-lib at runtime too.
8914 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8915 (edmacro-mismatch, edmacro-subseq): Remove.
8917 * shadowfile.el: Require cl-lib.
8918 (shadow-remove-if): Remove.
8919 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8922 * wid-edit.el: Require cl-lib.
8923 (widget-choose): Use cl-remove-if.
8924 (widget-remove-if): Remove.
8926 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8927 (ebrowse-delete-if-not): Remove.
8928 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8929 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8930 Use cl-delete-if-not.
8932 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8934 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8935 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8937 2013-07-12 Leo Liu <sdl.web@gmail.com>
8939 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8941 2013-07-11 Glenn Morris <rgm@gnu.org>
8943 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8944 (edebug-gensym-index, edebug-gensym):
8945 Remove reimplementation of cl-gensym.
8946 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8948 * thumbs.el: Require cl-lib at run-time too.
8949 (thumbs-gensym-counter, thumbs-gensym):
8950 Remove reimplementation of cl-gensym.
8951 (thumbs-temp-file): Use cl-gensym.
8953 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8954 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8955 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8956 (ert--union, ert--gensym-counter, ert--gensym-counter)
8957 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8958 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8959 (ert-make-test-unbound, ert--expand-should-1)
8960 (ert--expand-should, ert--should-error-handle-error)
8961 (should-error, ert--explain-equal-rec)
8962 (ert--plist-difference-explanation, ert-select-tests)
8963 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8964 Use cl-lib functions rather than reimplementations.
8966 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8968 * net/tramp.el (tramp-methods): Extend docstring.
8969 (tramp-connection-timeout): New defcustom.
8970 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8971 (with-tramp-progress-reporter): Simplify.
8972 (tramp-process-actions): Improve messages.
8974 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8975 * net/tramp-sh.el (tramp-maybe-open-connection):
8976 Use `tramp-connection-timeout'.
8977 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8980 2013-07-11 Leo Liu <sdl.web@gmail.com>
8982 * ido.el (ido-read-file-name): Conform to the requirements of
8983 read-file-name. (Bug#11861)
8984 (ido-read-directory-name): Conform to the requirements of
8985 read-directory-name.
8987 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8989 * subr.el (delay-warning): New function.
8991 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8993 * simple.el (default-line-height): New function.
8994 (line-move-partial, line-move): Use it instead of computing the
8996 (line-move-partial): Always compute ROWH. If the last line is
8997 partially-visible, but its text is completely visible, allow
8998 cursor to enter such a partially-visible line.
9000 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
9002 Improve error messages. (Bug#14808)
9004 * net/tramp.el (tramp-current-connection): New defvar, moved from
9006 (tramp-message-show-progress-reporter-message): Remove, not
9008 (tramp-error-with-buffer): Show message in minibuffer.
9009 Discard input before waiting. Reset connection timestamp.
9010 (with-tramp-progress-reporter): Improve messages.
9011 (tramp-process-actions): Use progress reporter. Delete process in
9012 case of error. Improve messages.
9014 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
9015 Call `tramp-error-with-buffer' with vector and buffer.
9016 (tramp-current-connection): Remove.
9017 (tramp-maybe-open-connection): The car of
9018 `tramp-current-connection' are the first 3 slots of the vector.
9020 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
9022 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
9023 inside continued strings.
9025 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
9027 Timestamp fixes for undo (Bug#14824).
9028 * files.el (clear-visited-file-modtime): Move here from fileio.c.
9030 2013-07-10 Leo Liu <sdl.web@gmail.com>
9032 * files.el (require-final-newline): Allow safe local value.
9035 2013-07-09 Leo Liu <sdl.web@gmail.com>
9037 * ido.el (ido-read-directory-name): Handle fallback.
9038 (ido-read-file-name): Update DIR to ido-current-directory.
9040 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
9042 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
9044 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
9045 "autoload". Remove "warn lower camel case" section, previously
9046 commented out. Highlight negation char. Do not highlight the
9047 target in singleton method definitions.
9049 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * faces.el (tty-setup-hook): Declare the hook.
9053 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9054 and detect when a guard/pred depends on local vars (bug#14773).
9055 (pcase--u1): Adjust caller.
9057 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9059 * simple.el (line-move-partial, line-move): Account for
9061 (line-move-partial): Avoid setting vscroll when the last
9062 partially-visible line in window is of default height.
9064 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9066 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9069 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9071 * subr.el (read-quoted-char): Remove unused local variable `char'.
9073 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9075 * ediff.el (ediff-version): Version update.
9076 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9077 (ediff-merge-with-ancestor-command, ediff-directories-command)
9078 (ediff-directories3-command, ediff-merge-directories-command)
9079 (ediff-merge-directories-with-ancestor-command): New functions.
9080 All are command-line interfaces to ediff: to facilitate calling
9081 Emacs with the appropriate ediff functions invoked.
9083 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9084 (viper-save-kill-buffer): Check if buffer is modified.
9086 * viper.el (viper-version): Version update.
9087 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9089 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9091 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9092 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9093 (viper-intercept-ESC-key): Simplify.
9094 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9095 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9096 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9097 (viper-setup-ESC-to-escape): New functions.
9098 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9099 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9101 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9103 * simple.el (default-font-height, window-screen-lines):
9105 (line-move, line-move-partial): Use them instead of
9106 frame-char-height and window-text-height. This makes scrolling
9107 text smoother when the buffer's default face uses a font that is
9108 different from the frame's default font.
9110 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9112 * files.el (write-file): Do not display confirm dialog for NS,
9113 it does its own dialog, which can't be canceled (Bug#14578).
9115 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9117 * simple.el (line-move-partial): Adjust the row returned by
9118 posn-at-point for the current window-vscroll. (Bug#14567)
9120 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9122 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9123 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9126 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9128 * window.el (window-state-put-stale-windows): New variable.
9129 (window--state-put-2): Save list of windows without matching buffer.
9130 (window-state-put): Remove "bufferless" windows if possible.
9132 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9134 * simple.el (alternatives-define): Remove leftover :group keyword.
9137 2013-07-06 Leo Liu <sdl.web@gmail.com>
9139 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9140 (ido-enable-virtual-buffers): New variable.
9141 (ido-buffer-internal, ido-toggle-virtual-buffers)
9142 (ido-make-buffer-list): Use it.
9143 (ido-exhibit): Support turning on and off virtual buffers
9146 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9148 * simple.el (alternatives-define): New macro.
9150 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9152 * subr.el (read-quoted-char): Use read-key.
9153 (sit-for): Let read-event decode tty input (bug#14782).
9155 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9157 * calendar/todo-mode.el: Add handling of file deletion, both by
9158 mode command and externally. Fix various related bugs.
9159 Clarify Commentary and improve some documentation strings and code.
9160 (todo-delete-file): New command.
9161 (todo-check-file): New function.
9162 (todo-show): Handle external deletion of the file we're trying to
9163 show (bug#14688). Replace called-interactively-p by an optional
9164 prefix argument to avoid problematic interaction with catch form
9165 when byte compiled (bug#14702).
9166 (todo-quit): Handle external deletion of the archive's todo file.
9167 Make sure the buffer that was visiting the archive file is still
9168 live before trying to bury it.
9169 (todo-category-completions): Handle external deletion of any
9170 category completion files.
9171 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9172 of todo files, in case of external deletion.
9173 (todo-add-file): Replace unnecessary setq by let-binding.
9174 (todo-find-archive): Check whether there are any archives.
9175 Replace unnecessary setq by let-binding.
9176 (todo-archive-done-item): Use find-file-noselect to get the
9177 archive buffer whether or not the archive already exists.
9178 Remove superfluous code. Use file size instead of buffer-file-name to
9179 check if the archive is new; if it is, update list of archives.
9180 (todo-default-todo-file): Allow nil to be a valid value for when
9181 there are no todo files.
9182 (todo-reevaluate-default-file-defcustom): Use corrected definition
9183 of todo-default-todo-file.
9184 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9185 (todo-delete-category, todo-show-categories-table)
9186 (todo-category-number): Clarify comment.
9187 (todo-filter-items): Clarify documentation string.
9188 (todo-show-current-file, todo-display-as-todo-file)
9189 (todo-reset-and-enable-done-separator): Tweak documentation string.
9190 (todo-done-separator): Make separator length window-width, since
9191 bug#2749 is now fixed.
9193 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9195 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9196 Support both "gvfs-monitor-dir" and "inotifywait".
9197 (tramp-sh-file-inotifywait-process-filter): Rename from
9198 `tramp-sh-file-notify-process-filter'.
9199 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9200 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9202 2013-07-05 Leo Liu <sdl.web@gmail.com>
9204 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9206 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9208 * frame.el (display-pixel-height, display-pixel-width)
9209 (display-mm-height, display-mm-width): Mention behavior on
9210 multi-monitor setups in docstrings.
9211 (w32-display-monitor-attributes-list): Declare function.
9212 (display-monitor-attributes-list): Use it.
9214 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9216 * filenotify.el: New package.
9218 * autorevert.el (top): Require filenotify.el.
9219 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9221 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9222 (auto-revert-notify-handler): Use `file-notify-*' functions.
9224 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9226 * net/tramp.el (tramp-file-name-for-operation):
9227 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9229 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9230 for `file-notify-add-watch' and `file-notify-rm-watch'.
9231 (tramp-process-sentinel): Improve trace.
9232 (tramp-sh-handle-file-notify-add-watch)
9233 (tramp-sh-file-notify-process-filter)
9234 (tramp-sh-handle-file-notify-rm-watch)
9235 (tramp-get-remote-inotifywait): New defuns.
9237 2013-07-03 Juri Linkov <juri@jurta.org>
9239 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9240 call of `occur-read-primary-args' to interactive spec.
9242 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9243 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9245 2013-07-03 Matthias Meulien <orontee@gmail.com>
9247 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9248 `Buffer-menu-multi-occur'. Add it to the menu.
9249 (Buffer-menu-mode): Document it in docstring.
9250 (Buffer-menu-multi-occur): New command. (Bug#14673)
9252 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9255 keywords and built-ins.
9257 2013-07-03 Glenn Morris <rgm@gnu.org>
9259 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9261 Make info-xref checks case-sensitive by default
9262 * info.el (Info-find-node, Info-find-in-tag-table)
9263 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9264 Add option for exact case matching of nodes.
9265 * info-xref.el (info-xref): New custom group.
9266 (info-xref-case-fold): New option.
9267 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9269 2013-07-03 Leo Liu <sdl.web@gmail.com>
9271 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9273 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9275 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9276 middle of block statement initially, lower the depth. Remove
9277 FIXME comment, not longer valid. Remove middle of block statement
9278 detection, no need to do that anymore since we've been using
9279 `ruby-parse-region' here.
9281 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9283 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9285 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9287 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9289 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9291 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9292 (desktop-restore-in-current-display): New customization option.
9293 (desktop--excluded-frame-parameters): Add `font'.
9294 (desktop--save-frames): Rename from desktop--save-windows.
9295 (desktop--restore-in-this-display-p): New function.
9296 (desktop--make-full-frame): Remove unwanted width/height from
9297 full(width|height) frames.
9298 (desktop--restore-frames): Rename from desktop--restore-windows.
9299 Obey desktop-restore-current-display. Do not delete old frames or
9300 select a new frame unless we were able to restore at least one frame.
9302 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9304 * files.el (find-file-noselect): Simplify conditional expression.
9306 * textmodes/remember.el (remember-append-to-file):
9307 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9309 Add `remember-notes' function to store random notes across Emacs
9311 * textmodes/remember.el (remember-data-file): Add :set callback to
9312 affect notes buffer (if any).
9313 (remember-notes): New command.
9314 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9315 New defcustoms for the `remember-notes' function.
9316 (remember-notes-save-and-bury-buffer): New command.
9317 (remember-notes-mode-map): New variable.
9318 (remember-mode): New minor mode.
9319 (remember-notes--kill-buffer-query): New function.
9320 * startup.el (initial-buffer-choice): Add notes to custom type.
9322 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9324 * bindings.el (right-char, left-char): Don't call sit-for, this is
9325 no longer needed. Use arithmetic comparison only for numerical
9328 * international/mule-cmds.el (select-safe-coding-system):
9329 Handle the case of FROM being a string correctly. (Bug#14755)
9331 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9333 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9334 progression on degenerate tables.
9335 (shr-rescale-image): ImageMagick animated images currently don't work.
9337 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9339 Some fixes and improvements for desktop frame restoration.
9340 It is still experimental and disabled by default.
9341 * desktop.el (desktop--save-windows): Put the selected frame at
9342 the head of the list.
9343 (desktop--make-full-frame): New function.
9344 (desktop--restore-windows): Try to re-select the frame that was
9345 selected upon saving. Do not abort if some frames fail to restore,
9346 just show an error message and continue. Set up maximized frames
9347 so they have default non-maximized dimensions.
9349 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9351 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9352 Don't start heredoc inside a string or comment.
9354 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9356 * bindings.el (visual-order-cursor-movement): New defcustom.
9357 (right-char, left-char): Provide visual-order cursor motion by
9358 calling move-point-visually. Update the doc strings.
9360 2013-06-28 Kenichi Handa <handa@gnu.org>
9362 * international/mule.el (define-coding-system): New coding system
9363 properties :inhibit-null-byte-detection,
9364 :inhibit-iso-escape-detection, and :prefer-utf-8.
9365 (set-buffer-file-coding-system): If :charset-list property of
9366 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9367 appropriate for setting.
9369 * international/mule-cmds.el (select-safe-coding-system):
9370 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9371 multibyte characters, return utf-8 (or one of its siblings).
9373 * international/mule-conf.el (prefer-utf-8): New coding system.
9374 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9377 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9379 * net/shr.el (shr-render-region): New function.
9381 * net/eww.el: Autoload `eww-browse-url'.
9383 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9385 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9386 Adapt to `package-desc-version' being a list.
9387 Use `package--ac-desc-version' to retrieve version from a package
9390 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9392 New experimental feature to save&restore window and frame setup.
9393 * desktop.el (desktop-save-windows): New defcustom.
9394 (desktop--saved-states): New var.
9395 (desktop--excluded-frame-parameters): New defconst.
9396 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9397 (desktop--restore-windows, desktop--save-windows): New functions.
9398 (desktop-save): Call `desktop--save-windows'.
9399 (desktop-read): Call `desktop--restore-windows'.
9401 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9403 * net/shr.el (add-face-text-property): Remove compat definition.
9405 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9407 * info.el (Info-try-follow-nearest-node): Move search for footnote
9408 above search for node name to prevent missing a footnote (bug#14717).
9410 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9412 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9414 2013-06-27 Leo Liu <sdl.web@gmail.com>
9416 * net/eww.el (eww-read-bookmarks): Check file size.
9418 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9421 advice--pending if newdef is nil or an autoload (bug#13820).
9422 (advice-mapc): New function.
9424 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9426 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9428 (eww-mode-map): Add a menu bar.
9429 (eww-add-bookmark): New command.
9430 (eww-bookmark-mode): New mode and commands.
9431 (eww-add-bookmark): Remove newlines from the title.
9432 (eww-bookmark-browse): Don't bug out if it's the only window.
9434 2013-06-26 Glenn Morris <rgm@gnu.org>
9436 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9437 (hfy-size): Handle ttys. (Bug#14668)
9439 * info-xref.el: Update for Texinfo 5 change in *note format.
9440 (info-xref-node-re, info-xref-note-re): New constants.
9441 (info-xref-check-buffer): Use info-xref-note-re.
9443 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9447 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9448 nil terminate the loop (bug#14718).
9450 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9452 * net/eww.el: Rework history traversal. When going forward/back,
9453 put these actions into the history, too, so that they can be
9455 (eww-render): Move the history reset to the correct buffer.
9457 2013-06-25 Juri Linkov <juri@jurta.org>
9459 * files-x.el (modify-dir-local-variable): Change the header comment
9460 in the file with directory local variables. (Bug#14692)
9462 * files-x.el (read-file-local-variable-value): Add `default'.
9465 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9467 * net/eww.el (eww-make-unique-file-name): Create a unique file
9468 name before saving to entering `y' accidentally asynchronously.
9470 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9472 * net/eww.el (eww-download): New command and keystroke.
9474 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9476 * net/eww.el (eww-copy-page-url): Change name of command.
9478 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9479 be more consistent with Info and dired.
9481 * net/eww.el (eww-mode-map): Ditto.
9483 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9486 packages from archives.
9487 (package-archive-contents): Change format; include obsolete packages.
9488 (package-desc): Use `dir' to mark builtin packages.
9489 (package--from-builtin): Set the `dir' field to `builtin'.
9490 (generated-autoload-file, version-control): Declare.
9491 (package-compute-transaction): Change first arg and return value to be
9492 lists of package-descs. Adjust to new package-archive-contents format.
9493 (package--add-to-archive-contents): Adjust to new
9494 package-archive-contents format.
9495 (package-download-transaction): Arg is now a list of package-descs.
9496 (package-install): If `pkg' is a package name, pass it as
9497 a requirement, so it is subject to the usual (e.g. disabled) checks.
9498 (describe-package): Accept package-desc as well.
9499 (describe-package-1): Describe a specific package-desc. Add links to
9500 other package-descs for the same package name.
9501 (package-menu-describe-package): Pass the actual package-desc.
9502 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9504 (package-desc-status): New function.
9505 (package-menu--refresh): New function, extracted
9506 from package-menu--generate.
9507 (package-menu--generate): Use it.
9508 (package-delete): Update package-alist.
9509 (package-menu-execute): Don't call package-initialize.
9511 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9512 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9513 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9514 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9515 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9516 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9518 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9520 * window.el (window--state-get-1): Workaround for bug#14527.
9521 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9523 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525 * net/eww.el (eww-back-url): Implement the history by stashing all
9526 the data into a list.
9527 (eww-forward-url): Allow going forward in the history, too.
9529 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9531 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9532 for values and use read--expression for expressions (bug#14710).
9533 (read-file-local-variable): Avoid setq.
9534 (read-file-local-variable-mode): Use minor-mode-list.
9536 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9538 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9541 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9543 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9544 Update imenu-support when dialect changes.
9546 2013-06-25 Leo Liu <sdl.web@gmail.com>
9548 * ido.el (ido-read-internal): Allow forward slash on windows.
9550 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9552 * net/eww.el (eww): Start of strings is \\`, not ^.
9554 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9556 * net/shr.el (shr-browse-url): Fix interactive spec.
9558 * net/eww.el (eww): Add a trailing slash to domain names.
9560 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9562 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9564 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9566 * net/shr.el (shr-browse-url): Use an external browser if given a
9569 * net/eww.el (eww-external-browser): Move to shr.
9571 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9573 * net/eww.el (eww): Work more correctly for file: URLs.
9574 (eww-detect-charset): Allow quoted charsets.
9575 (eww-yank-page-url): New command and keystroke.
9577 2013-06-24 Daiki Ueno <ueno@gnu.org>
9579 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9580 file name of gpg executable.
9581 (epg-context-program): New function.
9582 (epg-context-home-directory): New function.
9583 (epg-context-set-program): New function.
9584 (epg-context-set-home-directory): New function.
9585 (epg--start): Use `epg-context-program' instead of
9587 (epg--list-keys-1): Likewise.
9589 2013-06-24 Leo Liu <sdl.web@gmail.com>
9591 * ido.el (ido-read-internal): Fix bug#14620.
9593 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9595 * faces.el (face-documentation): Simplify.
9596 (read-face-attribute, tty-find-type, x-resolve-font-name):
9597 Use `string-match-p'.
9598 (list-faces-display): Use `string-match-p'. Simplify.
9599 (face-spec-recalc): Check face to avoid face alias loops.
9600 (read-color): Use `string-match-p' and non-capturing parenthesis.
9602 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604 * net/shr.el (shr-rescale-image): Use the new
9605 :max-width/:max-height functionality.
9607 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9609 * net/eww.el (eww-search-prefix): New variable.
9611 (eww-external-browser): New variable.
9612 (eww-mode-map): New keystroke.
9613 (eww-browse-with-external-browser): New command.
9615 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9617 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9619 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9620 Don't skip aligning the next header field when padding is 0;
9621 otherwise, field width is not respected unless the title is as
9624 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9626 * emacs-lisp/package.el (package-el-version): Remove.
9627 (package-process-define-package): Fix inf-loop.
9628 (package-install): Allow symbols as arguments again.
9630 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9632 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9633 add some more keyword-like methods.
9634 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9636 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9638 * bs.el (bs-buffer-show-mark): Make defvar-local.
9639 (bs-mode): Use setq-local.
9641 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9642 (emacs-lock--try-unlocking): Make defvar-local.
9644 2013-06-22 Glenn Morris <rgm@gnu.org>
9646 * play/cookie1.el (cookie-apropos): Minor simplification.
9648 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9650 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9652 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9653 `regexp-opt', it breaks the build during dumping.
9655 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9657 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9658 Highlight keyword-like methods on Kernel and Module with
9659 font-lock-builtin-face.
9660 (auto-mode-alist): Consolidate different entries into one regexp
9661 and add more *file-s.
9663 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9665 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9667 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9668 (diary-entry): Use it in the action of this button type instead of
9671 * calendar/todo-mode.el: New version.
9672 (todo-add-category): Append new category to end of file and give
9673 it the highest number, instead of putting it at the beginning and
9674 giving it 0. Incorporate noninteractive functionality.
9675 (todo-forward-category): Adapt to 1-based category numbering.
9676 Allow skipping over archived categories.
9677 (todo-backward-category): Derive from todo-forward-category.
9678 (todo-backward-item, todo-forward-item): Make noninteractive and
9679 delegate interactive part to new commands. Make sensitive to done items.
9680 (todo-categories): Make value an alist of category names and
9681 vectors of item counts.
9682 (todo-category-beg): Make a defconst.
9683 (todo-category-number): Use 1 instead of 0 as initial value.
9684 (todo-category-select): Make sensitive to overlays, optional item
9685 highlighting and done items.
9686 (todo-delete-item): Make sensitive to overlays and marked and done items.
9687 (todo-edit-item): Make sensitive to overlays and editing of
9688 date/time header optional. Add format checks.
9689 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9690 no-op if point is not on an item. Advertise using todo-edit-quit.
9691 (todo-edit-mode): Make sensitive to new format, font-locking, and
9692 multiple todo files.
9693 (todo-insert-item, todo-insert-item-here): Derive from
9694 todo-basic-insert-item and extend functionality.
9695 (todo-item-end, todo-item-start): Make sensitive to done items.
9696 (todo-item-string): Don't return text properties. Restore point.
9697 (todo-jump-to-category): Make sensitive to multiple todo files and
9698 todo archives. Use extended category completion.
9699 (todo-lower-item, todo-raise-item): Rename to *-priority and
9700 derive from todo-set-item-priority.
9701 (todo-mode): Derive from special-mode. Make sensitive to new
9702 format, font-locking and multiple todo files. Make read-only.
9703 (todo-mode-map): Don't suppress digit keys, so they can supply
9704 prefix arguments. Add many new key bindings.
9705 (todo-prefix): Insert as an overlay instead of file text.
9706 Change semantics from diary date expression to purely visual mark.
9707 (todo-print): Rename to todo-print-buffer. Make buffer display
9708 features printable. Remove option to restrict number of items
9709 printed. Add option to print to file.
9710 (todo-print-function): Rename to todo-print-buffer-function.
9711 (todo-quit): Extend to handle exiting new todo modes.
9712 (todo-remove-item): Make sensitive to overlays.
9713 (todo-save): Extend to buffers of filtered items.
9714 (todo-show): Make sensitive to done items, multiple todo files and
9715 new todo modes. Offer to convert legacy todo file before creating
9716 first new todo file.
9717 (todo-show-priorities): Rename to todo-top-priorities.
9718 Change semantics of value 0.
9719 (todo-top-priorities): Rename to todo-filter-top-priorities,
9720 derive from todo-filter-items and extend functionality.
9721 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9722 and extend functionality to other types of filtered items.
9723 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9724 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9725 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9726 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9727 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9728 (todo-edit-mode-hook, todo-entry-prefix-function)
9729 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9730 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9731 (todo-initials, todo-insert-threshold, todo-item-string-start)
9732 (todo-line-string, todo-menu, todo-mode-hook)
9733 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9734 (todo-print-priorities, todo-remove-separator)
9735 (todo-save-top-priorities-too, todo-string-count-lines)
9736 (todo-string-multiline-p, todo-time-string-format)
9737 (todo-tmp-buffer-name): Remove.
9738 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9739 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9740 (todo-edit-category-diary-inclusion)
9741 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9742 (todo-edit-file, todo-edit-item-date-day)
9743 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9744 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9745 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9746 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9747 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9748 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9749 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9750 (todo-filter-top-priorities-multifile, todo-find-archive)
9751 (todo-find-filtered-items-file, todo-go-to-source-item)
9752 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9753 (todo-jump-to-archive-category, todo-lower-category)
9754 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9755 (todo-move-category, todo-move-item, todo-next-button)
9756 (todo-next-item, todo-padded-string, todo-powerset)
9757 (todo-previous-button, todo-previous-item)
9758 (todo-print-buffer-to-file, todo-raise-category)
9759 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9760 (todo-set-category-number, todo-set-item-priority)
9761 (todo-set-top-priorities-in-category)
9762 (todo-set-top-priorities-in-file, todo-show-categories-table)
9763 (todo-sort-categories-alphabetically-or-numerically)
9764 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9765 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9766 (todo-toggle-item-header, todo-toggle-item-highlighting)
9767 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9768 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9769 (todo-unarchive-items, todo-unmark-category): New commands.
9770 (todo-absolute-file-name, todo-add-to-buffer-list)
9771 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9772 (todo-basic-insert-item, todo-category-completions)
9773 (todo-category-number, todo-category-string-matcher-1)
9774 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9775 (todo-check-format, todo-clear-matches)
9776 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9777 (todo-current-category, todo-date-string-matcher)
9778 (todo-define-insertion-command, todo-diary-expired-matcher)
9779 (todo-diary-goto-entry, todo-diary-item-p)
9780 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9781 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9782 (todo-done-item-section-p, todo-done-separator)
9783 (todo-done-string-matcher, todo-files, todo-filter-items)
9784 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9785 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9786 (todo-insert-category-line, todo-insert-item-from-calendar)
9787 (todo-insert-sort-button, todo-insert-with-overlays)
9788 (todo-insertion-command-name, todo-insertion-key-bindings)
9789 (todo-label-to-key, todo-longest-category-name-length)
9790 (todo-make-categories-list, todo-mode-external-set)
9791 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9792 (todo-modes-set-3, todo-multiple-filter-files)
9793 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9794 (todo-read-category, todo-read-date, todo-read-dayname)
9795 (todo-read-file-name, todo-read-time)
9796 (todo-reevaluate-category-completions-files-defcustom)
9797 (todo-reevaluate-default-file-defcustom)
9798 (todo-reevaluate-filelist-defcustoms)
9799 (todo-reevaluate-filter-files-defcustom)
9800 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9801 (todo-reset-done-separator, todo-reset-done-separator-string)
9802 (todo-reset-done-string, todo-reset-global-current-todo-file)
9803 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9804 (todo-reset-prefix, todo-set-categories)
9805 (todo-set-date-from-calendar, todo-set-show-current-file)
9806 (todo-set-top-priorities, todo-short-file-name)
9807 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9808 (todo-total-item-counts, todo-update-buffer-list)
9809 (todo-update-categories-display, todo-update-categories-sexp)
9810 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9812 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9814 (todo-categories, todo-display, todo-edit, todo-faces)
9815 (todo-filtered): New defgroups.
9816 (todo-archived-only, todo-button, todo-category-string, todo-date)
9817 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9818 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9819 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9820 (todo-add-item-if-new-category, todo-always-add-time-string)
9821 (todo-categories-align, todo-categories-archived-label)
9822 (todo-categories-category-label, todo-categories-diary-label)
9823 (todo-categories-done-label, todo-categories-number-separator)
9824 (todo-categories-todo-label, todo-categories-totals-label)
9825 (todo-category-completions-files, todo-completion-ignore-case)
9826 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9827 (todo-done-separator-string, todo-done-string)
9828 (todo-files-function, todo-filter-done-items, todo-filter-files)
9829 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9830 (todo-initial-category, todo-initial-file, todo-item-mark)
9831 (todo-legacy-date-time-regexp, todo-mode-line-function)
9832 (todo-nondiary-marker, todo-number-prefix)
9833 (todo-print-buffer-function, todo-show-current-file)
9834 (todo-show-done-only, todo-show-first, todo-show-with-done)
9835 (todo-skip-archived-categories, todo-top-priorities-overrides)
9836 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9837 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9839 (todo-category-done, todo-date-pattern, todo-date-string-start)
9840 (todo-diary-items-buffer, todo-done-string-start)
9841 (todo-filtered-items-buffer, todo-item-start)
9842 (todo-month-abbrev-array, todo-month-name-array)
9843 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9844 (todo-top-priorities-buffer): New defconsts.
9845 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9846 (todo-categories-with-marks, todo-category-string-face)
9847 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9848 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9849 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9850 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9851 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9852 (todo-font-lock-keywords, todo-global-current-todo-file)
9853 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9854 (todo-insertion-commands-args)
9855 (todo-insertion-commands-args-genlist)
9856 (todo-insertion-commands-names, todo-insertion-map)
9857 (todo-key-bindings-t, todo-key-bindings-t+a)
9858 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9859 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9860 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9861 (todo-visited): New variables.
9863 2013-06-21 Glenn Morris <rgm@gnu.org>
9865 * play/cookie1.el (cookie-apropos): Add optional display argument.
9866 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9867 (psychoanalyze-pinhead): Use cookie-doctor.
9869 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9871 * emacs-lisp/package.el (tar-get-file-descriptor)
9872 (tar--extract): Declare.
9874 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9876 Extend flymake's warning predicate to be a function (bug#14217).
9877 * progmodes/flymake.el (flymake-warning-predicate): New.
9878 (flymake-parse-line): Use it.
9879 (flymake-warning-re): Make obsolete alias to
9880 `flymake-warning-predicate'.
9882 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9884 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9885 (package-obsolete-list): Remove.
9886 (package-activate): Remove min-version argument. Add `force' argument.
9887 Adjust to new package-alist format.
9888 (package-mark-obsolete): Remove.
9889 (package-unpack): Force reload of the package's autoloads.
9890 (package-installed-p): Check builtins if the installed package is not
9892 (package-initialize): Don't reset package-obsolete-list.
9893 Don't specify which package version to activate.
9894 (package-process-define-package, describe-package-1)
9895 (package-menu--generate): Adjust to new package-alist format.
9897 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9899 * allout-widgets.el (allout-widgets-mode-off)
9900 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9901 (allout-widgets-post-command-business)
9902 (allout-widgets-after-copy-or-kill-function)
9903 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9904 (allout-decorate-item-and-context)
9905 (allout-graphics-modification-handler): Fix typos in docstrings.
9906 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9908 * cmuscheme.el (scheme-start-file): Doc fix.
9909 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9910 (scheme-input-filter): Use `string-match-p'.
9912 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9914 * dired-x.el: Use Dired consistently in docstrings.
9916 * dired.el: Use Dired consistently in docstrings.
9917 (dired-readin, dired-mode): Use `setq-local'.
9918 (dired-switches-alist): Make defvar-local.
9919 (dired-buffers-for-dir): Use `zerop'.
9920 (dired-safe-switches-p, dired-switches-escape-p)
9921 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9922 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9923 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9924 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9925 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9926 (dired-toggle-marks, dired-mark-files-containing-regexp)
9927 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9928 (dired-flag-auto-save-files, dired-flag-backup-files):
9930 (dired-mark-files-regexp, dired-build-subdir-alist):
9931 Use `string-match-p', `looking-at-p'.
9933 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9934 (direct-print-region-helper): Use `string-match-p'.
9936 2013-06-21 Leo Liu <sdl.web@gmail.com>
9938 * comint.el (comint-redirect-results-list-from-process):
9941 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9943 * net/eww.el (eww-update-header-line-format): Quote % characters.
9945 2013-06-21 Glenn Morris <rgm@gnu.org>
9947 * play/cookie1.el (cookie): New custom group.
9948 (cookie-file): New option.
9949 (cookie-check-file): New function.
9950 (cookie): Make it interactive. Make start and end messages optional.
9951 Interactively, display the result. Default to cookie-file.
9952 (cookie-insert): Default to cookie-file.
9953 (cookie-snarf): Make start and end messages optional.
9954 Default to cookie-file. Use with-temp-buffer.
9955 (cookie-read): Rename from read-cookie.
9956 Make start and end messages optional. Default to cookie-file.
9957 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9959 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9960 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9962 2013-06-21 Leo Liu <sdl.web@gmail.com>
9964 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9966 2013-06-21 Glenn Morris <rgm@gnu.org>
9968 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9970 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9971 Daniel Hackney <dan@haxney.org>
9973 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9974 Consolidate the single-file vs tarball code.
9975 (package-desc-suffix): New function.
9976 (package-desc-full-name): Don't bother inlining it.
9977 (package-load-descriptor): Return the new package-desc.
9978 (package-mark-obsolete): Remove unused arg `package'.
9979 (package-unpack): Make it work for single files as well.
9980 Make it update package-alist.
9981 (package--make-autoloads-and-stuff): Rename from
9982 package--make-autoloads-and-compile. Don't compile any more.
9983 (package--compile): New function.
9984 (package-generate-description-file): New function, extracted from
9985 package-unpack-single.
9986 (package-unpack-single): Remove.
9987 (package--with-work-buffer): Add indentation and debugging info.
9988 (package-download-single): Remove.
9989 (package-install-from-archive): Rename from package-download-tar, make
9990 it take a pkg-desc, and make it work for single files as well.
9991 (package-download-transaction): Simplify.
9992 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9993 external tar program.
9994 (package-install-from-buffer): Remove `pkg-desc' argument.
9995 Use package-tar-file-info for tar-mode buffers.
9996 (package-install-file): Simplify accordingly.
9997 (package-archive-base): Change to take a pkg-desc.
9998 * tar-mode.el (tar--check-descriptor): New function, extracted from
10000 (tar-get-descriptor): Use it.
10001 (tar-get-file-descriptor): New function.
10002 (tar--extract): New function, extracted from tar-extract.
10003 (tar--extract): Use it.
10004 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
10005 case the summary uses non-ascii. Adjust to new calling convention of
10006 package-tar-file-info.
10008 2013-06-21 Leo Liu <sdl.web@gmail.com>
10010 * comint.el (comint-redirect-results-list-from-process):
10011 Fix random delay. (Bug#14681)
10013 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
10015 * profiler.el (profiler-format-number): Use log, not log10.
10017 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10019 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
10021 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10023 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
10024 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
10026 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
10027 (AUTOGENEL): ... here.
10028 * emacs-lisp/cl-macs.el (cl--sublis): New function.
10029 (cl--defsubst-expand): Use it.
10031 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
10033 * subr.el (log10): Move here from C code, and declare as obsolete.
10034 All uses of (log10 X) replaced with (log X 10).
10036 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10038 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
10039 Declare with `defvar-local'.
10040 (tabulated-list-use-header-line, tabulated-list-entries)
10041 (tabulated-list-padding, tabulated-list-printer)
10042 (tabulated-list-sort-key): Declare with `defvar-local'.
10043 (tabulated-list-init-header, tabulated-list-print-fake-header):
10046 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10048 * arc-mode.el (archive-mode): Add `archive-write-file' to
10049 `write-contents-functions' also for remote files. (Bug#14652)
10051 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10053 * cus-edit.el (custom-commands): Fix typos.
10054 (custom-display): Fix tooltip text.
10055 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10056 Fix typos in docstrings.
10057 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10058 (custom-unlispify-menu-entry, custom-magic-value-create)
10059 (custom-add-see-also, custom-group-value-create): Use ?\s.
10060 (custom-guess-type, customize-apropos, editable-field)
10061 (custom-face-value-create): Use `string-match-p'.
10062 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10064 * custom.el (custom-load-symbol): Use `string-match-p'.
10066 * ansi-color.el: Convert to lexical binding.
10067 (ansi-colors): Fix URL.
10068 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10069 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10070 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10072 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10074 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10076 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10078 2013-06-19 Tom Tromey <tromey@redhat.com>
10080 * net/eww.el (eww-top-url): Remove.
10081 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10082 (eww-render): Set new variables. Don't set eww-top-url.
10083 (eww-handle-link): Handle "prev", "home", and "contents".
10084 Downcase the rel text.
10085 (eww-top-url): Choose best top URL.
10087 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10089 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10090 relying in widget.el. Using widget.el leads to too many
10091 user interface inconsistencies.
10092 (eww-self-insert): Implement entering commands in text fields.
10093 (eww-process-text-input): New function to make text input field editing
10095 (eww-submit): Rewrite to use the new-style form methods.
10096 (eww-select-display): Display the correct selected item.
10097 (eww-change-select): Implement changing the select value.
10098 (eww-toggle-checkbox): Implement radio/checkboxes.
10099 (eww-update-field): Fix compilation error.
10100 (eww-tag-textarea): Implement <textarea>.
10102 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10103 we don't shadow mode-specific bindings.
10105 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10108 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10110 2013-06-19 Glenn Morris <rgm@gnu.org>
10112 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10114 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10116 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10119 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10121 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10123 * net/browse-url.el (browse-url-browser-function):
10124 `eww-browse-url' has the right calling signature, `eww' does not.
10126 2013-06-19 Glenn Morris <rgm@gnu.org>
10128 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10129 Only eval autoloaded macros.
10130 (byte-compile-autoload): Only give the macro warning for macros.
10132 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10133 (ps-underlined-faces): Declare.
10135 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10136 (speedbar-add-supported-extension): Declare.
10138 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10139 Don't include a date stamp in the header of the generated file;
10140 it leads to needless differences between output files.
10142 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10144 * net/secrets.el (secrets-struct-secret-content-type):
10145 Replace check of introspection data by a test call of "CreateItem".
10146 Some servers do not offer introspection.
10148 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * electric.el (electric-pair-mode): Improve interaction with
10151 electric-layout-mode.
10152 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10153 (electric-pair-syntax): Use text-mode-syntax-table in comments
10155 (electric-pair--insert): New function.
10156 (electric-pair-post-self-insert-function): Use it and
10157 electric--after-char-pos.
10159 2013-06-19 Leo Liu <sdl.web@gmail.com>
10161 * progmodes/octave.el (octave-help): Fix regexp.
10163 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10165 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10166 (shr-table-horizontal-line): Allow nil as a value, and change the
10168 (shr-insert-table-ruler): Respect the nil value.
10170 2013-06-18 Tom Tromey <tromey@barimba>
10172 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10174 (eww-open-file): New defun.
10175 (eww-render): Initialize new variables.
10176 (eww-display-html): Handle "link" and "a".
10177 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10178 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10179 (eww-back-url): Rename from eww-previous-url.
10180 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10183 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10185 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10186 Distinguish ternary operator tokens from slash symbol and slash
10189 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10191 Convert symbol prettification into minor mode and global minor mode.
10193 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10194 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10195 (prettify-symbols--keywords): Rename from
10196 `prog-prettify-symbols-alist' and make a local defvar.
10197 (prettify-symbols--compose-symbol): Rename from
10198 `prog--prettify-font-lock-compose-symbol'.
10199 (prettify-symbols--make-keywords): Rename from
10200 `prog-prettify-font-lock-symbols-keywords' and simplify.
10201 (prog-prettify-install): Remove.
10202 (prettify-symbols-mode): New minor mode, based on
10203 `prog-prettify-install'.
10204 (turn-on-prettify-symbols-mode): New function.
10205 (global-prettify-symbols-mode): New globalized minor mode.
10207 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10208 * progmodes/cfengine.el (cfengine3-mode):
10209 * progmodes/perl-mode.el (perl-mode): Don't call
10210 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10212 2013-06-18 Juri Linkov <juri@jurta.org>
10214 * files-x.el (modify-file-local-variable-message): New function.
10215 (modify-file-local-variable)
10216 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10217 and call `modify-file-local-variable-message' when it's non-nil.
10218 (add-file-local-variable, delete-file-local-variable)
10219 (add-file-local-variable-prop-line)
10220 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10221 and use it. (Bug#9820)
10223 2013-06-18 Juri Linkov <juri@jurta.org>
10225 * emulation/vi.el (vi-shell-op):
10226 * emulation/vip.el (vip-execute-com, ex-command):
10227 * emulation/viper-cmd.el (viper-exec-bang):
10228 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10229 the call of `shell-command-on-region'. (Bug#14637)
10231 * simple.el (shell-command-on-region): Doc fix.
10233 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10238 2013-06-18 Glenn Morris <rgm@gnu.org>
10240 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10242 * newcomment.el (comment-search-forward, comment-search-backward):
10243 Doc fix. (Bug#14376)
10245 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10247 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10248 (buffer-face-mode-invoke): Doc fix.
10250 2013-06-18 Matthias Meulien <orontee@gmail.com>
10252 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10253 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10255 2013-06-18 Glenn Morris <rgm@gnu.org>
10257 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10258 Replace obsolete function generic-make-keywords with its expansion.
10260 * progmodes/python.el (ffap-alist): Declare.
10262 * textmodes/reftex.el (bibtex-mode-map): Declare.
10264 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10267 (package-unpack, package-unpack-single): Return the pkg-dir.
10268 (package-download-transaction): Use it to update package-alist.
10270 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10272 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10275 2013-06-17 Juri Linkov <juri@jurta.org>
10277 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10279 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10281 * emacs-lisp/package.el (package-load-descriptor):
10282 Remove `with-syntax-table' call, `read' doesn't need it.
10283 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10285 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10287 * startup.el (command-line): Expand package name returned by
10288 `package--description-file' (bug#14639).
10290 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10292 * emacs-lisp/package.el (package-load-descriptor): Do not call
10293 `emacs-lisp-mode', just use its syntax table.
10295 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10297 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10298 `font-lock-extra-managed-props' if any prettifying keyword is added.
10299 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10300 (prog-mode): Use `setq-local'.
10302 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * international/characters.el (standard-case-table): Set syntax of ?»
10305 and ?« to punctuation.
10307 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10309 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10310 Save relevant match data before calling `syntax-ppss' (bug#14595).
10312 2013-06-15 Juri Linkov <juri@jurta.org>
10314 * files-x.el (modify-file-local-variable-prop-line): Add local
10315 variables to the end of the existing comment on the first line.
10316 Use `file-auto-mode-skip' to skip interpreter magic line,
10317 and also skip XML declaration.
10319 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10321 * startup.el (package--builtin-versions): New var.
10322 (package-subdirectory-regexp): Remove.
10323 (package--description-file): Hard code its value instead.
10325 * emacs-lisp/package.el: Don't activate packages older than builtin.
10326 (package-obsolete-list): Rename from package-obsolete-alist, and make
10327 it into a simple list of package-desc.
10328 (package-strip-version): Remove.
10329 (package-built-in-p): Use package--builtin-versions.
10330 (package-mark-obsolete): Simplify.
10331 (package-process-define-package): Mark it obsolete if older than the
10333 (package-handle-response): Use line-end-position.
10334 (package-read-archive-contents, package--download-one-archive):
10336 (package--add-to-archive-contents): Skip if older than the builtin or
10338 (package-menu-describe-package): Fix last change.
10339 (package-list-unversioned): New var.
10340 (package-menu--generate): Use it.
10342 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10343 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10344 (autoload-builtin-package-versions): New variable.
10345 (autoload-generate-file-autoloads): Use them.
10346 Remove the list of autoloaded functions/macros from the
10347 (autoload...) comments.
10349 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10351 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10353 * simple.el (line-move-partial): Don't jump to the next screen
10354 line as soon as it becomes visible. Instead, continue enlarging
10355 the vscroll until the portion of a tall screen line that's left on
10356 display is about the height of the frame's default font.
10359 2013-06-15 Glenn Morris <rgm@gnu.org>
10361 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10362 compilation-error-regexp-alist void, or local while let-bound.
10364 * progmodes/make-mode.el (makefile-mode-syntax-table):
10365 Treat "=" as punctuation. (Bug#14614)
10367 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10369 * help-fns.el (describe-variable):
10370 Add extra line for permanent-local variables.
10372 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10374 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10375 Add export, import, library. (Bug#9164)
10376 (library): Set indent function.
10378 2013-06-14 Glenn Morris <rgm@gnu.org>
10380 * term/xterm.el (xterm--query):
10381 Stop after first matching handler. (Bug#14615)
10383 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10385 Add support for dired in saveplace.
10386 * dired.el (dired-initial-position-hook): New variable.
10387 (dired-initial-position): Call hook to place cursor position.
10388 * saveplace.el (save-place-to-alist): Add dired position.
10389 (save-place-dired-hook): New function.
10391 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10394 through a symbol rather than letrec.
10396 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10397 (package-desc): Add `dir' field.
10398 (package-desc-full-name): New function.
10399 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10400 (package-maybe-load-descriptor): Remove.
10401 (package-load-all-descriptors): Just call package-load-descriptor.
10402 (package--disabled-p): New function.
10403 (package-desc-vers, package-desc-doc): Remove aliases.
10404 (package--dir): Remove function.
10405 (package-activate): Check if a package is disabled.
10406 (package-process-define-package): New function, extracted from
10408 (define-package): Turn into a place holder.
10409 (package-unpack-single, package-tar-file-info):
10410 Use package--description-file.
10411 (package-compute-transaction): Use package--disabled-p.
10412 (package-download-transaction): Don't call
10413 package-maybe-load-descriptor since they're all loaded anyway.
10414 (package-install): Change argument to be a pkg-desc.
10415 (package-delete): Use a single pkg-desc argument.
10416 (describe-package-1): Use package-desc-dir instead of package--dir.
10417 Use package-desc property instead of package-symbol.
10418 (package-install-button-action): Adjust accordingly.
10419 (package--push): Rewrite.
10420 (package-menu--print-info): Adjust accordingly. Change the ID format
10422 (package-menu-describe-package, package-menu-get-status)
10423 (package-menu--find-upgrades, package-menu-mark-upgrades)
10424 (package-menu-execute, package-menu--name-predicate):
10425 Adjust accordingly.
10426 * startup.el (package--description-file): New function.
10427 (command-line): Use it.
10428 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10429 Use package-desc-version.
10431 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10432 (byte-compile-preprocess): Use it.
10433 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10434 can't quite recognize.
10435 (byte-compile-add-to-list): Remove.
10436 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10437 (cconv-closure-convert): Add assertion.
10439 * emacs-lisp/map-ynp.el: Use lexical-binding.
10440 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10441 Factor out some repeated code.
10443 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * subr.el (with-eval-after-load): New macro.
10446 (eval-after-load): Allow form to be a function.
10447 take advantage of lexical-binding.
10448 (do-after-load-evaluation): Use dolist and adjust to new format.
10449 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10451 2013-06-13 Juri Linkov <juri@jurta.org>
10453 * replace.el (perform-replace): Display "symbol " and other search
10454 modes from `isearch-message-prefix' in the *Help* buffer.
10456 * isearch.el (isearch-query-replace): Add " symbol" and other
10457 possible search modes from `isearch-message-prefix' to the prompt.
10458 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10459 when reading a regexp to collect.
10461 2013-06-13 Juri Linkov <juri@jurta.org>
10463 * isearch.el (word-search-regexp): Match whitespace if the search
10464 string begins or ends in whitespace. The LAX arg is applied to
10465 both ends of the search string. Use `regexp-quote' and explicit
10466 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10467 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10468 boundaries are replaced with symbol boundaries, and characters
10469 between symbols match non-word non-symbol syntax. (Bug#14602)
10471 2013-06-13 Juri Linkov <juri@jurta.org>
10473 * isearch.el (isearch-del-char): Don't exceed the length of
10474 `isearch-string' by the prefix arg. (Bug#14563)
10476 2013-06-13 Juri Linkov <juri@jurta.org>
10478 * isearch.el (isearch-yank-word, isearch-yank-line)
10479 (isearch-char-by-name, isearch-quote-char)
10480 (isearch-printing-char, isearch-process-search-char):
10481 Add optional count prefix arg. (Bug#14563)
10483 * international/isearch-x.el
10484 (isearch-process-search-multibyte-characters):
10485 Add optional count prefix arg.
10487 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10490 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10493 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10495 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10497 2013-06-13 Glenn Morris <rgm@gnu.org>
10499 * startup.el (tty-handle-args):
10500 Don't just discard "--" and anything after. (Bug#14608)
10502 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10504 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10506 Implement changes in Secret Service API. Make it backward compatible.
10507 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10508 (secrets-create-item): Use it. Prefix properties with interface.
10510 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10512 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10513 (term-emulate-terminal): Respect term-suppress-hard-newline.
10515 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10517 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10518 Only remove a `thumb-file' overlay. (Bug#14548)
10520 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10522 * mail/reporter.el (reporter-submit-bug-report):
10523 Handle missing package-name. (Bug#14600)
10525 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10527 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10528 (reftex-citation-prompt, reftex-default-bibliography)
10529 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10530 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10531 (reftex-bib-sort-author, reftex-bib-sort-year)
10532 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10533 (reftex-extract-bib-entries-from-thebibliography)
10534 (reftex-get-bibkey-default, reftex-get-bib-names)
10535 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10536 (reftex-format-bib-entry, reftex-parse-bibitem)
10537 (reftex-format-bibitem, reftex-do-citation)
10538 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10539 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10540 (reftex-insert-bib-matches, reftex-format-citation)
10541 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10542 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10543 existing comments into docstrings.
10545 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10547 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10549 2013-06-12 Andreas Schwab <schwab@suse.de>
10551 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10552 for auto-save files.
10554 2013-06-12 Glenn Morris <rgm@gnu.org>
10556 * ido.el (ido-delete-ignored-files): Remove.
10557 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10558 Go back to calling ido-ignore-item-p directly.
10560 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10562 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10564 * ido.el (ido-delete-ignored-files): New function,
10565 split from ido-make-file-list-1.
10566 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10567 (ido-make-file-list-1): Use ido-delete-ignored-files.
10569 2013-06-12 Leo Liu <sdl.web@gmail.com>
10571 * progmodes/octave.el (inferior-octave-startup)
10572 (inferior-octave-completion-table)
10573 (inferior-octave-track-window-width-change)
10574 (octave-eldoc-function-signatures, octave-help)
10575 (octave-find-definition): Use single quoted strings.
10576 (inferior-octave-startup-args): Change default value.
10577 (inferior-octave-startup): Do not hard code "-i" and
10578 "--no-line-editing".
10579 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10580 (inferior-octave-directory-tracker): Use it.
10581 (octave-goto-function-definition): Robustify.
10582 (octave-help): Support highlighting operators in 'See also'.
10583 (octave-find-definition): Find subfunctions only in Octave mode.
10585 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10587 * help-fns.el (help-fns--compiler-macro): If the handler function is
10588 named, then put a link to it.
10589 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10590 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10591 (cl-typep): Use it.
10592 (cl-eval-when): Simplify debug spec.
10593 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10594 compiler-macro function instead of setting `compiler-macro-file'.
10596 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10598 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10599 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10601 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10602 Daniel Hackney <dan@haxney.org>
10604 First part of Daniel Hackney's patch to package.el.
10605 * emacs-lisp/package.el: Use defstruct.
10606 (package-desc): New, main struct.
10607 (package--bi-desc, package--ac-desc): New structs, used to describe the
10608 format in external files.
10609 (package-desc-vers): Replace with package-desc-version accessor.
10610 (package-desc-doc): Replace with package-desc-summary accessor.
10611 (package-activate-1): Remove `package' arg since the pkg-vec now
10613 (define-package): Use package-desc-from-define.
10614 (package-unpack-single): Change file-name arg to be a symbol.
10615 (package--add-to-archive-contents): Use package-desc-create and new
10616 accessor functions to package--ac-desc.
10617 (package-buffer-info, package-tar-file-info): Return a package-desc.
10618 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10619 arg to be a package-desc.
10620 (package-install-file): Adjust accordingly. Use \' to match EOS.
10621 (package--from-builtin): New function.
10622 (describe-package-1, package-menu--generate): Use it.
10623 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10624 (package-generate-autoloads): Idem and return the name of the file.
10625 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10626 Change pkg-info arg to be a package-desc.
10627 Use package-make-ac-desc.
10628 (package-upload-file): Use \' to match EOS.
10629 * finder.el (finder-compile-keywords): Use package-make-builtin.
10631 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10633 * vc/vc.el (vc-deduce-fileset): Change error message.
10634 (vc-read-backend): New function.
10635 (vc-next-action): Use it.
10637 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10639 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10640 (prolog-font-lock-keywords): Use regexp-opt instead.
10641 Don't manually highlight strings.
10642 (prolog-mode-variables): Simplify comment-start-skip.
10643 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10645 * emacs-lisp/generic.el (generic--normalise-comments)
10646 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10647 (generic-mode-set-comments): Use them.
10648 (generic-bracket-support): Use setq-local.
10649 (generic-make-keywords-list): Declare obsolete.
10651 2013-06-11 Glenn Morris <rgm@gnu.org>
10653 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10654 Prettify after setting font-lock-defaults. (Bug#14574)
10656 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10658 * replace.el (query-replace, occur-read-regexp-defaults-function)
10660 * subr.el (declare-function, number-sequence, local-set-key)
10661 (substitute-key-definition, locate-user-emacs-file)
10662 (with-silent-modifications, split-string, eval-after-load):
10663 Fix typos, remove unneeded backslashes and reflow some docstrings.
10665 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10667 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10668 default for Elisp files.
10670 2013-06-11 Glenn Morris <rgm@gnu.org>
10672 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10673 although define-derived-mode was doing this anyway. (Bug#14583)
10675 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10677 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10678 Fix make-variable-buffer-local call to refer to the correct variable.
10680 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10682 * eshell/em-term.el (eshell-visual-commands)
10683 (eshell-visual-subcommands, eshell-visual-options):
10684 Add summary line to docstrings. Add cross-references.
10686 2013-06-10 Glenn Morris <rgm@gnu.org>
10688 * epa.el (epa-read-file-name): New function. (Bug#14510)
10689 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10691 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10693 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10694 output redirection to be ignored with visual commands.
10696 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10698 * eshell/em-term.el (eshell-visual-command-p): New function.
10699 (eshell-term-initialize): Move long lambda to separate function
10700 eshell-visual-command-p.
10701 * eshell/em-dirs.el (eshell-dirs-initialize):
10702 * eshell/em-script.el (eshell-script-initialize):
10703 Add missing #' to lambda.
10705 2013-06-08 Leo Liu <sdl.web@gmail.com>
10707 * progmodes/octave.el (octave-add-log-current-defun): New function.
10708 (octave-mode): Set add-log-current-defun-function.
10709 (octave-goto-function-definition): Do not move point if not found.
10710 (octave-find-definition): Enhance to try subfunctions first.
10712 2013-06-08 Glenn Morris <rgm@gnu.org>
10714 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10715 (byte-compile-backward-char, byte-compile-backward-word):
10716 Improve previous change, to handle non-explicit nil.
10718 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10720 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10721 (smie--opener/closer-at-point): New function.
10722 (smie--matching-block-data): Use it. Don't match from right after an
10723 opener or right before a closer. Obey smie-blink-matching-inners.
10724 Don't signal a mismatch for repeated inners like "switch..case..case".
10726 2013-06-07 Leo Liu <sdl.web@gmail.com>
10728 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10730 (octave-function-header-regexp): Fix. (Bug#14570)
10731 (octave-help-mode-finish-hook, octave-help-mode-finish):
10732 Remove. Just use temp-buffer-show-hook.
10734 * newcomment.el (comment-search-backward): Revert last change.
10737 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10739 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10741 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10742 through xargs, to avoid failure due to MS-Windows limitations on
10743 command-line length.
10745 2013-06-06 Glenn Morris <rgm@gnu.org>
10747 * font-lock.el (lisp-font-lock-keywords-2):
10748 Treat user-error like error.
10750 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10751 (byte-compile-backward-char, byte-compile-backward-word):
10752 Handle explicit nil arguments. (Bug#14565)
10754 2013-06-05 Alan Mackenzie <acm@muc.de>
10756 * isearch.el (isearch-allow-prefix): New user option.
10757 (isearch-other-meta-char): Don't exit isearch when a prefix
10758 argument is typed whilst `isearch-allow-prefix' is non-nil.
10761 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10763 * autorevert.el (auto-revert-notify-handler): Use memq.
10764 Hide assertion failure.
10766 * skeleton.el: Use cl-lib.
10767 (skeleton-further-elements): Use defvar-local.
10768 (skeleton-insert): Use cl-progv.
10770 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10772 * progmodes/prog-mode.el (prog-prettify-symbols)
10773 (prog-prettify-install): Update docstrings.
10775 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10777 * simple.el: Move all the prog-mode code to prog-mode.el.
10778 * progmodes/prog-mode.el: New file.
10779 * loadup.el: Add prog-mode.el.
10781 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10783 * simple.el (prog-prettify-symbols): Add version.
10784 (prog-prettify-install): Add convenience function to prettify symbols.
10786 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10787 (perl--augmented-font-lock-keywords-1)
10788 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10789 variables and use it.
10791 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10792 (cfengine3-mode): Remove unneeded variable and use it.
10794 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10795 (lisp--augmented-font-lock-keywords-1)
10796 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10797 Remove unneeded variables and use it.
10799 2013-06-05 João Távora <joaotavora@gmail.com>
10801 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10802 to point when opening the connection. (Bug#14380)
10804 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * subr.el (load-history-regexp, load-history-filename-element)
10807 (eval-after-load, after-load-functions, do-after-load-evaluation)
10808 (eval-next-after-load, display-delayed-warnings)
10809 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10810 definition of save-match-data.
10811 (overriding-local-map): Remove accidental obsolescence declaration.
10813 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10815 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10817 Generalize symbol prettify support to prog-mode and implement it
10818 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10819 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10820 (prog--prettify-font-lock-compose-symbol)
10821 (prog-prettify-font-lock-symbols-keywords): New variables and
10822 functions to support symbol prettification.
10823 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10824 (lisp--augmented-font-lock-keywords-1)
10825 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10826 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10827 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10828 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10829 Implement prettify of -> => :: strings.
10830 * progmodes/perl-mode.el (perl-prettify-symbols)
10831 (perl--font-lock-compose-symbol)
10832 (perl--font-lock-symbols-keywords): Move to prog-mode.
10833 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10834 (perl-font-lock-keywords-1)
10835 (perl-font-lock-keywords-2): Remove explicit prettify support.
10836 (perl--augmented-font-lock-keywords)
10837 (perl--augmented-font-lock-keywords-1)
10838 (perl--augmented-font-lock-keywords-2, perl-mode):
10839 Implement prettify support.
10841 2013-06-05 Leo Liu <sdl.web@gmail.com>
10843 Re-implement SMIE matching block highlight using
10844 show-paren-data-function. (Bug#14395)
10845 * emacs-lisp/smie.el (smie-matching-block-highlight)
10846 (smie--highlight-matching-block-overlay)
10847 (smie--highlight-matching-block-lastpos)
10848 (smie-highlight-matching-block)
10849 (smie-highlight-matching-block-mode): Remove.
10850 (smie--matching-block-data-cache): New variable.
10851 (smie--matching-block-data): New function.
10852 (smie-setup): Use smie--matching-block-data for
10853 show-paren-data-function.
10855 * progmodes/octave.el (octave-mode-menu): Fix.
10856 (octave-find-definition): Skip garbage lines.
10858 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10860 Fix compilation error with simultaneous dynamic+lexical scoping.
10861 Add warning when a defvar appears after the first let-binding.
10862 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10863 (byte-compile-close-variables): Initialize it.
10864 (byte-compile--declare-var): New function.
10865 (byte-compile-file-form-defvar)
10866 (byte-compile-file-form-define-abbrev-table)
10867 (byte-compile-file-form-custom-declare-variable): Use it.
10868 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10869 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10870 (byte-compile-bind): Handle dynamic bindings that shadow
10872 (byte-compile-unbind): Make arg non-optional.
10873 (byte-compile-let): Simplify.
10874 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10875 (cconv--analyse-function, cconv-analyse-form): Populate it.
10876 Protect byte-compile-bound-variables to limit the scope of defvars.
10877 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10878 Remove unneeded rule for `declare'.
10880 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10881 so as to avoid depending on cl-adjoin at run-time.
10882 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10884 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10885 (macroexp--warn-and-return): Use it.
10887 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10889 * subr.el: Convert to lexical binding.
10890 (overriding-local-map): Make obsolete.
10891 (add-to-list): Doc fix. Add compiler macro.
10892 (read-key): Swap values of local maps.
10894 2013-06-05 Leo Liu <sdl.web@gmail.com>
10896 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10898 2013-06-04 Leo Liu <sdl.web@gmail.com>
10900 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10901 (compilation-auto-jump): Suppress the "Mark set" message to give
10902 way to exit message.
10904 2013-06-04 Alan Mackenzie <acm@muc.de>
10906 Remove faulty optimisation from indentation calculation.
10907 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10908 search limit based on 2000 characters back from indent-point.
10910 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10912 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10914 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10916 * emacs-lisp/lisp.el: Use lexical-binding.
10917 (lisp--local-variables-1, lisp--local-variables): New functions.
10918 (lisp--local-variables-completion-table): New var.
10919 (lisp-completion-at-point): Use it complete let-bound vars.
10921 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10922 eagerly (bug#14422).
10924 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10926 * autorevert.el (auto-revert-notify-enabled)
10927 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10928 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10929 (auto-revert-notify-handler): Handle also gfilenotify.
10931 * subr.el (file-notify-handle-event): New defun. Replacing ...
10932 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10935 2013-06-03 Juri Linkov <juri@jurta.org>
10937 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10938 `M-s h .'. (Bug#14427)
10940 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10941 command `hi-lock-face-symbol-at-point'.
10942 (hi-lock-face-symbol-at-point): New command.
10943 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10944 (hi-lock-menu): Add `highlight-symbol-at-point'.
10945 (hi-lock-mode): Doc fix.
10947 * isearch.el (isearch-forward-symbol-at-point): New command.
10948 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10949 (isearch-highlight-regexp): Add a regexp which matches
10950 words/symbols for word/symbol mode.
10952 * subr.el (find-tag-default-bounds): New function with the body
10953 mostly moved from `find-tag-default'.
10954 (find-tag-default): Move most code to `find-tag-default-bounds',
10955 call it and apply `buffer-substring-no-properties' afterwards.
10957 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10959 * eshell/em-term.el (eshell-term-initialize):
10960 Use `cl-intersection' rather than `intersection'.
10962 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10964 * vc/log-view.el: Doc fix.
10965 (log-view-mode-map): Copy keymap from `special-mode-map'.
10967 2013-06-02 Eric Ludlam <zappo@gnu.org>
10969 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10970 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10971 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10972 (eieio-unbound, eieio-default-superclass)
10973 (eieio--define-field-accessors, method-static, method-before)
10974 (method-primary, method-after, method-num-lists)
10975 (method-generic-before, method-generic-primary)
10976 (method-generic-after, method-num-slots)
10977 (eieio-specialized-key-to-generic-key)
10978 (eieio--check-type, class-v, class-p)
10979 (eieio-class-name, define-obsolete-function-alias)
10980 (eieio-class-parents-fast, eieio-class-children-fast)
10981 (same-class-fast-p, class-constructor, generic-p)
10982 (generic-primary-only-p, generic-primary-only-one-p)
10983 (class-option-assoc, class-option, eieio-object-p)
10984 (class-abstract-p, class-method-invocation-order)
10985 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10986 (eieio-class-un-autoload, eieio-defclass)
10987 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10988 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10989 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10990 (eieio-defgeneric-reset-generic-form)
10991 (eieio-defgeneric-form-primary-only)
10992 (eieio-defgeneric-reset-generic-form-primary-only)
10993 (eieio-defgeneric-form-primary-only-one)
10994 (eieio-defgeneric-reset-generic-form-primary-only-one)
10995 (eieio-unbind-method-implementations)
10996 (eieio--defmethod, eieio--typep)
10997 (eieio-perform-slot-validation, eieio-validate-slot-value)
10998 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10999 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
11000 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
11001 (eieio-slot-name-index, eieio-class-slot-name-index)
11002 (eieio-set-defaults, eieio-initarg-to-attribute)
11003 (eieio-attribute-to-initarg, eieio-c3-candidate)
11004 (eieio-c3-merge-lists, eieio-class-precedence-c3)
11005 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
11006 (eieio-class-precedence-list, eieio-generic-call-methodname)
11007 (eieio-generic-call-arglst, eieio-generic-call-key)
11008 (eieio-generic-call-next-method-list)
11009 (eieio-pre-method-execution-functions, eieio-generic-call)
11010 (eieio-generic-call-primary-only, eieiomt-method-list)
11011 (eieiomt-optimizing-obarray, eieiomt-install)
11012 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
11013 (eieio-generic-form, eieio-defmethod, make-obsolete)
11014 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
11015 (defclass): Remove `eval-and-compile' from macro.
11016 (call-next-method, shared-initialize): Instead of using
11017 `scoped-class' variable, use new eieio--scoped-class, and
11018 eieio--with-scoped-class.
11019 (initialize-instance): Rename local variable 'scoped-class' to
11020 'this-class' to remove ambiguitity from old global.
11022 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
11024 (eieio--scoped-class-stack): New variable.
11025 (eieio--scoped-class): New fcn.
11026 (eieio--with-scoped-class): New scoping macro.
11027 (eieio-defclass): Use pushnew instead of add-to-list.
11028 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
11029 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
11030 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
11031 `scoped-class' variable, use new eieio--scoped-class, and
11032 eieio--with-scoped-class.
11034 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
11036 2013-06-02 Tassilo Horn <tsdh@gnu.org>
11038 * eshell/esh-ext.el (eshell-external-command): Pass args to
11039 `eshell-find-interpreter'.
11040 (eshell-find-interpreter): Add new second parameter ARGS.
11042 * eshell/em-script.el (eshell-script-initialize): Add second arg
11043 to the function added as MATCH to `eshell-interpreter-alist'.
11045 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
11046 the function added as MATCH to `eshell-interpreter-alist'.
11048 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11049 (eshell-visual-options): New defcustom.
11050 (eshell-escape-control-x): Adapt docstring.
11051 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11052 `eshell-visual-options' in addition to `eshell-visual-commands'.
11053 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11055 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11057 * progmodes/python.el (python-indent-block-enders): Add break,
11058 continue and raise keywords.
11060 2013-06-01 Glenn Morris <rgm@gnu.org>
11062 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11064 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11065 * progmodes/cc-cmds.el (delete-forward-p):
11066 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11067 * progmodes/cc-engine.el (buffer-syntactic-context):
11068 * progmodes/cc-fonts.el (face-property-instance):
11069 * progmodes/cc-mode.el (set-keymap-parents):
11070 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11071 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11072 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11073 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11074 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11076 * progmodes/cc-vars.el (other): Emacs has this widget since
11077 at least 21.1, so don't (re)define it.
11079 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11080 Replace the obsolete alias pcomplete-arg-quote-list.
11082 2013-06-01 Leo Liu <sdl.web@gmail.com>
11084 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11085 punctuation syntax.
11086 (inferior-octave-minimal-columns)
11087 (inferior-octave-last-column-width): New variables.
11088 (inferior-octave-track-window-width-change): New function.
11089 (inferior-octave-mode): Adjust column width so that Octave output,
11090 for example from 'ls', can fit into the window nicely.
11092 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11094 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11095 Highlight expansions inside regexp literals.
11097 2013-05-31 Glenn Morris <rgm@gnu.org>
11099 * obsolete/sym-comp.el (symbol-complete):
11100 Replace obsolete completion-annotate-function.
11102 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11104 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11106 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11107 New function, checks if point is inside a literal that allows
11108 expression expansion.
11109 (ruby-syntax-propertize-expansion): Use it.
11110 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11113 2013-05-30 Juri Linkov <juri@jurta.org>
11115 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11117 (isearch-invisible): New variable.
11118 (isearch-forward): Doc fix.
11119 (isearch-mode): Set `isearch-invisible'
11120 to the value of `search-invisible'.
11121 (isearch-toggle-case-fold): Doc fix.
11122 (isearch-toggle-invisible): New command.
11123 (isearch-query-replace): Let-bind `search-invisible'
11124 to the value of `isearch-invisible'.
11125 (isearch-search): Use `isearch-invisible' instead of
11126 `search-invisible'. Let-bind `search-invisible'
11127 to the value of `isearch-invisible'. (Bug#11378)
11129 2013-05-30 Juri Linkov <juri@jurta.org>
11131 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11132 call when `query-flag' is nil and `search-invisible' is non-nil.
11135 2013-05-30 Glenn Morris <rgm@gnu.org>
11137 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11139 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11140 (cc-require): Suppress spurious "noruntime" warnings.
11141 (cc-require-when-compile): Use fboundp, for sake of compiler.
11143 * progmodes/cc-mode.el: Move load of cc-vars before that of
11144 cc-langs (which in turn loads cc-vars), to quieten compiler.
11146 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11148 * paren.el: Simplify the code.
11149 (show-paren-mode): Always start the timer.
11150 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11151 (show-paren--overlay, show-paren--overlay-1): Rename from
11152 show-paren-overlay and show-paren-overlay-1, and initialize to an
11153 overlay rather than to nil.
11154 (show-paren-function): Misc cleanup and simplifications.
11156 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11158 * paren.el (show-paren-data-function): New hook.
11159 (show-paren--default): New function, extracted from show-paren-function.
11160 (show-paren-function): Use show-paren-data-function.
11162 2013-05-30 Glenn Morris <rgm@gnu.org>
11164 * ielm.el (ielm-map, ielm-complete-symbol):
11165 Use completion-at-point rather than obsolete functions.
11166 (inferior-emacs-lisp-mode): Doc fix.
11167 Set completion-at-point-functions, rather than
11168 comint-dynamic-complete-functions.
11170 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11171 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11172 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11174 * image.el (image-animated-p): Tweak definition.
11176 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11177 (rlogin-process-connection-type): Tweak default. Add set-after.
11178 (rlogin-host): Doc fix.
11179 (rlogin): Tweak prompt.
11180 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11182 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11183 * progmodes/tcl.el (inferior-tcl-mode-map):
11184 Use completion-at-point rather than obsolete alias.
11186 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11188 * minibuffer.el (read-file-name-completion-ignore-case):
11189 Move before completion--in-region, for eager macro expansion.
11191 2013-05-29 Juri Linkov <juri@jurta.org>
11193 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11194 for total count of matching lines. Add `global-matches' for total
11195 count of matches. Rename `matches' to `lines' for count of
11196 matching lines. Add `matches' for count of matches.
11197 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11198 to `prev-line' for line number of prev match endpt.
11199 Increment `matches' for every match. Print the number of
11200 matching lines in the header.
11201 (occur-context-lines): Rename `lines' to `curr-line'.
11202 Rename `prev-lines' to `prev-line'. (Bug#14017)
11204 2013-05-29 Juri Linkov <juri@jurta.org>
11206 * replace.el (perform-replace): Add `skip-read-only-count',
11207 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11208 Increment them for corresponding conditions and report the number
11209 of skipped occurrences in the final message. (Bug#11746)
11210 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11211 (replace-string, replace-regexp): Doc fix.
11213 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11215 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11217 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11218 prog-mode-map (bug#14504).
11220 2013-05-29 Leo Liu <sdl.web@gmail.com>
11222 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11223 (octave-help): Small simplification.
11225 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11226 off the highlight first.
11228 2013-05-29 Glenn Morris <rgm@gnu.org>
11230 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11231 Handle idlwave-last-system-routine-info-cons-cell being nil.
11233 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11234 (idlwave-write-paths): Simplify via with-temp-buffer.
11236 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11237 * emulation/cua-rect.el: Also load cua-base at run time.
11239 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11240 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11241 (cperl-imenu-on-info): Require imenu.
11243 2013-05-28 Alan Mackenzie <acm@muc.de>
11245 Handle "capitalised keywords" correctly.
11246 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11248 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11250 * eshell/em-unix.el: Add -r option to cp.
11252 2013-05-28 Glenn Morris <rgm@gnu.org>
11254 * vc/vc-arch.el (vc-exec-after): Declare.
11255 (vc-switches): Autoload.
11256 * vc/vc-bzr.el: No need to require vc when compiling.
11257 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11258 (vc-resynch-buffer, vc-dir-refresh): Declare.
11259 (vc-setup-buffer, vc-switches): Autoload.
11260 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11261 (vc-resynch-buffer): Declare.
11262 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11263 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11264 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11265 (grep-read-regexp, grep-read-files, grep-expand-template)
11266 (vc-dir-refresh): Declare.
11267 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11268 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11269 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11270 * vc/vc-mtn.el (vc-exec-after): Declare.
11271 (vc-switches): Autoload.
11272 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11273 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11274 (vc-file-tree-walk): Declare.
11275 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11276 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11277 (vc-tag-precondition, vc-rename-master): Autoload.
11278 * vc/vc-svn.el (vc-exec-after): Declare.
11279 (vc-switches, vc-setup-buffer): Autoload.
11280 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11282 (vc-resynch-buffer): Declare.
11284 * obsolete/fast-lock.el (byte-compile-warnings):
11285 Don't warn about obsolete features in this obsolete file.
11287 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11288 Move definition before use.
11290 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11291 (dun-unix-verbs): Remove dun-zippy.
11292 (dun-zippy): Remove function.
11294 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11296 2013-05-27 Juri Linkov <juri@jurta.org>
11298 * replace.el (replace-search): New function with code moved out
11299 from `perform-replace'.
11300 (replace-highlight, replace-dehighlight): Move function definitions
11301 up closer to `replace-search'. (Bug#11746)
11303 2013-05-27 Juri Linkov <juri@jurta.org>
11305 * replace.el (perform-replace): Ignore invisible matches.
11306 In addition to checking `query-replace-skip-read-only', also
11307 filter out matches by calling `run-hook-with-args-until-failure'
11308 on `isearch-filter-predicates', and also check `search-invisible'
11309 for t or call `isearch-range-invisible'.
11310 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11312 2013-05-27 Juri Linkov <juri@jurta.org>
11314 * isearch.el (isearch-filter-predicates): Rename from
11315 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11316 (isearch-message-prefix): Display text from the property
11317 `isearch-message-prefix' of the currently active filters.
11318 (isearch-search): Don't compare `isearch-filter-predicate' with
11319 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11320 on `isearch-filter-predicates'. Also check `search-invisible' for t
11321 or call `isearch-range-invisible'.
11322 (isearch-filter-visible): Make obsolete.
11323 (isearch-lazy-highlight-search):
11324 Call `run-hook-with-args-until-failure' on
11325 `isearch-filter-predicates' and use `isearch-range-invisible'.
11327 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11328 `isearch-filter-predicates' instead of `funcall'ing
11329 `isearch-filter-predicate'.
11330 (Info-mode): Set `Info-isearch-filter' to
11331 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11333 * dired-aux.el (dired-isearch-filter-predicate-orig):
11335 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11336 (dired-isearch-filenames-end): Add and remove
11337 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11338 instead of changing the value of `isearch-filter-predicate'.
11339 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11340 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11341 Put property `isearch-message-prefix' to "filename " on
11342 `dired-isearch-filter-filenames'.
11344 * wdired.el (wdired-change-to-wdired-mode):
11345 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11346 locally instead of changing `isearch-filter-predicate'.
11347 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11349 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11351 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11352 return the commit hash (Bug#14459). Also set the
11353 `vc-git-detached' property.
11354 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11355 (vc-git-mode-line-string): Use the same help-echo format whether
11356 in detached mode or not, because we know the actual revision now.
11357 When in detached mode, shorten the revision to 7 chars.
11359 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11361 * emacs-lisp/easy-mmode.el (define-minor-mode):
11362 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11363 mode hook and provide a docstring.
11365 2013-05-27 Alan Mackenzie <acm@muc.de>
11367 Remove spurious syntax-table text properties inserted by C-y.
11368 * progmodes/cc-mode.el (c-after-change): Also clear hard
11369 syntax-table property with value nil.
11371 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11373 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11374 when reading the events; the buffer layout shall not be changed.
11376 2013-05-27 Leo Liu <sdl.web@gmail.com>
11378 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11380 (inferior-octave-directory-tracker): Automatically re-sync
11382 (octave-help): Improve handling of 'See also'.
11384 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11386 * doc-view.el: Minor naming convention tweaks.
11387 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11389 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11390 even if there's no `display' property yet (bug#14435).
11392 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11394 * subr.el (unmsys--file-name): Rename from reveal-filename.
11396 * Makefile.in (custom-deps, finder-data, autoloads)
11397 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11398 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11399 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11401 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11404 error-completion on the first 2 args of condition-case (bug#14446).
11407 2013-05-25 Leo Liu <sdl.web@gmail.com>
11409 * comint.el (comint-previous-matching-input): Do not flood the
11410 *Messages* buffer with trivial messages.
11412 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11414 * progmodes/flymake.el (flymake-nop): Don't return a string.
11415 (flymake-set-at): Fix typo.
11417 * simple.el (read--expression): New function, extracted from
11418 eval-expression. Set completion-at-point-functions (bug#14465).
11419 (eval-expression, eval-minibuffer): Use it.
11421 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11423 * progmodes/flymake.el (flymake-save-buffer-in-file)
11424 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11425 (flymake-selected-frame, flymake-log, flymake-ins-after)
11426 (flymake-set-at, flymake-get-buildfile-from-cache)
11427 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11428 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11429 Refine the doc string.
11430 (flymake-get-file-name-mode-and-masks): Reformat.
11431 (flymake-get-real-file-name-function): Fix a minor bug.
11433 2013-05-24 Juri Linkov <juri@jurta.org>
11435 * progmodes/grep.el (grep-mode-font-lock-keywords):
11436 Support =linenumber= format used by git-grep for lines with
11437 function names. (Bug#13549)
11439 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11441 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11442 0 after a semi-colon; it works better for smie-auto-fill.
11443 (octave--indent-new-comment-line): New function.
11444 (octave-indent-new-comment-line): Use it (indirectly).
11445 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11446 modify comment-line-break-function.
11448 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11449 (smie-setup): Use add-function to set it.
11451 2013-05-24 Sam Steingold <sds@gnu.org>
11453 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11454 argument (before the `interactive' argument).
11456 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * image-mode.el (image-mode-winprops): Add winprops to
11459 image-mode-winprops-alist before running
11460 image-mode-new-window-functions.
11461 * doc-view.el (doc-view-new-window-function): Don't delay
11462 doc-view-goto-page via timers (bug#14435).
11464 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11466 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11467 (doc-view-desktop-save-buffer): New function.
11468 (doc-view-restore-desktop-buffer): New function.
11469 (desktop-buffer-mode-handlers):
11470 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11472 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11473 `desktop-save-buffer' function.
11475 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11477 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11478 (tramp-gvfs-file-name-handler): Raise a user error when
11479 `tramp-gvfs-enabled' is nil.
11480 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11481 Do not raise a user error when loading package. (Bug#14447)
11483 * net/xesam.el: Move to obsolete/.
11485 2013-05-24 Glenn Morris <rgm@gnu.org>
11487 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11489 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11491 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11492 (Info-find-node, Man-getpage-in-background): Declare.
11494 * mail/unrmail.el (unrmail):
11495 Replace obsolete detect-coding-with-priority.
11497 * net/socks.el (socks-split-string): Use this rather than split-string.
11498 (socks-nslookup-host): Update for above change.
11499 (dynamic-choice, s5-dynamic-choice-match)
11500 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11501 Comment out unused code.
11503 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11504 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11505 (gud-tooltip-echo-area): Make obsolete.
11506 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11508 * progmodes/js.el (js--optimize-arglist): Declare.
11510 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11512 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11513 (ediff-window-C): Declare.
11515 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11516 Tweak requires to silence compiler.
11518 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11519 (he-search-string, he-tried-table, he-expand-list)
11520 (he-init-string, he-string-member, he-substitute-string)
11521 (he-reset-string): Declare.
11523 * obsolete/options.el (list-options): Use custom-variable-p,
11524 rather than obsolete alias.
11526 2013-05-23 Sam Steingold <sds@gnu.org>
11528 * simple.el (shell-command-on-region): Pass the `replace' argument
11529 down to `call-process-region' to comply with the doc as reported on
11530 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11532 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11534 * emacs-lisp/smie.el (smie-indent-forward-token)
11535 (smie-indent-backward-token): Handle string tokens (bug#14381).
11537 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11539 * ielm.el (ielm-menu): New menu.
11540 (inferior-emacs-lisp-mode): Set comment-start.
11542 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11544 * textmodes/reftex.el (reftex-ref-style-toggle):
11545 Fix deactivate action.
11547 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11548 Add cleveref macros.
11550 * textmodes/reftex-parse.el
11551 (reftex-locate-bibliography-files): Accept options for
11552 bibliography commands.
11553 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11554 Add addbibresource. Basic Biblatex support.
11556 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11558 * net/tramp-gvfs.el (top):
11559 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11560 when loading package. (Bug#14447)
11562 2013-05-23 Glenn Morris <rgm@gnu.org>
11564 * progmodes/js.el: No need to load comint when compiling.
11565 (ring-insert, comint-send-string, comint-send-input)
11566 (comint-last-input-end, ido-chop): Declare.
11568 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11569 * vc/ediff-mult.el: Adjust requires.
11570 (ediff-directories-internal, ediff-directory-revisions-internal)
11571 (ediff-patch-file-internal): Declare.
11572 * vc/ediff-ptch.el: Adjust requires.
11573 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11574 (ediff-find-file): Autoload.
11575 * vc/ediff-util.el: No need to load ediff when compiling.
11576 (ediff-regions-internal): Declare.
11577 * vc/ediff-wind.el: Adjust requires.
11578 (ediff-compute-toolbar-width): Define when compiling.
11579 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11580 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11581 (dired-get-filename, dired-get-marked-files)
11582 (ediff-last-dir-patch, ediff-patch-default-directory)
11583 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11584 (ediff-patch-buffer-internal): Declare.
11586 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11587 (ispell-process, ispell-buffer-local-words, lm-summary)
11588 (lm-section-start, lm-section-end): Declare.
11589 (checkdoc-ispell-init): Simplify.
11591 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11592 (he-string-member, he-reset-string, he-substitute-string): Declare.
11594 * eshell/em-ls.el: Adjust requires.
11595 (eshell-glob-regexp): Declare.
11596 * eshell/em-tramp.el: Adjust requires.
11597 (eshell-parse-command): Autoload.
11598 * eshell/em-xtra.el: Adjust requires.
11599 (eshell-parse-command): Autoload.
11600 * eshell/esh-ext.el: Adjust requires.
11601 (eshell-parse-command, eshell-close-handles): Autoload.
11602 * eshell/esh-io.el: Adjust requires.
11603 (eshell-output-filter): Autoload.
11604 * eshell/esh-util.el: No need to load tramp when compiling.
11605 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11607 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11608 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11609 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11610 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11611 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11612 * eshell/esh-opt.el, eshell/esh-proc.el:
11613 * eshell/esh-var.el: Adjust requires.
11614 * eshell/eshell.el: Do not require esh-util twice.
11615 (eshell-add-input-to-history): Declare.
11616 (eshell-command): Check history module is active before using it.
11618 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11620 2013-05-22 Leo Liu <sdl.web@gmail.com>
11622 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11624 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11626 * autorevert.el (auto-revert-notify-add-watch)
11627 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11628 it indicates changes in file modification time.
11630 2013-05-22 Glenn Morris <rgm@gnu.org>
11632 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11633 Always delete the autoloaded function from the noruntime and
11634 unresolved functions lists.
11636 * allout.el: No need to load epa, epg, overlay when compiling.
11637 (epg-context-set-passphrase-callback, epg-list-keys)
11638 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11639 (epg-key-user-id-list): Declare.
11641 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11642 (viper-set-parsing-style-toggling-macro)
11643 (viper-set-emacs-state-searchstyle-macros):
11644 Use called-interactively-p on Emacs.
11645 (viper-looking-back): Make it an obsolete alias. Update callers.
11646 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11647 Use looking-back rather than viper-looking-back.
11648 (viper-tmp-insert-at-eob, viper-enlarge-region)
11649 (viper-read-string-with-history, viper-register-to-point)
11650 (viper-append-to-register, viper-change-state-to-vi)
11651 (viper-backward-char-carefully, viper-forward-char-carefully)
11652 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11653 (viper-change-state-to-emacs): Declare.
11654 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11655 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11656 * emulation/viper-mous.el: Do not load viper-cmd.
11657 (viper-backward-char-carefully, viper-forward-char-carefully)
11658 (viper-forward-word, viper-adjust-window): Declare.
11660 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11662 * progmodes/idlw-help.el (idlwave-help-fontify):
11663 Use called-interactively-p.
11665 * term/w32console.el (w32-get-console-codepage)
11666 (w32-get-console-output-codepage): Declare.
11668 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11669 Remove unnecessary declarations.
11670 (dframe-message): Doc fix.
11672 * info.el (dframe-select-attached-frame, dframe-current-frame):
11675 * speedbar.el (speedbar-message): Make it an obsolete alias.
11676 Update all callers.
11677 (speedbar-with-attached-buffer)
11678 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11679 (speedbar-with-writable): Use backquote.
11680 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11681 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11682 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11683 rather than speedbar- aliases.
11684 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11685 (speedbar-make-specialized-keymap, speedbar-insert-button)
11686 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11687 (speedbar-do-function-pointer): Declare.
11688 (rmail-speedbar-button, rmail-speedbar-find-file)
11689 (rmail-speedbar-move-message):
11690 Use dframe-with-attached-buffer rather than speedbar- alias.
11691 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11692 (dframe-message, speedbar-make-specialized-keymap)
11693 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11694 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11695 (speedbar-insert-button, dframe-select-attached-frame)
11696 (dframe-maybee-jump-to-attached-frame)
11697 (speedbar-change-initial-expansion-list)
11698 (speedbar-previously-used-expansion-list-name): Declare.
11699 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11700 Use dframe-message, dframe-with-attached-buffer rather than
11702 (gud-sentinel): Silence compiler.
11703 * progmodes/vhdl-mode.el (speedbar-refresh)
11704 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11705 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11706 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11707 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11708 (speedbar-file-lists, speedbar-make-tag-line)
11709 (speedbar-line-directory, speedbar-goto-this-file)
11710 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11711 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11712 (speedbar-make-button, speedbar-reset-scanners)
11713 (speedbar-files-item-info, speedbar-line-text)
11714 (speedbar-find-file-in-frame, speedbar-set-timer)
11715 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11716 (speedbar-with-writable): Do not (re)define it.
11717 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11718 rather than speedbar- alias.
11720 2013-05-21 Leo Liu <sdl.web@gmail.com>
11722 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11724 (octave-mode): Tweak fill-nobreak-predicate.
11725 (inferior-octave-startup): Check process to avoid infinite loop.
11726 (inferior-octave): Pop to buffer first to show abornmal process
11729 2013-05-21 Glenn Morris <rgm@gnu.org>
11731 * printing.el (pr-menu-bar): Define when compiling.
11733 2013-05-21 Leo Liu <sdl.web@gmail.com>
11735 * progmodes/octave.el (octave-auto-fill): Remove.
11736 (octave-indent-new-comment-line): Improve.
11737 (octave-mode): Use auto fill mode through
11738 comment-line-break-function and fill-nobreak-predicate.
11739 (octave-goto-function-definition): Support DEFUN_DLD.
11740 (octave-beginning-of-defun): Small tweak.
11741 (octave-help): Show parent directory.
11743 2013-05-21 Glenn Morris <rgm@gnu.org>
11745 * files.el (dired-unmark):
11746 * progmodes/gud.el (gdb-input): Update declarations.
11748 * calculator.el (electric, ehelp): No need to load when compiling.
11749 (Electric-command-loop, electric-describe-mode): Declare.
11751 * doc-view.el (doc-view-current-converter-processes): Move before use.
11753 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11754 Move MODE-set-explicitly definition before use.
11756 * international/mule-diag.el (mule-diag):
11757 Don't use obsolete window-system-version.
11759 * mail/feedmail.el (smtpmail): No need to load when compiling.
11760 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11762 * mail/mail-utils.el (rfc822): No need to load when compiling.
11763 (rfc822-addresses): Autoload it.
11764 (mail-strip-quoted-names): Trivial simplification.
11766 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11767 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11769 * net/snmp-mode.el (tempo): Don't duplicate requires.
11771 * progmodes/prolog.el (info): No need to load when compiling.
11772 (comint): Require before shell requires it.
11773 (Info-goto-node): Autoload it.
11774 (Info-follow-nearest-node): Declare.
11775 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11777 * textmodes/artist.el (picture-mode-exit): Declare.
11779 * textmodes/reftex-parse.el (reftex-parse-from-file):
11780 Trivial rewrite so the compiler can parse it better.
11782 2013-05-20 Leo Liu <sdl.web@gmail.com>
11784 * progmodes/octave.el (octave-help-mode-map)
11785 (octave-help-mode-finish-hook): New variables.
11786 (octave-help-mode, octave-help-mode-finish): New functions.
11787 (octave-help): Use octave-help-mode.
11789 2013-05-20 Glenn Morris <rgm@gnu.org>
11791 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11793 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11795 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11796 start at point, so that expansion starting right after opening
11797 slash in a regexp is recognized.
11798 (ruby-syntax-before-regexp-re): New defvar, extracted from
11799 ruby-syntax-propertize-function. Since the value of this regexp
11800 is looked up at runtime now, we should be able to turn
11801 `ruby-syntax-methods-before-regexp' into a defcustom later.
11802 (ruby-syntax-propertize-function): Split regexp matching into two
11803 parts, for opening and closing slashes. That allows us to skip
11804 over string interpolations and support multiline regexps.
11805 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11806 for them, which calls `ruby-syntax-propertize-expansion'.
11807 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11808 call to `ruby-syntax-propertize-function'.
11809 (ruby-syntax-propertize-expansion): Extracted from
11810 `ruby-syntax-propertize-expansions'. Handles one expansion.
11811 (ruby-syntax-propertize-percent-literal): Leave point right after
11812 the percent symbol, so that the expression expansion rule can
11813 propertize the contents.
11814 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11816 (ruby-syntax-propertize-expansions): Remove.
11818 2013-05-18 Juri Linkov <juri@jurta.org>
11820 * man.el (Man-default-man-entry): Remove `-' from the end
11821 of the default value. (Bug#14400)
11823 2013-05-18 Glenn Morris <rgm@gnu.org>
11825 * comint.el (comint-password-prompt-regexp):
11826 Allow "password for XXX" where XXX contains colons (eg https://...).
11828 2013-05-18 Leo Liu <sdl.web@gmail.com>
11830 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11831 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11832 (octave-source-directories): Don't check process.
11833 (octave-source-directories, octave-find-definition): Doc fix.
11835 2013-05-18 Glenn Morris <rgm@gnu.org>
11837 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11838 Remove backspace/delete bindings. (Bug#14392)
11840 * cus-dep.el (custom-make-dependencies): Sort the output.
11841 (custom-versions-load-alist): Convert comment to doc.
11843 2013-05-17 Leo Liu <sdl.web@gmail.com>
11845 * newcomment.el (comment-search-backward): Stricter in finding
11846 comment start. (Bug#14303)
11848 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11849 (octave-comment-start-skip): Properly anchored.
11851 2013-05-17 Leo Liu <sdl.web@gmail.com>
11853 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11854 Clean up when turned off. (Bug#14395)
11855 (smie--highlight-matching-block-overlay): No longer buffer-local.
11856 (smie-highlight-matching-block): Adjust.
11858 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11860 Doc string fix for "nanoseconds" (Bug#14406).
11861 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11862 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11864 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11866 * calc/calc-units.el (math-extract-units): Preserve powers
11869 2013-05-17 Leo Liu <sdl.web@gmail.com>
11871 * subr.el (delete-consecutive-dups): New function.
11872 * ido.el (ido-set-matches-1): Use it.
11873 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11874 * ido.el (ido-remove-consecutive-dups): Remove.
11876 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11878 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11879 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11880 regexp-opt's `words'.
11882 2013-05-16 Leo Liu <sdl.web@gmail.com>
11884 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11885 (smie--highlight-matching-block-overlay)
11886 (smie--highlight-matching-block-lastpos)
11887 (smie--highlight-matching-block-timer): New variables.
11888 (smie-highlight-matching-block): New function.
11889 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11890 (smie-setup): Conditionally enable smie-blink-matching-open.
11892 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11894 Sync with upstream verilog-mode r840.
11895 * progmodes/verilog-mode.el (verilog-mode-version)
11896 (verilog-mode-release-date): Update.
11897 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11898 (verilog-sig-tieoff): Fix string error on
11899 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11900 (verilog-read-decls): Fix parameters confusing
11901 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11903 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11905 * subr.el (reveal-filename): New function.
11907 * loadup.el: Compute Emacs executable versions on MS-Windows,
11908 where executables have the .exe extension. Add a hard link
11909 emacs-XX.YY.ZZ.exe on MS-Windows.
11911 * Makefile.in (XARGS_LIMIT): New variable.
11912 (custom-deps, finder-data, autoloads)
11913 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11914 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11915 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11916 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11918 2013-05-16 Leo Liu <sdl.web@gmail.com>
11920 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11921 (octave-mode-menu, octave-mode-map): Remove its uses.
11923 2013-05-16 Reto Zimmermann <reto@gnu.org>
11925 Sync with upstream vhdl mode v3.34.2.
11926 * progmodes/vhdl-mode.el: Use `push' throughout.
11927 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11928 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11929 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11930 (vhdl-actual-generic-name): New option to derive actual generic name.
11931 (vhdl-port-paste-signals): Replace formal by actual generics.
11932 (vhdl-beautify): New name for old group vhdl-align. Update users.
11933 (vhdl-beautify-options): New option.
11934 (vhdl-last-input-event): New compat alias. Use throughout.
11935 (vhdl-goto-line): Replace user level function `goto-line'.
11936 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11937 vhdl-fix-statement-buffer.
11938 (vhdl-create-mode-menu): Add some entries.
11939 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11940 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11941 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11942 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11943 to force statements on one line.
11944 (vhdl-remove-trailing-spaces-region):
11945 New, split from vhdl-remove-trailing-spaces.
11946 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11947 Respect vhdl-beautify-options.
11948 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11949 (vhdl-update-sensitivity-list): Not add with index if exists without.
11950 Not include array index with signal. Ignore keywords in comments.
11951 (vhdl-get-visible-signals): Regexp tweaks.
11952 (vhdl-template-component-inst): Handle empty library.
11953 (vhdl-template-type): Add template for 'enum' type.
11954 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11955 Use vhdl-replace-string.
11956 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11957 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11958 (vhdl-speedbar-initialize): Update for above name change.
11959 (vhdl-compose-wire-components): Fix in handling of constants.
11960 (vhdl-error-regexp-emacs-alist): New variable.
11961 (vhdl-error-regexp-add-emacs): New function;
11962 adds support for new compile.el (Emacs 22+)
11963 (vhdl-generate-makefile-1): Change target order for single lib. units.
11964 Allow use of absolute file names.
11966 2013-05-16 Leo Liu <sdl.web@gmail.com>
11968 * simple.el (prog-indent-sexp): Indent enclosing defun.
11970 2013-05-15 Glenn Morris <rgm@gnu.org>
11972 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11973 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11974 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11975 (whitespace-highlight): Move to whitespace group.
11977 * comint.el (comint-source):
11978 * pcmpl-linux.el (pcmpl-linux):
11979 * shell.el (shell-faces):
11980 * eshell/esh-opt.el (eshell-opt):
11981 * international/ccl.el (ccl): Remove empty custom groups.
11983 * completion.el (dynamic-completion-mode):
11984 * jit-lock.el (jit-lock-debug-mode):
11985 * minibuffer.el (completion-in-region-mode):
11986 * type-break.el (type-break-mode-line-message-mode)
11987 (type-break-query-mode):
11988 * emulation/tpu-edt.el (tpu-edt-mode):
11989 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11990 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11991 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11993 * term/xterm.el (xterm): Change parent group to terminals.
11995 * master.el (master): Remove empty custom group.
11996 (master-mode): Remove unused :group argument.
11997 * textmodes/refill.el (refill): Remove empty custom group.
11998 (refill-mode): Remove unused :group argument.
12000 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
12002 * cus-dep.el: Provide a feature.
12003 (custom-make-dependencies): Ignore dotfiles (dir-locals).
12004 Don't mistakenly ignore files whose basenames match a basename
12005 from preloaded-file-list (eg cedet/ede/simple.el).
12006 Add a fallback method for getting :group.
12008 2013-05-15 Juri Linkov <juri@jurta.org>
12010 * isearch.el (isearch-char-by-name): Rename from
12011 `isearch-insert-char-by-name'. Doc fix.
12012 (isearch-forward): Mention `isearch-char-by-name' in
12013 the docstring. (Bug#13348)
12015 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
12016 `exit-minibuffer' instead of
12017 `isearch-nonincremental-exit-minibuffer'.
12018 (isearch-edit-string): Remove mention of
12019 `isearch-nonincremental-exit-minibuffer' from docstring.
12020 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
12021 (isearch-forward-exit-minibuffer)
12022 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
12024 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12026 * loadup.el: Just use unversioned DOC.
12028 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
12029 literals as extending to EOB.
12030 (nxml-last-fontify-end): Remove unused variable.
12031 (nxml-after-change1): Use with-silent-modifications.
12032 (nxml-extend-after-change-region): Simplify.
12033 (nxml-extend-after-change-region1): Remove function.
12034 (nxml-after-change1): Don't adjust for dependent regions.
12035 (nxml-fontify-matcher): Simplify.
12036 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
12037 (xmltok-add-dependent): Remove function.
12038 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
12039 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
12040 (xmltok-scan-prolog-after-processing-instruction-open): Treat
12041 unclosed <[[, <?, comment, and other literals as extending to EOB.
12042 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
12043 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
12045 (rng-do-some-validation-1): Don't mark dependent regions.
12046 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
12047 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12048 (nxml-clear-dependent-regions): Remove functions.
12049 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12050 (nxml-ensure-scan-up-to-date):
12051 Don't clear&mark dependent regions.
12053 2013-05-15 Leo Liu <sdl.web@gmail.com>
12055 * progmodes/octave.el (octave-goto-function-definition):
12056 Improve and fix callers.
12058 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12060 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12061 the setter (bug#14387).
12063 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12064 surrounding group (bug#14402).
12066 2013-05-14 Juri Linkov <juri@jurta.org>
12068 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12071 2013-05-14 Glenn Morris <rgm@gnu.org>
12073 * progmodes/f90.el (f90-imenu-generic-expression):
12074 Fix typo in 2013-05-08 change. (Bug#14402)
12076 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12078 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12079 Remove signals for which replies are never received.
12081 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12083 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12084 (gdb-handler-alist, gdb-handler-number): Remove variables.
12085 (gdb-handler-list): New variable.
12086 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12087 (gdb-pending-handler-p, gdb-handle-reply)
12088 (gdb-remove-all-pending-triggers): New functions.
12089 (gdb-discard-unordered-replies): New defcustom.
12090 (gdb-handler): New defstruct.
12091 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12092 instead of gdb-pending-triggers. Update docstring.
12093 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12094 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12095 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12096 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12097 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12098 (gdb-frame-handler): Pending triggers are now automatically managed.
12099 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12101 (gdb-input): Automatically handles pending triggers. Update docstring.
12102 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12103 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12105 (gdb-done-or-error): Now use gdb-handle-reply.
12107 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12109 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12112 2013-05-14 Glenn Morris <rgm@gnu.org>
12114 * subr.el (user-emacs-directory-warning): New option.
12115 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12117 2013-05-14 Leo Liu <sdl.web@gmail.com>
12119 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12121 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12122 (octave-font-lock-texinfo-comment): Fix invalid search bound
12123 error: wrong side of point.
12125 2013-05-14 Glenn Morris <rgm@gnu.org>
12127 * progmodes/flymake.el (flymake-xml-program): New option.
12128 (flymake-xml-init): Use it.
12130 * term/xterm.el: Provide a feature.
12132 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12134 2013-05-13 Glenn Morris <rgm@gnu.org>
12136 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12137 Add compat aliases as a hack workaround. (Bug#14384)
12139 2013-05-13 Leo Liu <sdl.web@gmail.com>
12141 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12143 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12145 (octave-comment-start-skip): Include %!.
12146 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12148 2013-05-12 Leo Liu <sdl.web@gmail.com>
12150 * progmodes/octave.el (inferior-octave-startup): Store the value
12151 of __octave_srcdir__ for octave-source-directories.
12152 (inferior-octave-check-process): New function refactored out of
12153 inferior-octave-send-list-and-digest.
12154 (octave-source-directories)
12155 (octave-find-definition-filename-function): New variables.
12156 (octave-source-directories)
12157 (octave-find-definition-default-filename): New functions.
12158 (octave-find-definition): Improve to find functions implemented in C++.
12160 2013-05-12 Glenn Morris <rgm@gnu.org>
12162 * calendar/diary-lib.el (diary-outlook-format-1):
12163 Don't include dayname in the output. (Bug#14349)
12165 2013-05-11 Glenn Morris <rgm@gnu.org>
12167 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12169 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12170 Treat cc-provide like provide.
12172 2013-05-11 Kevin Ryde <user42@zip.com.au>
12174 * cus-dep.el (custom-make-dependencies):
12175 Use generated-autoload-load-name for the sake of files such
12176 such cedet/semantic/bovine/c.el, where the base file name
12177 is not in load-path. (Bug#5277)
12179 2013-05-11 Glenn Morris <rgm@gnu.org>
12181 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12184 2013-05-11 Leo Liu <sdl.web@gmail.com>
12186 * progmodes/octave.el (octave-indent-comment): Improve.
12187 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12188 (octave-eldoc-function-signatures, octave-eldoc-function):
12190 (octave-mode, inferior-octave-mode): Add eldoc support.
12192 2013-05-11 Richard Stallman <rms@gnu.org>
12194 * epa.el (epa-decrypt-file): Take output file name as argument
12195 and read it using `interactive'.
12197 2013-05-11 Leo Liu <sdl.web@gmail.com>
12199 * progmodes/octave.el (octave-beginning-of-line)
12200 (octave-end-of-line): Check before using up-list because it jumps
12201 out of more syntactic contructs since moving to smie.
12202 (octave-indent-comment): New function.
12203 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12204 (octave-begin-keywords, octave-end-keywords)
12205 (octave-reserved-words, octave-smie-bnf-table)
12206 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12208 2013-05-11 Glenn Morris <rgm@gnu.org>
12210 * faces.el (internal-face-x-get-resource):
12211 * frame.el (ns-display-monitor-attributes-list):
12212 * calc/calc-aent.el (math-to-radians-2):
12213 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12216 * calc/calc-menu.el: Make it loadable in isolation.
12218 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12219 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12220 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12221 (eudc-bbdb-query-internal): Require 'bbdb.
12223 * lpr.el (lpr-headers-switches):
12224 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12226 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12228 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12230 * term.el (term-set-escape-char): Make it idempotent.
12232 2013-05-10 Leo Liu <sdl.web@gmail.com>
12234 * progmodes/octave.el (inferior-octave-completion-table):
12235 No longer a function and all uses changed. Use cache to speed up
12236 completion due to bug#11906.
12237 (octave-beginning-of-defun): Re-write to be more general.
12239 2013-05-10 Glenn Morris <rgm@gnu.org>
12241 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12243 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12245 * comint.el (comint-redirect-send-command-to-process): Use :around
12246 rather than :override for comint-redirect-filter.
12247 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12248 Call it instead of comint-redirect-original-filter-function (which
12249 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12251 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12253 * frame.el (display-monitor-attributes-list): Add NS case.
12254 (ns-display-monitor-attributes-list): Declare.
12256 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12258 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12260 2013-05-09 Glenn Morris <rgm@gnu.org>
12262 * international/fontset.el (vertical-centering-font-regexp):
12263 Set standard-value.
12265 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12267 * bookmark.el (bookmark-search-delay):
12268 * cus-start.el (vertical-centering-font-regexp):
12269 * ps-mule.el (ps-mule-font-info-database-default):
12270 * ps-print.el (ps-default-fg, ps-default-bg):
12271 * type-break.el (type-break-good-break-interval):
12272 * whitespace.el (whitespace-indentation-regexp)
12273 (whitespace-space-after-tab-regexp):
12274 * emacs-lisp/testcover.el (testcover-1value-functions)
12275 (testcover-noreturn-functions, testcover-progn-functions)
12276 (testcover-prog1-functions):
12277 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12278 * eshell/em-glob.el (eshell-glob-translate-alist):
12279 * play/tetris.el (tetris-tty-colors):
12280 * progmodes/cpp.el (cpp-face-default-list):
12281 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12282 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12283 (idlwave-help-browser-generic-args):
12284 * progmodes/make-mode.el (makefile-special-targets-list):
12285 * progmodes/python.el (python-shell-virtualenv-path):
12286 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12287 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12288 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12289 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12290 * textmodes/reftex-vars.el (reftex-format-label-function):
12291 * textmodes/remember.el (remember-diary-file): Fix custom types.
12293 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12296 2013-05-09 Leo Liu <sdl.web@gmail.com>
12298 * progmodes/octave.el (inferior-octave-completion-at-point):
12299 Restore file completion. (Bug#14300)
12300 (inferior-octave-startup): Fix incorrect highlighting for the
12303 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12305 * progmodes/ruby-mode.el: First cut at SMIE support.
12306 (ruby-use-smie): New var.
12307 (ruby-smie-grammar): New constant.
12308 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12309 (ruby-smie--forward-token, ruby-smie--backward-token)
12310 (ruby-smie-rules): New functions.
12311 (ruby-mode-variables): Setup SMIE if applicable.
12313 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12315 * simple.el (line-move-visual): Signal beginning/end of buffer
12316 only if vertical-motion moved less than it was requested. Avoids
12317 silly incorrect error messages when there are display strings with
12318 multiple newlines at EOL.
12320 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12323 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12324 (prolog-char-quote-workaround):
12325 * progmodes/cperl-mode.el (cperl-under-as-char):
12326 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12328 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12330 (vhdl-mode-syntax-table-init): Remove.
12332 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12335 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12337 (ld-script-font-lock-keywords):
12338 Change regexps to use things like \_< and \_>.
12340 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12341 Change all regexps to use things like \_< and \_>.
12343 * progmodes/autoconf.el (autoconf-definition-regexp)
12344 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12345 Handle a _ with symbol syntax.
12346 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12348 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12349 Consolidate declaration.
12350 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12352 (ada-create-syntax-table): Remove.
12353 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12354 already has the right syntax nowadays.
12355 (ada-goto-next-word): Don't change the syntax of "_".
12357 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12360 2013-05-08 Sam Steingold <sds@gnu.org>
12362 * thingatpt.el (thing-at-point): Accept optional second argument
12363 NO-PROPERTIES to strip the text properties from the return value.
12364 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12365 to `thing-at-point' instead of stripping the properties ourselves.
12366 Also, when `thing-at-point' fails to find a url, prepend "http://"
12367 to the filename at point on the assumption that the user is
12368 pointing at something like gnu.org/gnu.
12370 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12372 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12373 * faces.el (crm-separator):
12374 Silence byte-compiler.
12376 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12377 (tool-bar-map): Remove unneeded defvars.
12379 2013-05-08 Leo Liu <sdl.web@gmail.com>
12381 Re-work a fix for bug#10994 based on Le Wang's patch.
12382 * ido.el (ido-remove-consecutive-dups): New helper.
12383 (ido-completing-read): Use it.
12384 (ido-chop): Revert fix for bug#10994.
12386 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12388 * cus-edit.el (custom-save-variables):
12389 Pretty-print long values. (Bug#14187)
12391 2013-05-08 Glenn Morris <rgm@gnu.org>
12393 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12394 (m4-mode-syntax-table): Init in the defvar.
12395 (m4-mode-abbrev-table): Let define-derived-mode define it.
12397 2013-05-08 Tom Tromey <tromey@redhat.com>
12399 * progmodes/m4-mode.el (m4-mode-syntax-table):
12400 Do not treat "_" as word constituent. (Bug#14167)
12402 2013-05-07 Glenn Morris <rgm@gnu.org>
12404 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12405 Remove explicit eshell-isearch-cancel-map.
12407 * progmodes/f90.el (f90-smart-end-names): New option.
12408 (f90-smart-end): Doc fix.
12409 (f90-end-block-optional-name): New constant.
12410 (f90-block-match): Respect f90-smart-end-names.
12412 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12414 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12415 about implicit semi-colons (bug#14218).
12417 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12419 * frame.el (display-monitor-attributes-list)
12420 (frame-monitor-attributes): New functions.
12422 2013-05-06 Leo Liu <sdl.web@gmail.com>
12424 * progmodes/octave.el (octave-syntax-propertize-function): Change
12425 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12426 (octave-font-lock-keywords): Use octave-operator-regexp.
12427 (octave-completion-at-point): Rename from
12428 octave-completion-at-point-function.
12429 (inferior-octave-directory-tracker): Robustify.
12430 (octave-text-functions): Remove and fix its uses. No such things
12433 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12435 * emacs-lisp/trace.el (trace--display-buffer): New function.
12436 (trace-make-advice): Use it.
12438 2013-05-06 Juri Linkov <juri@jurta.org>
12440 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12441 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12443 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12444 in the help string. (Bug#12985)
12446 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12448 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12450 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12452 * progmodes/perl-mode.el: Add support for here documents.
12453 (perl-syntax-propertize-function): Match here-doc markers.
12454 (perl-syntax-propertize-special-constructs): Find their end.
12455 (perl-imenu-generic-expression): Use [:alnum:].
12457 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12458 (advice--add-function): Refresh the advice if already present
12461 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12463 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12465 2013-05-06 Glenn Morris <rgm@gnu.org>
12467 * w32-fns.el (w32-charset-info-alist): Declare.
12469 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12470 of its defcustom properties.
12471 (eshell-cmpl-initialize): No need to load pcomplete.
12473 * generic-x.el: No need to require comint when compiling.
12475 * net/eudc-export.el: Make it loadable without bbdb.
12476 (top-level): Use require rather than load-library.
12477 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12478 (eudc-batch-export-records-to-bbdb)
12479 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12482 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12485 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12486 some tweaks, instead.
12488 2013-05-05 Leo Liu <sdl.web@gmail.com>
12490 * progmodes/octave.el (octave-font-lock-keywords)
12491 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12492 (inferior-octave-send-list-and-digest): Improve error message.
12493 (octave-mode, inferior-octave-mode): Use setq-local.
12494 (octave-help): Set info-lookup-mode.
12496 2013-05-05 Richard Stallman <rms@gnu.org>
12498 * vc/compare-w.el (compare-windows-whitespace):
12499 Treat no-break space as whitespace.
12501 * mail/rmailsum.el (rmail-summary-rmail-update):
12502 Detect empty summary and don't change selected message.
12503 (rmail-summary-goto-msg): Likewise.
12505 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12506 Doc fixes, rename args.
12508 2013-05-05 Alan Mackenzie <acm@muc.de>
12510 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12512 2013-05-05 Juri Linkov <juri@jurta.org>
12514 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12515 to not add the length of the summary segment to the return value.
12518 2013-05-05 Leo Liu <sdl.web@gmail.com>
12520 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12521 (inferior-octave-output-filter): Remove.
12522 (octave-send-region, inferior-octave-startup): Fix callers.
12523 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12524 (octave-binary-file-extensions): New user variable.
12525 (octave-find-definition): Confirm if opening binary files.
12526 (octave-help-file): Use octave-find-definition to get the binary
12528 (octave-help): Adjust for octave-help-file change.
12530 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12533 Merge the two entries that handle function definitions.
12534 (pascal--syntax-propertize): New const.
12535 (pascal-mode): Use it. Use setq-local.
12537 2013-05-04 Glenn Morris <rgm@gnu.org>
12539 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12540 (diary-from-outlook): Respect diary-from-outlook-function.
12542 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12545 Move the declaration from C.
12546 (read-minibuffer, eval-minibuffer): Move from C.
12547 (completion-setup-function): Avoid minibuffer-completion-contents.
12549 2013-05-03 Leo Liu <sdl.web@gmail.com>
12551 * progmodes/octave.el (octave-font-lock-keywords): Do not
12552 dehighlight 'end' in comments or strings.
12553 (octave-completing-read, octave-goto-function-definition):
12555 (octave-help-buffer): New user variable.
12556 (octave-help-file, octave-help-function): New button types.
12557 (octave-help): New command and bind it to C-h ;.
12558 (octave-find-definition): New command and bind it to M-.
12559 (user-error): Alias to error if not defined.
12561 2013-05-02 Leo Liu <sdl.web@gmail.com>
12563 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12565 (octave-font-lock-keywords): Include [ and {.
12567 2013-05-02 Leo Liu <sdl.web@gmail.com>
12569 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12570 (inferior-octave): Remove calling comint-mode and return the buffer.
12571 (inferior-octave-startup): Cosmetic changes.
12573 2013-05-02 Leo Liu <sdl.web@gmail.com>
12575 * progmodes/octave.el (octave-syntax-propertize-function):
12576 Include the case when ' is at line beginning. (Bug#14336)
12578 2013-05-02 Glenn Morris <rgm@gnu.org>
12580 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12581 * desktop.el (vc-dir-mode): Just autoload it here.
12583 2013-05-02 Alan Mackenzie <acm@muc.de>
12585 Eliminate variable c-standard-font-lock-fontify-region-function.
12586 * progmodes/cc-mode.el
12587 (c-standard-font-lock-fontify-region-function): Remove.
12588 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12590 2013-05-01 Leo Liu <sdl.web@gmail.com>
12592 * progmodes/octave.el: Compatible with older emacs-24 releases.
12593 (inferior-octave-has-built-in-variables): Remove. Built-in
12594 variables were removed from Octave in 2007.
12595 (inferior-octave-startup): Fix uses.
12596 (comint-line-beginning-position): Remove compatibility code for
12599 2013-05-01 Juri Linkov <juri@jurta.org>
12601 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12603 2013-05-01 Juri Linkov <juri@jurta.org>
12605 * comint.el (comint-previous-matching-input): Don't print message
12606 "History item: %d" when `isearch-mode' is active.
12607 (comint-history-isearch-message): Print message "History item: %d"
12608 when `comint-input-ring-index' is not empty and this function is
12609 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12611 2013-05-01 Leo Liu <sdl.web@gmail.com>
12613 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12614 definitions. Use completion-at-point to insert keywords.
12615 (octave-abbrev-start): Remove.
12616 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12618 2013-04-30 Leo Liu <sdl.web@gmail.com>
12620 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12623 2013-04-30 Alan Mackenzie <acm@muc.de>
12625 Handle arbitrarily long C++ member initialisation lists.
12626 * progmodes/cc-engine.el (c-back-over-member-initializers):
12628 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12629 (most) member init lists.
12631 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12633 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12636 2013-04-30 Leo Liu <sdl.web@gmail.com>
12638 * progmodes/octave.el (octave-variables): Remove. No builtin
12639 variables any more. All converted to functions.
12640 (octave-font-lock-keywords, octave-completion-at-point-function):
12642 (octave-font-lock-texinfo-comment): New user variable.
12643 (octave-texinfo-font-lock-keywords): New variable for texinfo
12645 (octave-function-comment-block): New face.
12646 (octave-font-lock-texinfo-comment): New function.
12647 (octave-mode): Font lock texinfo comment block.
12649 2013-04-29 Leo Liu <sdl.web@gmail.com>
12651 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12652 indexing expression.
12653 (octave-continuation-string): Do not use \.
12654 (inferior-octave-complete-impossible): Remove.
12655 (inferior-octave-completion-table)
12656 (inferior-octave-completion-at-point): Remove its uses.
12657 (inferior-octave-startup): completion_matches was introduced to
12658 Octave in 1996 so safe to assume it.
12659 (octave-function-file-comment): Improve to follow how Octave does it.
12660 (octave-update-function-file-comment): Tweak.
12662 2013-04-29 Leo Liu <sdl.web@gmail.com>
12664 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12665 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12666 (octave-function-file-comment): Fix typo.
12667 (octave-sync-function-file-names): Use read-char-choice.
12669 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12671 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12672 to t for the less important warnings.
12674 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12676 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12678 2013-04-27 Glenn Morris <rgm@gnu.org>
12680 * vc/log-view.el (log-view-current-entry):
12681 Treat "---" separator lines as part of the following rev. (Bug#14169)
12683 2013-04-27 Juri Linkov <juri@jurta.org>
12685 * subr.el (read-number): Doc fix about using it by interactive
12686 code letter `n'. (Bug#14254)
12688 2013-04-27 Juri Linkov <juri@jurta.org>
12690 * desktop.el (desktop-auto-save-timeout): New option.
12691 (desktop-file-checksum): New variable.
12692 (desktop-save): Add optional arg `auto-save' and don't auto-save
12693 if nothing changed.
12694 (desktop-auto-save-timer): New variable.
12695 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12696 (after-init-hook): Call `desktop-auto-save-set-timer'.
12697 Suggested by Reuben Thomas <rrt@sc3d.org> in
12698 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12700 2013-04-27 Leo Liu <sdl.web@gmail.com>
12702 * progmodes/octave.el (octave-function-file-p)
12703 (octave-skip-comment-forward, octave-function-file-comment)
12704 (octave-update-function-file-comment): New functions.
12705 (octave-mode-map): Bind C-c ; to
12706 octave-update-function-file-comment.
12707 (octave-mode-menu): Add octave-update-function-file-comment.
12708 (octave-mode, inferior-octave-mode): Fix doc-string.
12709 (octave-insert-defun): Conform to Octave's coding convention.
12712 * files.el (basic-save-buffer): Don't let errors in
12713 before-save-hook prevent saving buffer.
12715 2013-04-20 Roland Winkler <winkler@gnu.org>
12717 * faces.el (read-face-name): Use completing-read if arg multiple
12720 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12722 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12723 displayed, move point to after the totals line.
12724 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12727 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12729 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12730 Add current dir to the load-path.
12731 (package-generate-autoloads): Don't rely on
12732 autoload-ensure-default-file.
12734 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12736 * textmodes/remember.el (remember-store-in-files): Document that
12737 the file name format is passed to `format-time-string'.
12739 2013-04-26 Leo Liu <sdl.web@gmail.com>
12741 * progmodes/octave.el (octave-sync-function-file-names): New function.
12742 (octave-mode): Use it in before-save-hook.
12744 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12749 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12750 \n and comment, even if it's not an implicit ; (bug#14218).
12752 2013-04-26 Glenn Morris <rgm@gnu.org>
12754 * subr.el (read-number): Once more use `read' rather than
12755 `string-to-number', to trap non-numeric input. (Bug#14254)
12757 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12759 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12760 Use `syntax-multiline' text property consistently instead of
12761 `font-lock-multiline'. (Bug#14237)
12763 2013-04-26 Glenn Morris <rgm@gnu.org>
12765 * emacs-lisp/shadow.el (list-load-path-shadows):
12766 No longer necessary to check for duplicate simple.el, since
12767 2012-07-07 change to init_lread to not include installation lisp
12768 directories in load-path when running uninstalled. (Bug#14270)
12770 2013-04-26 Leo Liu <sdl.web@gmail.com>
12772 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12773 (octave-mode, inferior-octave-mode): Use setq-local.
12774 (octave-not-in-string-or-comment-p): Rename to
12775 octave-in-string-or-comment-p.
12776 (octave-in-comment-p, octave-in-string-p)
12777 (octave-in-string-or-comment-p): Replace defsubst with defun.
12779 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12781 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12783 2013-04-25 Bastien Guerry <bzg@gnu.org>
12785 * textmodes/remember.el (remember-data-directory)
12786 (remember-directory-file-name-format): Fix custom types.
12788 2013-04-25 Leo Liu <sdl.web@gmail.com>
12790 * progmodes/octave.el (octave-completion-at-point-function):
12791 Make use of inferior octave process.
12792 (octave-initialize-completions): Remove.
12793 (inferior-octave-completion-table): New function.
12794 (inferior-octave-completion-at-point): Use it.
12795 (octave-completion-alist): Remove.
12797 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12800 (opascal-mode-syntax-table): New var.
12801 (opascal-literal-kind, opascal-is-literal-end)
12802 (opascal-literal-token-at): Rewrite.
12803 (opascal--literal-start-re, opascal-font-lock-keywords)
12804 (opascal--syntax-propertize): New constants.
12805 (opascal-font-lock-defaults): Adjust.
12806 (opascal-mode): Use them. Set comment-<foo> variables as well.
12807 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12808 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12809 (delphi-other-face, opascal-other-face): Remove face variables.
12810 (opascal-save-state): Remove macro.
12811 (opascal-fontifying-progress-step): Remove constant.
12812 (opascal--ignore-changes): Remove var.
12813 (opascal-set-token-property, opascal-parse-next-literal)
12814 (opascal-is-stable-literal, opascal-complete-literal)
12815 (opascal-is-literal-start, opascal-face-of)
12816 (opascal-parse-region, opascal-parse-region-until-stable)
12817 (opascal-fontify-region, opascal-after-change)
12818 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12819 (opascal-debug-parse-region, opascal-debug-parse-window)
12820 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12821 (opascal-debug-fontify-buffer): Remove.
12822 (opascal-debug-mode-map): Adjust accordingly.
12824 2013-04-25 Leo Liu <sdl.web@gmail.com>
12826 Merge octave-mod.el and octave-inf.el into octave.el with some
12828 * progmodes/octave.el: New file renamed from octave-mod.el.
12829 * progmodes/octave-inf.el: Merged into octave.el.
12830 * progmodes/octave-mod.el: Renamed to octave.el.
12832 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12834 * textmodes/reftex-vars.el
12835 (reftex-label-ignored-macros-and-environments): New defcustom.
12837 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12839 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12841 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12842 (smie-indent-keyword): Improve the check to ensure that the next
12843 comment is really on the same line.
12844 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12846 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12847 semi-colons if the line is not otherwise empty (bug#14218).
12849 2013-04-25 Glenn Morris <rgm@gnu.org>
12851 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12853 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * progmodes/opascal.el (opascal-set-token-property): Rename from
12856 opascal-set-text-properties and only set `token' (bug#14134).
12857 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12858 (opascal-literal-text-properties): Remove.
12859 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12862 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12864 * textmodes/remember.el (remember-handler-functions): Add an
12865 option for a new handler `remember-store-in-files'.
12866 (remember-data-directory, remember-directory-file-name-format):
12868 (remember-store-in-files): New function to store remember notes
12869 as separate files within a directory.
12871 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12873 * progmodes/compile.el (compilation-next-error-function):
12874 Pass "formats" to compilation-find-file (bug#11777).
12876 2013-04-24 Glenn Morris <rgm@gnu.org>
12878 * vc/vc-bzr.el (vc-bzr-print-log):
12879 * vc/vc-hg.el (vc-hg-print-log):
12880 * vc/vc-svn.el (vc-svn-print-log):
12881 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12883 * vc/vc-bzr.el (vc-bzr-print-log):
12884 * vc/vc-cvs.el (vc-cvs-print-log):
12885 * vc/vc-git.el (vc-git-print-log):
12886 * vc/vc-hg.el (vc-hg-print-log):
12887 * vc/vc-mtn.el (vc-mtn-print-log):
12888 * vc/vc-rcs.el (vc-rcs-print-log):
12889 * vc/vc-sccs.el (vc-sccs-print-log):
12890 * vc/vc-svn.el (vc-svn-print-log):
12891 * vc/vc.el (vc-print-log-internal): Doc fixes.
12893 2013-04-23 Glenn Morris <rgm@gnu.org>
12895 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12896 Remove venerable code attempting to avoid substitute-command-keys.
12898 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12900 * textmodes/reftex-vars.el (reftex-label-regexps):
12901 Call `reftex-compile-variables' after changes to this variable.
12903 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12905 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12906 Use lexical-binding.
12907 (jit-lock-force-redisplay): Use markers, check buffer's continued
12908 existence and beware narrowed buffers.
12909 (jit-lock-fontify-now): Adjust call accordingly.
12911 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12914 to avoid misleading the user.
12916 2013-04-22 Leo Liu <sdl.web@gmail.com>
12918 * info-look.el: Prefer latex2e.info. (Bug#14240)
12920 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12922 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12924 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12925 * net/tramp.el (tramp-call-process): ... here.
12926 (tramp-set-completion-function, tramp-parse-putty):
12927 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12928 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12929 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12930 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12931 (tramp-call-local-coding-command): Use `tramp-call-process'
12932 instead of `tramp-compat-call-process'.
12934 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12935 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12936 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12937 (tramp-find-inline-compress): Improve traces.
12938 (tramp-maybe-send-script): Check for Perl binary.
12939 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12941 2013-04-22 Daiki Ueno <ueno@gnu.org>
12943 * epg.el (epg-context-pinentry-mode): New function.
12944 (epg-context-set-pinentry-mode): New function.
12945 (epg--start): Pass --pinentry-mode option to gpg command.
12947 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12949 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12950 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12951 `completion-at-point'. (Bug#13774)
12953 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12954 default key binding for `describe-distribution' has been moved to
12955 `C-h C-o'. (Bug#13970)
12957 2013-04-21 Glenn Morris <rgm@gnu.org>
12959 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12961 (vc-print-log): Clarify interactive prompt.
12963 2013-04-20 Glenn Morris <rgm@gnu.org>
12965 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12966 No longer include timestamp etc information.
12968 2013-04-20 Roland Winkler <winkler@gnu.org>
12970 * faces.el (read-face-name): Bug fix, return just one face if arg
12971 multiple is nil. (Bug#14209)
12973 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12976 (remove-function): Autoload.
12978 * comint.el (comint-redirect-original-filter-function): Remove.
12979 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12980 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12981 (vc-cvs-annotate-command):
12982 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12983 * progmodes/prolog.el (prolog-consult-compile):
12984 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12985 Use add/remove-function instead.
12986 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12987 (gud-tooltip-process-output, gud-tooltip-tips):
12988 Use add/remove-function instead.
12989 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12990 (scheme-interaction-mode, exit-scheme-interaction-mode):
12991 Use add/remove-function instead.
12993 * vc/vc-dispatcher.el: Use lexical-binding.
12994 (vc--process-sentinel): Rename from vc-process-sentinel.
12995 Change last arg to be the code to run. Don't use vc-previous-sentinel
12996 and vc-sentinel-commands any more.
12997 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12998 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
13000 2013-04-19 Masatake YAMATO <yamato@redhat.com>
13002 * progmodes/sh-script.el (sh-imenu-generic-expression):
13003 Handle function names with a single character. (Bug#14111)
13005 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
13007 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
13008 for subroutines defined in an eval (bug#14182).
13010 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13012 * bookmark.el (bookmark-completing-read): Improve handling of empty
13013 string (bug#14176).
13015 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13017 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
13019 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
13021 New faster Imenu implementation (bug#14058).
13022 * progmodes/python.el:
13023 (python-imenu-prev-index-position):
13024 (python-imenu-format-item-label-function)
13025 (python-imenu-format-parent-item-label-function)
13026 (python-imenu-format-parent-item-jump-label-function):
13028 (python-imenu-format-item-label)
13029 (python-imenu-format-parent-item-label)
13030 (python-imenu-format-parent-item-jump-label)
13031 (python-imenu--put-parent, python-imenu--build-tree)
13032 (python-imenu-create-index, python-imenu-create-flat-index)
13033 (python-util-popn): New functions.
13034 (python-mode): Set imenu-create-index-function to
13035 python-imenu-create-index.
13037 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13039 * winner.el (winner-active-region): Use region-active-p, activate-mark
13040 and deactivate-mark (bug#14225).
13042 * simple.el (deactivate-mark): Don't inline it.
13044 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
13046 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13048 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13050 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13051 file extensions from the archive-mode entry in order to prefer
13052 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13054 2013-04-18 Leo Liu <sdl.web@gmail.com>
13056 * bindings.el (help-event-list): Add ?\?.
13058 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13060 * subr.el (with-wrapper-hook): Declare obsolete.
13061 * simple.el (filter-buffer-substring-function): New hook.
13062 (filter-buffer-substring): Use it.
13063 (filter-buffer-substring-functions): Mark obsolete.
13064 * minibuffer.el (completion-in-region-function): New hook.
13065 (completion-in-region): Use it.
13066 (completion-in-region-functions): Mark obsolete.
13067 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13068 * abbrev.el (abbrev-expand-function): New hook.
13069 (expand-abbrev): Use it.
13070 (abbrev-expand-functions): Mark obsolete.
13071 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13072 and :filter-return.
13074 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13076 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13077 and do not care about match data.
13079 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13081 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13082 completion tables when completing error conditions and
13083 `declare' arguments.
13084 (lisp-complete-symbol, field-complete): Mark as obsolete.
13085 (check-parens): Unmatched parens are user errors.
13086 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13088 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13090 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13091 command changed buffer (ie. `flyspell-pre-buffer' is not current
13092 buffer), which prevents making decisions based on invalid value of
13093 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13094 cause an error when `flyspell-pre-point' was nil after switching
13096 (flyspell-post-command-hook): No longer needs to change buffers when
13097 checking pre-word. While at it remove unnecessary progn.
13099 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13101 * textmodes/ispell.el (ispell-add-per-file-word-list):
13102 Fix `flyspell-correct-word-before-point' error when accepting
13103 words and `coment-padding' is an integer by using
13104 `comment-normalize-vars' (Bug #14214).
13106 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13108 New defun movement commands.
13109 * progmodes/python.el (python-nav--syntactically)
13110 (python-nav--forward-defun, python-nav-backward-defun)
13111 (python-nav-forward-defun): New functions.
13113 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13115 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13116 (python-syntax-context): Use named compiler-macro for backwards
13117 compatibility with Emacs 24.x.
13119 2013-04-17 Leo Liu <sdl.web@gmail.com>
13121 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13122 octave-hide-process-buffer.
13124 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13126 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13129 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13131 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13132 Fix adjustment of offset when receiving incomplete responses from GDB
13135 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13137 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13138 python-mode-abbrev-table.
13139 (python-skeleton-define): Adjust accordingly.
13140 (python-mode-abbrev-table): New table that inherits from it so that
13141 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13143 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13144 (abbrev-symbol): Use it.
13145 (abbrev--before-point): Use it since we already handle inheritance.
13147 2013-04-16 Leo Liu <sdl.web@gmail.com>
13149 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13150 binding to info-lookup-symbol.
13152 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13154 * minibuffer.el (completion--twq-all):
13155 * term/ns-win.el (ns-initialize-window-system):
13156 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13158 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13163 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13165 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13167 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13168 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13170 (ruby-end-of-defun): Remove the unused arg, change the docstring
13171 to reflect that this function is only used as the value of
13172 `end-of-defun-function'.
13173 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13174 to reflect an earlier change that beginning/end-of-defun functions
13175 jump between methods in a class definition, as well as top-level
13178 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * minibuffer.el (minibuffer-complete): Don't just scroll
13181 a *Completions* that's been iconified.
13182 (minibuffer-force-complete): Make sure repetitions do cycle when going
13183 through completion-in-region -> minibuffer-complete.
13185 2013-04-15 Alan Mackenzie <acm@muc.de>
13187 Correct the placement of c-cpp-delimiters when there're #s not at
13190 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13191 place a submatch around the #.
13192 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13193 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13196 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13198 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13199 (advice--member-p): New arg `name'.
13200 (advice--add-function, advice-member-p): Use it (bug#14202).
13202 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13204 Reformulate java imenu-generic-expression.
13205 The old expression contained ill formed regexps.
13207 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13208 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13209 (cc-imenu-java-method-arg-regexp): New defconsts.
13210 (cc-imenu-java-build-type-args-regex): New defun.
13211 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13212 handling of spaces in the regexp.
13214 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13216 * textmodes/ispell.el (ispell-command-loop): Remove
13217 flyspell highlight of a word when ispell accepts it (bug #14178).
13219 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13221 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13222 uses code from the previous `ange-ftp-run-real-handler'.
13223 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13224 only in case that function exist. This is needed for proper
13225 unloading of Tramp.
13227 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13229 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13231 * textmodes/reftex.el (reftex-compile-variables): Use it.
13233 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13235 * files.el (normal-mode): Only use default major-mode if no other mode
13238 * emacs-lisp/trace.el (trace-values): New function.
13240 * files.el: Allow : in local variables (bug#14089).
13241 (hack-local-variable-regexp): New var.
13242 (hack-local-variables-prop-line, hack-local-variables): Use it.
13244 2013-04-13 Roland Winkler <winkler@gnu.org>
13246 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13247 data before it gets modified by bibtex-beginning-of-entry.
13249 2013-04-13 Roland Winkler <winkler@gnu.org>
13251 * textmodes/bibtex.el (bibtex-url): Doc fix.
13253 2013-04-13 Roland Winkler <winkler@gnu.org>
13255 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13256 does not visit a BibTeX file, exclude it from the list of buffers
13257 returned by bibtex-initialize.
13259 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13261 * window.el (split-window): Remove interactive form, since as a
13262 command this function is a special case of split-window-below.
13263 Correct doc string.
13265 2013-04-12 Roland Winkler <winkler@gnu.org>
13267 * faces.el (read-face-name): Do not override value of arg default.
13268 Allow single faces and strings as default values. Remove those
13269 elements from return value that are not faces.
13270 (describe-face): Simplify.
13271 (face-at-point): New optional args thing and multiple so that this
13272 function can provide the same functionality previously provided by
13274 (make-face-bold, make-face-unbold, make-face-italic)
13275 (make-face-unitalic, make-face-bold-italic, invert-face)
13276 (modify-face, read-face-and-attribute): Use face-at-point.
13278 * cus-edit.el (customize-face, customize-face-other-window)
13279 * cus-theme.el (custom-theme-add-face)
13280 * face-remap.el (buffer-face-set)
13281 * facemenu.el (facemenu-set-face): Use face-at-point.
13283 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13285 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13287 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13289 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13290 off leading { and trailing } from field values.
13292 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13294 * emacs-lisp/timer.el (timer--check): New function.
13295 (timer--time, timer-set-function, timer-event-handler): Use it.
13296 (timer-set-idle-time): Simplify.
13297 (timer--activate): CSE.
13298 (timer-event-handler): Give more info in error message.
13299 (internal-timer-start-idle): New function, moved from C.
13301 * mpc.el (mpc-proc): Add `restart' argument.
13302 (mpc-proc-cmd): Use it.
13303 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13304 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13307 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13309 * progmodes/sh-script.el: Implement `sh-mode' own
13310 `add-log-current-defun-function' (bug#14112).
13311 (sh-current-defun-name): New function.
13312 (sh-mode): Use the function.
13314 2013-04-09 Bastien Guerry <bzg@gnu.org>
13316 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13318 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13320 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13322 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13325 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13327 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13330 2013-04-07 Leo Liu <sdl.web@gmail.com>
13332 * pcmpl-x.el: New file.
13334 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13336 Do not set x-display-name until X connection is established.
13337 This is needed to prevent from weird situation described at
13338 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13339 * frame.el (make-frame): Set x-display-name after call to
13340 window system initialization function, not before.
13341 * term/x-win.el (x-initialize-window-system): Add optional
13342 display argument and use it.
13343 * term/w32-win.el (w32-initialize-window-system):
13344 * term/ns-win.el (ns-initialize-window-system):
13345 * term/pc-win.el (msdos-initialize-window-system):
13346 Add compatible optional display argument.
13348 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13350 * files.el (normal-backup-enable-predicate): On MS-Windows and
13351 MS-DOS compare truenames of temporary-file-directory and of the
13352 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13353 don't fail comparison by compare-strings. Also, compare file
13354 names case-insensitively on MS-Windows and MS-DOS.
13356 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13358 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13359 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13361 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13363 * whitespace.el (whitespace-color-on, whitespace-color-off):
13364 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13366 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13368 * ispell.el (ispell-set-spellchecker-params):
13369 Really set `ispell-args' for all equivs.
13371 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13373 * ido.el (ido-completions): Use extra elements of ido-decorations
13375 (ido-decorations): Update docstring.
13377 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13379 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13380 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13381 nil during initialization, in order not to miss changes since the
13382 file was opened. (Bug#14140)
13384 2013-04-05 Leo Liu <sdl.web@gmail.com>
13386 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13388 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13390 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13392 2013-04-04 Glenn Morris <rgm@gnu.org>
13394 * electric.el (electric-pair-inhibit-predicate): Add :version.
13396 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13398 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13399 when a package is required several times (bug#14082).
13401 2013-04-04 Roland Winkler <winkler@gnu.org>
13403 * faces.el (read-face-name): Behave as promised by the docstring.
13404 Assume that arg default is a list of faces.
13405 (describe-face): Call read-face-name with list of default faces.
13407 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13409 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13410 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13411 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13413 (bookmark-exit-hook-internal): Save even if list is empty.
13415 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13417 * emacs-lisp/package.el (package-pinned-packages): New var.
13418 (package--add-to-archive-contents): Obey it (bug#14118).
13420 2013-04-03 Alan Mackenzie <acm@muc.de>
13422 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13423 Also adapt to the new values of element 7 of a parse state.
13425 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13426 parameter `not-in-delimiter'. Handle being inside comment opener.
13427 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13428 character in case we're typing a '*' after a '/'.
13429 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13430 instead by passing the parameter to c-state-pp-to-literal.
13432 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13433 for elt. 7 of a parse state.
13435 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13437 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13438 * international/latin1-disp.el, international/mule-util.el:
13439 * language/cyril-util.el, language/european.el, language/ind-util.el:
13440 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13441 * language/tibetan.el, language/viet-util.el:
13442 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13444 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13446 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13447 (electric-pair-post-self-insert-function): Use it.
13448 (electric-pair-default-inhibit): New function, extracted from
13449 electric-pair-post-self-insert-function.
13451 2013-03-31 Roland Winkler <winkler@gnu.org>
13453 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13455 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13459 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13461 Un-indent after "pass" and "return" statements (Bug#13888)
13462 * progmodes/python.el (python-indent-block-enders): New var.
13463 (python-indent-calculate-indentation): Use it.
13465 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13467 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13468 defun. Defining it as defalias could introduce too eager
13469 byte-compiler optimization. (Bug#14030)
13471 2013-03-30 Chong Yidong <cyd@gnu.org>
13473 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13475 2013-03-30 Leo Liu <sdl.web@gmail.com>
13477 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13478 (kmacro-execute-from-register): Pass the keyboard macro to
13479 kmacro-call-macro or repeating won't work correctly.
13481 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13483 * progmodes/subword.el: Back to using `forward-symbol'.
13485 * subr.el (forward-whitespace, forward-symbol)
13486 (forward-same-syntax): Move from thingatpt.el.
13488 2013-03-29 Leo Liu <sdl.web@gmail.com>
13490 * kmacro.el (kmacro-to-register): New command.
13491 (kmacro-execute-from-register): New function.
13492 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13494 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13496 * mpc.el: Use defvar-local and setq-local.
13497 (mpc--proc-connect): Connection failures are not bugs.
13498 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13499 (mpc-volume-map): Bind to the up-events.
13501 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13503 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13504 instead of `forward-symbol'.
13506 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13508 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13509 (edebug--recursive-edit): Use it.
13510 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13511 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13513 2013-03-28 Leo Liu <sdl.web@gmail.com>
13515 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13517 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13519 * facemenu.el (list-colors-callback): New defvar.
13520 (list-colors-redisplay): New function.
13521 (list-colors-display): Install list-colors-redisplay as the
13522 revert-buffer-function. (Bug#14063)
13524 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13526 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13527 and suffixes don't overlap (bug#14061).
13529 * case-table.el: Use lexical-binding.
13530 (case-table-get-table): New function.
13531 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13533 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13535 * progmodes/subword.el: Add `superword-mode' to do word motion
13536 over symbol_words (parallels and leverages `subword-mode' which
13537 does word motion inside MixedCaseWords).
13539 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13541 * eshell/em-unix.el: Move su and sudo to...
13542 * eshell/em-tramp.el: ...Eshell tramp module.
13544 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13546 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13547 Change return value to be a sexp. Delay `get-buffer' to after
13548 restoring the desktop (bug#13951).
13550 2013-03-26 Leo Liu <sdl.web@gmail.com>
13552 * register.el: Move semantic tag handling back to
13553 cedet/semantic/senator.el. (Bug#14052)
13555 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13557 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13558 into the prompt either (bug#13963).
13560 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13563 part of "(error-foo)".
13565 2013-03-24 Juri Linkov <juri@jurta.org>
13567 * replace.el (list-matching-lines-prefix-face): New defcustom.
13568 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13569 `occur-engine' if `face-differs-from-default-p' returns t.
13570 (occur-engine): Add `,' inside backquote construct to evaluate
13571 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13572 Pass `prefix-face' to the functions `occur-context-lines' and
13573 `occur-engine-add-prefix'.
13574 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13575 `prefix-face' and propertize the prefix with `prefix-face'.
13578 2013-03-24 Leo Liu <sdl.web@gmail.com>
13580 * nxml/rng-valid.el (rng-validate-while-idle)
13581 (rng-validate-quick-while-idle): Guard against deleted buffer.
13584 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13585 is the last entry in kill-buffer-hook.
13587 * files.el (kill-buffer-hook): Doc fix.
13589 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13591 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13592 Make it safe-local.
13594 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13596 2013-03-23 Leo Liu <sdl.web@gmail.com>
13598 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13601 * nxml/rng-valid.el (rng-validate-mode)
13602 (rng-after-change-function, rng-do-some-validation):
13603 * nxml/rng-maint.el (rng-validate-buffer):
13604 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13605 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13606 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13607 (nxml-extend-after-change-region): Use with-silent-modifications.
13609 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13612 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13613 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13614 timer-idle-list. (Bug#13999)
13616 2013-03-23 Juri Linkov <juri@jurta.org>
13618 * info.el (info-index-match): New face.
13619 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13620 main pattern and add text properties with the new face to matches
13621 in index entries relative to the beginning of the index entry.
13624 2013-03-21 Eric Ludlam <zappo@gnu.org>
13626 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13627 Inhibit read only while inserting objects.
13629 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13631 * progmodes/cfengine.el: Update docs to mention
13632 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13633 symbol motion. Remove "_" from the word syntax.
13635 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13637 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13638 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13640 2013-03-20 Juri Linkov <juri@jurta.org>
13642 * info.el (Info-next-reference-or-link)
13643 (Info-prev-reference-or-link): New functions.
13644 (Info-next-reference, Info-prev-reference): Use them.
13645 (Info-try-follow-nearest-node): Handle footnote navigation.
13646 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13648 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13650 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13651 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13653 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13655 Suppress unnecessary non-ASCII chatter during build process.
13656 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13657 (batch-skkdic-convert): Suppress most of the chatter.
13658 It's not needed so much now that machines are faster,
13659 and its non-ASCII component was confusing; see Dmitry Gutov in
13660 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13662 2013-03-20 Leo Liu <sdl.web@gmail.com>
13664 * ido.el (ido-chop): Fix bug#10994.
13666 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13668 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13670 (whitespace-color-on, whitespace-color-off):
13671 Use `font-lock-fontify-buffer' (Bug#13817).
13673 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13675 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13676 remapping in mode-line.
13677 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13679 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13681 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13682 value for `whitespace-line' face (Bug#13875).
13683 (whitespace-font-lock-keywords): Change description.
13684 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13685 the constructed keywords instead.
13686 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13688 2013-03-19 Leo Liu <sdl.web@gmail.com>
13690 * progmodes/compile.el (compilation-display-error): New command.
13691 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13694 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13696 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13698 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13700 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13702 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13704 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13706 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13707 * net/tramp-gvfs.el (top):
13708 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13709 (tramp-handle-shell-command): Use it.
13710 (tramp-dissect-file-name): Raise an error when hostname is a
13711 method name, and neither method nor user is specified.
13713 * net/trampver.el: Update release number.
13715 2013-03-18 Leo Liu <sdl.web@gmail.com>
13717 Make sure eldoc can be turned off properly.
13718 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13720 (eldoc-display-message-p): Revert last change.
13721 (eldoc-display-message-no-interference-p)
13722 (eldoc-print-current-symbol-info): Tweak.
13724 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13726 * doc-view.el (doc-view-new-window-function): Check the new window
13727 overlay's display property instead the char property of the
13728 buffer's first char. Use `with-selected-window' instead of
13729 `save-window-excursion' with `select-window'.
13730 (doc-view-document->bitmap): Check the current doc-view overlay's
13731 display property instead the char property of the buffer's first char.
13733 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13735 Automate the build of ja-dic.el (Bug#13984).
13736 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13737 from the input, rather than assume that it's been done for us by the
13738 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13739 the current date into a ja-dic.el comment, as that complicates
13740 regression testing.
13742 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13744 * whitespace.el: Fix double evaluation.
13745 (whitespace-space, whitespace-hspace, whitespace-tab)
13746 (whitespace-newline, whitespace-trailing, whitespace-line)
13747 (whitespace-space-before-tab, whitespace-indentation)
13748 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13750 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13751 (whitespace-color-on): Use a single font-lock-add-keywords call.
13752 Fix double-evaluation of face variables.
13754 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13756 * net/tramp-adb.el (tramp-adb-parse-device-names):
13757 Use `start-process' instead of `call-process'. Otherwise, the
13758 function might be blocked under MS Windows. (Bug#13299)
13760 2013-03-17 Leo Liu <sdl.web@gmail.com>
13762 Extend eldoc to display info in the mode-line. (Bug#13978)
13763 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13764 (eldoc-mode-line-string): New variable.
13765 (eldoc-minibuffer-message): New function.
13766 (eldoc-message-function): New variable.
13767 (eldoc-message): Use it.
13768 (eldoc-display-message-p)
13769 (eldoc-display-message-no-interference-p):
13770 Support eldoc-post-insert-mode.
13772 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13773 (eval-expression): Run it.
13775 2013-03-17 Roland Winkler <winkler@gnu.org>
13777 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13778 strings in the list of return values.
13780 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13782 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13783 radix before checking for HMS forms.
13785 2013-03-16 Leo Liu <sdl.web@gmail.com>
13787 * progmodes/scheme.el: Add indentation and font-locking for λ.
13790 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13792 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13793 token before point (bug#13942).
13795 2013-03-16 Leo Liu <sdl.web@gmail.com>
13797 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13799 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13801 * startup.el (command-line-normalize-file-name): Fix handling of
13802 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13803 <xfq.free@gmail.com> in
13804 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13806 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13808 Sync with Tramp 2.2.7.
13810 * net/trampver.el: Update release number.
13812 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13814 * doc-view.el: Fix bug#13887.
13815 (doc-view-insert-image): Don't modify overlay associated to
13816 non-live windows, and implement horizontal centering of image in
13817 case it's smaller than the window.
13818 (doc-view-new-window-function): Force redisplay of new windows on
13821 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13823 * saveplace.el (save-place-alist-to-file): Don't sort
13824 `save-place-alist', just pretty-print it (bug#13882).
13826 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13828 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13829 Check whether `default-file-name-coding-system' is bound.
13830 It isn't in XEmacs.
13832 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13834 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13835 backquotes for `obsolete' (bug#13929).
13837 * international/mule.el (find-auto-coding): Include file name in
13838 obsolescence warning (bug#13922).
13840 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13842 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13843 for CFEngine 3-specific indentation.
13844 (cfengine3-indent-line): Use it. Fix up category regex.
13845 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13847 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13849 * type-break.el (type-break-file-name):
13850 * textmodes/remember.el (remember-data-file):
13851 * strokes.el (strokes-file):
13852 * shadowfile.el (shadow-initialize):
13853 * saveplace.el (save-place-file):
13854 * ps-bdf.el (bdf-cache-file):
13855 * progmodes/idlwave.el (idlwave-config-directory):
13856 * net/quickurl.el (quickurl-url-file):
13857 * international/kkc.el (kkc-init-file-name):
13858 * ido.el (ido-save-directory-list-file):
13859 * emulation/viper.el (viper-custom-file-name):
13860 * emulation/vip.el (vip-startup-file):
13861 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13862 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13864 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13866 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13867 * language/thai-word.el: Switch to UTF-8.
13869 See ChangeLog.16 for earlier changes.
13871 ;; Local Variables:
13875 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13877 This file is part of GNU Emacs.
13879 GNU Emacs is free software: you can redistribute it and/or modify
13880 it under the terms of the GNU General Public License as published by
13881 the Free Software Foundation, either version 3 of the License, or
13882 (at your option) any later version.
13884 GNU Emacs is distributed in the hope that it will be useful,
13885 but WITHOUT ANY WARRANTY; without even the implied warranty of
13886 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13887 GNU General Public License for more details.
13889 You should have received a copy of the GNU General Public License
13890 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.